Skip to main content
CityRuleLookup
🧱 Fence Regulations/Height Limits

Height Limits: Castro Valley vs Hayward

How do height limits rules compare between Castro Valley, CA and Hayward, CA?

Castro Valley and Hayward have similar restriction levels.

Castro Valley, CA

Alameda County

Some Restrictions

Alameda County Zoning Code §17.52.430 limits fences to 4 feet in required front yards and 6 feet in side and rear yards. A 2-foot limit applies within 30 feet of street intersections for sight visibility.

View full Castro Valley rules →

Hayward, CA

Alameda County

Some Restrictions

Hayward allows fences up to 6 feet in rear and side yards and 3 to 4 feet in front. Corner visibility triangles need lower heights. Taller fences need a permit or height exception.

View full Hayward rules →

Key Facts Comparison

FactCastro ValleyHayward
Code Section§17.52.430-
Front Yard Max4 feet-
Side & Rear Max6 feet-
Intersection Setback2 ft within 30 ft-
Rear/Side Yard-6 ft max no permit
Front Yard Solid-3 ft max
Front Yard Open-4 ft max
Over 6 Feet-Building permit required
Visibility Triangle-15 ft from corner

Highlighted rows indicate differences between cities.

Castro Valley FAQ

How tall can my backyard fence be in unincorporated Alameda County?

Up to 6 feet in required interior side and rear yards under Zoning Code §17.52.430. Front-yard fences are capped at 4 feet, and corner-lot visibility triangles within 30 feet of intersections are limited to 2 feet.

Who pays for a shared boundary fence between neighbors?

California Civil Code §841 presumes adjoining owners share equally in the reasonable cost of construction and maintenance of a shared boundary fence. The owner seeking contribution must provide 30 days' written notice describing the work and estimated cost before billing the neighbor.

Hayward FAQ

Can I build a 7-foot fence for privacy?

Yes with a building permit; fences 7 feet and taller require structural review and sometimes neighbor notification.

Does my fence height include a lattice top?

Yes, total height including lattice, trellis, or post caps counts toward the height limit at the fence line.

Compare other topics

See how Castro Valley and Hayward compare on other ordinance categories.

Want to add a third city?

Use our full comparison tool to compare up to three cities.

Open Comparison Tool