Goats, pigs, sheep, cattle, and horses are not permitted in Sunnyvale residential zones. Only small animals like hens, rabbits, and pets are allowed, matching the urban character of Silicon Valley.
Sunnyvale is a fully built-out Silicon Valley city with no agricultural zoning, so traditional livestock are not permitted in residential or multi-family zones. Goats (including miniature pygmy goats), pigs, potbellied pigs in many cases, sheep, cattle, horses, donkeys, and large fowl like geese or peacocks are prohibited. Rabbits, hens (up to 6, no roosters), and small pet mammals are the only four-legged or avian livestock-like animals allowed at most residences. Temporary goat grazing services for brush clearing are permitted in open space, utility easements, and large commercial sites with a short-term use permit from the Planning Division. The Sunnyvale Serpentine Prairie and Baylands have used grazing goats seasonally. Existing legal nonconforming livestock on grandfathered parcels must be confirmed in writing by the city.
Contact your local code enforcement office for specific penalty information.
See how other cities in Santa Clara County handle livestock.
See how Sunnyvale's livestock rules stack up against other locations.
Quick Compare
Help us keep this page accurate. If you notice an error or outdated information, let us know.