Livestock: Oakley vs Walnut Creek
How do livestock rules compare between Oakley, CA and Walnut Creek, CA?
Oakley has fewer restrictions than Walnut Creek.
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 →Walnut Creek, CA
Contra Costa County
Livestock such as cattle, horses, goats, sheep, and pigs are generally prohibited in Walnut Creek's residential zones and are only permitted on large-acreage parcels zoned for agricultural or rural residential use, subject to setback requirements from dwellings and property lines.
View full Walnut Creek rules →Key Facts Comparison
| Fact | Oakley | Walnut Creek |
|---|---|---|
| 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 | - |
| Standard residential | - | Livestock prohibited |
| Rural residential minimum | - | Typically 1 acre+ (R-40 zoning) |
| Horse stocking | - | ~1 per half-acre to acre |
| Stable setback | - | 40-50 ft from dwellings |
| Swine | - | Prohibited (pot-bellied pet exception) |
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.
Walnut Creek FAQ
Can I keep a goat in my backyard in Walnut Creek?
Generally no in standard residential zones. Goats and other livestock are restricted to larger rural-residential parcels, typically 1 acre or larger, with setbacks from neighboring dwellings and property lines.
Are pot-bellied pigs allowed as pets?
Miniature pot-bellied pigs kept as household companion animals may be permitted subject to Community Development review. Commercial swine or farm pigs are prohibited in all residential zones.
Compare other topics
See how Oakley and Walnut Creek 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