San Francisco, CA Accessory Structures: Shed & Carport Rules (2026)
Shed permit rules in San Francisco, 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
- Permit-exempt size
- Up to 120 sq ft
- Structure type
- One-story detached accessory
- Other rules
- May still apply (Sec. 710A)
- Over threshold
- Building permit required
Summary
A one-story detached shed or similar accessory structure up to 120 square feet does not need a building permit in San Francisco, though the structure can still be regulated under Section 710A.
A building permit shall not be required for the following: ... 1. One-story detached accessory buildings or structures used as tool and storage sheds, playhouses, and similar uses, provided the floor area does not exceed 120 square feet (11.15 m2). It is permissible that these structures still be regulated by Section 710A, despite exemption from permit.
Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: 2026 S-96: Codes: last updated to include changes made by legislation through Ordinance 133-26, File No. 260686, approved July 23, 2026, effective August 23, 2026).
Full Breakdown
Building Code Section 106A.2(1) exempts one-story detached accessory buildings or structures used as tool and storage sheds, playhouses, and similar uses from the building permit requirement, provided the floor area does not exceed 120 square feet. The exemption doesn't waive other rules: the code notes these structures may still be regulated under Section 710A despite being exempt from permit, and separate plumbing, electrical, or mechanical permits can still apply if that work is involved.
Violations & Fines
Building a shed or accessory structure over the 120-square-foot threshold without a building permit is unpermitted construction, subject to Department of Building Inspection notices of violation, stop-work orders, and after-the-fact permit penalties.
Frequently Asked Questions
Do I need a permit for a backyard shed in San Francisco?
Can I build a shed of any size without a permit?
Sources & Official References
Other rules in San Francisco
How San Francisco compares: Shed Permit Requirements by City·California rules heatmap·Compare San Francisco 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.