San Francisco Department of Building Inspection: Permits and Codes
The San Francisco Department of Building Inspection (DBI) administers the permit and code enforcement system that governs construction, alteration, and demolition activity across all properties in the City and County of San Francisco. The department enforces four primary codes — Building, Electrical, Plumbing, and Mechanical — as locally amended versions of California's statewide model codes. Understanding DBI's authority, permit categories, and code structure is essential for property owners, contractors, architects, and tenants navigating any construction project in the city.
Definition and scope
The San Francisco Department of Building Inspection is a city department established under the San Francisco City Charter and the Administrative Code. Its mandate covers the issuance of construction permits, inspection of work in progress, investigation of code violations, and enforcement action against unsafe or unpermitted structures. DBI operates under the authority of the Building Inspection Commission, a seven-member body that sets policy and hears appeals from departmental decisions.
The technical standards DBI enforces derive from California's Title 24 of the California Code of Regulations — the California Building Standards Code — which consolidates the Building, Electrical, Plumbing, Mechanical, Fire, and Energy codes. San Francisco adopts these statewide standards with local amendments, published as the San Francisco Building Code (San Francisco Municipal Code, Article 1 of the Building Code) and its companion codes. Local amendments address seismic hazard conditions unique to the Bay Area, as well as housing density, historic preservation, and accessibility requirements that exceed the state baseline.
Scope boundaries and coverage limitations: DBI's jurisdiction is confined to properties within the geographic limits of the City and County of San Francisco. It does not apply to unincorporated county areas (San Francisco has no unincorporated territory), state-owned facilities regulated directly by the California Department of General Services, or federally owned properties such as Treasure Island during periods of federal jurisdiction. Work on structures regulated by the Bay Conservation and Development Commission (BCDC) along the waterfront — including San Francisco Port Authority properties — involves parallel review outside DBI's sole authority. Projects requiring environmental review under the California Environmental Quality Act (CEQA) are coordinated with the San Francisco Planning Department, which holds separate and distinct land-use authority.
How it works
The permit process follows a structured sequence from application to final inspection:
- Pre-application review — Applicants may request a pre-application meeting with DBI plan checkers for complex projects. Projects in certain zoning districts first require Planning Department approval before DBI will accept a building permit application.
- Application submittal — Applications are filed through DBI's online portal (SF DBI's Permit Tracking System) or at the Permit Center at 49 South Van Ness Avenue. Residential projects of limited scope may qualify for over-the-counter (OTC) approval, while larger projects enter full plan check.
- Plan review — Plans are reviewed for compliance with all four technical codes. DBI coordinates with the Fire Department, Planning Department, and Department of Public Health on larger projects. State law under California Business and Professions Code Section 6738 requires that most structural drawings be stamped by a licensed California engineer or architect.
- Permit issuance — Fees are assessed based on the valuation of construction or a flat schedule depending on permit type. The permit must be posted at the job site before work begins.
- Inspections — The permit card specifies required inspection stages (foundation, framing, rough mechanical/electrical/plumbing, insulation, and final). All required inspections must pass before a final sign-off.
- Final sign-off and Certificate of Final Completion — Issued when all inspections are approved. For change-of-occupancy projects, a Certificate of Occupancy is required before the space may be legally occupied.
Two primary permit tracks govern most residential work: Over-the-Counter (OTC) permits, which cover straightforward repairs, like-for-like replacements, and minor alterations, are typically issued same-day; full-plan-check permits apply to additions, changes of occupancy, new construction, and work that affects structural, fire-rated, or accessibility elements, and require review periods that vary by project complexity.
Common scenarios
Building permits in San Francisco are required — and commonly obtained — across a range of project types:
- Soft-story retrofit — Buildings with wood-frame ground floors and open parking were subject to a mandatory seismic retrofit program under San Francisco Administrative Code Chapter 34B. Owners of buildings meeting the criteria were required to complete retrofit work on a phased schedule established by DBI.
- Accessory Dwelling Units (ADUs) — San Francisco's ADU ordinance, shaped by state law under California Government Code Sections 65852.1 and 65852.2, requires a building permit for any new or legalized ADU. DBI processes these alongside Planning Department clearance.
- Tenant improvement in commercial space — Any reconfiguration of interior partitions, change in occupancy classification, or installation of new mechanical systems in a commercial building requires a permit and plan check.
- Unpermitted construction legalization — Property owners seeking to legalize existing unpermitted work file a permit to legalize, which triggers inspections and may require the work to be brought into current code compliance.
- Demolition — Full demolition of any structure requires a separate demolition permit and, for residential buildings, advance coordination with the Planning Department under San Francisco's residential demolition controls.
Decision boundaries
Understanding when a permit is required versus when work is exempt prevents costly enforcement actions. California Health and Safety Code Section 17920.3 defines substandard conditions, and DBI uses that framework alongside local code to distinguish between exempt maintenance and permit-required work.
Permit required:
- Any structural alteration, addition, or new construction
- Changes to building systems (electrical panels, plumbing drain lines, HVAC replacement with new equipment)
- Change of occupancy or use
- Installation of solar panels, which require a building permit and, for systems above a threshold voltage, an electrical permit
Generally exempt (ordinary maintenance and repair):
- Like-for-like replacement of finish materials (flooring, paint, tile) with no structural or system changes
- Repair of existing plumbing fixtures without rerouting pipes
- Replacement of windows with same-size units in single-family dwellings, subject to energy code requirements
The distinction between "repair" and "alteration" is a frequent source of dispute. DBI's interpretation is guided by the California Building Code definition in Title 24, Part 2, Section 202, which defines "alteration" as any change, addition, or modification in construction or occupancy. When scope of work crosses from repair to alteration — for example, replacing rotted sill plates rather than patching them — a permit is required regardless of the project's small scale.
DBI code enforcement operates separately from the permit process. Complaints about unsafe conditions, illegal construction, or substandard housing trigger an inspection under the Housing Inspection Services division. Confirmed violations result in a Notice of Violation (NOV), which carries a compliance deadline and, if unresolved, can escalate to administrative penalties under San Francisco Administrative Code Chapter 1B. Owners who fail to abate violations may face referral to the San Francisco City Attorney for civil enforcement.
For property owners navigating the broader range of city government services connected to a construction or development project, the main site index provides an orientation to the full set of San Francisco civic departments and their respective functions. Projects that involve zoning changes, conditional use authorizations, or environmental review also intersect with the San Francisco Planning Department and the policy framework described in the San Francisco General Plan.
References
- San Francisco Department of Building Inspection — Official Site
- California Department of Housing and Community Development — Title 24 Building Standards
- California Building Standards Commission — Title 24, California Code of Regulations
- San Francisco Municipal Code — Building Code (Article 1)
- California Government Code §§ 65852.1–65852.2 — Accessory Dwelling Units
- California Health and Safety Code § 17920.3 — Substandard Buildings
- California Business and Professions Code § 6738 — Licensed Engineer/Architect Requirements
- San Francisco Building Inspection Commission