Skip to main content
CityRuleLookup

Sonoma County, CA Accessory Structures: Shed & Carport Rules (2026)

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

Shed permit rules in Sonoma County, CA, also referred to as storage shed, backyard shed, or accessory building regulations, set size limits, setbacks, and when a building permit is required.

Key Facts

Building permit threshold
120 sq ft or larger (Permit Sonoma policy)
Policy
Permit Sonoma Policy 1-4-6, Detached Residential Accessory Structures
Setbacks/height
Per underlying zoning district standards
Governing code
Sonoma County Code Chapter 26 (Zoning)
Habitation
Sheds may not be used as dwellings

Summary

In unincorporated Sonoma County, detached residential accessory structures such as sheds need a building permit at 120 square feet or larger, per Permit Sonoma's policy. Sheds generally observe minimum side and rear setbacks and height limits, and must comply with the underlying zoning district's standards.

City-specific rules exist: Petaluma, and Santa Rosa have their own shed & carport rules rules that differ from Sonoma County's county-level regulations. If you live in one of those cities, check the city-specific page instead.

Accessory structure is a structure not greater than 3,000 square feet (sq. ft.) in floor area, and not over two stories in height, the use of which is customarily accessory to and incidental to that of the dwelling(s) and which is located on the same lot.

Full Breakdown

Permit Sonoma's policy on Detached Residential Accessory Structures (Policy 1-4-6) governs sheds, detached storage buildings, and similar structures in the unincorporated county. A building permit is required for a detached accessory structure of 120 square feet or larger; smaller storage sheds typically do not need a building permit but must still meet zoning setbacks and may not be used for habitation. Accessory structures must comply with the development standards of the underlying zoning district, including setbacks, height, and site (lot) coverage limits. The County's zoning regulations (Chapter 26) define accessory uses to include customary residential accessory structures such as storage sheds, greenhouses, workshops, studios, garages, and carports.

Detached accessory structures generally observe minimum side and rear yard setbacks measured to the property line and a height limit for accessory structures set by the zoning district. Front-yard placement is restricted and usually must meet the primary residence's front setback. Because exact setback and height figures vary by zoning district, owners should confirm their parcel's zone and any combining districts (such as flood, scenic, or riparian overlays) with Permit Sonoma before building. Electrical or plumbing in a shed generally triggers additional permits even if the floor area is under the building-permit threshold.

Violations & Fines

Erecting a shed of 120 sq ft or larger without a building permit, placing a structure in a required setback, or using a shed as living space can result in code enforcement and required removal or permitting after the fact.

Frequently Asked Questions

How big can a shed be before I need a permit in Sonoma County?
Per Permit Sonoma's detached accessory structures policy, a building permit is required once a detached structure is 120 square feet or larger. Smaller sheds usually skip the building permit but still must meet zoning setbacks.
Does a shed need to meet property-line setbacks?
Yes. Even small sheds must comply with the side, rear, and front setback standards of your parcel's zoning district, and cannot be placed in a required setback area.

Sources & Official References

Other rules in Sonoma County

All Sonoma County rules

How Sonoma County compares: Shed Permit Requirements by City·California rules heatmap·Compare Sonoma County to another location·View the California accessory structures overview

Get notified when Shed & Carport Rules in Sonoma 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.

Shed & Carport Rules in Cities Across Sonoma County