Property

Good Neighbor Fence Law: Who Pays for a Shared Fence

5 min · Updated 2026-09-28

California's good neighbor fence law: equal shares, 30 days' written notice, when the split changes, spite fences; and Texas, with no specific statute.

Written by DueRivaLast reviewed: 2026-09-28Review standard

California has a good neighbor fence law; Texas, the State Law Library says, has no specific state statute on it. California Civil Code § 841, in its current form since January 1, 2014, presumes that adjoining landowners share equally in the benefit of a fence dividing their properties and, unless they agree otherwise in writing, in the reasonable cost of building, maintaining or necessarily replacing it. In Texas, the library says a landowner generally has no legal obligation to share the cost or upkeep of a fence the neighbor built on the dividing line unless they agreed to. This page sets out what the rules say; it is not legal advice, and a dispute is a question for a lawyer.

California: equal shares, in writing and with notice

Under § 841, adjoining landowners share equally the responsibility for maintaining the boundaries and monuments between them, and are presumed to get an equal benefit from any fence dividing their properties. The presumed equal split covers the reasonable costs of construction, maintenance or necessary replacement, and a written agreement between the neighbors can set a different one. Separately, a landowner who intends to spend on such a fence has to give each affected adjoining landowner 30 days’ written notice first, and the notice has to include the following.

What California’s 30-day fence notice must include (Civil Code § 841(b)(2))
ItemWhat the law says it must include
The presumptionNotice of the presumption that neighbors are equally responsible for the reasonable costs of building, maintaining or necessarily replacing the fence
The problemA description of the nature of the problem facing the shared fence
The solutionThe proposed solution for addressing the problem
The costThe estimated construction or maintenance costs
The splitThe proposed cost-sharing approach
The timelineThe proposed timeline for getting the problem addressed

When the split can change

The equal split is a presumption, which a neighbor can overcome by a preponderance of the evidence that equal responsibility would be unjust. The court must consider all of the following: whether the cost to one landowner is substantially out of proportion to the benefit the fence gives them; whether the fence would cost more than the difference in the property’s value before and after it goes in; whether paying would cause one landowner undue financial hardship, given that landowner’s financial circumstances shown by reasonable proof; how reasonable the project is, including costs that look unnecessary or excessive or that come from one landowner’s personal aesthetic, architectural or other preferences; and any other equitable factors appropriate under the circumstances. If a party rebuts the presumption, the court shall, in its discretion and consistent with that party’s circumstances, order either a contribution of less than an equal share or no contribution.

Who the California law covers

It applies between landowners, which the law defines as any private person or entity lawfully holding any possessory interest in real property. It leaves out a city, county, city and county, district, public corporation or other public body or agency, so a public agency next door is not a “landowner” under § 841. “Adjoining” means contiguous to or in contact with.

Spite fences

A fence or other structure in the nature of a fence that unnecessarily exceeds 10 feet in height and is maliciously built or maintained to annoy the owner or occupant of adjoining property is a private nuisance under California Civil Code § 841.4, and any owner or occupant of the adjoining property injured in their comfort or the enjoyment of their property by it may enforce the Civil Code’s nuisance remedies against its continuance. Los Angeles’s and Austin’s own fence height limits are in the fence permit guide.

Texas: court cases and agreements, not a statute

The Texas State Law Library’s neighbor law guide says Texas does not have a specific state statute on who owns and maintains a boundary fence, though court cases have addressed it, and that a landowner generally has no legal obligation to share the cost or future maintenance of a fence the neighbor built on the dividing line unless they agreed to; cities may have their own fence rules. It also says laws passed in 2021 keep a property owners’ association from restricting a swimming pool enclosure or security measures such as perimeter fencing, while still letting it limit how the fencing looks and what type is used; the library links Texas Property Code §§ 202.022 and 202.023. Austin’s fence rules are in the fence permit brief.

Primary sources

What this page was checked against

  • California Civil Code § 841: Boundaries, monuments and dividing fences

    California Legislature · checked 2026-09-28

    Used for: Adjoining landowners share equally the responsibility for maintaining boundaries and monuments (a); they are presumed to share equally the benefit of a dividing fence and, unless agreed otherwise in writing, the reasonable costs of its construction, maintenance or necessary replacement (b)(1); 30 days' prior written notice with the presumption, the problem, the proposed solution, the estimated costs, the proposed cost sharing and the timeline (b)(2); the presumption overcome by a preponderance of the evidence that equal responsibility would be unjust, weighing disproportionate burden, cost against added value, undue hardship, unnecessary, excessive or preference-driven costs and other equitable factors (b)(3); a smaller share or no contribution (b)(4); "landowner" excludes cities, counties, districts and other public agencies, and "adjoining" means contiguous to or in contact with (c) (Stats. 2013, ch. 86, effective January 1, 2014).

  • California Civil Code § 841.4: Spite fences

    California Legislature · checked 2026-09-28

    Used for: A fence or structure in the nature of a fence unnecessarily exceeding 10 ft in height, maliciously erected or maintained to annoy the adjoining owner or occupant, is a private nuisance; an injured adjoining owner or occupant may enforce the Civil Code's remedies against its continuance (Stats. 1953, ch. 37).

  • Neighbor Law: Fences & Boundaries

    Texas State Law Library · checked 2026-09-28

    Used for: Texas has no specific state statute on boundary fence ownership and maintenance, though court cases have addressed it; a landowner generally has no legal obligation to share the cost or future maintenance of a fence the neighbor built on the dividing line unless agreed; cities may regulate fences; 2021 laws keep a property owners' association from restricting swimming pool enclosures or security measures such as perimeter fencing while letting it limit their appearance and type (the guide links Property Code 202.022 and 202.023).