Verified against the official source

My neighbor's branches, wall or rainwater are coming onto my property in Peru: what can I do?

Short answer

The Civil Code lets you cut branches and roots that reach into your property, bars your neighbor from making water from their property run onto yours, presumes the wall or fence between you is shared, and splits the cost of keeping it up. If there is damage, it must be compensated.

VerificationVerified against the official sourceSee the sources ↓

  • 14sources cited
  • 14read at the official source
  • 1official institutions

Peruvian State portal (gob.pe)

Checked 1 Oct 2026Next review 29 Mar 2027

PeruviansForeign residents

Branches and roots: the right is yours

This is the most common complaint between neighbors with houses. The Civil Code settles it in one line. Article 967 says:

“Todo propietario puede cortar las ramas de los árboles que se extiendan sobre el predio y las raíces que lo invadan. Cuando sea necesario, podrá recurrir a la autoridad municipal o judicial para el ejercicio de estos derechos.”

(Every owner may cut branches of trees that extend over the property and roots that invade it. When necessary, they may turn to the municipal or judicial authority to exercise these rights.)

What this means for you:

  • You may cut what reaches your side. Branches over your land and roots under it.
  • You may not cut down the tree. The article speaks of branches and roots, not the tree or anything on your neighbor’s side.
  • The article says nothing more. It does not say you must warn your neighbor first, who pays for the cutting, or what happens to the fruit. Warning them in writing is still wise: it keeps the dispute from growing.
  • If you cannot do it alone, because it is dangerous or your neighbor objects, the same article points you to the municipality or a judge.

If roots or a fallen branch already damaged your home, cutting does not cover that. The general rule in article 1969 does: “Aquel que por dolo o culpa causa un daño a otro está obligado a indemnizarlo. El descargo por falta de dolo o culpa corresponde a su autor.” (Whoever causes harm to another through intent or fault must compensate it. The burden of proving no intent or fault falls on the person who caused it.) In other words, your neighbor has to prove they were not at fault.

Rainwater falling onto your property

Article 964 is short:

“El propietario no puede hacer que las aguas correspondientes al predio discurran en los predios vecinos, salvo pacto distinto.”

(An owner may not make the water belonging to their property run onto neighboring properties, unless otherwise agreed.)

The article does not mention rain or roofs. Our reading is that water collected by your neighbor’s roof, gutter or patio is “water belonging to the property”, and they may not direct it onto yours. The exception is an agreement between you.

If the water already caused dampness or damage, article 1969 applies again. If the water comes from an apartment above you in a building, the situation is different: see water leaks between floors or apartments.

Related: article 963 requires distances and precautions when a “depósito para agua o materias húmedas” (tank for water or damp materials), an oven, a chimney or similar works are built near the boundary. Failing to follow them “puede dar lugar al cierre o retiro de la obra y a la indemnización de daños y perjuicios” (can lead to the work being closed or removed and to compensation for damages).

Overhangs, balconies and what passes over your land

Article 954 sets how far your ownership reaches:

“La propiedad del predio se extiende al subsuelo y al sobresuelo, comprendidos dentro de los planos verticales del perímetro superficial y hasta donde sea útil al propietario el ejercicio de su derecho.”

(Ownership of the property extends to the subsoil and the space above it, within the vertical planes of its surface boundary and as far as is useful to the owner.)

Picture vertical lines rising from the edge of your land. What falls inside them, above and below, is yours as far as it is useful to you. We read a balcony, eave or roof that crosses that line onto your side as intruding on your airspace. The Civil Code has no specific article on overhangs. Technical building rules are in the Reglamento Nacional de Edificaciones and municipal rules, which this page did not review. If the work was built without a permit, see building without a license.

Fences and shared walls

Article 965 says: “El propietario de un predio tiene derecho a cercarlo.” (The owner of a property has the right to fence it.) And when something already stands between two properties, article 994 presumes it belongs to both:

“Las paredes, cercos o zanjas situados entre dos predios se presumen comunes, mientras no se pruebe lo contrario.”

(Walls, fences or ditches between two properties are presumed shared, unless proven otherwise.)

This is called medianería. The main rules:

SituationWhat the Civil Code says
The wall was built on one neighbor’s land onlyThe other neighbor can acquire a share “pagando la mitad del valor actual de la obra y del suelo ocupado” (by paying half the current value of the wall and the land it occupies) (art. 995).
Using the wallEach neighbor may rest beams on it and use it without damaging it, “pero no puede abrir en ella ventanas o claraboyas” (but may not open windows or skylights in it) (art. 996).
Raising the wallEither neighbor may raise it, but pays the repair costs and any others the extra height requires (art. 997).
Upkeep and repairNeighbors contribute “a prorrata” (pro rata) to upkeep, repair or rebuilding, “hagan o no uso de ella” (whether or not they use it), unless they give up their share (art. 998).

