Skip to main content
CityRuleLookup
Animal Ordinances

Animal Ordinances in Sunnyvale, CA: What Residents Actually Need to Know

By CityRuleLookup Editorial Team

If you live in Sunnyvale or are thinking about moving there, animal ordinances are one of those things you probably won't think about until they affect you directly. Sunnyvale has 7 specific rules on the books covering different aspects of animal ordinances, and some of them might surprise you.

Livestock

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.

Key details: Goats / pigs / cattle: Not allowed. Small animals allowed: Hens, rabbits, pets. Grazing services: Short-term permit. Agricultural zoning: None in city. Legal nonconforming: Case-by-case review.

Contact your local code enforcement office for specific penalty information.

Compared to other cities, Sunnyvale takes a harder line on livestock. The enforcement and penalty structure reflects that.

Wildlife Feeding

Intentionally feeding coyotes, raccoons, skunks, deer, feral cats, or non-songbird wildlife is prohibited in Sunnyvale as a public nuisance due to the risk of human-wildlife conflict in Baylands-adjacent neighborhoods.

Key details: Prohibited feeding: Coyotes, deer, raccoons, turkeys. Feral cats: TNR programs only. Songbirds: Allowed with clean feeders. Enforcement: Animal Control / Code Enforcement. Hotspot: Baylands-adjacent streets.

Contact your local code enforcement office for specific penalty information.

Dog Leash Laws

Dogs must be on a leash no longer than 6 feet in all public Sunnyvale areas except designated off-leash dog parks like Las Palmas Dog Park and Fair Oaks Park off-leash area.

Key details: Max leash length: 6 feet. Off-leash parks: Las Palmas, Fair Oaks. License authority: Santa Clara County. First violation fine: Infraction citation. Retractables: Must lock at 6 feet.

Contact your local code enforcement office for specific penalty information.

Chickens & Livestock

Sunnyvale allows up to 6 hens on lots under 10,000 sq ft with no roosters. Coops must be set back at least 25 feet from neighboring dwellings under the Municipal Code animal provisions.

Key details: Hen limit: 6 on standard lots. Roosters: Prohibited. Coop setback from dwellings: 25 feet. Side/rear setback: 5 feet. Larger livestock: Not allowed residential.

Contact your local code enforcement office for specific penalty information.

Breed Restrictions

Sunnyvale does not impose breed-specific bans on pit bulls, Rottweilers, or other dogs. California Food and Agricultural Code 31683 preempts breed-specific licensing bans by local agencies.

Key details: City breed bans: None. State preemption: CA F and A Code 31683. Dangerous dog process: Behavior-based hearing. Mandatory steps: Containment, muzzle, insurance. HOA / landlord rules: Can still restrict breeds.

Contact your local code enforcement office for specific penalty information.

If you are coming from a city with tighter rules, you will find Sunnyvale gives residents more flexibility on breed restrictions.

Exotic Pets

Sunnyvale follows California Fish and Wildlife restricted species rules. Native wildlife, large constrictors, primates, and big cats are banned. Ferrets remain illegal statewide in California.

Key details: Primary authority: CA Fish and Wildlife. Ferrets: Illegal statewide. Primates and big cats: Prohibited. Allowed small exotics: Hedgehogs, sugar gliders. Reptiles allowed: Non-restricted species.

Contact your local code enforcement office for specific penalty information.

This is not one of those rules that cities tend to ignore. Sunnyvale actively enforces its exotic pets requirements.

Beekeeping

Sunnyvale allows backyard beekeeping with setback requirements from property lines and flyway barriers. Hives must be registered with the Santa Clara County Agricultural Commissioner under state apiary law.

Key details: Property line setback: 10 feet. Setback from dwellings: 25 feet. Flyway barrier: 6 feet tall. Water source: Required on property. Registration: Santa Clara County Ag Commissioner.

Contact your local code enforcement office for specific penalty information.

The Bottom Line

Sunnyvale is tougher than many cities when it comes to animal ordinances. Out of the 7 rules covered here, 2 are rated strict. If you are a homeowner, renter, or business owner in Sunnyvale, take the time to understand these requirements before they become a problem. Most violations come with fines, and some repeat violations can escalate.

All of the above reflects Sunnyvale's municipal code as of our last review. If you need specifics on fines, exemptions, or filing requirements, the detailed ordinance pages linked above have the full breakdown.