Alameda County, CA Accessory Structures: Shed & Carport Rules (2026)
Shed permit rules in Alameda 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
- Min. building separation
- 6 feet from other buildings
- Max height
- 15 feet, one story
- Rear-yard coverage cap
- 30 percent (§ 17.52.320)
- Governs
- Unincorporated Alameda County only
Summary
In unincorporated Alameda County's R districts, a detached shed or accessory building must sit at least six feet from any other building, stay one story, and stay under fifteen feet tall under the county zoning code.
Every accessory building attached to a main building shall be subject to all the requirements of this title applicable to the main building. No detached accessory building in an R district shall be located within six feet of any other building on the same lot, or have more than one story or a height in excess of fifteen (15) feet.
Full Breakdown
Alameda County Code Section 17.52.260 governs accessory buildings, sheds, detached garages and similar structures, in the county's R districts, covering unincorporated communities like Castro Valley and San Lorenzo. A detached accessory building cannot sit within six feet of any other building on the lot, cannot exceed one story, and cannot exceed fifteen feet in height. Related sections add more limits: Section 17.52.270 bars accessory buildings from the front half of the lot, Section 17.52.280 sets a separate corner-lot rule, and Section 17.52.320 caps rear-yard coverage at thirty percent. None of this reaches Oakland, Berkeley or the county's other incorporated cities.
Violations & Fines
An oversized, too-close or misplaced shed is a zoning violation; the county can order it removed, relocated or reduced in size and cite the property owner under the code's enforcement chapter.
Frequently Asked Questions
How close can a shed be to my house in unincorporated Alameda County?
How tall can a shed be?
Sources & Official References
Other rules in Alameda County
How Alameda County compares: Shed Permit Requirements by City·California rules heatmap·Compare Alameda County to another location·View the California accessory structures overview
See something wrong?
Help us keep this page accurate. If you notice an error or outdated information, let us know.