Skip to main content
CityRuleLookup

Oakley, CA Animal Ordinances: Chickens & Livestock (2026)

Few Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified September 2026

Key Facts

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

Summary

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.

3482.5.

(a) (1) No agricultural activity, operation, or facility, or appurtenances thereof, conducted or maintained for commercial purposes, and in a manner consistent with proper and accepted customs and standards, as established and followed by similar agricultural operations in the same locality, shall be or become a nuisance, private or public, due to any changed condition in or about the locality, after it has been in operation for more than three years if it was not a nuisance at the time it began.

(b) Paragraph (1) of subdivision (a) shall not apply if the agricultural activity, operation, or facility, or appurtenances thereof obstruct the free passage or use, in the customary manner, of any navigable lake, river, bay, stream, canal, or basin, or any public park, square, street, or highway.

(d) This section shall prevail over any contrary provision of any ordinance or regulation of any city, county, city and county, or other political subdivision of the state.

(e) For purposes of this section, the term "agricultural activity, operation, or facility, or appurtenances thereof" shall include, but not be limited to, the cultivation and tillage of the soil, dairying, the production, cultivation, growing, and harvesting of any agricultural commodity including timber, viticulture, apiculture, or horticulture, the raising of livestock, fur bearing animals, fish, or poultry, and any practices performed by a farmer or on a farm as incident to or in conjunction with those farming operations, including preparation for market, delivery to storage or to market, or delivery to carriers for transportation to market.

Source: CA Civil Code 3482.5View official code

Full Breakdown

Oakley's livestock rules reflect the city's transition from a farming community to a suburban city while preserving remaining agricultural parcels. The Oakley Zoning Ordinance establishes Agricultural (A) and Agricultural-Residential (AR) zones where livestock keeping is permitted subject to animal density standards, typically one large animal unit per acre. ). Minimum lot sizes of one acre are common for any livestock, with larger acreage required for multiple animals. Required setbacks from pastures, corrals, and stables are typically 50 feet or more from adjacent residences, and barn/stable structures must comply with building codes.

Waste management is critical, manure piles must be managed to prevent fly breeding, odor, and runoff into Delta waterways, with oversight potentially involving the Regional Water Quality Control Board. 5 (Right to Farm) protects established agricultural operations that predate residential encroachment, preventing newer neighbors from forcing changes to lawful farming. Oakley's remaining vineyards and almond orchards benefit from this protection. 4-H and FFA youth livestock projects may receive allowances under conditional use permits.

Frequently Asked Questions

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.

Sources & Official References

Other rules in Oakley

All Oakley rules

How Oakley compares: Best Cities for Backyard Chickens·California rules heatmap·Compare Oakley to another location·View the California animal ordinances overview

Get notified when Chickens & Livestock in Oakley, CA changes

We'll email you the moment we detect a change in the code. No spam, unsubscribe anytime.

We'll never sell or share your email. One-click unsubscribe in every email.

See something wrong?

Help us keep this page accurate. If you notice an error or outdated information, let us know.

Chickens & Livestock in Nearby Cities

How other cities in Contra Costa County handle chickens & livestock.

Brentwood, CA
Some Restrictions
Antioch, CA
Some Restrictions
San Ramon, CA
Some Restrictions