City · California

ADU rules in San Francisco

5 sources

These are the primary sources for accessory dwelling unit regulations in San Francisco: the city's own zoning code, planning department pages, and permit guides. Start here before talking to anyone: the rules below are what your permit reviewer will apply.

Rules at a glance

Detached (backyard) ADU
Allowed

State program: detached new-construction ADUs allowed on single-family and multifamily lots (streamlined under Gov. Code 66323/66333 or under Sec. 207.2(d)(4)). Local program: one detached ADU permitted in the required rear yard (min 4 ft side/rear setbacks, max 16 ft height), plus conversions of detached garages and auxiliary structures.

Planning Code Sec. 207.2(c), 207.2(d)(4); Sec. 207.1(c)(5), 207.1(c)(15)
Attached or internal ADU
Allowed

State program allows ADUs attached to or entirely within the proposed or existing primary dwelling, including attached garages and storage areas. Local program allows ADUs within the buildable area of the lot or within the built envelope of the existing building (no vertical additions except seismic-retrofit height increases and corner-lot garage expansions).

Planning Code Sec. 207.2(d)(4); Sec. 207.1(c)(5)
Maximum size
State program: 850 sq ft (1 bedroom or less) / 1,000 sq ft (2+ bedrooms) detached; attached capped at the greater of 50% of the primary dwelling or 850/1,000 sq ft. Local program: no fixed size cap (limited by the lot's buildable area or existing built envelope), except the rear-yard detached ADU is capped at 850/1,000 sq ft

State program height limits: 18 ft detached (plus 2 ft to match the primary roof pitch), 25 ft attached; the city cannot block an 800 sq ft, 16 ft ADU with 4 ft side/rear setbacks. Local-program rear-yard detached ADU is capped at 16 ft.

Planning Code Sec. 207.2(c)(1), 207.2(d), 207.2(d)(5), 207.2(d)(9); Sec. 207.1(c)(5), 207.1(c)(15)
Owner occupancy
Not required

Neither Sec. 207.1 nor Sec. 207.2 imposes any owner-occupancy requirement for ADUs, consistent with the state preemption (Gov. Code 66314-66333, referenced throughout Sec. 207.2). Exception: a junior ADU sharing sanitation facilities with the main home requires owner occupancy per the JADU statute; JADU restrictions are recorded per Gov. Code 66333(c) under Sec. 207.2(h).

Planning Code Sec. 207.1 and 207.2 (no owner-occupancy provision); Sec. 207.2(h)
Extra parking
No; additional parking is not required for an ADU. When a garage, carport, or covered parking structure is demolished or converted to build a state-program ADU, the lost off-street spaces do not have to be replaced

The garage-replacement rule is explicit in the state-program section; the blanket no-additional-parking statement is from the city's official ADU design-standards page.

Planning Code Sec. 207.2(d)(8); SF.gov 'Design an ADU that meets City codes' (Property requirements: Parking)
Approval process
Permitted use

No conditional use authorization in either program; ADUs go through a building permit. State-program ADUs are ministerial: no discretionary review requests accepted, no Planning Commission hearing, and no Sec. 311 neighborhood notification (Sec. 207.2(e)). Local-program ADUs require a Rent Board declaration before application, are exempt from Sec. 311 notification when built entirely within the existing built envelope, and may use Zoning Administrator waivers of density, bicycle parking, rear yard, exposure, and open space standards under Sec. 307(l).

Planning Code Sec. 207.2(e); Sec. 207.1(c)(3), 207.1(c)(5), 207.1(g)
Rental restrictions
Short-term rental of ADUs is flatly prohibited under both programs (no Ch. 41A hosted registration available for ADUs); state-program ADUs may be rented and are subject to the Rent Ordinance (Admin. Code Ch. 37); local-program ADUs on lots with rental units where waivers were granted are placed under rent control by recorded Regulatory Agreement; ADUs generally cannot be sold or financed separately from the lot

STR ban is recorded as a Notice of Special Restriction for local-program ADUs (Sec. 207.1(d)) and stated in Sec. 207.2(f) for state-program ADUs and JADUs. Separate-sale prohibitions carry exceptions for ADUs meeting Gov. Code 66341 or Sec. 207.4 plus Subdivision Code Sec. 1316, and for certain pre-2013 all-condominium buildings. The local-program Regulatory Agreement invokes the Costa-Hawkins exception in Civil Code 1954.52(b) but preserves the owner's right to set the initial rent (Sec. 207.1(h)).

Planning Code Sec. 207.1(d), 207.1(e), 207.1(g), 207.1(h); Sec. 207.2(f), 207.2(g)
The fine print: 7 caveats that can change the picture
  • San Francisco runs two distinct ADU pathways and the tradeoffs differ sharply: the State Mandated Program (Sec. 207.2) is ministerial with hard size caps (850/1,000 sq ft detached), while the Local Program (Sec. 207.1) has no fixed size cap and no unit limit on lots with more than 4 units or seismic retrofits, but adds Rent Board screening, eviction-history bars, and rent-control strings when Code waivers are used.
  • Local Program unit count is lot-dependent: 1 ADU on lots with 4 or fewer existing units (or zoning for 4 or fewer), unlimited ADUs on lots with more than 4 units or undergoing seismic retrofitting, plus one rear-yard detached ADU in addition.
  • Local Program eligibility bars: no ADU approval if a no-fault eviction notice was served within 10 years (owner move-in: 5 years) at the property, and a Rent Board declaration on tenant housing services must be filed and cleared before approval (Sec. 207.1(c)(2)-(c)(4)).
  • Rent control: state-program ADUs are expressly subject to the Rent Ordinance (Ch. 37); local-program ADUs become rent-controlled via recorded Regulatory Agreement whenever the Zoning Administrator grants Code waivers and the lot contains rental units.
  • Local-program ADUs converting existing dwelling space are capped at 25% of ground/basement habitable floor area unless the Zoning Administrator waives the limit (Sec. 207.1(c)(9)).
  • ADUs are barred from eliminating ground-story retail in Neighborhood Commercial, Chinatown Community Business, and Visitor Retail districts (limited child-care-unit exception), and historic properties must meet HPC objective architectural standards.
  • The Planning Code was renumbered by Ord. 62-24 (eff. 4/28/2024): the local program moved from Sec. 207(c)(4) to Sec. 207.1 and the state program from Sec. 207(c)(6) to Sec. 207.2; many older city documents and third-party summaries still cite the old subsection numbers.

Summarized from San Francisco's ordinance text, read July 2026; every row links the code section it came from. Rules often vary by zone and lot, so treat this as orientation, not a permit determination, and confirm with the planning department before you commit to a design.

Compare San Francisco with 12 nearby cities

ADU regulations

Short-term rental rules

Planning to rent your ADU on Airbnb or VRBO? San Francisco regulates short-term rentals separately; check these before counting on nightly rental income.

California statewide law also applies

California sets baseline ADU rights at the state level. Where local rules are stricter than state law allows, state law usually wins, so both are worth reading.

See California statewide rules

Spotted something outdated?

Zoning codes change. If a link is dead or San Francisco has updated its ordinance, report it and we'll verify against the official source.

Report a correction

Ready to build?

Planning an ADU in San Francisco?

Tell us about your project and we'll match you with vetted local designers and builders as we bring them online. No cost, no obligation.