What building code does San Francisco, CA use?

San Francisco, CA currently enforces the 2025 San Francisco Building Code (2025 California Building Code, Title 24 Part 2, based on 2024 IBC). San Francisco enforces the state-adopted code. The 2025 California Building Standards Code (Title 24) took effect statewide 2026-01-01 and SF DBI requires permits filed on or after that date to use the 2025 California Codes with the 2025 San Francisco Code Amendments; note the SF Fire Department's prevention page still posts the 2022 SF Fire Code as its latest download, but the newer DBI and CBSC sources confirm the 2025 cycle is in force.

Adopted codes

ScopeCodeEdition
BuildingSan Francisco Building Code (2025 California Building Code, Title 24 Part 2, based on 2024 IBC) (with local amendments)2025
ResidentialCalifornia Residential Code (Title 24 Part 2.5), administered with SF Building Code amendments (with local amendments)2025
FireSan Francisco Fire Code (2025 California Fire Code, Title 24 Part 9) (with local amendments)2025
MechanicalSan Francisco Mechanical Code (2025 California Mechanical Code, Title 24 Part 4, UMC-based) (with local amendments)2025
PlumbingSan Francisco Plumbing Code (2025 California Plumbing Code, Title 24 Part 5, UPC-based) (with local amendments)2025
ElectricalNational Electrical Code (NFPA 70), via 2025 California Electrical Code with SF Electrical Code amendments (with local amendments)2023
EnergyCalifornia Energy Code (Title 24 Part 6)2025
OtherSan Francisco Existing Building Code (2025 California Existing Building Code, Title 24 Part 10) (with local amendments)2025

Current adoptions effective 2026-01-01.

Permits: San Francisco permitting office

Get this data as JSON

curl https://codes.submittal.app/api/v1/cities/san-francisco.json

Confidence: high · Verified against official sources:

Part of the open building-codes dataset (CC BY 4.0). See also: California statewide adoptions.