Skip to main content
All guides
Neighbors & Community

Fences, Boundary Walls, and Who Pays

Boundary fence cost sharing comes from state partition fence statutes in some states and from local ordinance in others, with height and purpose limits layered on top.

The short answer

Neither neighbor automatically owes half: cost sharing for a boundary fence comes from your state's partition fence statute or, where there is none, from private agreement.

Two houses separated by a wooden boundary fence with a surveyed property line marker
Illustration by Citywide Editorial Team.

Key points

  • Fence law is state and local. Some states have partition fence statutes that force cost sharing; elsewhere the cost falls on whoever builds.
  • Your city's zoning code usually sets height, materials, and setback separately from any cost question, and often differs front yard to back.
  • A spite fence built mainly to annoy a neighbor can be attacked as a nuisance even when it meets the height limit in the code.
  • Get the line surveyed before you build. A fence on the wrong side of the line creates an encroachment that is expensive to unwind later.
What's on this page
  1. Where the rule actually comes from
  2. Partition fence statutes and cost sharing
  3. Height, materials, and the spite fence problem
  4. Finding the line before you build
  5. Permits, inspections, and what enforcement looks like
  6. Common questions
  7. What to do next

No general rule of American law makes your neighbor pay half for a fence. Whether the cost is shared depends on two things: whether your state has a partition fence statute that obliges adjoining owners to contribute to a fence on the common line, and what your city or county ordinance says about who may build what, and how tall. In states with a partition fence statute, a neighbor who benefits from the fence can often be required to pay a proportionate share through a process the statute defines. In states without one, the person who wants the fence pays for it unless the neighbors agree otherwise in writing.

Worth knowing: Almost everything on this page is set by state statute and city ordinance, not by federal law. Any state or city named below is an example of a pattern, never a statement of what applies where you live. Read your own state code and your own municipal code before spending money; USA.gov's directory of state and local governments is a reliable way to find both.

Where the rule actually comes from

Three separate bodies of law meet at a boundary fence, and people confuse them constantly.

The three layers that govern a boundary fence
LayerWhat it controlsWhere to find it
State fence or partition statuteWhether an adjoining owner can be made to contribute to cost and upkeep, and the procedure for forcing itYour state code, usually under a chapter titled "fences," "partition fences," or "boundaries"
Local zoning and building codeHeight, materials, setback, which side the finished face must show, whether a permit is neededYour municipal or county code, zoning chapter
Common law of nuisance and trespassSpite fences, encroachment onto a neighbor's land, blocking light or air in states that recognize itState court decisions, not a code you can look up in one place

Recorded documents can add a fourth layer. Subdivision covenants and homeowners association rules frequently regulate fences more tightly than the city does, and they bind you by contract even where the city would allow more. Check your deed and any recorded declaration before you check the code.

Partition fence statutes and cost sharing

The partition fence idea is old and mostly agricultural in origin: if two owners both benefit from a fence on the line between them, both should keep it up. Many states, especially in the Midwest and Northeast, still carry these statutes, and a number of them have been modernized to reach residential lots as well as farmland.

Where such a statute exists, it typically supplies some or all of the following:

  • A definition of which fences count — often a "lawful fence" meeting a described standard.
  • An obligation on each adjoining owner to build and maintain a portion, sometimes an equal half, sometimes divided by an official.
  • A local officer, historically called a fence viewer, who inspects and apportions cost when the neighbors disagree.
  • A remedy if one owner refuses: the other may build the whole thing and recover the share, sometimes as a lien or a court judgment.
  • Exemptions — for example, for land that is not enclosed or used, or where one owner does not use the fence at all.

In states without a partition statute, or where the statute is limited to agricultural land, the default is simpler and less satisfying: you may build a fence entirely on your own land at your own expense, and your neighbor owes nothing. Cost sharing then depends on an agreement. Put any such agreement in writing, describe the fence, state the split, and say who maintains it and who replaces it. An unrecorded handshake is worth very little when one of the two houses sells.

Tip: Ask your county recorder or clerk whether fence maintenance agreements are recordable in your county. A recorded agreement travels with the land and survives a sale, which is exactly what an oral deal does not do.

Height, materials, and the spite fence problem

Local codes almost always cap fence height, and almost always cap it lower in a front yard than in a rear yard. Codes also commonly address materials, corner sight triangles at intersections, pool enclosures, and whether the finished side must face outward. Because these numbers move and differ block to block, this guide will not quote one. Look them up in your own zoning chapter or ask the counter staff at your building department.

Separately, many states recognize a spite fence doctrine. The core idea is that a structure built with no real use of its own, mainly to injure or annoy the neighbor, can be treated as a private nuisance even if its height is within the code. Some states codified this with a specific statute; others handle it through general nuisance law, which asks whether the interference with the neighbor's use and enjoyment is both substantial and unreasonable. Motive matters here in a way it usually does not in property law.

