Skip to main content
CityRuleLookup

Santa Clara County, CA Right to Farm: Farm Nuisance Protection (2026)

Few Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified September 2026

Key Facts

Statute
California Civil Code §3482.5
Protection threshold
Three years of consistent operation
County overlay
Williamson Act ag preserves
Key farm regions
Coyote Valley, Gilroy, San Martin
Loss of shield
Negligent or improper operations

Summary

California Civil Code §3482.5 protects established agricultural operations from nuisance suits after three years of consistent activity. SCC layers this with the Williamson Act and agricultural preserves in Coyote Valley and the Gilroy-Morgan Hill area.

City-specific rules exist: San Jose has its own farm nuisance protection rules that differ from Santa Clara County's county-level regulations. If you live in San Jose, check the city-specific page instead.

(a)(1) 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 it has been in operation for more than three years if it was not a nuisance at the time it began. (d) This section shall prevail over any contrary provision of any ordinance or regulation of any city, county, city and county, or other political subdivision of the state.

Source: California Civil Code §3482.5View official code

Full Breakdown

California Civil Code §3482.5 provides that an agricultural activity in operation for more than three years and consistent with proper customs is not a nuisance because of changed surrounding conditions. Once a residential neighbor moves near an established farm, ranch, apiary, or processing operation, they cannot sue to shut it down for ordinary noise, dust, or odor. Santa Clara County reinforces this with strong Williamson Act enrollment and designated agricultural preserves: Coyote Valley north of Morgan Hill, the San Martin / Gilroy growing region, and South County hillsides. The county's General Plan Agricultural Resources Element commits to preserving prime farmland from urban encroachment.

Violations & Fines

No fines apply to farms protected by Civil Code §3482.5. A neighbor who sues a protected farm and loses may owe defense costs under anti-SLAPP rules. Operations exceeding proper customs forfeit the shield and face standard nuisance liability.

Frequently Asked Questions

Does Santa Clara County have its own right-to-farm law?
No separate ordinance, but the county relies on California Civil Code §3482.5 plus Williamson Act contracts and agricultural preserves. Established farms in Coyote Valley and the Gilroy region get the three-year nuisance shield.
Can a new neighbor sue a long-standing Gilroy farm?
Generally no. If the farm has operated more than three years and follows proper customs, §3482.5 bars nuisance suits based on changed surrounding land use such as new tract housing or residential subdivisions.

Sources & Official References

Other rules in Santa Clara County

All Santa Clara County rules

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

Get notified when Farm Nuisance Protection in Santa Clara 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.

Farm Nuisance Protection in Cities Across Santa Clara County