Skip to main content
CityRuleLookup

Santa Clara 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 Santa Clara 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

Max height
12 ft, one story
Ridge cap with gable roof
16 feet
Rear-yard coverage cap
30 percent
Dwelling separation
at least 6 feet

Summary

In unincorporated Santa Clara County, detached accessory buildings in urban residential zoning districts are capped at 12 feet in height and one story, and must sit in the rear yard or a rear setback area.

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

Detached accessory buildings in all R1, R1E, RHS, R1S, R3S, R2 districts, and A1 districts within urban service areas are subject to all of the following regulations:1.Height shall not exceed 12 feet and is limited to no more than one story... In no case may the ridge height exceed 16 feet...5.Rear yard coverage of detached accessory buildings shall not cumulatively exceed 30 percent.

Source: Santa Clara County Zoning Ordinance Sec. 4.20.020 Accessory Buildings (Municode)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 65).

Full Breakdown

Zoning Ordinance Section 4.20.020(D) limits detached accessory buildings in R1, R1E, RHS, R1S, R3S, R2, and urban-service-area A1 districts to 12 feet in height (16 feet at the ridge with a gable or hip roof), one story, and placement in the rear half of the lot or at least 75 feet from the front property line. Side and rear setbacks follow the California Building Code's fire-separation distance, dwellings must sit at least six feet away, and rear-yard coverage from accessory buildings cannot exceed 30 percent. Rural-zoned lots get taller allowances under subsection (E).

Violations & Fines

A shed or accessory building that exceeds these height, placement, or coverage limits is a zoning violation the County can require the owner to modify or remove through code enforcement.

Frequently Asked Questions

How close to my property line can a shed go?
Side and rear setbacks follow the California Building Code's fire-separation distance, not a fixed number: confirm the distance with the Building Official for your structure.
Do rural parcels get taller sheds?
Yes. Lots in A, AR, HS, RR, and RS districts of 2.5 acres or more can go up to 35 feet, versus 12 feet in urban residential districts.

Sources & Official References

Other rules in Santa Clara County

All Santa Clara County rules

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

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

Shed & Carport Rules in Cities Across Santa Clara County