Sunnyvale, CA Animal Ordinances: Chickens & Livestock (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?
Can I keep goats, sheep, or other livestock in a Sunnyvale house lot?
How far must a chicken coop be from my neighbor's house?
Are homing pigeons treated differently from other backyard fowl?
Sources & Official References
Other rules in Sunnyvale
How Sunnyvale compares: Best Cities for Backyard Chickens·California rules heatmap·Compare Sunnyvale 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.
Chickens & Livestock in Nearby Cities
How other cities in Santa Clara County handle chickens & livestock.