Who pays for a fence between neighbors in California
Two separate sets of rules: the state law on this page decides who pays for a fence on the line between neighbors. Height limits, permits and setbacks come from your city or county, so ask them before you build.
California fence law at a glance
Who pays
Neighbors are presumed to share equally the reasonable cost of building, maintaining or replacing a fence that divides their properties
When it applies
Adjoining private land; a written agreement wins, and a court can lower or remove a share when equal sharing would be unjust
Notice and disputes
Give each affected neighbor at least 30 days' written notice with the problem, the plan, the estimated costs, the split and the timeline
Law
Cal. Civil Code 841
The rule in California
In California, adjoining landowners share equally in the responsibility for maintaining the boundaries and monuments between them. The law presumes that they benefit equally from a fence dividing their properties and should share equally the reasonable costs of building, maintaining or replacing it, unless they agreed otherwise in writing. An owner who plans to incur those costs must give each affected neighbor at least 30 days' written notice that describes the presumption, the problem, the proposed solution, the estimated costs, the proposed split of the costs and the timeline. The presumption can be overcome by showing that equal sharing would be unjust, for example because the cost is out of proportion to the benefit or the change in property value, would cause undue hardship, or is unreasonable or only for looks; a court can then order a smaller share or none. Public entities are not landowners under this rule.
What this covers
This guide covers the state laws on partition fences, also called division or line fences: who pays to build and keep up a fence on the line between two neighbors, when that rule applies, and what an owner can do when the neighbor will not pay a share. Many of these laws were written for farms and livestock, and several do not reach ordinary home lots. City or county rules on fence height, permits and setbacks, homeowner association rules, spite fences and disputes over where the boundary is are not covered.
Practical steps
- Find the boundary first: a recorded survey, or a new one by a licensed land surveyor, shows where a shared fence can go.
- Read the rule above for California: it says who pays, when the rule applies and what notice the law asks for.
- Talk to your neighbor and put any agreement on the fence type, the cost split and the upkeep in writing. Some of these laws let owners record that agreement.
- If the law calls for notice, send it in writing and keep a copy with proof of delivery.
- Ask your city or county about permits, height limits and setbacks before any work starts.
Do you need a lawyer?
Often without a lawyer
- You and your neighbor agree on the fence and the cost split in writing
- A claim for a neighbor's share that fits your state's small claims limit
Talk to a lawyer
- The neighbor says the fence is on their land or disputes the boundary
- You want to challenge a fence viewer, selectmen or court decision
- Livestock got through a fence and caused damage
Related guides for California
- Damages for cutting someone else's tree in California
- Adverse possession in California
- Small claims court in California
- Deadlines to sue in California
A dispute with a neighbor?
See your next stepsSources
Last checked: November 19, 2026. This page summarizes what the California sources named above say about sharing the cost of a fence between neighboring owners. Courts and local officials decide how these laws apply to a given fence. It is general information, not legal advice.
Cite this page
“Who pays for a fence between neighbors in California.” Local Lawyers Online, last checked November 19, 2026. https://locallawyersonline.com/fence/california/
Link code: <a href="https://locallawyersonline.com/fence/california/">Who pays for a fence between neighbors in California</a> (Local Lawyers Online)
You may quote the facts on this page. Please credit Local Lawyers Online, and check the official sources listed on this page before you rely on a figure.