Skip to main content
CityRuleLookup

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

Some Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified August 2026

Key Facts

Livestock in residential zones
Prohibited in any R district
Small animal cap
6 per property (includes chickens)
Rooster rule
Banned citywide over 4 months old
Dwelling setback
20 feet from a neighbor's inhabitable unit
Water change
Every 24 hours unless automatic device
Special exception
Banded homing pigeons may free-range

Summary

Sunnyvale bans livestock outright in residential zones and caps chickens and other small animals at six per property under Municipal Code Chapter 6.09. Roosters over four months old are prohibited citywide, and every small-animal enclosure must sit at least 20 feet from a neighbor's dwelling.

(a) No person shall keep any livestock in any R district as defined in Title 19. (b) It is unlawful for any person to keep or maintain any rooster over four months of age. (c) It is unlawful for any person to keep or maintain more than six small animals. (d) It is unlawful for any person to keep or maintain any small animal except as provided in this chapter. ... It is unlawful for any person to keep or allow small animals within twenty feet of any inhabitable dwelling unit other than that of the owner or custodian.

Full Breakdown

010 sets the baseline: no livestock (defined in the code's definitions as domestic bovine, equine, caprine, ovine, porcine, corvine and ratite animals) may be kept in any R district, no rooster over four months of age may be kept anywhere in the city, and no more than six small animals may be kept or maintained on a property. 'Small animal' is defined to include hares, rabbits, chickens, turkeys, geese, ducks, doves, pigeons, game birds and other fowl, so backyard chicken flocks fall under this six-animal cap and its companion husbandry rules.

020 requires housing structures to meet zoning setbacks and bars keeping small animals within 20 feet of any inhabitable dwelling unit other than the owner's or custodian's own. 100 impose detailed care standards: wholesome food in vermin-proof metal containers, clean water refreshed every 24 hours or supplied by a functioning automatic device, licensed veterinary care when needed, exercise opportunity, weatherproof and adequately sized shelter, and sanitary, fly-proof handling of manure and debris. 070 requires the keeping premises to be fenced against animals straying onto public streets or a neighbor's property, but carves out a homing-pigeon exception: pigeons may be released for exercise, training or competition if banded with a registry-issued serial number and they do not perch or linger on another's property without consent.

Violations & Fines

Violating Chapter 6.09 is enforceable under Section 6.10.020 as an infraction punishable under Chapter 1.04, with civil, administrative or nuisance-abatement action also available to the city. Animal control officers hold peace-officer inspection and arrest authority under Section 6.10.010, including warrantless entry in emergencies.

Frequently Asked Questions

Can I keep chickens in a Sunnyvale backyard?
Yes, chickens qualify as 'small animals' under the code's definitions and are capped at six total per property under Section 6.09.010(c). Roosters, however, cannot be kept once they are over four months old, per Section 6.09.010(b).
Can I keep goats, sheep, or other livestock in a Sunnyvale house lot?
No. Section 6.09.010(a) prohibits keeping any livestock, defined as domestic bovine, equine, caprine, ovine, porcine, corvine or ratite animals, in any R (residential) zoning district.
How far must a chicken coop be from my neighbor's house?
Section 6.09.020(b) prohibits keeping small animals within 20 feet of any inhabitable dwelling unit other than the owner's or custodian's own, and the housing structure itself must also meet applicable zoning setbacks.
Are homing pigeons treated differently from other backyard fowl?
Yes. Section 6.09.070(b) exempts leg-banded homing pigeons registered with a pigeon registry from the general confinement rule, letting them be released for exercise, training or competition as long as they don't linger on a neighbor's property without consent.

Sources & Official References

Other rules in Sunnyvale

All Sunnyvale rules

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

Get notified when Chickens & Livestock in Sunnyvale, 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 Santa Clara County handle chickens & livestock.

Santa Clara, CA
Some Restrictions
Mountain View, CA
Some Restrictions
San Jose, CA
Some Restrictions