Skip to main content
CityRuleLookup
🏊 Swimming Pools & Spas/Fencing Requirements

Fencing Requirements: Castro Valley vs Hayward

How do fencing requirements rules compare between Castro Valley, CA and Hayward, CA?

Castro Valley and Hayward have similar restriction levels.

Castro Valley, CA

Alameda County

Heavy Restrictions

Unincorporated Alameda County enforces the California Swimming Pool Safety Act (Health & Safety Code §§115920-115929). Pools deeper than 18 inches require an enclosure at least 60 inches high, with gates that self-close and self-latch at 60+ inches above grade. New or remodeled pools must have at least two of seven approved drowning prevention features.

View full Castro Valley rules →

Hayward, CA

Alameda County

Heavy Restrictions

Hayward requires swimming pools over 18 inches deep to be enclosed by a barrier at least 60 inches high with self-closing, self-latching gates, following California H and S Code 115920.

View full Hayward rules →

Key Facts Comparison

FactCastro ValleyHayward
Barrier Height60 inches minimum (HSC §115923)-
Bottom ClearanceMax 2 inches above ground-
Gap RuleNo openings passing a 4-inch sphere-
Latch Height60+ inches above ground-
Required Features2 of 7 per HSC §115922-
Local AdoptionAlameda County Code Ch. 15.08 (CBC §3109)-
Fence height-60 inches minimum
Gap limit-4 inches maximum
Gate hardware-Self-closing self-latching
Latch height-60 inches minimum
Safety features-Two of seven required

Highlighted rows indicate differences between cities.

Castro Valley FAQ

Do I need a permit to install a pool fence in unincorporated Alameda County?

Yes. Pool construction, remodels, and barrier installations require a building permit through Alameda County Building Inspection. Inspectors verify the 60-inch barrier and the two required drowning prevention features under HSC §115922 before final approval.

Does state law override Alameda County's pool fence rules?

Yes. The California Swimming Pool Safety Act (HSC §§115920-115929) and California Building Code §3109 apply countywide. Alameda County adopts the CBC under Chapter 15.08 and does not relax the 60-inch minimum or the two-feature requirement.

Hayward FAQ

Can my Hayward house wall count as part of the fence?

Yes, but doors leading to the pool must have alarms or comparable safety devices under state law.

What are the seven safety features?

They include fences, pool covers, door alarms, pool alarms, self-closing doors, and similar listed measures.

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