← All Cities

Building Code Quick Reference

San Francisco Building Codes

San Francisco County · San Francisco Planning Code (SFPC)

Everything you need to know about building in San Francisco, California — setback distances, height limits, lot coverage, FAR, parking requirements, and the issues that San Francisco plan checkers flag most often. Use this as a quick reference before designing or submitting plans.

San Francisco at a Glance

40'
Max Height
0'
Front Setback
75%
Max Coverage
0
Parking/Unit

Values shown for the most common residential zone. See full zone table below for all zones.

San Francisco Zoning Requirements

Each zone in San Francisco has different development standards. The table below shows setbacks (the minimum distance your building must be from each property line), maximum height, number of stories, lot coverage percentage, and Floor Area Ratio (FAR) for each residential zone.

Zone Front Side Rear Height Stories Coverage FAR
RH-1 — Residential House, One Family 0' 0' 15' 40' 3 75%
Front setback per block average. Side setback per code sec 134. Rear yard: 25% lot depth or 15', whichever is greater.
RH-2 — Residential House, Two Family 0' 0' 15' 40' 3 75%
Two units permitted. Front/side setbacks per block context.
RH-3 — Residential House, Three Family 0' 0' 15' 40' 3 75%
Three units permitted.

How to Read This Table

  • Front setback — minimum distance from the street-facing property line to your building. Typically the largest setback. Eaves and architectural features may project 2–3' into this area.
  • Side setback — minimum distance from each side property line. May increase for two-story construction in some zones. Corner lots have a "street side" setback that's usually larger.
  • Rear setback — minimum distance from the back property line. ADUs only need 4' under California state law, regardless of what this table shows for primary structures.
  • Height — maximum building height measured from grade. San Francisco may measure from average grade, lowest adjacent grade, or midpoint of the roof — check your specific zone for the measurement method.
  • Coverage — the maximum percentage of your lot that can be covered by buildings. Includes the footprint of all structures — main house, garage, ADU, and covered patios.
  • FAR — Floor Area Ratio. Total floor area of all buildings divided by lot area. A FAR of 0.45 on a 5,000 sqft lot means maximum 2,250 sqft of building. Use our FAR Calculator to check yours.

San Francisco Parking Requirements

Parking is one of the most common plan check flags. San Francisco requires the following parking ratios for residential projects — make sure your site plan accounts for these before submitting.

0
Spaces per Unit

Covered/enclosed required

0
ADU Spaces

Waived near transit

8.5'×18'
Min Stall Size

Standard residential

SF eliminated minimum parking requirements in 2018. Parking is optional but if provided, must meet design standards.

→ Use our Parking Calculator to calculate your exact requirement.

General Building Requirements

Beyond zoning, San Francisco has general building requirements that apply to all residential construction. These are commonly referenced during plan check.

fence height 3 feet front; 6 feet side/rear; 10 feet with permit
historic review Properties in historic districts require additional review
light exposure Rear yard light exposure plane analysis required
seismic Soft story retrofit may be required for 3+ story wood frame

Common San Francisco Plan Check Flags

These are the issues that San Francisco plan reviewers flag most frequently on residential submissions. Addressing these before you submit can save one or more correction cycles (each adding 2–4 weeks to your timeline).

01 Front setback must match block average — not a fixed number
02 Rear yard calculation: 25% of lot depth or 15', whichever greater
03 Light exposure plane analysis missing or incorrect
04 Discretionary review triggered by neighbor notification
05 Missing section 311 notification documentation
06 Building in historic district without preservation review
07 Roof deck privacy screening requirements
08 Missing geotechnical report for hillside lots

Frequently Asked Questions

How do I find my zone in San Francisco? +

Check San Francisco's planning department website for their zoning map, or search your address on our parcel search tool. Your zone code (R1, R2, etc.) determines which row in the table above applies to your property. You can also call San Francisco's planning counter for a quick zoning verification.

How long does plan check take in San Francisco? +

Initial plan review in San Francisco typically takes 4–8 weeks. If corrections are required (which is common), each resubmission adds another 2–4 weeks. Running a pre-submission plan check can eliminate the most common correction items and save one or more review cycles.

Can I build an ADU in San Francisco? +

Yes. Under California state law, San Francisco must approve ADUs that meet state standards — no discretionary review required. Detached ADUs can be up to 1,200 sqft with only 4' rear and side setbacks. Use our San Francisco ADU Eligibility Checker to see what you can build on your lot.

What are the most common reasons plans get rejected in San Francisco? +

The top reasons are setback violations (measuring from the wrong reference point), height calculation errors (using the wrong grade measurement method), lot coverage exceeding the zone limit, insufficient parking, and missing energy code (Title 24) compliance. See the "Common Plan Check Flags" section above for San Francisco-specific issues.

Do these codes apply to all projects in San Francisco? +

The zoning standards above apply to standard residential projects. Specific overlays (historic districts, hillside areas, coastal zones) may have additional restrictions. Commercial and mixed-use zones have different standards. Always verify your specific zone and any applicable overlays with San Francisco's planning department.

Check your San Francisco project before you submit

Enter your project dimensions and we'll compare them against San Francisco's building codes. Catch setback violations, height issues, and parking shortfalls before they become correction letters.

Start San Francisco Plan Check →