Skip to main content
CityRuleLookup
πŸ” Animal Ordinances/Livestock

Livestock: Castro Valley vs Hayward

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

Castro Valley has fewer restrictions than Hayward.

Castro Valley, CA

Alameda County

Some Restrictions

Cattle, horses, goats, sheep, and swine are permitted on Alameda County Agricultural (A) and Rural Agricultural (RA) zoned parcels with minimum acreage requirements. Livestock are generally prohibited on R-1 lots.

View full Castro Valley rules β†’

Hayward, CA

Alameda County

Heavy Restrictions

Livestock are prohibited in standard Hayward residential zones. Legacy large-lot and Agricultural (A) parcels in the foothills may keep limited livestock with setback and sanitation rules.

View full Hayward rules β†’

Key Facts Comparison

FactCastro ValleyHayward
Required zoningA, AR, or RA-
Horse minimum20,000 sf + 10,000-
Swine setback100 ft from dwelling-
Right to FarmCivil Code 3482.5-
FeedlotExtra permits-
Residential Zones-Prohibited
A Zoning-Permitted with conditions
Horse Lot Size-20,000+ sq ft typical
Stable Setback-40 to 75 ft from dwellings
Pot-Belly Pigs-Generally prohibited

Highlighted rows indicate differences between cities.

Castro Valley FAQ

Can I keep a single pet goat in my R-1 backyard?

Generally no. Goats require agricultural zoning. Some miniature goat exceptions exist under conditional use permits with neighbor consent.

Does Right to Farm block all complaints?

No. It protects compliant farms that existed before the complainant moved in. Violations of law or new operations are not protected.

Hayward FAQ

Can I keep a miniature horse or pony?

No, in residential zones; all equines require agricultural or legacy large-lot zoning regardless of size.

Are pot-bellied pigs allowed as pets?

Hayward does not specifically exempt pot-bellied pigs; they are treated as livestock and generally prohibited in residential zones.

Want to add a third city?

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

Open Comparison Tool