Two documents decide whether you can keep bees in California
If you look up your city's beekeeping ordinance and it feels oddly specific, that is because someone else wrote it. Probably decades ago, probably for a different town.
We spent several weeks reading the local beekeeping rules for every city and county in California against each jurisdiction's own published code. 510 of 512 are now read and cited to the section the rule actually comes from. The most surprising thing in the whole exercise was not any individual rule. It was how few of them were written from scratch.
The 1963 document
Vista, in San Diego County, adopted a beekeeping chapter in January 1963. It is the oldest one we found still in force, and so far as we can tell it has never been substantially rewritten.
It requires an identification sign on any apiary kept somewhere other than your own home, giving your name, address and telephone number, in black letters at least one inch high, on the longer side of the hive or super. If you have no telephone, the sign must say so. It requires the landowner's permission, bees screened into the vehicle when you move hives in daylight, a thirty foot firebreak, a shovel and a fire extinguisher within reach, and your smoker plugged with metal or hardwood before you carry it.
And it requires 600 feet between your hives and anyone else's house.
Six hundred feet in every direction is roughly twenty six acres that has to contain no other dwelling. On an ordinary Vista lot that cannot be met.
Now read Carlsbad, which borders Vista. Same identification sign. Same "No Phone". Same one inch black lettering on the longer side of the hive or super. Same landowner's permission, same screened transport. The same structure, clause for clause.
And 150 feet instead of 600, which your neighbour can waive in writing.
Two adjacent cities in one county, working from one document, and a four-fold difference in the number that decides whether you can keep bees in your garden at all. Nothing about bees changes at that city line.
The 1963 text travelled further than San Diego County. We found its fingerprints in Santa Clara, whose ordinance was adopted in 2011 and which still makes provision for beekeepers who have no telephone. In 2011. That is not drafting. That is copying, from a document old enough that "no phone" was a realistic thing to plan for.
The 2011 document
The second family starts with Santa Monica, in January 2011, and it is a much better piece of work.
It asks for five feet from your property lines. It asks that hive entrances face away from, or run parallel to, the nearest lot line you share with a neighbour. It asks that hives either sit behind a six foot barrier, which may be a hedge rather than a fence, or be raised eight feet above the neighbouring ground level. It asks you to keep a water source on the property at all times, and it says outright why: to stop bees visiting your neighbours' swimming pools and hose bibs.
Los Angeles adopted that text in December 2015. El Segundo in May 2021. Pomona in July 2024. It also turns up in Torrance, Lancaster, Santa Ana, Fullerton and, two hundred miles north, in El Paso de Robles.
How closely? El Segundo's water source provision and Los Angeles' water source provision differ by one word in thirty three. Los Angeles says "adjacent public or surrounding property". El Segundo says "adjacent public or private property". Everything else is identical, character for character.
Why the numbers are arbitrary, and how we know
Los Angeles is the densest large city in California. Nearly four million people. Its beekeeping rule asks for five feet from a lot line.
Santee asks for 400 feet from every property boundary, which needs roughly fifteen acres to satisfy. Vista asks 600 from any dwelling. Watsonville asks 100 feet from every property line, which needs more than 200 feet in both directions. Delano asks 400 feet from every street and every dwelling.
Whatever those distances protect against, Los Angeles does not believe it needs them at many times the density.
Here is the same point inside a single county. Los Angeles requires a water source so that bees stop visiting the neighbours' pools. South Pasadena, a few miles away, meets the identical hazard by requiring 200 feet between your hives and any outdoor swimming pool other than your own, which forecloses essentially the whole city. Same risk. One city manages it with a bird bath. The other bans beekeeping without ever using the word.
The good news, which we did not expect
Cities are not only copying. They are quietly fixing the text as it moves.
The 2011 model has a real defect. It makes it a public nuisance if your colonies swarm, in the same ordinance that orders you to manage your hives against swarming and, in some versions, to requeen every two years. Swarming is normal reproductive behaviour. It happens to well managed colonies. So the ordinance demands the remedy and punishes the outcome.
Pomona noticed. When it adopted the text in 2024, it deleted that clause.
Fullerton did something better. It kept the protection for the neighbour and added a fault standard, so what counts as a nuisance is now colonies that swarm "due to failure to requeen or without response to contain or relocate within three days". Strict liability for an act of nature becomes negligence with three days to put it right. That is a genuinely well drafted sentence, and as far as we can tell almost nobody outside Fullerton knows it exists.
Los Angeles and Pomona have both dropped the two year requeening requirement, which sits awkwardly with any breeding programme selecting for queen longevity.
The best clause in California
Los Angeles Municipal Code section 12.07 A.13(f) is worth quoting in full, because it does something most ordinances never do:
A six-foot wall, fence, or hedge is located between hives and adjacent lots, or hives are placed at a minimum of eight feet above ground level of the adjacent lot. The purpose of this provision is to provide a solid barrier to help direct bees over six feet above ground level when departing the lot to minimize interactions between bees and individuals in the vicinity.
It states the objective, offers more than one way to meet it, and explains itself. A hedge will do. A hive stand will do. You are told what the rule is for, so you can tell whether you have satisfied it.
Compare that with a flat number measured from every boundary, which achieves the same protection only by making beekeeping impossible.
Santa Cruz goes further still. Its section 24.12.650 is the only beekeeping ordinance we found in California whose stated purpose is to encourage beekeeping, and it grounds itself in state policy by quoting Food and Agricultural Code section 29000: "Protection and promotion of this important industry is in the interest of the people of the State of California." No permit. No registration. No hive limit. Its siting rule offers four ways to comply and you need only one of them.
What we conclude from this
Three things, stated plainly, because we think the evidence supports them.
The setback numbers are not derived from anything about bees. They are inherited. A city that requires 600 feet and a city that requires five are not making different risk assessments; they are copying different documents. Vista and Carlsbad share a border and a source text and differ four-fold, and Los Angeles carries the smallest number in the state at the highest density in the state. If those distances encoded a real safety finding, they would not scatter like that.
A distance is the weakest tool available, and the good ordinances already know it. Every hazard these codes worry about has a better answer than a number measured from a boundary. Bees at the neighbour's pool is answered by a water source. Bees at head height is answered by a six foot hedge or a hive stand. A colony outgrowing its box is answered by management and inspection. Those answers are already written into California law, they are cheap, and unlike a setback they scale down to a normal lot. A flat distance protects nobody that a barrier and a water source do not, and it forecloses beekeeping entirely on any parcel smaller than the number implies.
The fix is not new law. It is better copying. Cities are going to keep adopting whatever text is nearest, because that is how every ordinance in this dataset came to exist. That is not a criticism of city staff; drafting from scratch for a subject this specialised would be worse. So the useful intervention is to make sure the nearest text is the good one. Every clause we would want in a model ordinance has already been enacted somewhere in California and survived: the performance standard from Los Angeles, the fault standard from Fullerton, the stated purpose from Santa Cruz, the neighbour's written waiver from Carlsbad and Alturas. Nobody has to invent anything. Somebody has to collect it.
What to do with this
Look up your own city. If it is one of the copies, you now know roughly which document it came from and when.
And if your city's rule is one of the unworkable ones, the useful argument is not that the rule is unfair. It is that Los Angeles manages the same risks at far higher density with five feet, a hedge and a water source, and that a neighbouring city adopted the same model text yours did while writing a better version of it. That is a much easier conversation than asking for an exception.
We have published what every California city and county requires, with the section each rule comes from and a link to the code, so you can read the words yourself rather than take ours for them.
Find your city's beekeeping rules
How we know, and what we do not
Every entry was read against that jurisdiction's own published code and cited to its section. This is a record of what the codes say, not of how they are enforced, and none of it is legal advice. Codes are not practice. Confirm with your city or county before you act. Our verification method explains what the dates mean and lists the mistakes we have found in our own data.
Two jurisdictions we could not verify, and we have said so on their cards rather than guess. Calipatria publishes no municipal code online at all. Tulelake's website is currently flagged as compromised, so we have not visited it.
The clause families above can only be traced where we recorded a code's actual wording, so the counts are a floor rather than a total. There are almost certainly more.
We are grateful to the California Master Beekeeper Program at UC Davis, whose 2020 compilation gave us the list of jurisdictions to start from.