Home / Regulations / California / Contra Costa County

Contra Costa County Beekeeping Regulations

Local beekeeping rules for Contra Costa County: setback distances, hive limits, registration, and a link to each current municipal code.

Statewide: an unregistered apiary is unlawful in California, and your registration is confidential

California requires apiary registration with your county agricultural commissioner, hobbyist and commercial alike, filed through BeeWhere. This is not paperwork you can skip: Food and Agricultural Code § 29045 makes it unlawful to maintain any apiary that is not registered. Register on 1 January each year, or within 30 days after, and within 30 days of bringing bees into the state or taking over an apiary (§§ 29040, 29042). Each registration runs until the following 1 January.

Your registration is confidential. § 29041 puts it outside the Public Records Act and makes it privileged, so it cannot be disclosed to any person or agency other than the department and your county department of agriculture. The one exception is that apiary locations are shared with pesticide applicators, which is the whole point of the system: it is how you get told before a field near you is sprayed.

Registering is what gives you a remedy. Under § 29047 you can only sue for damage to your bees from a pest control operation if you registered and identified your apiary. Under § 29048 an applicator can sue you for losses caused by your failure to register or to request notification.

Fees are set by a schedule under § 29044, which caps the annual registration fee at $250. The 2026 schedule bands it by colony count: 1 to 9 hives $10, 10 to 50 hives $100, 51 or more $250, due 1 January with late fees from 30 January. ⚠ A county board of supervisors may waive the fee entirely for a hobbyist not in the business of beekeeping who keeps nine or fewer colonies, so what you pay at that size depends on your county and can change from year to year.

If your apiary is anywhere other than your own home, § 29046 requires a sign on the entrance side or stencilled on the hive, in dark letters at least one inch high on a contrasting background, giving your name, address and telephone number. Where your city or county has its own identification ordinance, you follow that one instead, which is why the local rules below so often repeat the same wording. Apiaries on someone else's private land need the owner's approval on demand, and on public land an apiary without consent is a public nuisance that can be seized and forfeited.

You must register in every county you keep bees in, but you pay only once a year. Hives that move must be reported within 72 hours, and colonies brought in seasonally for pollination count too. Local city and county rules below are in addition to all of this. Read the 2026 update › or the CDFA index of the bee laws ›

Contra Costa, California

county Beekeeping prohibited Register: BeeWhere re-checked 2026-07
Tiered by lot size: 4, 6, or 8 max
hive limit
Tiered by lot size, varies from 15-60 ft distances
from property line

Beekeeping is prohibited or declared a nuisance here. Read the linked section for scope and any exceptions before keeping bees.

The prohibition, in the code's words
Code: Title 8 - ZONING > Division 82 - GENERAL REGULATIONS > Chapter 82-50 - URBAN FARM ANIMALS > Article 82-50.4 - Urban Farm Animal Raising and Keeping
Last verified: 2026-07. Confirm at the source. Not legal advice.
Article 82, 50.4, Urban Farm Animal Raising and Keeping › Article 84, 79.4, Uses ›

Antioch, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
None
hive limit

Bees may be kept only in an agricultural or open space zoning district, and only with a permit from the Animal Control Supervisor.

Note: Read in full in 2026. The published sentence was already correct; what the card lacked was that a permit is required at all, and the finding the Animal Control Supervisor must make before granting it. In practice the zoning limit is the harder gate: residential parcels are excluded outright. Note that the three-quarter-acre minimum at § 6-1.602(F) covers horses, cattle, sheep, goats, pigs and wild animals, and does NOT apply to bees.

Required for every apiary
Code: § 6-1.602(E) — Keeping animals and bees (Ord. 2083-C-S, 2014); § 6-1.601
Last verified: 2026-08. Confirm at the source. Not legal advice.
Antioch ›

Brentwood, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
50 ft
from buildings

In the agricultural zones, a structure housing bees must be at least 50 ft from any residential land use district or from a main building on an adjacent lot.

Hive limit: Not confirmed — see the code

Note: Read from the A-20 Intensive Agricultural zone in 2026. Two points the bare 50 ft figure lost: it is a zoning rule rather than a citywide setback, and it is measured to a residential land use DISTRICT as well as to a main building on an adjacent lot, so the district boundary is often the binding distance. The record also cites §§ 17.410.004 and 17.430.004, which appear to carry the same sentence in the neighbouring agricultural zones, but only 17.420 has been read. No hive limit appears in this chapter.

