Skip to main content
CityRuleLookup

Sunnyvale, CA Fence Regulations: Neighbor Fence Rules (2026)

Some Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified September 2026

Key Facts

Governing law
CA Civil Code 841
Default cost split
50 / 50
Written notice
30 days minimum
Dispute forum
Small claims court
Survey
Highly recommended

Summary

California Civil Code 841 (Good Neighbor Fence Act) requires adjoining property owners to share the cost of boundary fences equally absent written agreement, and 30-day written notice before construction.

(a) Adjoining landowners shall share equally in the responsibility for maintaining the boundaries and monuments between them. (b) (1) Adjoining landowners are presumed to share an equal benefit from any fence dividing their properties and, unless otherwise agreed to by the parties in a written agreement, shall be presumed to be equally responsible for the reasonable costs of construction, maintenance, or necessary replacement of the fence. (2) Where a landowner intends to incur costs for a fence described in paragraph (1), the landowner shall give 30 days' prior written notice to each affected adjoining landowner. The notice shall include notification of the presumption of equal responsibility for the reasonable costs of construction, maintenance, or necessary replacement of the fence.

Source: CA Civil Code 841View official code

Full Breakdown

Shared fence disputes in Sunnyvale are governed primarily by California Civil Code Section 841, the Good Neighbor Fence Act of 2013. The statute presumes that adjoining owners share the benefit of a boundary fence and must share reasonable construction, maintenance, and replacement costs equally. An owner who wants to build or replace a shared fence must give the neighbor at least 30 days written notice describing the location, materials, estimated cost, timeline, and proposed cost-sharing. Neighbors can rebut the equal-share presumption by showing they would not benefit, cannot afford the share, or that the work is unreasonable. The city does not adjudicate civil cost disputes and Sunnyvale Public Safety cannot force a neighbor to pay, so unresolved issues are handled in Santa Clara County small claims court. Survey verification is strongly recommended before construction.

Frequently Asked Questions

Can my neighbor refuse to pay half for a replacement fence?
They can try to rebut the presumption by showing hardship or lack of benefit. A judge in small claims decides if the rebuttal is valid.
What if the fence is on my property, not the line?
If the fence sits entirely on one parcel, Civil Code 841 does not automatically require cost sharing. A survey clarifies whether the fence is truly a boundary fence.

Sources & Official References

Other rules in Sunnyvale

All Sunnyvale rules

California rules heatmap·Compare Sunnyvale to another location·View the California fence regulations overview

Get notified when Neighbor Fence Rules in Sunnyvale, CA changes

We'll email you the moment we detect a change in the code. No spam, unsubscribe anytime.

We'll never sell or share your email. One-click unsubscribe in every email.

See something wrong?

Help us keep this page accurate. If you notice an error or outdated information, let us know.

Neighbor Fence Rules in Nearby Cities

How other cities in Santa Clara County handle neighbor fence rules.

Mountain View, CA
Some Restrictions
Palo Alto, CA
Some Restrictions
Santa Clara, CA
Few Restrictions