Santa Maria, CA Animal Ordinances: Chickens & Livestock (2026)
Key Facts
- Hogs / swine / stallions / bulls
- Banned citywide (Muni. Code 5-3.801)
- Livestock setback from any dwelling
- 125 feet (Muni. Code 5-3.803)
- Hen limit (backyard)
- Up to 5 hens, no roosters
- Chicken coop setback
- 20 feet from neighboring dwellings
- Where livestock is allowed
- RA zone, lots of 2+ acres, max 2 animals/acre
- Animal-housing structure setback
- 50 ft from buildings/streets/parks; 25 ft from side lot lines
Summary
Santa Maria Municipal Code Chapter 5-3, Article 8 (Livestock) bans hogs, swine, stallions, and bulls inside the city limits and requires horses, mules, cattle, sheep, and goats to be kept at least 125 feet from any residence. The RA Residential Agricultural zone is the only zoning district where most livestock can be kept, and only on parcels of two acres or more.
It is unlawful to keep or maintain or cause to be kept or maintained, any live hog or swine, or any live stallion or bull, within the City. It is unlawful to keep or maintain...within the City, any live horse, mule or other equine animal, any cow or other bovine animal, or any sheep or goat within one hundred twenty-five (125) feet of any building or structure used or occupied as a residence or dwelling.
Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: rev 4818069; v9 updated 2026-04-07).
Full Breakdown
801 makes it unlawful to keep or maintain any live hog, swine, stallion, or bull within the City. 802 prohibits breeding mares, jennies, or cows to any stallion, jack, or bull within the City. 803 (Proximity to dwellings) prohibits keeping any live horse, mule or other equine, cow or other bovine, sheep, or goat within 125 feet of any building or structure used or occupied as a residence or dwelling. Under the city's zoning rules in Chapter 12, only the RA (Residential Agricultural) zone permits the keeping of cattle, sheep, goats, or horses, and only on lots of at least two acres with no more than two such animals per acre; barns, coops, and other animal-housing structures must be on the rear half of the lot and at least 50 feet from any public building, park, school, or building used for human habitation, and at least 25 feet from side lot lines.
For backyard chickens specifically, hens are treated as accessory pets in residential zones with a limit of five hens, no roosters, and a 20-foot coop setback from neighboring dwellings.
Violations & Fines
Violations of Chapter 5-3 are misdemeanors. Zoning violations (keeping livestock in a non-RA zone, undersized parcel, or inadequate setbacks) are abatable nuisances enforced by the Community Development Department's Code Enforcement Division.
Frequently Asked Questions
Can I keep backyard chickens in Santa Maria?
Can I keep a pig or goat in my backyard?
What about boarding a horse?
Sources & Official References
Other rules in Santa Maria
How Santa Maria compares: Best Cities for Backyard Chickens·California rules heatmap·Compare Santa Maria to another location·View the California animal ordinances overview
See something wrong?
Help us keep this page accurate. If you notice an error or outdated information, let us know.