Required for every apiary
Code: § 17.420.004(F)(4) — A-20 Intensive Agricultural zone (Ord. 408, 1987)
Last verified: 2026-08. Confirm at the source. Not legal advice.
Municipal code on eCode360 ›

Clayton, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08

No beekeeping prohibition found. The wild-and-dangerous-animal section bans venomous species, and expressly EXCEPTS honey-producing bees from that definition — so it does not reach beekeeping.

Hive limit: None found in the code.

Note: A 2020 review recorded beekeeping as PROHIBITED in Clayton. Reading 6.05.020 in August 2026 shows the opposite: bees are venomous by sting and would fall under the wild-and-dangerous-animal ban, so the code writes in an express exception for honey-producing bees. Two caveats worth knowing. The section also reaches any non-domestic species kept so as to create a nuisance, which a badly managed apiary could still engage. And this is one section, not the whole code — no prohibition was found, which is not the same as beekeeping being unrestricted. California apiary registration with the county agricultural commissioner applies regardless.

Required for every apiary
Code: 6.05.020 Wild, Exotic, Dangerous or Potentially Dangerous Animals
Last verified: 2026-08. Confirm at the source. Not legal advice.
Clayton Municipal Code 6.05.020 ›

Concord, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
2
hive limit
25 ft
from property line

Two hives on a lot under 10,000 sq ft, one more per additional 10,000, kept at least 25 ft from any property line and signed at the entrance.

Hive limit: Two hives on a parcel under 10,000 sq ft, plus one more for every additional 10,000 sq ft.

Note: Both published figures are confirmed. What the card lacked is § 6.15.030, a duty rather than a dimension: the property entrance must carry a sign naming the beekeeper with an address and phone. Note the chapter is framed as a prohibition with conditions — keeping bees is unlawful EXCEPT on these terms — so the conditions are not optional guidance.

Required for every apiary
Code: Ch. 6.15 — Bees, §§ 6.15.010 to 6.15.030
Last verified: 2026-08. Confirm at the source. Not legal advice.
codepublishing.com ›

Danville, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
None
hive limit

Apiaries are an allowed agricultural use in the A-1, A-2 and A-4 districts, and nowhere else. In A-1 and A-2 a structure housing bees must be at least 50 ft from the boundary of any residential land use district.

Note: Read in full in 2026 and corrected. The published 25 ft "to front line" was § 32-36.5(b), the front-yard setback for any structure in the A-1 district, not a bee rule, so it has been removed. The distance that does govern apiaries is 50 ft, and it is measured to the boundary of a residential land use DISTRICT rather than to a neighbour's property line, so on a parcel surrounded by other agricultural land it may not bind at all. Note the harder gate is zoning: apiaries are permitted only in A-1, A-2 and A-4, so a residential lot in Danville is not covered by this allowance. A-4 permits apiaries but its yards section does not repeat the 50 ft sentence, so no distance is claimed there.

Required for every apiary
Code: §§ 32-36.2 / 32-36.5 (A-1), 32-37.2 / 32-37.5 (A-2), 32-38.2 (A-4)
Last verified: 2026-08. Confirm at the source. Not legal advice.
Danvilleca ›

El Cerrito, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
1
hive limit
5 ft
from property line
20 ft
from buildings

One beehive by right on a lot of at least 5,000 sq ft with a single-family home, kept behind the house, 5 ft from any property line and 20 ft from a neighbour's dwelling, under a honeybee keeping clearance.

Hive limit: One hive by right on a lot of at least 5,000 sq ft with a single-family dwelling; up to three with the written consent of every abutting owner.

Note: Read in full in 2026. Every published figure is confirmed. Three duties were missing: the hive must be behind the house, the clearance is noticed to all abutting owners and only takes effect 14 days later, and the by-right limit of one rises to three only with those neighbours' unanimous written consent. Worth knowing that El Cerrito writes "honeybee" and "beehive" as single words and never uses "bees" or "apiary", so a search on the usual terms returns nothing here.

Required for every apiary
Code: § 7.08.020(J) — Honeybees (Ord. 2011-05, 11-21-2011); definitions at § 7.06.010
Last verified: 2026-08. Confirm at the source. Not legal advice.
Code Of Ordinances ›

