Boundary disputes and deslinde between neighbors in Peru
Article 966 of Peru's Civil Code lets a property owner compel neighbors, whether owners or possessors, to carry out a boundary-fixing procedure (deslinde y amojonamiento) when the property line is unclear or the existing markers are wrong.
VerificationPartly verifiedSee the sources ↓
- 1sources cited
- 1read at the official source
- 1official institutions
El Peruano
Checked 1 Oct 2026Next review 26 Dec 2026
What is still unverifiedThis page's core legal basis — the obligation of deslinde y amojonamiento under Article 966 of the Civil Code, and its scope per the Supreme Court's Casación N.° 26721-2017-Junín — was verified directly against an official source (Peru's Diario Oficial El Peruano). The practical and procedural details described here (how a demanda de deslinde is typically filed in practice, that costs are usually shared between the property owners, and the characterization of the process as a 'dual' proof-of-title process) come from secondary legal commentary that was not independently checked in this session against the Código Procesal Civil (Code of Civil Procedure) or against the full text of neighboring Civil Code articles. Verify the specifics with a lawyer or directly through Peru's Sistema Peruano de Información Jurídica (SPIJ) before relying on this page for a specific dispute.
What is deslinde y amojonamiento?
Deslinde is the process for precisely determining where the dividing line between two neighboring properties runs, when that line is confused, disputed, or was simply never clearly established on the ground. Amojonamiento is the complementary step: once that line is fixed, physical markers (mojones) are placed to mark it visibly and permanently.
These two concepts usually go together because, in practice, one does not mean much without the other: agreeing where the boundary is does little good if it is not marked in a way that both neighbors — and any future buyer — can clearly identify.
The right to compel it: Article 966 of the Civil Code
Peru’s Civil Code (Decreto Legislativo N.° 295, 1984) governs this figure within Book V, on Property Rights (Derechos Reales). Its Article 966 states, in its exact words, that ‘el propietario de un predio puede obligar a los vecinos, sean propietarios o poseedores, al deslinde y al amojonamiento’ — the owner of a property can compel neighbors, whether owners or possessors, to the deslinde and amojonamiento.
In practice, this means two important things:
- The neighbor does not need to “want” to cooperate: the law gives you the right to demand it, even if the neighbor is only a possessor of the property (not necessarily its registered owner).
- A deslinde does not depend on bad faith or an open conflict existing: it is enough that the dividing line is confused, or that the existing markers do not match reality, for the right to be exercised.
What the Supreme Court clarified about its scope
A ruling by Peru’s Supreme Court, Casación N.° 26721-2017-Junín (28 February 2021), clarified the real purpose of a demanda de deslinde: to establish or clarify the boundary between two properties “cuando estas se encuentran confundidas o los linderos existentes no son los verdaderos” — when they are confused or the existing markers are not the true ones.
This matters because it clears up a common confusion: a deslinde is not, strictly speaking, a general action for a judge to decide who the “true owner” of a disputed piece of land is. Its specific function is to clarify a confused dividing line. That said, the Supreme Court itself recognized that this is an action inherent to property ownership, protecting its exclusive and perpetual character, and that it can have a reivindicatory effect — that is, restoring possession — when, upon correctly fixing the boundary, it turns out that part of the property had in fact been usurped. In the case decided by this cassation, which was declared founded (fundada), the Court ordered that the deslinde and amojonamiento proceed given the confirmed boundary confusion.
Practical steps in a boundary dispute
As a general roadmap, here is the recommended order for approaching a boundary dispute with a neighbor:
- Talk to the neighbor first. Many boundary mix-ups are resolved simply by comparing titles and survey plans, without any formal procedure.
- Gather your documentation: property title, SUNARP registry record, and any available perimeter or location survey plan.
- Consider a surveyor or land engineer to produce an updated plan and compare coordinates against what is registered with the public registry.
- If you reach an agreement, formalize it — ideally through a notarized deed — and register it with SUNARP, so it is protected against future owners.
- If there is no agreement, consider the judicial route, filing a demanda de deslinde based on Article 966 of the Civil Code, so a judge fixes the dividing line definitively.
On costs and the so-called “dual process”: what secondary sources say
Beyond what Article 966 directly establishes, there is additional legal commentary — from secondary sources, not from a normative text independently verified in this session — worth mentioning with the appropriate caveats:
In practice, a deslinde is often described as working as a “dual process,” in which both parties must prove their property right by presenting their respective titles, rather than only one side carrying that burden. It is also commonly noted that the costs of the demarcation tend to be shared between the property owners involved, especially when the deslinde is resolved by mutual agreement.
These two ideas are consistent with how a deslinde is generally described in Peruvian legal practice, but they are not part of the verified verbatim text of Article 966, nor were they checked in this session against the Código Procesal Civil. Treat them as general guidance, not a settled legal rule, and confirm the details with a lawyer before assuming how costs will be split in your specific situation.
This is not the same as…
A deslinde is often confused with two other situations that also involve neighbors and land, but which solve different problems:
- Right-of-way easement (servidumbre de paso): a deslinde is about fixing where the dividing line between two properties runs. A right-of-way easement, by contrast, is the right to cross a neighbor’s land when your own property — with perfectly clear boundaries — has no adequate access to a public road. These are independent problems: you can need an easement without any boundary dispute, or have a boundary dispute with no access problem at all.
- Land invasion (invasión de terrenos): a deslinde starts from confusion about where the correct dividing line is. Land invasion and property trafficking is a different problem: someone deliberately occupies a property (or part of it) knowing, in principle, that it is not theirs, regardless of exactly where the boundary line sits. If your situation is clearly an occupation rather than a confused line, that guide is the more relevant one.
Note on this page’s status
This page is marked parcial (partial) because, although the core right — the obligation of deslinde y amojonamiento under Article 966 of the Civil Code, and its scope per the Supreme Court — was verified directly against an official source (El Peruano), the procedural details about exactly how a demanda de deslinde is filed, how costs are split, and how it interacts with the Código Procesal Civil come from secondary legal commentary that was not independently checked in this session. Before using this page to decide on a specific boundary dispute, confirm the details with a lawyer or directly through Peru’s Sistema Peruano de Información Jurídica (SPIJ).
How to file
- Talk to the neighbor firstBefore any formal step, try to explain the problem directly: in many cases boundary confusion comes from an honest misunderstanding about where the line actually runs, not bad faith. A direct agreement is always faster and cheaper than a court process.
- Gather your title documents and survey plansCollect your public registry record (SUNARP), your property title or purchase deed, and any perimeter or location survey plan you have. If you bought the property recently, also check that purchase paperwork, since it usually includes the exact boundary description agreed at the time.
- Consider hiring a surveyor or land engineer (perito)A professional can produce an updated survey plan, compare coordinates against what is registered with the public registry, and determine with technical precision where the dividing line should actually run. This report is often key both for negotiating with the neighbor and for supporting a possible lawsuit.
- If you reach an agreement, formalize it and register it with SUNARPWhen both neighbors agree on where the line and markers go, it is advisable to formalize that agreement (for example, through a notarized deed) and register it with Peru's public registry, so it is enforceable against future owners of either property.
- If there is no agreement, consider the judicial routeArticle 966 of the Civil Code lets you compel the neighbor to the deslinde y amojonamiento; if they do not cooperate voluntarily, the next step is a demanda de deslinde before Peru's Judiciary, so a judge fixes the dividing line.
What people fail to ask in time
Could a boundary dispute with your neighbor also affect an existing or needed right-of-way easement across their land?
Find out before it matters →What most people believe — and what the law says
A deslinde is for a judge to decide who the real owner of the disputed land is.
Per Peru's Supreme Court (Casación N.° 26721-2017-Junín), the purpose of a demanda de deslinde is to establish or fix the dividing line between properties when it is confused or the existing markers are wrong. Strictly speaking, it is not a general action to determine ownership, although the Court has noted it can have a reivindicatory effect — restoring possession — if part of the property was actually usurped.
If my neighbor does not agree to a deslinde, there is nothing I can do to force it.
Article 966 of the Civil Code expressly gives a property owner the right to compel neighbors, whether owners or possessors, to the deslinde y amojonamiento. If there is no voluntary agreement, this can be pursued through Peru's Judiciary.
A deslinde and a right-of-way easement (servidumbre de paso) are basically the same procedure.
They solve different problems: a deslinde fixes where the dividing line between two properties actually runs, while a [right-of-way easement](/en/rights/right-of-way-easements-in-peru-what-they-are-and-how-to-claim-one/) is the right to cross a neighbor's land when your own property, with perfectly clear boundaries, has no adequate access to a public road. A property can have a perfectly clear boundary and still need an easement, or have a confused boundary with no access problem at all.
Frequently asked questions
What exactly is deslinde y amojonamiento?
Deslinde is the process — voluntary or judicial — for precisely determining where the dividing line between two neighboring properties runs. Amojonamiento is the next step: placing physical markers (mojones) along that now-fixed line so it is visibly and permanently marked on the ground.
Can I force my neighbor to do a deslinde even if they don't want to?
Yes. Article 966 of the Civil Code gives a property owner the right to compel neighbors — whether owners or mere possessors — to the deslinde and amojonamiento. If the neighbor refuses to cooperate voluntarily, the path is a judicial demanda de deslinde.
Can a deslinde help me recover land my neighbor occupied?
That is not its main purpose, but it can have that effect in some cases. Peru's Supreme Court has noted that the deslinde action is mainly meant to clarify a confused dividing line, though it can have a reivindicatory effect (restoring possession) if fixing the boundary correctly shows part of the property had been usurped. If your situation is a clear occupation rather than a confused boundary, see also our guide on [land invasion and property trafficking](/en/rights/land-invasion-and-property-trafficking-what-to-do-if-someone-occupies-your-property/).
Who pays for the costs of a deslinde?
The law does not set an express, verified rule on this among the sources behind this page. In practice, secondary legal sources describe the costs of demarcation as usually shared between the property owners, especially when the deslinde is reached by mutual agreement; in a judicial process, how costs are allocated can depend on how the case is resolved. Confirm this with a lawyer before assuming a specific cost split.
Do I need a lawyer to do a deslinde?
Not to try a direct agreement with the neighbor, but if there is no consensus and the matter ends up before the Judiciary, you will need legal representation to file the lawsuit. A surveyor or land engineer, meanwhile, is key on either path to technically support where the dividing line should actually run.
The exact law
Código Civil peruano (Decreto Legislativo N.° 295, 1984), Libro V - Derechos RealesArtículo 966read
Obligation of deslinde y amojonamiento, and the scope of the deslinde action per the Supreme Court (Casación N.° 26721-2017-Junín)
«el propietario de un predio puede obligar a los vecinos, sean propietarios o poseedores, al deslinde y al amojonamiento»
Also searched as: How do I do a deslinde (boundary fixing) in Peru? · What do I do if my neighbor encroached on my boundary? · What does amojonamiento mean? · Can I force my neighbor to define the property boundary? · How do you file a demanda de deslinde y amojonamiento?
Related
Noise and neighbor disturbances in Peru: what the law says
A noisy neighbor is not just bad manners: the law sets decibel limits, and going over them has consequences.
HousingLand invasion and property trafficking in Peru: what to do if someone occupies your property
Someone occupied your land a few days ago: did you know the law gives you just 15 days to recover it, with police backup?
HousingBuying a home in Peru: how arras (earnest money) work and when you actually own it
You become a homeowner in Peru when you sign the contract, not when you register it — and earnest money rules vary by type.
HousingBuying a home in Peru: what to check before you sign, pre-construction or already built
Buying from a developer isn't the same as buying from an individual — the law gives you information rights and a 10-year warranty.
HousingAcquisitive Prescription in Peru (Usucapión): Requirements and Deadlines to Become the Owner Through Possession
Did you know that possessing a property for years doesn't automatically make you the owner? You still need a judge to declare it.
HousingMy neighbor's branches, wall or rainwater are coming onto my property in Peru: what can I do?
You can cut your neighbor's branches that reach into your home. That is not the only thing the law lets you do.
HousingHow do you correct a property's registered area, boundaries or measurements in Peru: notary or court?
Your land measures differently from what Sunarp says. If it overlaps a neighbor's, the whole route changes.
What this page already lets you do
- Name the rule that protects you
- Copy the exact article and send it
- Follow the steps, in order
What this page does not give you yetThis page's core legal basis — the obligation of deslinde y amojonamiento under Article 966 of the Civil Code, and its scope per the Supreme Court's Casación N.° 26721-2017-Junín — was verified directly against an official source (Peru's Diario Oficial El Peruano). The practical and procedural details described here (how a demanda de deslinde is typically filed in practice, that costs are usually shared between the property owners, and the characterization of the process as a 'dual' proof-of-title process) come from secondary legal commentary that was not independently checked in this session against the Código Procesal Civil (Code of Civil Procedure) or against the full text of neighboring Civil Code articles. Verify the specifics with a lawyer or directly through Peru's Sistema Peruano de Información Jurídica (SPIJ) before relying on this page for a specific dispute. See the sources ↑