San Francisco · Building on your lot
Sheds, garages and other accessory structures in San Francisco
Detached structures in required side and rear yards: at most 10 feet high and 120 square feet combined, without sleeping quarters or full kitchens.
Key points
- Yard structures: Detached structures in required side and rear yards: at most 10 feet high and 120 square feet combined, without sleeping quarters or full kitchens.
Each rule below links to the section of the San Francisco Planning Code it was read from, with the code text one click away (checked October 2026). General information, not legal advice.
What San Francisco's code says
| Maximum height |
|
|---|---|
| Size or lot coverage |
|
| Side and rear setback |
|
Who this affects
HomeownersContractorsDesigners
Frequently asked questions
How big can a shed or accessory building be in San Francisco?
Detached structures in required side and rear yards: at most 10 feet high and 120 square feet combined, without sleeping quarters or full kitchens.
General information, not legal advice.
Ask about a specific San Francisco property
Ask GoCodebook how San Francisco's sheds, garages and other accessory structures rules apply to your situation and get an answer that cites the section.
Ask your question