Hercules, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
None
hive limit

No local beekeeping rule. Searched the municipal code in 2026 for bees, hives, apiary, apiaries, honeybee and beekeeping with no result. State registration with the county agricultural commissioner still applies.

Note: The 2020 review recorded no local rule here and never confirmed it. In 2026 the live code was searched directly on six terms, including the compound spellings honeybee and beekeeping that hide an ordinance from an ordinary "bees" search, and none of them appears. The absence is now confirmed rather than assumed. California still requires apiary registration with the county agricultural commissioner.

Last verified: 2026-08. Confirm at the source. Not legal advice.
Municipal code on eCode360 ›

Lafayette, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
2
hive limit
15 ft
from property line

A beekeeping permit is required before any hive is placed. Two hives on a typical lot, in the rear yard, at least 15 ft from a property line, with a flyway barrier within 100 ft of a neighbour.

Hive limit: Two hives on 6,000 to 40,000 sq ft, six from 40,001 sq ft to five acres, twelve above five acres.

Note: Read in full in 2026. The 15 ft is confirmed. The published 100 ft "from buildings" was not a setback — it is the distance at which a flyway barrier becomes required, so it has been removed and the barrier duty spelled out instead. Two things the card omitted are worth planning around: the permit is noticed to every owner within 300 ft ten days ahead, and a neighbour within 300 ft who documents a serious health risk, such as a systemic sting allergy, can stop the hive from being installed at all.

Required for every apiary
Code: § 6-595 — Beekeeping (Ord. 631, 10-27-2014); Art. 6, Small Farm Animals, §§ 6-590 to 6-599
Last verified: 2026-08. Confirm at the source. Not legal advice.
Code Of Ordinances ›

Martinez, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
4
hive limit
25 ft
from road

Apiaries are allowed in the residential, commercial, industrial and agricultural zones, registered with the county, with hive numbers tiered by lot size and a flyway barrier toward any adjacent residence.

Hive limit: Four hives on 5,000 to 10,000 sq ft, rising by lot area to six, eight, ten and forty above 200,001 sq ft. One nucleus hive is allowed for each permitted hive.

Note: Read in full in 2026 and rewritten. The old card cited § 22.04.027 and described apiaries as large-scale agriculture, which pointed readers away from what the code actually says. Martinez adopted Chapter 22.58, Small Animals, in December 2023, and its § 22.58.020 permits apiaries in the residential zones with counts tiered by lot size. Note the setback here runs to streets rather than to property lines: instead of a neighbour distance the code uses relative placement, requiring the hive to sit nearer your own house than the neighbour's, plus a flyway barrier on any line shared with an adjacent residence.

Required for every apiary
Code: § 22.58.020 — Apiary, Ch. 22.58 Small Animals (Ord. 1450, § VII, 12/20/2023)
Last verified: 2026-08. Confirm at the source. Not legal advice.
Chapter 22.58: Small Animals ›

Moraga, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
4
hive limit
25 ft
from road
5 ft
from property line

Beekeeping is accessory to a home in the DUA and institutional districts and allowed on any parcel in Rural Residential and open space. Colonies are registered with the county and the town, kept out of the front yard, 5 ft from property lines and 25 ft from streets.

Hive limit: Four colonies up to half an acre, six from half an acre to one acre, eight at one acre, forty at five acres or more. Nothing on a lot under 6,000 sq ft. One nucleus colony is allowed per permitted colony.

Note: Read in full in 2026 and corrected in four places. The published 100 ft "from buildings" was the flyway barrier trigger rather than a setback and has been removed. "Must be in backyard" has been replaced with the actual number, 5 ft from a property line for hives in boxes under six feet. The hive tiers stopped at eight and missed the 40-colony tier at five acres, and nucleus colonies were absent. The zone list was also pre-2023: Ordinance 309 split it into two regimes, and the Rural Residential and open space districts allow beekeeping on any parcel rather than only alongside a house.

Required for every apiary
Code: § 8.92.080 — Beekeeping (Ord. 261, 12-9-2015; Ord. 309, 5-10-2023); Ch. 8.92 Animal Keeping
Last verified: 2026-08. Confirm at the source. Not legal advice.
Municipal Code ›

Oakley, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
2
hive limit
25 ft
from property line

Two hives on a single-family lot, 25 ft from every property line or else screened behind a six-foot barrier, requeened at least every three years with water on site year round.

