San Francisco · Building on your lot
Building on your lot in San Francisco
San Francisco sets its own limits on fences, structures in required yards and home businesses. Limits depend on whether a fence or structure sits in a front setback, a side or rear yard, or usable open space.
Key points
- Fence height: Fences: at most 3 feet in required front setbacks, 6 feet in usable open space, 10 feet in required side and rear yards.
- 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.
- Home businesses: A home business may use at most 1/3 of the home's floor area, with at most 2 non-resident workers, not counting domestic workers.
Each rule below is marked San Francisco code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Fences and walls
| Front yard height |
|
|---|---|
| Side and rear yard height |
|
Sheds, garages and other accessory structures
San Francisco code Detached structures in required side and rear yards: at most 10 feet high and 120 square feet combined, without sleeping quarters or full kitchens.
All 5 San Francisco rules on sheds, garages and other accessory structures, with the code text →
Running a business from home
San Francisco code A home business may use at most 1/3 of the home's floor area, with at most 2 non-resident workers, not counting domestic workers.
All 6 San Francisco rules on running a business from home, with the code text →
Family child care homes
| Zoning | A small or large family child care home is a residential use and a use by right under all local ordinances, including zoning |
|---|---|
| Business license or fee | A city or county may not charge a business license, fee or tax to run a family child care home |
| Local rules | Local limits on height, setbacks, lot size, health and safety must be the same as for every other home in the same zone |
| Small home | Up to eight children, counting the provider's own children under 10 who live there |
| Large home | 7 to 14 children, counting the provider's own children under 10 who live there |
Other San Francisco rules on this
San Francisco's code also has these chapters. We have not summarized their values on this page yet; read them in the library.
- Permits for solar energy systems (§ 106A.1.15)
- Building in a flood-prone area (§ 2A.283)
- Residential child care impact fee (§ 414A.3)
Who this affects
Frequently asked questions
How tall can a fence be in San Francisco?
Fences: at most 3 feet in required front setbacks, 6 feet in usable open space, 10 feet in required side and rear yards.
Can I run a family child care home in San Francisco?
California law sets this for every city, including San Francisco: Zoning: A small or large family child care home is a residential use and a use by right under all local ordinances, including zoning (Health & Safety Code § 1597.45(a)); Business license or fee: A city or county may not charge a business license, fee or tax to run a family child care home (Health & Safety Code § 1597.45(b)); Local rules: Local limits on height, setbacks, lot size, health and safety must be the same as for every other home in the same zone (Health & Safety Code § 1597.45(e)); Small home: Up to eight children, counting the provider's own children under 10 who live there (Health & Safety Code § 1596.78(c)); Large home: 7 to 14 children, counting the provider's own children under 10 who live there (Health & Safety Code § 1596.78(b)).
General information, not legal advice.
AI-assisted research · Source checks recorded
San Francisco: Building and ADUs
Before selecting design standards or a permit path. Start with a question, collect the records, and follow the cited law.
City and County of San Francisco. Source checks do not establish a property-specific outcome. Open questions appear in each verification record.
Five questions for this work
- Which San Francisco ADU program should be evaluated for this project?Research pending
- What records matter when converting San Francisco basement space into an ADU?Research pending
- How do ADU options differ for existing and proposed multifamily buildings?Research pending
- What must be verified before proposing a separate sale of a San Francisco ADU?Research pending
- What historic resource checks are needed for a San Francisco ADU?Research pending
SF-B01 · Research pending
Which San Francisco ADU program should be evaluated for this project?
For Architect · Builder · Inspector. Evidence research and an answer draft are still needed.
SF-B02 · Research pending
What records matter when converting San Francisco basement space into an ADU?
For Architect · Builder · Inspector. Evidence research and an answer draft are still needed.
SF-B03 · Research pending
How do ADU options differ for existing and proposed multifamily buildings?
For Architect · Builder · Inspector. Evidence research and an answer draft are still needed.
SF-B04 · Research pending
What must be verified before proposing a separate sale of a San Francisco ADU?
For Architect · Builder · Inspector. Evidence research and an answer draft are still needed.
SF-B05 · Research pending
What historic resource checks are needed for a San Francisco ADU?
For Architect · Builder · Inspector. Evidence research and an answer draft are still needed.
Ask about a specific San Francisco property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question