The last rule causes the most arguments. Your neighbor cannot avoid paying for repairs to the shared wall by saying they do not use it. The only way out is to give up their share in it.

If the wall or fence threatens to collapse

Article 956 says: “Si alguna obra amenaza ruina, quien tenga legítimo interés puede pedir la reparación, la demolición o la adopción de medidas preventivas.” (If a structure threatens to collapse, anyone with a legitimate interest may ask for its repair, demolition or preventive measures.)

If the danger is immediate, article 959 allows work on the other property: “El propietario no puede impedir que en su predio se ejecuten actos para servicios provisorios de las propiedades vecinas, que eviten o conjuren un peligro actual o inminente, pero se le indemnizará por los daños y perjuicios causados.” (An owner cannot prevent temporary work on their property for neighboring properties that averts a present or imminent danger, but must be compensated for any damage caused.)

And if repairing your wall requires scaffolding or passing materials through your neighbor’s side, article 960 says that, when it is indispensable, “el dueño de éste debe consentirlo, recibiendo indemnización por los daños y perjuicios que se le causen” (the owner must allow it, and is compensated for any damage caused).

What this page does not cover

We did not review the Reglamento Nacional de Edificaciones, municipal ordinances on trees, fences or storm drainage, or court rulings on these articles. We do not cover whether there is a minimum distance for planting trees near the boundary, or trees on public streets. We also do not cover how compensation is calculated or the court process. For noise and fumes, see noise and neighbor disturbances; for crossing a neighbor’s land, see right-of-way easements.

How to file

  1. Document the problemTake dated photos and videos of the branches, roots, wall or water coming onto your property, and of any damage. Keep repair quotes and receipts.
  2. Talk to your neighbor and put it in writingTell them which article applies: 967 for branches and roots, 964 for water, 998 for the cost of the shared wall. Send a letter, ideally a notarized one (*carta notarial*), stating what you ask for and a reasonable deadline.
  3. Use your right to cut, on your side onlyFor branches or roots, you may cut what reaches into your property (article 967). Do not go onto your neighbor's land or cut down the tree. If cutting is risky or the neighbor objects, ask your municipality for help.
  4. Go to the municipality or a judgeArticle 967 expressly mentions the municipal or judicial authority. For water, the wall, or damage that goes unpaid, a lawyer can assess whether a lawsuit makes sense.

What people fail to ask in time

What if it is not actually clear where your land ends and your neighbor's begins?

Find out before it matters →

What most people believe — and what the law says

The belief

If my neighbor's branches hang into my yard, I have to wait for them to cut them.

The law

Article 967 of the Civil Code says every owner "puede cortar las ramas de los árboles que se extiendan sobre el predio y las raíces que lo invadan" (may cut branches that extend over the property and roots that invade it). The right is yours. It covers only what reaches your side, not the whole tree.

The belief

Rain is an act of nature, so I cannot complain if it pours off my neighbor's roof into my patio.

The law

Article 964 bars an owner from making "las aguas correspondientes al predio" run onto neighboring properties, unless agreed otherwise. We read that as covering water your neighbor's roof collects and sends your way.

The belief

The wall between our houses belongs to whoever built it.

The law

Article 994 presumes that walls, fences or ditches between two properties are shared, unless proven otherwise. Whoever claims it is theirs alone has to prove it.

The belief

Since the wall is shared, my neighbor can open a window in it.

The law

Article 996 lets each neighbor rest beams on the shared wall and use it without damaging it, but expressly says no one may open "ventanas o claraboyas" (windows or skylights) in it.

The belief

If I don't use the shared wall, I don't have to pay to repair it.

The law

Article 998 requires neighbors to share the cost of upkeep, repair or rebuilding of the shared wall "hagan o no uso de ella" (whether or not they use it). The only way out is to give up your share in the wall.

Frequently asked questions

Can I cut my neighbor's branches that hang over my yard myself?

Yes. Article 967 gives you that right over branches that extend over your property and roots that invade it. The article does not say you must warn the neighbor first, who pays for the cutting, or that you may cut down the tree or go onto their land. If you need help, the same article lets you turn to the municipality or a judge.

My neighbor's tree roots cracked my floor. Do they have to pay?

You may cut the roots that invade your property (article 967). For the damage, the general rule in article 1969 applies: whoever causes harm through intent or fault must compensate it, and it is up to them to prove they were not at fault. Take photos and keep repair quotes.

My neighbor's roof drains rainwater onto my house. What can I do?

