Skip to content

City and County of San Francisco

San Francisco, a consolidated city and county, adopts the 2025 California codes with local amendments through ordinances of the Board of Supervisors after hearings by the Building Inspection Commission: the San Francisco Building Code (the California Building Code and California Residential Code together), Electrical, Mechanical, Plumbing, Green Building and Existing Building Codes, and its own Housing Code. All were operative January 1, 2026, with no grace period for permit applications filed on or after that date. The Department of Building Inspection (DBI) issues permits; the Fire Department enforces the San Francisco Fire Code.

14 codes are in force here, 12 of them checked at the source, and this page was last updated November 19, 2026.

Codes in force

Building2025 San Francisco Building Code (Ordinance 231-25, File 250960)

Applies toAll buildings in the city. The San Francisco Building Code consists of the 2025 California Building Code and the 2025 California Residential Code with San Francisco's local amendments, which were re-enacted with findings of local climatic, geological and topographical conditions.

Based on, and how far it reachesIBC, 2024 edition.The city adopts it itself.

Local changesExisting local amendments re-enacted for the 2025 codes and expressly made applicable to them; the 2022 San Francisco Building Code (enacted November 10, 2022) was repealed. DBI publishes the full set of 2025 San Francisco Building Code amendments.

NextThe 2028 edition San Francisco Building Code. The city re-enacts its amendments with each triennial edition; the 2028 state edition takes effect January 1, 2029.

Adopted byBoard of Supervisors adopts on the Building Inspection Commission's recommendation; Department of Building Inspection enforces.In force since January 1, 2026.

Houses2025 San Francisco Building Code, California Residential Code portion (Ordinance 231-25)

Applies toOne- and two-family dwellings and townhouses, regulated through the San Francisco Building Code, which incorporates the 2025 California Residential Code with local amendments.

Based on, and how far it reachesIRC, 2024 edition.The city adopts it itself.

Local changesLocal residential amendments are limited to those carried forward from amendments in effect on September 30, 2025 (AB 130).

Adopted byBoard of Supervisors; Department of Building Inspection.In force since January 1, 2026.

Existing buildings2025 San Francisco Existing Building Code (Ordinance 230-25, File 250959)

Applies toRepairs, alterations, additions and changes of occupancy in existing buildings: the 2025 California Existing Building Code as amended by San Francisco.

Based on, and how far it reachesIEBC, 2024 edition.The city adopts it itself.

Local changesExisting local amendments re-enacted.

Adopted byBoard of Supervisors; Department of Building Inspection.In force since January 1, 2026.

Energy, houses2025 California Energy Code (Title 24, Part 6) as enforced by DBI, homes

Applies toNew homes, additions and alterations; DBI lists the 2025 California Energy Code among the codes in force.

Based on, and how far it reachesThe state's own code, 2025.A state minimum that the city may add to.

Local changesLocal energy-related amendments sit in the San Francisco Green Building Code, which was enacted with findings under the Public Resources Code.

Adopted byCalifornia Energy Commission; Department of Building Inspection enforces.In force since January 1, 2026.

Energy, other buildings2025 California Energy Code (Title 24, Part 6) as enforced by DBI, other buildings

Applies toNew nonresidential and multifamily buildings and alterations.

Based on, and how far it reachesThe state's own code, 2025.A state minimum that the city may add to.

Local changesSee the Green Building Code entry.

Adopted byCalifornia Energy Commission; Department of Building Inspection enforces.In force since January 1, 2026.

Green building and stretch codes2025 San Francisco Green Building Code (Ordinance 229-25, File 250958)

Applies toGreen building requirements for new construction and major alterations: the 2025 CALGreen as amended by San Francisco.

Based on, and how far it reachesThe state's own code, 2025.The city adopts it itself.

Local changesLocal amendments re-enacted with findings of local conditions and findings under the Public Resources Code (energy amendments need a new cost-effectiveness study); amended in committee on October 27, 2025.

Adopted byBoard of Supervisors; Department of Building Inspection.In force since January 1, 2026.

Fire2025 San Francisco Fire Code

Applies toFire prevention, fire protection systems and fire permits in the city: the 2025 California Fire Code with San Francisco amendments, effective January 1, 2026.

Based on, and how far it reachesIFC, 2024 edition.The city adopts it itself.

Local changesSection 1103.5.4 requires automatic sprinklers in existing residential high-rises with an occupied floor more than 120 feet above the lowest fire department access, and in those with occupied floors between 75 and 120 feet that lack two fire-rated interior exit stairways or a compliant fire alarm and smoke detection system; the 2025 code replaced the earlier schedule (permit applications by January 1, 2027, risers by January 1, 2031) with January 1, 2032 for permit applications and January 1, 2035 for completion.

Adopted byBoard of Supervisors; San Francisco Fire Department, Bureau of Fire Prevention.In force since January 1, 2026.

Electrical2025 San Francisco Electrical Code (Ordinance 228-25, File 250957)

Applies toElectrical installations in the city: the 2025 California Electrical Code as amended by San Francisco.