Careful: The reverse is also true. A fence you dislike is not automatically a spite fence. If it screens a yard, contains a dog, or blocks a view of a driveway, it has a legitimate purpose, and a nuisance claim aimed at it will usually fail.

Finding the line before you build

The most expensive fence mistakes are not about money splits. They are about location. A fence built a foot inside your neighbor's land is an encroachment, and the neighbor can generally demand removal. Left alone long enough, a misplaced fence can also feed a claim of adverse possession or a boundary-by-acquiescence argument, which is how strips of yard quietly change hands.

  1. Pull the plat and the deed. Your county recorder or assessor usually has both. The legal description controls, not the fence that is already there.
  2. Hire a licensed surveyor. A boundary survey with set pins costs money and settles the argument. Splitting the survey cost with the neighbor is a reasonable opening offer.
  3. Mark the line and photograph it. Keep the survey drawing with your closing documents.
  4. Build inside the line, not on it, unless a partition statute or a written agreement puts the fence on the line by design.

Boundary problems rarely stay confined to fences. The same disputed strip often carries a hedge, a shed, or a drive. If yours involves a driveway or a right of way, read shared driveways and access easements next, and if the trouble is a canopy hanging across the line, see trees, overhanging branches, and fallen limbs.

Permits, inspections, and what enforcement looks like

Many cities require a permit for a fence over a certain height, and a few require one for any fence at all. Retaining walls, which hold back soil rather than simply dividing land, are treated far more seriously than fences and often need engineered drawings. A masonry boundary wall usually falls under the building code rather than the zoning code, so the review is different. Our guide to building permits for home repairs and renovations explains how that review runs.

If a fence goes up without a permit or over the height limit, the usual response is a code enforcement notice with a deadline to correct, followed by penalties that accrue if nothing happens. Those notices carry short appeal windows, and missing one is how a fixable problem becomes an expensive one. See code enforcement notices and how to contest them.

Where the dispute is purely between neighbors — money owed, a fence removed without permission, damage during construction — the venue is usually a state small claims or civil court rather than city hall. The federal judiciary's public site publishes a plain-language overview of how court systems are organized, which helps if you have never filed anything, and USA.gov points to state court self-help pages.

Common questions

My neighbor built a fence on the line and sent me a bill. Do I have to pay?

Only if a state statute or a written agreement makes you liable. In partition fence states, a neighbor generally must follow the statutory procedure first — notice, and often an inspection or apportionment by a local officer — before a share becomes collectible. A bill that arrives after the fence is finished, with no statute behind it and no agreement you signed, is usually just a request. Check your state code before you pay or refuse.

Can I paint or attach things to my side of a shared fence?

It depends on who owns it. If the fence sits entirely on your neighbor's land, it is their structure and you have no right to alter it, including your side. If it straddles the line, it is commonly treated as jointly owned, and neither owner may damage or remove it without the other's consent. Hanging planters or trellises can add weight and load that the fence was never built to carry, which becomes your problem if it fails.

Who repairs a shared fence after a storm?

Where a partition statute applies, the maintenance obligation usually mirrors the construction obligation, so both owners contribute. Where there is no statute, repair follows ownership: the owner of the fence pays. If a neighbor's tree or structure caused the damage, that is a separate negligence question and turns on whether they knew or should have known about the hazard beforehand.

Does a fence that has stood for decades become the legal boundary?

Sometimes. Several states apply doctrines — acquiescence, agreed boundary, or adverse possession — under which a long-standing fence treated by both owners as the line can eventually become the line. The time periods and the required conduct differ substantially by state, and none of it happens automatically. If a survey shows the fence is off the deed line and it has been there a very long time, get advice before moving it.

What to do next

  1. Read your own two codes. Search your state code for "partition fence" and your municipal code's zoning chapter for "fence." These two answers together decide most of the argument.
  2. Check private restrictions. Look at your deed, any subdivision declaration, and homeowners association rules.
  3. Confirm the line. Order a boundary survey before ordering materials.
  4. Talk first, in writing. A short letter proposing a design, a cost split, and a maintenance term resolves most of these without a filing.
  5. Permit it if required, and keep the approved drawing.
  6. If it becomes a dispute, gather the survey, photographs, quotes, and correspondence before contacting a local attorney or filing in small claims.

Sources

  1. USA.gov — state, local, and tribal governments
  2. USA.gov
  3. United States Courts — about the courts
  4. Cornell LII — Nuisance
  5. Cornell LII — Adverse possession

This is general information, not legal advice. Citywide Legal Guide is a publication, not a law firm, and reading it creates no attorney–client relationship. Nearly everything here is set locally and differs between states, counties and cities — check the rules where you live or speak to a licensed attorney before acting.

Citywide

Citywide Editorial Team

Citywide is an independent guide to everyday legal questions. Every guide is researched against primary sources and revised when the rules change. How we source · Corrections