Article 964 bars an owner from making water from their property run onto neighboring properties, unless you agreed to it. Ask them in writing to send the runoff to their own land or the street. If dampness damaged your home, article 1969 requires them to compensate you if they were at fault.

My neighbor built a balcony that sticks out over my land. Is that legal?

Article 954 says your ownership extends to the space above your land, within the vertical lines of your boundary. Our reading is that an overhang above your land intrudes on your property. The Civil Code has no specific article on balconies; the technical building rules are in norms this page did not review.

I want to build the shared wall higher. Does my neighbor pay half?

No. Article 997 lets you raise it, but you bear the repair costs and any others the extra height requires. What is split pro rata (article 998) is the upkeep, repair or rebuilding of the existing shared wall.

My neighbor's wall is about to fall onto my house. What do I do?

Article 956 lets anyone with a legitimate interest ask for repair, demolition or preventive measures when a structure threatens to collapse. If the danger is immediate, article 959 says an owner cannot stop temporary work on their property that averts a present or imminent danger, but must be compensated for any damage.

The exact law

Código Civil (Decreto Legislativo N.º 295)Artículo 967read

Right to cut branches and roots that invade your property

«Todo propietario puede cortar las ramas de los árboles que se extiendan sobre el predio y las raíces que lo invadan. Cuando sea necesario, podrá recurrir a la autoridad municipal o judicial para el ejercicio de estos derechos.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 964read

Water may not be made to run onto neighboring properties

«El propietario no puede hacer que las aguas correspondientes al predio discurran en los predios vecinos, salvo pacto distinto.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 954read

Ownership extends below the ground and to the space above it

«La propiedad del predio se extiende al subsuelo y al sobresuelo, comprendidos dentro de los planos verticales del perímetro superficial y hasta donde sea útil al propietario el ejercicio de su derecho.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 965read

Right to fence your property

«El propietario de un predio tiene derecho a cercarlo.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 994read

Walls, fences and ditches between properties are presumed shared

«Las paredes, cercos o zanjas situados entre dos predios se presumen comunes, mientras no se pruebe lo contrario.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 995read

Acquiring a share in a wall built on one side

«Si la pared que separa los predios se ha levantado en terreno de uno de ellos, el vecino puede obtener la medianería pagando la mitad del valor actual de la obra y del suelo ocupado. En tal caso, puede pedir la supresión de todo lo que sea incompatible con el derecho que le da la medianería.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 996read

Using the shared wall

«Todo colindante puede colocar tirantes y vigas en la pared medianera, y servirse de ésta sin deteriorarla, pero no puede abrir en ella ventanas o claraboyas.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 997read

Raising the shared wall

«Cualquier colindante puede levantar la pared medianera, siendo de su cargo los gastos de la reparación y cualesquiera otros que exigiera la mayor altura.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 998read

Sharing the cost of the shared wall

«Los colindantes deben contribuir a prorrata para la conservación, reparación o reconstrucción de la pared medianera, a no ser que renuncien a la medianería, hagan o no uso de ella.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 956read

Action against a structure that threatens to collapse

«Si alguna obra amenaza ruina, quien tenga legítimo interés puede pedir la reparación, la demolición o la adopción de medidas preventivas.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 963read

Harmful or dangerous works and tanks near the boundary

«Si cerca de un lindero se construye horno, chimenea, establo u otros similares o depósito para agua o materias húmedas, penetrantes, explosivas o radioactivas o se instala maquinaria o análogos, deben observarse las distancias y precauciones establecidas por los reglamentos respectivos y, a falta de éstos, [...] las que sean necesarias para preservar la solidez o la salubridad de los predios vecinos. La inobservancia de esta disposición puede dar lugar al cierre o retiro de la obra y a la indemnización de daños y perjuicios.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 959read

Emergency work on a property to avert danger to a neighbor

«El propietario no puede impedir que en su predio se ejecuten actos para servicios provisorios de las propiedades vecinas, que eviten o conjuren un peligro actual o inminente, pero se le indemnizará por los daños y perjuicios causados.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 960read

Passing building materials or placing scaffolding on another's land

«Si para construir o reparar un edificio es indispensable pasar materiales por predio ajeno o colocar en él andamios, el dueño de éste debe consentirlo, recibiendo indemnización por los daños y perjuicios que se le causen.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 1969read

Whoever causes harm through intent or fault must compensate it

«Aquel que por dolo o culpa causa un daño a otro está obligado a indemnizarlo. El descargo por falta de dolo o culpa corresponde a su autor.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

Also searched as: can i cut my neighbor's tree branches in peru · neighbor's tree roots damaging my house peru · neighbor's roof drains rainwater onto my property peru · who pays for a shared wall between houses peru · neighbor opened a window in the shared wall peru · neighbor's balcony hangs over my land peru

Related

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