San Francisco Beekeeping Laws: Registration & Rules
Last checked: 7/22/2026
⚠️ Not Legal Advice: Summaries for educational purposes only. Verify with official San Francisco, CA authorities.
San Francisco’s Health Code does not treat a compliant honey-producing Apis apiary as a public nuisance merely because bees are present. That is not a blanket exemption from every rule. California requires apiary registration. A registration fee generally applies in 2026, although state law permits a county-approved waiver for a qualifying noncommercial hobbyist with nine or fewer colonies. A hive can still create site, property, or nuisance problems.
San Francisco beekeeping rules at a glance
| Question | Current official-source answer |
|---|---|
| Are honey bee hives prohibited as a nuisance? | No. Health Code section 581(b)(8) excludes qualifying honey-producing Apis apiaries from the listed noxious-insect nuisance category when they are not otherwise a nuisance under state law. |
| Is California registration required? | Yes. California requires annual registration of apiary locations and colony counts. |
| Is there a registration fee? | Generally, yes. CDFA states that fees became required January 1, 2026, but state law permits a county-approved waiver for a qualifying noncommercial hobbyist with nine or fewer colonies. Ask the San Francisco Agricultural Program what applies. |
| Is a separate city hobby-hive permit required? | No citywide hobby-apiary permit was identified in the official sources reviewed. Confirm with the San Francisco Agricultural Program for the specific site and activity. |
| Is there a citywide two-hive limit or numeric setback? | No such number was identified in the official government sources reviewed. Do not treat association guidelines as law. |
1. Register the apiary under California law
California Food and Agricultural Code section 29040 requires a person who owns, brokers, or possesses an apiary in California on January 1 to register the colony count and each apiary location annually, on January 1 or within 30 days afterward.
Section 29042 covers a later start: a person who brings bees into California or otherwise acquires an in-state apiary after January 1 must register the owner name, colony count, and apiary locations within 30 days of taking possession.
The California Department of Food and Agriculture (CDFA) Apiary Protection Program states that registration and registration fees are required as of January 1, 2026. Section 29044 allows a county board of supervisors, with state approval, to waive the fee for a hobbyist who is not in the business of beekeeping and has nine or fewer colonies. That is a possible waiver, not an automatic statewide exemption. Fee schedules and procedures can change, so use current CDFA and county instructions rather than an amount copied from an older article.
California law routes registration through the county agricultural commissioner. In San Francisco, contact the city’s Agricultural Program for the current registration method, fee, and any question about a new or relocated apiary.
2. Understand what Health Code section 581 does - and does not - say
San Francisco Health Code section 581 lists public-health nuisances. Subsection (b)(8) excludes harborages for honey-producing bees of the genus Apis that are regulated by California bee law and are not otherwise determined to be a nuisance under state law.
In practical terms, a properly managed honey bee hive is not automatically classified with noxious insect infestations. The wording does not mean that:
- every property is suitable for a hive;
- registration can be skipped;
- a lease, condo rule, roof policy, or owner decision is overridden;
- unsafe placement or unmanaged bee behavior is protected; or
- a commercial, public-land, event, or unusual operation has no additional requirements.
When your proposal is outside a straightforward private-property hobby apiary, get written guidance from the relevant city agency before proceeding.
3. No verified citywide two-hive or setback number
Older online summaries often repeat a two-hive recommendation for a standard lot, fixed setbacks, or a specific flyway-barrier height. Those figures were not found as citywide requirements in the official San Francisco government sources reviewed for this update.
They may still be useful management ideas, but label them as recommendations rather than law. Choose a location that:
- directs bee traffic away from doors, windows, sidewalks, roof access, and neighboring use areas;
- provides safe inspection and emergency access;
- has a dependable water source before bees arrive;
- allows secure anchoring and wind protection; and
- gives the beekeeper enough room to manage swarm preparation and defensive behavior.
For practical planning after the legal check, use the rooftop hive setup guide and balcony beekeeping guide.
4. Check property permission and site-specific requirements
A general Health Code exception does not answer whether you may use a particular roof, yard, balcony, community space, or rented property. Before installing equipment:
- Confirm that you have permission to use the location for a hive.
- Review lease, condo, HOA, roof-access, community-garden, and building rules that apply to the site.
- Ask the San Francisco Agricultural Program whether the proposed apiary needs any site-specific filing beyond state registration.
- Confirm safe access and any structural or fire-safety requirements for a rooftop installation.
- Keep written confirmation with the apiary records.
5. San Francisco ZIP codes are not a permit lookup
The reviewed state and city provisions apply by jurisdiction, not by a list of approved ZIP codes. A San Francisco ZIP code does not establish property permission or reveal site-specific restrictions.
Use our guide to checking beekeeping laws for your address to identify government offices and records, then verify the exact address with the San Francisco Agricultural Program and property authority.
6. Reduce nuisance and neighbor risk
Dense housing makes prevention especially important even when a hive is registered:
- Provide water before installing bees.
- Inspect regularly for swarm preparation.
- Keep gentle stock and address persistent defensiveness promptly.
- Secure equipment against wind and unauthorized access.
- Maintain a clear response plan for a swarm or neighbor concern.
Continue with city-hive swarm prevention, responding to neighbor complaints, and the beehive liability and insurance guide.
San Francisco pre-install checklist
- Contact the San Francisco Agricultural Program for the current registration route and local guidance.
- Complete California apiary registration and pay the applicable fee, or obtain confirmation of any approved waiver.
- Confirm written permission for the exact property or shared space.
- Verify roof access, structural safety, and any site-specific building requirements.
- Plan water, flight direction, secure equipment, swarm prevention, and neighbor response.
- Recheck the official rules and registration record whenever the apiary location or colony count changes.
Use the government links in the Sources section as the current starting point. If an agency cannot confirm whether a site-specific city permit is needed, request written clarification before purchasing bees or placing equipment.
For the statewide layer — county registration and how LA and San Diego differ — see our California beekeeping laws overview.