In short
The Civil Code presumes the wall is shared. Absent a title or an exterior sign to the contrary, medianería is presumed in the dividing walls of contiguous buildings up to the common point of elevation, and in the walls, railings, ditches and live hedges situated between two plots. But that presumption falls before seven concrete signs — open windows or openings, one face straight and plumb and the other sloping at the bottom, the wall built entirely on one plot’s land, the wall bearing the beams and floors of one plot only, the rooflet draining towards one property only, projecting stones on one side only, and the contiguous plot being itself unenclosed — and in all those cases the wall belongs exclusively to the owner who has the presumption in their favour. If the wall is shared, the medianeros must contribute pro rata to its conservation, repair or reconstruction, whether they use it or not; and any of them may escape that charge by renouncing the medianería, except where the wall supports a building of theirs. Any medianero may raise it, but the expenses, the indemnity for harm even if temporary and, if the wall cannot bear it, its rebuilding, are all at their cost; and if greater thickness is needed, they must give it from their own soil. Resting constructions or inserting beams requires the others’ prior consent, and so does opening windows or openings.
What is it?
It is Chapter IV of Title IV of Book Three of the Civil Code of 2020, Articles 860 to 870. The Code calls it medianería and defines it as the set of rights and obligations arising from the existence and common enjoyment of a wall, fence, paling or other dividing element by the owners of contiguous buildings or plots.
Who can do it?
It applies to owners of contiguous buildings or plots sharing a wall, fence, paling or other dividing element. To acquire medianería by usucapión, the contiguous owner must behave for fifteen years as co-owner of the dividing element.
Requirements
- That there be no title and no exterior sign contrary to the medianería, because either one defeats the presumption.Verified against the official source
- To acquire it by usucapión, behaving for fifteen years as co-owner of the dividing element.Verified against the official source
- To rest constructions or insert beams, the prior consent of the other medianeros and not impeding their use.Verified against the official source
- To open windows or openings, the other medianero’s consent.Verified against the official source
- To escape contributing to the charges, renouncing the medianería, unless the wall supports a building of one’s own.Verified against the official source
Documents you need
Cost
Step by step
Step 1: Careful with the word: there are two medianerías
In Puerto Rico the word medianería names two unrelated things. This guide covers the Civil Code one: the wall, fence or paling dividing two neighbouring properties. The other is Act 24 of 1978, about the medianero who works someone else’s farm under a written profit-sharing contract. Nothing that follows applies to that one.
Step 2: The law starts by presuming it belongs to both
Article 863 says medianería is presumed, absent a title or exterior sign to the contrary, in the dividing walls of contiguous buildings up to the common point of elevation, and in the walls, railings, ditches and live hedges situated between two plots. Note the limit: up to the common point of elevation, no higher.
Step 3: The seven signs that make it one owner’s alone
Article 864 lists them: that the dividing walls of the buildings have open windows or openings; that the wall be straight and plumb on one side over its whole surface and on the other show the same at the top with an inclination towards one side at the bottom; that the whole wall or railing be built on one plot’s land and not half on each; that the wall bear the loads of beams, floors and frames of one plot and not the contiguous one; that the sloped rooflet drain towards one of the properties; that the wall show projecting stones that at intervals stick out on one side only; and that plots contiguous to others defended by walls, railings, palings or live hedges be themselves unenclosed. In all these cases ownership is understood to belong exclusively to the owner of the plot that has the presumption in its favour.
Step 4: How it is acquired
Article 861 names three routes: juridical act, usucapión or apparent sign. To acquire it by usucapión, the contiguous owner must behave for fifteen years as co-owner of the dividing element. And it is acquired by apparent sign where a dividing element exists between two plots belonging to a single owner and one of them is transferred.
Step 5: Who pays for the repair
Article 865 settles it: the medianeros must contribute pro rata to the conservation, repair or reconstruction of the shared element, whether they use it or not. And it opens an exit with a limit: any owner may excuse themselves from contributing by renouncing the medianería, except where the party wall supports a building of theirs. Whoever leans on the wall cannot renounce it.
Step 6: If you want to demolish your own building
Article 866 lets an owner of a building resting on a party wall likewise renounce the medianería if they want to demolish it, but all the repairs and works needed to avoid, that one time only, the damage the demolition may cause the party wall are at their cost. The phrase "that one time only" is the Code’s, not ours.
Step 7: Raising it higher
Article 867 allows it and bills for it. Any medianero may raise the party wall, and the repair expenses and any others the greater height demands are at their cost; they must also indemnify the harm the work causes, even if temporary. Likewise at their cost are the wall’s conservation expenses in the raised part or in however far its foundations were deepened, and the indemnity of the greater conservation expenses caused by that height or depth. And if the party wall cannot bear the greater elevation, the neighbour who wants to raise it must rebuild it at their own cost; if greater thickness is needed for that, they must give it from their own soil.
Step 8: And how the neighbour buys into the new part
Article 868 opens the door to whoever did not pay: the other medianeros who did not contribute to giving the wall more elevation, depth or thickness may acquire medianería rights in it by paying proportionally the cost of the work and half the value of the land on which greater thickness was given.
Step 9: Beams yes, windows no
Article 869 lets a medianero rest constructions or insert beams in the party wall, but without impeding the others’ use and with their prior consent; and if consent is not obtained, experts may fix the conditions needed for the new work to proceed without harming their rights. Article 870 leaves no such exit: no medianero may open windows or openings in the party wall without the other’s consent.
Where to do it
These are rules between neighbours: they are asserted between the parties or before the Court of First Instance. Article 869 expressly names experts to fix the conditions of a work when consent is missing. The Civil Code designates no agency to apply them.
How long it takes
What to do if something goes wrong
If what you are looking for is the medianero who works someone else’s farm, that is a different subject and a different law: Act 24 of 1978. If the doubt is where the boundary lies rather than whose the wall is, the matter is one of boundary fixing. If one neighbour built the whole wall on their own land, Article 864 makes it theirs and not shared. This guide does not explain the construction permits that raising or rebuilding a wall requires in practice: Article 867 authorizes the work and says nothing about permits, and we did not read that regulation. Nor does it explain the general usucapión rules Article 861 invokes for the fifteen-year route. The Code publishes no cost and no term, so this guide gives none. MiPRFácil does not represent anyone in court and gives no legal advice.
Common mistakes
- Taking for granted that the wall is shared: seven exterior signs make it one neighbour’s alone.
- Believing the presumption reaches to the top: it only reaches the common point of elevation.
- Refusing to pay for the repair because you do not use the wall: you must contribute pro rata anyway.
- Renouncing the medianería while having a building resting on the wall.
- Demolishing your own building without paying for the works to avoid damage to the shared element.
- Raising the wall and passing the greater-height expenses to the neighbour.
- Opening a window in the shared wall without the other’s consent.
- Inserting beams without the other medianeros’ prior consent.
Frequently asked questions
Is the wall between my house and my neighbour’s ours jointly?
It is presumed so, up to the common point of elevation, absent a title or an exterior sign to the contrary. Article 864 lists seven signs that make it the exclusive property of the owner who has them in their favour.
Must I pay for the repair if I do not use that wall?
Yes. The medianeros must contribute pro rata to the conservation, repair or reconstruction, whether they use it or not. You may excuse yourself by renouncing the medianería, unless the wall supports a building of yours.
May I open a window in the wall we share?
Not without the other medianero’s consent. Article 870 expressly forbids it.
May I raise the wall higher?
Yes, any medianero may, but the expenses of the greater height, the indemnity for the harm even if temporary and, if the wall cannot bear it, its rebuilding are all at their cost; and if greater thickness is needed, they must give it from their own soil.
Official sources
These are the government pages this guide is based on.
- Poder Judicial de Puerto Rico
Poder Judicial
bvirtualogp.pr.gov
Last verified
September 7, 2026
MiPRFácil is an independent informational website and is not affiliated with, endorsed by, or operated by the Government of Puerto Rico or any government agency.
MiPRFácil does not submit applications on your behalf.
Was this guide helpful?
Did you find out-of-date information?
Trees, windows and water: what the Code demands of you as a neighbour
Two metres for a tall tree, one and a half for a direct view, and your roof water falls on your own lot.
You do not know where your land ends: fixing and marking boundaries
A deslinde fixes blurred boundaries and amojonamiento marks them. The action never prescribes, but a neighbour can still gain ground by prescription.
How high a fence may be in Puerto Rico
One metre at the front, two at the sides and rear, and two at the front with a grille under 25% solid.
Building or planting on someone else’s soil: who keeps the work
What is built on another’s soil belongs to the soil’s owner, but in good faith it must be paid for, and sometimes the builder keeps the land.
Three actions to defend your property and what each one requires
Reivindicatory to recover the thing, declaratory to have your ownership declared, negatory to deny an encumbrance someone alleges.
Usucapión in Puerto Rico: acquiring property by possession, and getting the title
The four requirements, the terms that changed on 28 November 2020, and the declaratory action to register in the Property Registry.