Walnut CreekFence Repair

Rules

Fence Height Limits and Permits by City

Short answer

Walnut Creek allows fences up to 7 feet in interior side and rear setbacks and 3 feet in the front setback; taller needs a Minor Use Permit (§10-2.3.104). Orinda caps fences at 6 feet (§17.4.27). Danville allows 6 feet, or 7 with an open lattice top foot, and 3.5 feet in front setbacks (Fence Standards). Lafayette and county areas: confirm with the city or county.

Illustrated hillside backyard with a board-on-board redwood good neighbor fence stepping down the slope between two houses, oak trees and Mount Diablo behind
Height limits compared: Walnut Creek allows 3 feet in the front setback and 7 feet in side and rear setbacks; Orinda caps fences at 6 feet and 4 feet open within 5 feet of a street line; Danville allows 3.5 feet in front and 6 feet on sides and rear, or 7 feet with a lattice top 0 ft1 ft2 ft3 ft4 ft5 ft6 ft7 ft8 ft WALNUT CREEKfront 3side/rear 7 ORINDA4 openmax 6 DANVILLEfront 3.56+1 lattice
Limits without special approval, in feet. Details and exceptions in the table below.

City by city

CityLimitsAlso noteSource
Walnut Creek7 ft in interior side and rear setbacks (and the corner side setback of a corner lot); 3 ft in the front setback and the street side of a reversed corner lotTaller only with a Minor Use Permit. Barbed wire, razor wire and electric fencing not allowed. No chain link where visible from the street, public paths or open space.WCMC §10-2.3.104; City fence page
Orinda6 ft maximum anywhere on the lotWithin 5 ft of a street property line: 4 ft maximum and open material. A fence on a retaining wall counts toward combined limits.OMC §17.4.27
Danville6 ft in side and rear yards, or 7 ft with the top foot open lattice; 3.5 ft in front setbacksOn a retaining wall shared with a neighbor: 6 ft combined, or 7 ft with lattice. Sight-triangle limits at corners. No chain link visible from public areas.Fence Standards (2023)
LafayetteNot confirmed hereConfirm with Lafayette Planning before you build.—
Alamo, Blackhawk, Diablo (unincorporated)Not confirmed hereCounty zoning applies; confirm with Contra Costa County. HOAs add their own rules.—
Moraga, Pleasant Hill, ConcordNot confirmed hereConfirm with the city before you build.—

How height is measured in Walnut Creek

Fences on retaining walls

A fence on top of a retaining wall: some cities measure the fence and wall together from the lower side combined height fence high sidelow side (neighbor)
Fence plus wall, measured from the low side, can count as one height.

Orinda and Danville both count a fence on a retaining wall toward a combined limit. In Walnut Creek, a retaining wall that supports a fence may need its own building permit; ask the building division. A wall that is leaning or cracked should be dealt with before a new fence goes on top.

Building permits

Separate from zoning height limits, the California Residential Code (§R105.2) lists fences not over 7 feet among the work exempt from a building permit. Zoning limits, HOA rules and pool-barrier rules still apply to exempt fences.

HOAs

Many neighborhoods need HOA approval before a fence changes height, style or color. Blackhawk has an architectural review committee, and Rossmoor’s mutuals manage exterior changes. Get approval in writing before work is scheduled.

Pool barriers

State law defines a pool enclosure as at least 60 inches high, with no more than 2 inches of clearance at the bottom, no gaps that pass a 4-inch sphere, and gates that open away from the pool and self-close and self-latch with the release at least 60 inches up (HSC §115923). Walnut Creek’s fence page says pools must be surrounded by a fence at least 54 inches tall with a self-latching gate, built to the California Building or Residential Code (City fence page). Ask the building division which figure your pool fence will be inspected to; 60 inches satisfies both.

Questions

Is an 8 foot privacy fence too high?
In most of this area, yes, without special approval. Walnut Creek allows 7 feet in interior side and rear setbacks; Orinda caps fences at 6 feet; Danville allows 6 feet, or 7 with an open lattice top foot. Walnut Creek allows taller fences with a Minor Use Permit.
Do I need a permit to replace a fence in Walnut Creek?
A fence within the height limits doesn’t need a Minor Use Permit. Fences over the limits do. If the fence sits on a retaining wall, the wall may need its own building permit.
How is fence height measured?
It depends on the city, and Walnut Creek’s own pages word it differently (see the table). On a slope or over a wall, ask the city which side to measure from before you build close to the limit.

Sources

Checked October 4, 2026. Rules and prices change; confirm anything that affects your project with the city or a licensed contractor.

Next step

Build it to the right height the first time

A local fence contractor can talk through what your city allows on your lot.

Call (925) 477-4533
  • Posts, sections, gates and full replacements
  • Shared fences, deer fences and fire-zone fencing
  • Walnut Creek, Lafayette, Orinda, Danville and nearby

Request a fence quote

Tell us what’s going on. A local fence pro can call you to talk through it.

A pro may ask for photos of the fence when they call.

No obligation. Your details go only to a local pro who can quote your project. Privacy

CallGet a Quote