Livestock: Oakley vs San Ramon
How do livestock rules compare between Oakley, CA and San Ramon, CA?
Oakley has fewer restrictions than San Ramon.
Oakley, CA
Contra Costa County
Livestock such as horses, cattle, sheep, and goats are permitted only in Oakley's agricultural-residential and agricultural zones, with a minimum lot size typically one acre or greater. Standard residential zones prohibit livestock, with California Civil Code 3482.5 protecting pre-existing farm operations.
View full Oakley rules →San Ramon, CA
Contra Costa County
Livestock is prohibited on standard residential lots in San Ramon. The city's suburban master-planned zoning does not include agricultural districts, and lot sizes in Dougherty Valley, Bishop Ranch, and Canyon Lakes communities are too small for livestock. Limited exceptions exist for properties with agricultural zoning adjacent to open space preserves.
View full San Ramon rules →Key Facts Comparison
| Fact | Oakley | San Ramon |
|---|---|---|
| Permitted zones | A, AR (agricultural) | - |
| Minimum lot size | ≈ 1 acre typical | - |
| Animal density | ≈ 1 large animal/acre | - |
| Setback from residence | ≈ 50 feet | - |
| Right to Farm | CA Civil Code 3482.5 | - |
| - | - |
Highlighted rows indicate differences between cities.
Oakley FAQ
Can I keep a pet pig in a standard Oakley neighborhood?
Miniature/pot-bellied pigs are sometimes allowed as pets under separate rules, but full-size hogs are livestock and restricted to agricultural zones.
Is my existing farm protected if new homes are built next door?
Yes, California's Right to Farm Act (Civil Code 3482.5) protects established agricultural operations from nuisance claims by newer neighbors.
Can a 4-H student raise a market animal in a residential zone?
Usually not without a conditional use permit. Contact Oakley Community Development for temporary permits specifically for youth ag projects.
San Ramon FAQ
Compare other topics
See how Oakley and San Ramon 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