Can I Build Shed in San Francisco, CA? (2026)
Find out if you can build a shed in San Francisco, CA. Rules, permit requirements, costs, and next steps.
You can build a shed in San Francisco, CA. Whether a permit is required depends on whether you need a permit.
Sheds and storage buildings in San Francisco, CA govern accessory storage structures. The San Francisco Department of Building Inspection (DBI) enforces building permit requirements for shed projects. The key factor determining whether you need a permit is whether you need a permit.
Shed Rules in San Francisco
Shed Rules in San Francisco: Permit required: Conditional. When permit is required: Permit not required for structures under 100 sqft with no utilities; SF threshold is lower than state standard. SF DBI permit required for accessory structures over 100 sqft or with any utilities. Rear yard open space requirements (per Planning Code) may limit shed placement. SF Planning Code Section 136.
Costs & Fees
Shed permit fees in San Francisco: $200–$600 depending on size.
Timeline
2-4 weeks
Next Steps
Next steps for building a shed in San Francisco: 1. Verify whether your project meets the permit threshold. 2. If a permit is required, contact the San Francisco Department of Building Inspection (DBI) at (415) 558-6088 or https://sfdbi.org/. 3. Submit plans and pay applicable fees. 4. Schedule required inspections through the San Francisco Department of Building Inspection (DBI).
San Francisco Department of Building Inspection (DBI)
Frequently Asked Questions
Can I build an ADU (in-law unit) in San Francisco?
What are San Francisco's Airbnb rules?
Short-term rentals in SF require a Certificate of Registration from the Office of Short-Term Rentals ($450/year). Your unit must be your primary residence — you must live there at least 275 days per year. Whole-home (unhosted) rentals are capped at 90 nights per year. Hosted rentals (you're present) have no night cap. Penalties for non-compliance are $484 per day. Register at ostr.sfgov.org.
What zoning system does San Francisco use?
San Francisco uses its Planning Code (not Municipal Code) for zoning. Residential zones are RH (House) and RM (Mixed Residential) — ranging from RH-1 (single-family) to RM-4 (high-density apartments). Neighborhood Commercial Transit (NCT) zones allow retail below residential. The Planning Code emphasizes rear yard preservation — the typical requirement is 25% of lot depth or 15 ft minimum for rear yards in most residential zones.
Do I need a permit to run a business from my home in San Francisco?
Yes. A Home Occupation Permit ($148 fee) is required for any business operated from a residence in San Francisco. Restrictions apply: no clients visiting, no non-resident employees, no external signs, and business use must be secondary to residential use. Violations can result in code enforcement action.
What are the front yard setback requirements in San Francisco?
In RH-1 (single-family) zones, the standard front setback is 15 feet from the front property line. However, SF Planning Code requires that new construction match the prevailing setback of the block face — if neighboring homes have deeper setbacks, yours must match. Side yards are typically 0 feet in SF's characteristic attached rowhouse pattern. Rear yards must be at least 25% of lot depth (minimum 15 ft).
Are solar panels required on new homes in San Francisco?
Yes. California's Title 24 Energy Code (effective 2020 for single-family) requires solar PV on all new low-rise residential construction. San Francisco also adopted its own solar mandate for commercial buildings in 2016. Properties in SF historic districts need Planning Department approval for solar panels visible from the street, but this cannot be denied for code-compliant systems.
How do I find the zoning for my San Francisco property?
Use the SF Planning Department's online map at sfplanning.org/zoning-map. Enter your address to find your parcel's zone designation, height/bulk district, and any overlay districts. You can also look up whether your property is in a historic district or on the list of individually designated landmarks.
Source: San Francisco Department of Building Inspection (DBI) — Building Regulations. Last verified April 5, 2026. View source