Neighbour Dispute Over a Boundary or Wall in Spain: What Are Your Legal Options?

A boundary or wall dispute with a neighbour in Spain is not something Spanish law leaves to informal agreement. There is a specific legal mechanism for fixing where a property line actually runs, and a separate one for disputes over a wall the two properties share. Here is how each works.

Fixing an unclear boundary: the deslinde action

When the actual line between two properties has become unclear — through old fencing moved over decades, inherited land subdivided informally, or title deeds that never quite matched the reality on the ground — Spanish law provides a specific remedy: the acción de deslinde, under Articles 384 to 387 of the Civil Code.

Article 384 gives the right to bring this action to the owner of the property and to anyone holding a real right over it. The process does not decide who is “right” in a moral sense; it simply fixes, formally and permanently, where the boundary line runs.

How a Spanish court decides where the line actually is

Articles 385 to 387 set out a clear hierarchy the court must follow, in order:

  • First, the title deeds (escrituras) of both properties, if they clearly establish the line.
  • If the deeds do not resolve it, the court looks at possession — who has actually been using and maintaining which part of the land, and for how long.
  • Only as a last resort, if neither approach resolves the dispute, the court divides the disputed strip of land equally between the two neighbours.

Disputes over a shared wall are a different question

A dispute about a wall the two properties share — who is responsible for its maintenance, who may build against it, or whether it belongs to one owner or both — is governed by separate provisions of the Civil Code on medianería (party-wall law), not the deslinde boundary action. Establishing which situation you actually have is the first thing a lawyer will do, since the correct legal route depends on it.

What to do before things escalate

Get a technical survey done first, comparing the title deeds and nota simple against the physical situation on the ground. This tells your lawyer whether the dispute is genuinely about the title-deed line, about possession over time, or about a shared wall — and most boundary disputes are resolved once both neighbours’ documentation and a joint survey are on the table, without ever reaching a courtroom.

Call us today on +34 919 499 342 or email marialuisa@costaluzlawyers.es if you have a boundary or wall dispute with a neighbour in Spain.

Not every neighbour dispute is about where the line runs. Where the complaint is about how the property next door is being used rather than about its boundary, the legal route is a different one. noise and other activities the Horizontal Property Act calls molestas

A neighbour who blocks a track is a different problem from one who moves a boundary: a right of way in Spain exists only if it was created by title, which is set out in when a right of way actually exists in Spain.

Frequently Asked Questions

What is a “deslinde” action in Spain?

A deslinde (boundary-fixing) action, governed by Articles 384 to 387 of the Civil Code, is the legal process for establishing the true boundary line between two properties when it has become unclear or is disputed.

Who can bring a deslinde action?

Article 384 of the Civil Code gives this right to the owner of a property and to anyone holding a real right (such as a usufruct) over it.

How does a Spanish court decide where the boundary actually is?

Under Articles 385 to 387, the court looks first at the title deeds; if those do not resolve it, at possession; and only as a last resort does it divide the disputed strip of land equally between the neighbours.

Is a shared wall (medianería) covered by the same rules as a boundary dispute?

No — shared or party walls are governed by separate provisions of the Civil Code on medianería, distinct from the deslinde boundary-fixing action. Which rules apply depends on whether the dispute is about where the line runs or about a wall the properties share.

Do I need a surveyor before going to a lawyer?

Usually yes — a technical survey comparing the title deeds (escritura and nota simple) against the physical boundary on the ground is normally the first step, since it tells your lawyer whether this is genuinely a title-based dispute or a possession-based one.

Can this be resolved without going to court?

Often yes. Many boundary disputes are resolved once both neighbours’ title deeds and a joint survey are compared — litigation is usually a last resort, not the first step.

Lea esta guía en español →

Not every neighbour dispute is about where the boundary sits — see our separate guide to disputes over a neighbour’s building works causing damage.

This content has been prepared with the assistance of artificial intelligence and reviewed by María Luisa de Castro, a lawyer specialising in Real Estate Law and founder of CostaLuz Lawyers.

The information provided is general and indicative in nature. It should not be used as the sole basis for making professional, legal or investment decisions, and CostaLuz Lawyers assumes no responsibility for decisions taken solely on the basis of this content.

We always recommend personalised review by a qualified professional. For most of our services, initial personalised guidance is free of charge. Get in touch.

Leave a Reply

Reviewed by María Luisa de Castro | The information in this article is general and indicative, and does not replace individualized professional advice. For your specific case, contact us directly.

Your email address will not be published. Required fields are marked *