Hive limit: Two hives on any single-family residential lot. The AL and A-4 agricultural districts set no number.

Note: Read in full in 2026. The published 25 ft is confirmed but it is an either/or rather than a floor: a hive screened behind a six-foot barrier may sit as close as 5 ft to a side property line. Two more regimes the card never mentioned: the AL agricultural district measures 50 ft to the boundary of a residential DISTRICT, and the A-4 Agriculture Preserve measures 50 ft to any property line and requires a signed hive. Oakley is also one of the few codes anywhere that writes requeening into law, at least every three years, with swarm prevention as the stated reason. Note the twenty-animal cap and the 25 ft and 50 ft distances in § 9.1.402(b)(8) apply to fowl, pigeons, small animals and grain-fed rodents, and NOT to bees.

Required for every apiary
Code: § 9.1.404(b)(14) — Bees, single-family residential (R-6 to R-40); § 9.1.402(f) n.2 (AL); § 9.1.802(b)(1) (A-4)
Last verified: 2026-08. Confirm at the source. Not legal advice.
Municipal code on eCode360 ›

Orinda, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
None
hive limit

Orinda sets no beekeeping standards. Bees fall under "animal husbandry", which needs a use permit in the RV and RL residential districts and in Open Space, and is not permitted in the RM and RH districts.

Note: Read in full in 2026. Orinda has no bee-specific rules anywhere: no hive count, no setback, no permit tailored to bees. Everything turns on how the zoning code classifies the use. Beekeeping sits inside "animal husbandry", which needs a use permit in the RV and RL districts and in Open Space, and is simply not permitted in RM and RH. The previous card cited only the Open Space schedule, which is the one district a resident is least likely to live in. Note the definition qualifies animal husbandry as raising animals "on an agricultural or commercial basis", so whether a single backyard hive is caught by it is a question for the city, not one the code answers.

Required for every apiary
Code: § 17.3.3 — RV, RL, RM, RH district land use regulations; § 17.11.3 (OS district); definition at § 17.2.3
Last verified: 2026-08. Confirm at the source. Not legal advice.
Code Of Ordinances ›

Pinole, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
2
hive limit
25 ft
from property line

Bees need a lot of at least 20,000 sq ft, allow one hive per 10,000 sq ft of lot area, and must stay 25 ft back from every property line.

Hive limit: One hive or apiary per 10,000 sq ft of lot area, on a lot of at least 20,000 sq ft, so two at the minimum lot size.

Note: Read in full in 2026. All three published figures are confirmed word for word. Worth noting the lot minimum and the ratio work together: 20,000 sq ft is the floor and buys two hives, and every further 10,000 sq ft adds one.

Required for every apiary
Code: § 6.04.060(A) — Certain animals conditionally permitted (Ord. 585, 1996; Ord. 539, 1991); definitions at § 6.04.030
Last verified: 2026-08. Confirm at the source. Not legal advice.
Pinole ›

Pittsburg, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
2
hive limit
25 ft
from property line
50 ft
from buildings

Two hives per lot for noncommercial keeping, at least 50 ft from any dwelling unit and 25 ft from any property line, and only where Title 18 zoning allows bees at all.

Hive limit: Two hives per lot for noncommercial purposes.

Note: Read in full in 2026. All three published figures are confirmed. The point the card missed is that Pittsburg gates beekeeping twice: § 7.08.030 permits bees only where Title 18 zoning allows them, so meeting the distances in Chapter 7.08 is necessary but not sufficient. The 50 ft is measured to a dwelling unit, not to a property line or a lot boundary.

Required for every apiary
Code: Ch. 7.08 — Animals, Fowl and Bees, §§ 7.08.030, 7.08.050, 7.08.080, 7.08.090 (Ord. 1025, 1991)
Last verified: 2026-08. Confirm at the source. Not legal advice.
Municipal code on eCode360 ›

Pleasant Hill, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
None
hive limit

No local beekeeping rule found in the municipal code. State registration with the county agricultural commissioner still applies.

Note: The 2020 review left this card blank with no claim attached. In 2026 the live code was searched directly and returned nothing on any bee term, so the blank is now a confirmed absence rather than a gap in the record. California still requires apiary registration with the county agricultural commissioner.

