Skip to main content
CityRuleLookup

San Francisco Neighbor Fence Rules Rules (2026): What You Need to Know

Some Restrictions

Key Facts

Governing law
California Civil Code Section 841 — Good Neighbor Fence Act applies to all SF boundary fences
Cost sharing
Adjoining owners presumed to share equally in reasonable fence costs
Required notice
Written notice at least 30 days before starting any boundary fence work
Notice contents
Must include problem description, proposed solution, cost estimate, sharing plan, and timeline
Hardship exception
Equal sharing may be rebutted if it would cause financial hardship to one party
Local rules apply
SF height limits (3 ft front, 6 ft side/rear) and permit requirements still apply

The Short Version

Boundary fences between neighboring properties in San Francisco are governed by California Civil Code Section 841, the Good Neighbor Fence Act of 2013. This state law creates a presumption that adjoining property owners share equally in the reasonable costs of constructing, maintaining, and replacing a boundary fence. Before beginning any boundary fence project, the initiating owner must provide written notice to the adjoining neighbor at least 30 days in advance. San Francisco's local fence height and permit requirements still apply regardless of any neighbor agreement.

Full Breakdown

Boundary fences between residential properties in San Francisco are subject to the California Good Neighbor Fence Act (Civil Code Section 841), enacted in 2013 to establish a clear statutory framework for resolving boundary fence disputes. The Act creates a rebuttable presumption that adjoining landowners benefit equally from a boundary fence and should therefore share equally in the reasonable costs of construction, maintenance, and necessary replacement.

Before beginning any work on a boundary fence — whether new construction, major repairs, or complete replacement — the initiating property owner must provide written notice to the adjoining neighbor at least 30 days before the anticipated start date. The notice must include: (1) a description of the problem necessitating the fence work; (2) the proposed solution (materials, design, height); (3) an estimated cost with at least one written bid from a licensed contractor; (4) the proposed cost-sharing arrangement (typically 50/50); and (5) the anticipated timeline for the project. The adjoining neighbor then has 30 days to respond.

If the neighbor does not respond within 30 days, they are still presumed liable for their proportionate share of reasonable costs. If the neighbor objects to the scope, materials, or cost, the parties should attempt to negotiate a mutually acceptable solution. If they cannot agree, either party may seek resolution through mediation, small claims court (for amounts up to $12,500), or superior court.

The presumption of equal cost sharing can be rebutted. A court may order a different allocation if requiring equal sharing would be unjust considering the financial circumstances of the adjoining owner, if the need for repair or replacement was caused primarily by one party, or if the proposed fence exceeds what is reasonably necessary (for example, specifying luxury materials when a standard fence would suffice).

Importantly, the Good Neighbor Fence Act does not override local San Francisco zoning and building regulations. Even if both neighbors agree to build a fence, it must comply with San Francisco's height limits (3 feet in front yards, 6 feet in side and rear yards), setback requirements, material restrictions, and permit obligations. Neighbors cannot mutually consent to a fence that violates local code.

What Happens If You Violate This?

Disputes over boundary fence costs under California Civil Code Section 841 are civil matters resolved through negotiation, mediation, or court action — not through city enforcement. Small claims court handles amounts up to $12,500. Separate from cost disputes, fence code violations (exceeding height limits, building without permits) are enforced by the SF Planning Department and DBI with administrative penalties starting at $250 per day for Planning Code violations.

Frequently Asked Questions

Does my neighbor have to pay half for a new fence in San Francisco?
Under California Civil Code Section 841, yes — adjoining owners are presumed to share equally in reasonable boundary fence costs. However, this presumption can be rebutted if equal sharing would cause financial hardship or if one party disproportionately caused the need for the fence.
What notice do I need to give my neighbor before building a boundary fence?
You must provide written notice at least 30 days before starting work. The notice must describe the problem, proposed solution, cost estimate (with at least one contractor bid), cost-sharing plan, and timeline.
Can my neighbor and I agree to build a taller-than-allowed fence in San Francisco?
No. Even if both neighbors agree, the fence must comply with San Francisco's Planning Code height limits: 3 feet in front yards and 6 feet in side and rear yards. A taller fence requires a variance from the SF Planning Department.

Sources & Official References

How does San Francisco compare?

See how San Francisco's neighbor fence rules rules stack up against other locations.

Submit a Correction

Found something that looks wrong or outdated? Let us know and we'll look into it.