Skip to main content
CityRuleLookup

Santa Barbara County, CA Right to Farm: Agricultural Zoning Protection (2026)

Light Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified August 2026

Key Facts

Nuisance immunity threshold
3+ years of operation without prior complaint
Covered land
Zoned AG-I, AG-II, or exclusive agricultural use
Excluded use
Cannabis cultivation and cannabis operations
Notice duty
Resource Management Dept. publishes public notice
Adopting ordinances
Ord. No. 3778 and Ord. No. 5038 (5-8-2018)
Geographic reach
Unincorporated county only

Summary

Commercial farms and ranches on land zoned AG-I, AG-II, or exclusively for agriculture in unincorporated Santa Barbara County cannot become a nuisance over dust, noise, or odor once they have operated more than three years without complaint, under County Code Sec. 3-23. Cannabis cultivation is excluded from this protection.

City-specific rules exist: Santa Maria has its own agricultural zoning protection rules that differ from Santa Barbara County's county-level regulations. If you live in Santa Maria, check the city-specific page instead.

No agricultural activity, operation or facility, or appurtenances thereof, conducted or maintained for commercial purposes, and in a manner consistent with proper and accepted customs and standards, as established and followed by similar agricultural operations in the same locality, shall be or become a nuisance, private or public, due to any changed condition in or about the locality, after the same has been in operation for more than three years if it was not a nuisance at the time it began.

View official code

Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: Code of Ordinances: Supplement 44 Update 1).

Full Breakdown

Santa Barbara County Code Sec. 3-23 shields commercial agricultural operations on land the Comprehensive Plan designates AG-I or AG-II, or land zoned exclusively for agricultural use, from nuisance lawsuits filed by neighbors over the sounds, odors, dust, and chemicals that come with farming. The protection kicks in once an operation has run for more than three years without being a nuisance when it started, and only if the operation follows the customs and standards used by similar agricultural operations in the same locality. The Board of Supervisors adopted the finding that residential development next to farmland often pressures farm operators into restrictions that hurt the county's agricultural economy, so the ordinance is meant to warn incoming residents, not to give farms a blank check.

The County's Resource Management Department is required to publish a standard public-information notice telling nearby property owners, renters, and lessees that they may face inconvenience from cultivation, tilling, pesticide and fertilizer application, irrigation, pruning, harvesting, and processing of crops, livestock, poultry, and timber. Cannabis cultivation and cannabis operations are expressly carved out of Sec. 3-23's protection because state and county cannabis rules already impose their own development standards. On the zoning side, County LUDC Sec. 020 sets the purposes behind the two agricultural zones this right-to-farm law rides on: the AG-I zone applies in Urban, Inner Rural, and Existing Developed Rural Neighborhood areas to keep agriculture viable, while AG-II applies to prime and non-prime agricultural land in the Rural Area specifically to preserve it for long-term farming. This is a county provision reaching only the unincorporated area; Santa Barbara, Santa Maria, Lompoc, Goleta, Carpinteria, and Buellton run their own codes.

Violations & Fines

Sec. 3-23 is a nuisance defense, not a fine-based offense: it does not create a separate penalty scheme. If a challenged operation fails to meet the conditions, commercial purpose, more than three years of operation without prior nuisance status, and practices consistent with accepted local agricultural customs, it loses the immunity and can be pursued through ordinary private or public nuisance litigation. Cannabis growers and processors get no protection under this section regardless of how long they have operated.

Frequently Asked Questions

Does Santa Barbara County's right-to-farm law protect every farm?
Only commercial agricultural operations on land zoned AG-I, AG-II, or exclusively for agriculture, and only once the operation has run more than three years without being a nuisance when it started, following the customs of similar local agricultural operations, per County Code Sec. 3-23(d).
I just bought a home next to farmland. Can I sue over the noise and smell?
Sec. 3-23 is designed to head that off: the county requires public notice warning buyers near agricultural land that dust, odor, noise, pesticide application, and harvesting activity are expected, and a qualifying farm operating over three years is shielded from nuisance claims over those impacts.
Does the right-to-farm protection cover cannabis cultivation?
No. Sec. 3-23(c)(3) expressly excludes cannabis cultivation and cannabis operations from the section's nuisance protection because state and county cannabis regulations already impose separate development and permitting standards not required for other crops.
What is the difference between the county's AG-I and AG-II zones?
Under LUDC Sec. 35.21.020, AG-I applies in Urban, Inner Rural, and Existing Developed Rural Neighborhood areas to keep agriculture viable there, while AG-II applies to prime and non-prime agricultural land in the Rural Area to preserve it for long-term farming.
Does this county ordinance apply inside the City of Santa Barbara?
No. County Code Sec. 3-23 reaches only the unincorporated area. Santa Barbara, Santa Maria, Lompoc, Goleta, Carpinteria, and Buellton are incorporated cities with their own municipal codes and are not governed by this county provision.

Sources & Official References

Other rules in Santa Barbara County

All Santa Barbara County rules

California rules heatmap·Compare Santa Barbara County to another location·View the California right to farm overview

Get notified when Agricultural Zoning Protection in Santa Barbara County, CA changes

We'll email you the moment we detect a change in the code. No spam, unsubscribe anytime.

We'll never sell or share your email. One-click unsubscribe in every email.

See something wrong?

Help us keep this page accurate. If you notice an error or outdated information, let us know.

Agricultural Zoning Protection in Cities Across Santa Barbara County