Right to Farm in California (2026)
159 rules on the books across California, 116 cities and counties. Select a rule to read the full details.
Severity: Few Restrictions · Light Restrictions · Some Restrictions · Significant Restrictions · Heavy Restrictions
Farm Nuisance Protection
Whether established farms are shielded from nuisance lawsuits and from local ordinances that would restrict their operations.
California: statewide
StatewideSome RestrictionsThe California Right to Farm Act under Civil Code 3482.5 protects established agricultural operations from nuisance…
Read full rule →Calaveras County
Heavy RestrictionsCalaveras County declares that any legally existing agricultural use, farming, ranching, orchards, livestock, row…
Read full rule →Brentwood
Some RestrictionsBrentwood's Right to Farm ordinance, Municipal Code Chapter 8.01, shields agricultural operations on the city's East…
Read full rule →Davis
Some RestrictionsDavis Municipal Code Chapter 40A shields properly conducted agricultural operations from local nuisance claims unless a…
Read full rule →Delano
Some RestrictionsDelano Development Code §20.10.270.4 requires the Community Development Director to include a Right-to-Farm notice on…
Read full rule →Eastvale
Some RestrictionsEastvale shields agricultural operations from nuisance lawsuits once they've run for three years without complaint…
Read full rule →El Dorado County
Some RestrictionsEl Dorado County Code Section 130.40.290 shields existing agricultural operations on PA, LA, AG, FR, and TPZ-zoned land…
Read full rule →Fresno County
Some RestrictionsFresno County Code Section 17.72.075 requires a Right-to-Farm Notice to be recorded with the county recorder before the…
Read full rule →Lake County
Some RestrictionsLake County Code Section 3-45.1 shields lawful agricultural operations from nuisance claims unless the activity meets…
Read full rule →Los Angeles County
Some RestrictionsCalifornia Civil Code §3482.5 protects established agricultural operations from nuisance suits after three years of…
Read full rule →Madera County
Some RestrictionsUnincorporated Madera County shields established commercial agricultural operations from nuisance suits over changed…
Read full rule →Marin County
Some RestrictionsMarin County Code Chapter 23.03 shields established commercial farms from nuisance lawsuits over noise, odor, dust, and…
Read full rule →Merced County
Some RestrictionsUnincorporated Merced County requires a recorded Certificate of Public Acknowledgement of Farming Activities on final…
Read full rule →Monterey County
Some RestrictionsChapter 16.40 of the Monterey County Code shields commercial farms on unincorporated agricultural land from nuisance…
Read full rule →Murrieta
Some RestrictionsMurrieta's development code shields existing horse-keeping and agricultural operations from nuisance claims filed by…
Read full rule →San Diego County
Some RestrictionsSellers of residential property in unincorporated San Diego County must give buyers a written disclosure that a nearby…
Read full rule →San Luis Obispo County
Some RestrictionsUnder County Code Section 5.16.030, an agricultural operation run for commercial purposes and consistent with accepted…
Read full rule →Santa Barbara County
Some RestrictionsSanta Barbara County shields established agricultural operations on land zoned A-I, A-II, or exclusively for…
Read full rule →Tulare County
Some RestrictionsA commercial agricultural operation in unincorporated Tulare County cannot be declared a nuisance over a changed…
Read full rule →Yolo County
Some RestrictionsYolo County Code Sec. 10-6.102 shields agricultural operations on Agricultural Preserve (A-P), Agricultural Exclusive…
Read full rule →Butte County
Light RestrictionsButte County's Right to Farm Ordinance, Chapter 35, shields properly conducted agricultural operations on agricultural…
Read full rule →Chico
Light RestrictionsChico shields existing and future commercial farm operations from nuisance claims by neighbors, as long as the farming…
Read full rule →Clovis
Light RestrictionsClovis Municipal Code Section 9.40.170(A) declares it City policy to shield commercial agricultural operations from…
Read full rule →Contra Costa County
Light RestrictionsUnincorporated Contra Costa County shields established commercial agricultural and agricultural-processing operations…
Read full rule →Elk Grove
Light RestrictionsElk Grove shields established agricultural operations from nuisance claims and City abatement once they have run for…
Read full rule →Los Angeles
Light RestrictionsCalifornia Civil Code §3482.5 shields established agricultural operations from nuisance suits after three years of…
Read full rule →Manteca
Light RestrictionsManteca's right-to-farm chapter works through disclosure rather than nuisance immunity: sellers and building-permit…
Read full rule →Mendocino County
Light RestrictionsMendocino County shields established agricultural operations from nuisance lawsuits once they have run more than three…
Read full rule →Placer County
Light RestrictionsPlacer County's right-to-farm ordinance shields commercial agricultural operations from nuisance lawsuits triggered by…
Read full rule →Pleasanton
Light RestrictionsPleasanton shields commercial agricultural operations on land zoned Agricultural from nuisance claims triggered by…
Read full rule →Solano County
Light RestrictionsSolano County Code Section 2.2-30 bars agricultural operations on agricultural land from being declared a nuisance…
Read full rule →Stockton
Light RestrictionsStockton's right-to-farm ordinance shields properly run commercial agricultural operations from nuisance lawsuits…
Read full rule →Turlock
Light RestrictionsAgricultural operations in Turlock that run more than three years without becoming a nuisance can't later be sued as…
Read full rule →Ventura
Light RestrictionsSan Buenaventura Municipal Code Section 8.750.120 shields commercial agricultural operations that comply with the…
Read full rule →Alameda County
Few RestrictionsAlameda County Code shields lawful commercial agricultural operations from private and public nuisance lawsuits…
Read full rule →Chino
Few RestrictionsChino shields pre-existing animal keeping and agricultural operations from nuisance claims triggered by new neighbors…
Read full rule →Hanford
Few RestrictionsHanford shields lawfully run commercial farms from nuisance lawsuits triggered by nearby homes moving in, unless the…
Read full rule →Hemet
Few RestrictionsHemet bars nuisance lawsuits against established commercial farms in agricultural zones once an operation has run three…
Read full rule →Imperial County
Few RestrictionsImperial County shields lawful, established agricultural operations from nuisance lawsuits under its right-to-farm…
Read full rule →Kern County
Few RestrictionsUnincorporated Kern County protects agricultural, ranching, oil and gas, energy and mining operations from nuisance…
Read full rule →Kings County
Few RestrictionsKings County shields lawfully run commercial farms from nuisance lawsuits triggered by nearby development, protecting…
Read full rule →Livermore
Few RestrictionsLivermore Municipal Code Section 8.16.050 protects lawfully run farms and agricultural processing operations from…
Read full rule →Madera
Few RestrictionsMadera Municipal Code § 10-3.418 shields commercial agricultural operations from nuisance claims once they've run more…
Read full rule →Napa County
Few RestrictionsNapa County protects agriculture: no properly conducted commercial agricultural activity, operation, or facility may be…
Read full rule →Rancho Cordova
Few RestrictionsRancho Cordova's right-to-farm ordinance, RCMC Chapter 14.05, blocks nuisance claims against established farms. Once a…
Read full rule →Riverside County
Few RestrictionsCommercial farms in unincorporated Riverside County can't be sued as a nuisance once they've run three years without…
Read full rule →Sacramento County
Few RestrictionsSacramento County shields established commercial farms from nuisance lawsuits once they've operated three years without…
Read full rule →San Diego
Few RestrictionsCalifornia Civil Code §3482.5 shields established agricultural operations from nuisance suits after three years of…
Read full rule →San Joaquin County
Few RestrictionsSan Joaquin County Ordinance Code § 6-9002 says a commercial agricultural operation run in a manner consistent with…
Read full rule →San Jose
Few RestrictionsCalifornia Civil Code §3482.5 shields established agricultural operations from nuisance suits after three years of…
Read full rule →Santa Clara County
Few RestrictionsCalifornia Civil Code §3482.5 protects established agricultural operations from nuisance suits after three years of…
Read full rule →Sonoma County
Few RestrictionsProperly conducted agricultural operations on designated agricultural land in unincorporated Sonoma County cannot be…
Read full rule →Stanislaus County
Few RestrictionsStanislaus County shields agricultural operations from nuisance lawsuits once they've run more than three years without…
Read full rule →Tracy
Few RestrictionsTracy shields agricultural operations running for more than three years from nuisance lawsuits and complaints triggered…
Read full rule →West Sacramento
Few RestrictionsWest Sacramento shields properly operated agricultural operations on agricultural land from nuisance lawsuits over…
Read full rule →Yuba County
Few RestrictionsUnincorporated Yuba County shields properly run agricultural and mining operations from nuisance claims if the…
Read full rule →Agricultural Zoning Protection
State rules that limit how cities and counties may zone or restrict agricultural land uses, including livestock and crop operations.
California: statewide
StatewideSome RestrictionsThe California Land Conservation Act of 1965 (Williamson Act), Government Code 51200-51297.4, allows landowners to…
Read full rule →El Cajon
Significant RestrictionsEl Cajon confines commercial agriculture to the O-S, RS-40, and RS-20 zones, and only for commercial horticulture…
Read full rule →Madera
Significant RestrictionsMadera Municipal Code § 10-3.421 lets the Planning Commission grant a conditional use permit for farming on…
Read full rule →Alameda
Some RestrictionsAlameda has no separate right-to-farm nuisance statute; agriculture is governed instead by the 'A' Agricultural…
Read full rule →Alameda County
Some RestrictionsBefore transferring property within 2,000 feet of agricultural land in unincorporated Alameda County…
Read full rule →Bakersfield
Some RestrictionsBakersfield's A agriculture zone lets landowners keep livestock, poultry and crops as a matter of right, but §…
Read full rule →Berkeley
Some RestrictionsBerkeley has no right-to-farm nuisance shield; instead Chapter 23.318 zones urban agriculture directly. Small…
Read full rule →Buena Park
Some RestrictionsBuena Park's A-Overlay Zone permits farming, orchards, livestock, beekeeping and chickens on top of underlying zone…
Read full rule →Butte County
Some RestrictionsButte County's AG zone protects farming by requiring 20 to 160 acre minimum parcels and limiting non-farm uses, while…
Read full rule →Camarillo
Some RestrictionsCamarillo protects working farmland through its A-E Agricultural Exclusive zone, which requires a ten-acre minimum…
Read full rule →Carlsbad
Some RestrictionsCarlsbad's E-A Exclusive Agricultural zone is built to protect and encourage farming, restricting land to a short list…
Read full rule →Ceres
Some RestrictionsCeres shields farmland with a dedicated R-A residential-agriculture zone meant to keep incompatible development from…
Read full rule →Chico
Some RestrictionsNew development next to commercial crop production along Chico's Sphere of Influence must keep at least 100 feet of…
Read full rule →Chino Hills
Some RestrictionsChino Hills preserves large-lot agricultural land through its Agriculture-Ranch (R-A) zoning district. Municipal Code…
Read full rule →Chula Vista
Some RestrictionsChula Vista has no right-to-farm nuisance-immunity ordinance, but CVMC Chapter 19.20 establishes an Agricultural (A)…
Read full rule →Clovis
Some RestrictionsAny Clovis subdivision within 300 feet of agriculturally zoned land cannot get final map approval until the owner…
Read full rule →Colusa County
Some RestrictionsIn unincorporated Colusa County, Zoning Code Chapter 44 divides farmland into five agricultural zones: Foothill…
Read full rule →Corona
Some RestrictionsCorona's A Agricultural Zone sets a five-acre minimum lot size for farms and ranches, caps building height at two…
Read full rule →Davis
Some RestrictionsDavis requires a recorded deed restriction and written notice whenever a discretionary development permit affects…
Read full rule →Dublin
Some RestrictionsDublin's Agricultural (A) Zoning District under Alameda County's Tri-Valley general plan is codified at Dublin…
Read full rule →El Dorado County
Some RestrictionsEl Dorado County zones agricultural, rural and resource land under six designations in Code Chapter 130.21: Planned…
Read full rule →El Monte
Some RestrictionsEl Monte designates rural, agriculture-friendly lots under the Rurban Homesteads Overlay District (RHOD) in Chapter…
Read full rule →Elk Grove
Some RestrictionsElk Grove zones its farmland under two agricultural base districts set by Municipal Code Section 23.24.020(B): AG-80…
Read full rule →Escondido
Some RestrictionsEscondido's Municipal Code Section 33-90 creates the Agriculture Residential (R-A) zone specifically to protect…
Read full rule →Fairfield
Some RestrictionsFairfield's AG (Agriculture) zoning district, set out at Zoning Ordinance Section 25.26, protects farmland by…
Read full rule →Folsom
Some RestrictionsFolsom protects farming through its A Agricultural Combining District rather than a standalone right-to-farm statute…
Read full rule →Fremont
Some RestrictionsFremont has no right-to-farm ordinance; instead, growing and selling crops on infill sites is governed by Municipal…
Read full rule →Fresno County
Some RestrictionsAny subdivision within 300 feet of an AE, AL, TPZ or RC agricultural zone in Fresno County must record a right-to-farm…
Read full rule →Hanford
Some RestrictionsHanford treats agriculture as the favored use near its urban limit line and requires new development within one mile to…
Read full rule →Hayward
Some RestrictionsHayward's Agricultural (A) zoning district exists to preserve farmland until orderly development can take place, per…
Read full rule →Hemet
Some RestrictionsHemet requires a minimum 20-foot buffer, at least half landscaped, between new residential development and existing…
Read full rule →Hesperia
Some RestrictionsHesperia protects farming through two agricultural zoning designations, Limited Agricultural (A1) and General…
Read full rule →Irvine
Some RestrictionsIrvine protects working farmland through a dedicated 1.1 Exclusive Agriculture zoning district under Zoning Ordinance…
Read full rule →Lake County
Some RestrictionsLake County's Right to Farm Ordinance protects agricultural operations only on land zoned Agricultural Preserve (APZ)…
Read full rule →Lakewood
Some RestrictionsLakewood's R-A (Single-Family Residential, Limited Agriculture) Zone lets homeowners keep small livestock and, on…
Read full rule →Lancaster
Some RestrictionsLancaster permits grazing as a light agricultural use in the RR-2.5 and RR-1 rural residential zones under Municipal…
Read full rule →Los Angeles County
Some RestrictionsUnincorporated LA County zones farmland A-1 Light Agricultural or A-2 Heavy Agricultural under Title 22 Chapter 22.16…
Read full rule →Manteca
Some RestrictionsManteca requires sellers and residential builders to give buyers a written disclosure warning that nearby farmland…
Read full rule →Marin County
Some RestrictionsUnincorporated Marin County protects farmland through eight A (Agriculture and Conservation) districts, an A2…
Read full rule →Mendocino County
Some RestrictionsMendocino County Code Chapter 10A.13 shields established commercial agricultural operations from nuisance suits once…
Read full rule →Merced
Some RestrictionsMerced's Agriculture (A-G) zoning district protects farmland inside city limits with a 20-acre minimum parcel and a…
Read full rule →Merced County
Some RestrictionsMerced County protects farming operations by requiring new houses to sit 200 feet back from land used for agricultural…
Read full rule →Monterey County
Some RestrictionsMonterey County's Limited Agricultural, or "A", combining district caps livestock density and steers intensive farming…
Read full rule →Mountain View
Some RestrictionsMountain View's Agricultural (A) zoning district, City Code Section 36.24, exists to keep farmland from being crowded…
Read full rule →Oakland
Some RestrictionsOakland has no separate right-to-farm nuisance-protection ordinance; instead its Planning Code classifies on-site…
Read full rule →Oceanside
Some RestrictionsOceanside's A (Agricultural) District carries its own chapter of the zoning ordinance built to keep farm and ranch…
Read full rule →Orange
Some RestrictionsOrange's Agricultural (A1) district allows farming and low-intensity recreational and open space uses, but a…
Read full rule →Orange County
Some RestrictionsUnincorporated Orange County's A1 General Agricultural District permits farming, ranching and crop sales as by-right…
Read full rule →Oxnard
Some RestrictionsOxnard's C-R Community Reserve Zone is set aside for open land uses, permitting farming, plant husbandry, forestry and…
Read full rule →Pacifica
Some RestrictionsIn the City of Pacifica, the Agricultural District (A) zone under Municipal Code § 9-4.1901 permits farming, livestock…
Read full rule →Placer County
Some RestrictionsPlacer County's Agricultural Exclusive (AE) district, established under Zoning Ordinance § 17.08.010, restricts land to…
Read full rule →Pleasanton
Some RestrictionsPleasanton zones farmland under the A Agricultural District, Chapter 18.28, which permits commercial crop and livestock…
Read full rule →Rancho Cordova
Some RestrictionsRancho Cordova's two agricultural zoning districts, AG-80 and AG-20, set minimum parcel sizes of 80 and 20 gross acres…
Read full rule →Rancho Cucamonga
Some RestrictionsRancho Cucamonga protects historic farmland through its Agricultural Overlay under Development Code Section 17.38.050…
Read full rule →Redlands
Some RestrictionsRedlands' A-1 Agricultural District, Chapter 18.20 of the zoning code, requires a five-acre minimum lot and caps…
Read full rule →Ridgecrest
Some RestrictionsRidgecrest's PA Primary Agriculture District, in Kern County, California, reserves rural-scale parcels of at least five…
Read full rule →Riverside
Some RestrictionsRiverside's Residential Agricultural (RA-5) Zone is built to keep working agriculture legal alongside a house…
Read full rule →Riverside County
Some RestrictionsRiverside County's right-to-farm ordinance shields commercial farms on land zoned A-1, A-2, A-D, A-P, or C/V from…
Read full rule →Sacramento
Some RestrictionsSacramento's A zone restricts land primarily to agriculture and farming, protecting working farmland from incompatible…
Read full rule →Salinas
Some RestrictionsSalinas Municipal Code Sec. 37-50.220 shields properly run agricultural operations from nuisance claims and requires a…
Read full rule →San Bernardino County
Some RestrictionsSan Bernardino County requires a minimum 100-acre parcel to establish the AG Agricultural zoning district under the…
Read full rule →San Diego County
Some RestrictionsIn unincorporated San Diego County, land inside a designated Agricultural Preserve carries an A designator under Zoning…
Read full rule →San Jose
Some RestrictionsSan Jose reserves land for farming through a dedicated A Agricultural zoning district with a 20-acre minimum lot size…
Read full rule →San Luis Obispo County
Some RestrictionsSan Luis Obispo County has declared it county policy under Code Chapter 5.16 to enhance and encourage agricultural…
Read full rule →San Marcos
Some RestrictionsSan Marcos protects working farms through three dedicated Agricultural zones (A-1, A-2, A-3) rather than a standalone…
Read full rule →Santa Ana
Some RestrictionsSanta Ana's A1 general agricultural district permits crop farming, grazing and small animal farms by right, but bans…
Read full rule →Santa Clarita
Some RestrictionsSanta Clarita protects farming through its Non-Urban zoning series, not a standalone right-to-farm statute. NU1 through…
Read full rule →Santa Maria
Some RestrictionsSanta Maria protects light farming through its RA Residential Agricultural zoning district rather than a separate…
Read full rule →Tehama County
Some RestrictionsTehama County reserves land in its four agricultural districts, AG-1 Upland, AG-2 Valley, AG-3 El Camino, AG-4 Capay…
Read full rule →Thousand Oaks
Some RestrictionsThousand Oaks protects farming through its Rural-Agricultural (R-A) zone, which permits crop production, horticulture…
Read full rule →Vacaville
Some RestrictionsVacaville protects farmland through two agricultural zoning districts, AG and AH, under Municipal Code Section…
Read full rule →Ventura
Some RestrictionsVentura's right-to-farm ordinance, Municipal Code Section 8.750.120, shields lawful commercial agriculture from…
Read full rule →Ventura County
Some RestrictionsCounty code shields properly run commercial farms in unincorporated Ventura County from nuisance lawsuits over normal…
Read full rule →Vista
Some RestrictionsVista's A-1 Agricultural Zone, governed by Municipal Code Chapter 18.10, makes crops, orchards, greenhouses and a…
Read full rule →West Sacramento
Some RestrictionsWest Sacramento's AG Zone preserves farmland by permitting one dwelling per 5-acre-minimum parcel, capping height at 35…
Read full rule →Westminster
Some RestrictionsWestminster's zoning code permits farming, horticulture, flower and vegetable gardening, and non-retail nursery and…
Read full rule →Yolo County
Some RestrictionsYolo County shields established agricultural operations on agricultural land from nuisance lawsuits once they have run…
Read full rule →Yuba City
Some RestrictionsYuba City protects farmland with its Agricultural Holding (AH) zoning district, reserved for rural land awaiting…
Read full rule →Antioch
Light RestrictionsAntioch's zoning code lets pre-existing agricultural operations keep running but bars expanding them, and it lets…
Read full rule →Apple Valley
Light RestrictionsApple Valley protects working agriculture through two residential zoning districts. The Residential Agriculture (R-A)…
Read full rule →Eastvale
Light RestrictionsEastvale's Chapter 6.40 right-to-farm ordinance shields established commercial agricultural operations in the city's…
Read full rule →Glenn County
Light RestrictionsUnincorporated Glenn County shields commercial agricultural operations from nuisance lawsuits and complaints under its…
Read full rule →Kings County
Light RestrictionsKings County's Right to Farm ordinance shields lawful, established agricultural operations in the county's Agricultural…
Read full rule →San Benito County
Light RestrictionsSan Benito County's Agricultural Community Disclosure ordinance tells property owners in unincorporated San Benito…
Read full rule →San Diego
Light RestrictionsSan Diego designates AG and AR base zones under Municipal Code Section 131.0301 specifically to accommodate agriculture…
Read full rule →San Mateo County
Light RestrictionsUnincorporated San Mateo County's Agricultural Awareness ordinance declares normal farm impacts on neighboring property…
Read full rule →Santa Barbara County
Light RestrictionsCommercial farms and ranches on land zoned AG-I, AG-II, or exclusively for agriculture in unincorporated Santa Barbara…
Read full rule →Santa Cruz County
Light RestrictionsSanta Cruz County's Agricultural Land Preservation and Protection ordinance, SCCC Chapter 16.50, shields a commercial…
Read full rule →Sonoma County
Light RestrictionsSonoma County shields properly conducted farms and ranches on agricultural land from nuisance lawsuits and requires…
Read full rule →Stanislaus County
Light RestrictionsStanislaus County's Agricultural Land Policies chapter requires every discretionary parcel or subdivision map touching…
Read full rule →Tracy
Light RestrictionsTracy Municipal Code Chapter 10.24 shields established commercial agricultural operations from nuisance lawsuits once…
Read full rule →Turlock
Light RestrictionsTurlock's municipal code sets a formal right-to-farm policy protecting agricultural operations on Stanislaus County ag…
Read full rule →Union City
Light RestrictionsUnion City's Agricultural (A) zoning district exists to shield land suited for farming from incompatible development…
Read full rule →Brentwood
Few RestrictionsBrentwood's Right to Farm ordinance, Municipal Code Chapter 8.01, shields properly run agricultural operations near…
Read full rule →Calaveras County
Few RestrictionsCalaveras County Code § 17.16.120 gives legally existing farms, ranches, orchards, livestock operations, row crops, and…
Read full rule →Chino
Few RestrictionsChino's right-to-farm rule reaches every legal animal-keeping and farming operation in the city, plus land annexed from…
Read full rule →Cupertino
Few RestrictionsCupertino maintains two agricultural zoning districts, Agricultural (A) and Agricultural-Residential (A-1), under…
Read full rule →Los Angeles
Few RestrictionsLos Angeles's "A2" Agricultural Zone lets landowners farm, run nurseries, and keep aviaries and apiaries as a matter of…
Read full rule →Moorpark
Few RestrictionsEstablished agricultural operations in Moorpark's O-S and A-E zones can't be declared a nuisance over changed…
Read full rule →Perris
Few RestrictionsPerris's A-1 Light Agricultural zone allows general farming, orchards, nurseries and field-crop growing by right, with…
Read full rule →Petaluma
Few RestrictionsPetaluma zones farmland separately: the AG (Agriculture) zone under Section 4.020(B) covers land actively and primarily…
Read full rule →Santa Clara County
Few RestrictionsSanta Clara County's own ordinance shields lawfully run commercial agricultural operations from nuisance claims and…
Read full rule →Shasta County
Few RestrictionsShasta County channels farming into two zoning districts built to keep land in agricultural use: Limited Agriculture…
Read full rule →