Sunnyvale, CA Animal Ordinances: Beekeeping (2026)
Key Facts
- Hive limit
- 5 hives per lot (agricultural use permit exempt)
- Property line setback
- 25 feet from side/rear lines
- Dwelling setback
- 100 feet from any other dwelling unit
- Registration
- Filed with Santa Clara County agriculture commissioner
- Fence requirement
- 6-foot solid fence within 30 feet of hives
- Neighbor waiver
- Written consent good for 2 years, 90-day notice to revoke
Summary
Sunnyvale caps residential apiaries at five hives per lot under Municipal Code Chapter 6.08. Hives must sit at least 25 feet from side or rear property lines and 100 feet from any neighboring dwelling, whichever is greater, and every hive address is registered with the Santa Clara County agricultural commissioner.
No person shall keep or maintain any hive of bees in the city except under the following conditions: (a) No more than five hives shall be maintained on any one lot or parcel of land except that this condition shall not apply to any agricultural use within any zone pursuant to a use permit. The address of all such hives shall be registered with the office of the Santa Clara County agriculture commissioner. (b) No hive shall be kept or maintained within twenty-five feet of any side or rear property line of the lot or parcel of land upon which situated... or within one hundred feet of any dwelling unit, other than that occupied by the person maintaining the hives, whichever distance is greater and more restrictive.
Full Breakdown
010 sets the operative standards: no more than five hives per lot (agricultural uses under a use permit are exempt), and the address of every hive must be registered with the office of the Santa Clara County agriculture commissioner. Placement is tightly controlled. A hive cannot sit within 25 feet of any side or rear property line or within 100 feet of any dwelling unit other than the keeper's own, whichever distance is greater. Hives also cannot sit forward of the front building line unless they are at least 100 feet from the street right-of-way edge.
Every hive entrance must face the keeper's own house or building, be enclosed by a solid fence at least six feet tall located no farther than 30 feet from the hives (open on the side facing the keeper's building), or alternatively be mounted more than ten feet above the ground facing the keeper's structure. A constant, adequate water supply must be maintained on the premises for the bees. 010(b) only by filing the adjoining owners' and adult occupants' written consent with the administrator; that consent is irrevocable for two years, and afterward can be revoked with at least 90 days' written notice filed with the administrator.
040(c) and the rest of the animal code regardless of beekeeping compliance. 08 from the 'wild animal' classification that otherwise bans exotic and dangerous animals citywide.
Violations & Fines
Keeping bees outside Chapter 6.08's conditions is a public nuisance under Section 6.08.020 and, per Section 6.10.020, is enforceable as an infraction (misdemeanor at the enforcement officer's discretion for certain sections) punishable under Chapter 1.04, plus civil or nuisance-abatement action. Animal control officers hold peace-officer authority under Section 6.10.010 to inspect premises for compliance.
Frequently Asked Questions
How many beehives can I keep in Sunnyvale?
Can I get closer to my neighbor's property line than the code allows?
Which way do hive entrances have to face in Sunnyvale?
What happens if my hives don't meet these standards?
Sources & Official References
Other rules in Sunnyvale
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.
Beekeeping in Nearby Cities
How other cities in Santa Clara County handle beekeeping.