Based on, and how far it reachesNFPA 70, 2023 edition.The city adopts it itself.

Local changesExisting local amendments re-enacted; the 2022 San Francisco Electrical Code was repealed.

Adopted byBoard of Supervisors; Department of Building Inspection.In force since January 1, 2026.

Mechanical2025 San Francisco Mechanical Code (Ordinance 227-25, File 250956)

Applies toMechanical systems in the city: the 2025 California Mechanical Code as amended by San Francisco.

Based on, and how far it reachesUMC, 2024 edition.The city adopts it itself.

Local changesExisting local amendments re-enacted.

Adopted byBoard of Supervisors; Department of Building Inspection.In force since January 1, 2026.

Plumbing2025 San Francisco Plumbing Code (Ordinance 226-25, File 250955)

Applies toPlumbing systems in the city: the 2025 California Plumbing Code as amended by San Francisco.

Based on, and how far it reachesUPC, 2024 edition.The city adopts it itself.

Local changesExisting local amendments re-enacted.

Adopted byBoard of Supervisors; Department of Building Inspection.In force since January 1, 2026.

Property maintenanceSan Francisco Housing Code (updated by Ordinance 232-25, File 250975)

Applies toSan Francisco's own standards for existing residential buildings; the 2025 update refreshed its references to the 2025 building inspection codes, operative January 1, 2026.

Based on, and how far it reachesThe city's own law, 2025.The city adopts it itself.

Adopted byBoard of Supervisors; Department of Building Inspection.In force since January 1, 2026.

AccessibilityCBC Chapters 11A and 11B through the 2025 San Francisco Building Code

Applies toState accessibility rules for housing and public accommodations; the federal ADA applies separately.

Based on, and how far it reachesThe state's own code, 2025.A state minimum that the city may add to.

Local changesLocal accessibility amendments not confirmed.

Adopted byDepartment of Building Inspection.In force since January 1, 2026.

Sprinkler rules for housesResidential sprinklers under the California Residential Code (Section R309) as adopted in the San Francisco Building Code

Applies toNew one- and two-family dwellings and townhouses need automatic residential sprinklers under the state code; any San Francisco amendment to this section is not confirmed.

Based on, and how far it reachesIRC, 2024 edition.A state minimum that the city may add to.

Adopted byDepartment of Building Inspection and San Francisco Fire Department.In force since January 1, 2026.

Elevators and escalatorsState Elevator Safety Orders (Title 8) apply in San Francisco

Applies toElevators follow the Cal/OSHA Elevator Safety Orders (Group 4, ASME A17.1-2004 for contracts signed on or after May 1, 2008); no separate city elevator program was found.

Based on, and how far it reachesASME A17.1, 2004 edition.A state code that applies in the city as written.

Adopted byCal/OSHA Elevator Unit.In force since May 1, 2008.

Not yet checked at the source

Who designs, seals and builds

Architect
State law applies (see CA): unlicensed persons may design only woodframe single-family dwellings up to two stories and a basement, woodframe buildings of up to four units per lot within the same limits, appurtenant garages, woodframe agricultural buildings and nonstructural interior work.Business and Professions Code 5537, 5538, 6737.1Checked at the source
Engineer
State law applies (see CA): structural engineers may design any building; civil engineers any building except public schools and hospitals; engineering is required for parts of exempt houses that depart from conventional woodframe construction.Business and Professions Code 6731, 6735, 6736, 6737.1Checked at the source
Contractor
Contractors are licensed by the state Contractors State License Board (see CA).Business and Professions Code 7000 and followingChecked at the source

Design loads and hazards

Wind
ASCE 7-22 through the CBC; no hurricane or special wind region.
Snow
No ground snow load.
Seismic
High seismic hazard between the San Andreas and Hayward faults (Seismic Design Category D or E); parts of the city lie in state Seismic Hazard Zones for liquefaction and landslides that require site investigations.
Frost depth
Not a design factor.
Flood
Local floodplain management under the NFIP; bay shoreline and sea level rise are planning issues.
Other hazards
Tsunami hazard areas along the ocean and bay shores are mapped by the California Geological Survey.

Permits

Who issues them
The Department of Building Inspection issues building, electrical, plumbing and mechanical permits; the Planning Department reviews zoning; the Fire Department reviews fire systems and issues fire permits. Public schools (DSA) and hospitals (HCAI) are reviewed by the state.
Review time limits
State limits apply (see CA): AB 2234 deadlines for housing postentitlement permits.
Private review
AB 253 (2025) applies statewide to residential building permits; DBI's own options are not confirmed.
Not yet checked at the source

Where to read the codes, and who to ask

Not found yet

  • The adopting ordinance number and date for the 2025 San Francisco Fire Code (reported as File 251247) were not confirmed.
  • A proposed ordinance requiring buildings undergoing major renovations to remain or become all-electric (File 250702) is known only as a draft; its status is not confirmed.
  • San Francisco's local amendments (administrative bulletins, seismic retrofit programs, residential sprinklers, any wildland-urban interface areas) are not confirmed in detail.
  • DBI plan review timelines and any third-party review program are not confirmed.