Last verified: 2026-08. Confirm at the source. Not legal advice.
Municipal code on eCode360 ›

Richmond, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
None
hive limit

Richmond sets no hive numbers of its own. In the lower-density residential districts it adopts the Contra Costa County animal keeping regulations by reference, and animal husbandry is not permitted in the two densest residential districts.

Note: Read in full in 2026 and rewritten. The card previously cited only the Urban Agriculture standards section, which sets housekeeping rules and no numbers. The operative provision for a Richmond resident is note L3 on the residential land use table: the city adopts the CONTRA COSTA COUNTY animal keeping regulations by reference, so the county card on this site carries the hive counts and distances that apply. Animal husbandry is not permitted at all in the two densest residential districts. Note bees are reachable in this code only through the words "urban agriculture" and "animal husbandry" — the code never says hive or apiary in a residential context.

Required for every apiary
Code: § 15.04.201.020 n.L3 (residential districts); §§ 15.04.610.070, 15.04.610.430; §§ 15.04.206.020, 15.04.207.020; definition at § 15.04.104.020
Last verified: 2026-08. Confirm at the source. Not legal advice.
Code Of Ordinances ›

San Pablo, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08

Beekeeping is allowed in the R-1 zone under the current zoning code. An unrepealed 1964 nuisance section still declares apiaries unlawful citywide.

Hive limit: No hive count or setback is set for the R-1 allowance.

Note: San Pablo’s code says two different things about bees, and the newer one wins. A nuisance section dating from 1964 declares it unlawful to keep bees anywhere in the city, but the current zoning code states plainly that beekeeping is allowed in the R-1 zone. Because the zoning provision is both later and specifically about beekeeping, that is the one to rely on for R-1 land, though it would be worth having the city confirm it in writing if you are investing in equipment. Note the one express prohibition either way: Africanized bees, named by their scientific name, along with wasps and hornets. Our earlier card showed this city as a flat prohibition, which was wrong.

Required for every apiary
Code: Zoning use classes — animal keeping (beekeeping allowed in R-1); § 8.04.090 nuisance, maintaining apiary unlawful (Ord. 378, 1964)
Last verified: 2026-08. Confirm at the source. Not legal advice.
Municipal code on eCode360 ›

San Ramon, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
10
hive limit
25 ft
from property line

Residential beekeeping as a hobby is permitted on lots of at least 6,000 sq ft in the RS, RC, HR and RE zones.

Hive limit: Two hives on a lot of at least 6,000 sq ft, plus one more for every additional 2,500 sq ft, to a maximum of ten.

Note: This card previously stated there were no municipal codes for apiaries. San Ramon adopted a full residential beekeeping ordinance in October 2025, effective 13 November 2025.

Required for every apiary
Code: Ch. IX — Beekeeping Apiary, §§ D4-85 to D4-86 (Ord. 534, eff. 11/13/2025)
Last verified: 2026-08. Confirm at the source. Not legal advice.
online.encodeplus.com ›

Walnut Creek, Contra Costa County, California

city Register: BeeWhere re-checked 2026-08
None
hive limit

Walnut Creek sets no beekeeping standards. Beekeeping is classified in the zoning code as animal husbandry, so whether you may keep bees depends on the land use table for your district.

Note: Confirmed against the live code in 2026. There are no bee-specific rules here: no hive count, no setback, no permit written for bees. Beekeeping appears only as a listed example of animal husbandry in the zoning use classifications, which means the real question is what your district's land use table says about animal husbandry, and that table has not been read for this card. Note the definition qualifies animal husbandry as raising animals "on an agricultural or commercial basis", so whether a single backyard hive is caught by it is a question for the city. Ask planning before assuming either way.

Required for every apiary
Code: Ch. 2 Zoning, Part 1 General Provisions — Agricultural Use Classifications (D)(1), Animal Husbandry
Last verified: 2026-08. Confirm at the source. Not legal advice.
Municipal code on eCode360 ›
Compiled from public municipal codes, originally referenced by the California Master Beekeeper Program and re-verified against each published code. Verify every rule against the linked official code before keeping bees. Not legal advice.

510 of 512 California entries have been read against the jurisdiction’s live code and carry a re-checked date. How we verify these pages, and the mistakes we look for ›



Other counties: Alameda · Alpine · Amador · Butte · Calaveras · Colusa · Del Norte · El Dorado · see all 58 ›