San Francisco Building Code Section 105 requires permits for any retaining wall over 4 feet in height (measured from bottom of footing). Engineered design and structural drawings are required for walls over 4 feet or those supporting a surcharge. Steep SF topography means most lots need walls.
Given San Francisco's famously steep topography, retaining walls are ubiquitous. SF Building Code Section 105.2 exempts retaining walls 4 feet or less (measured from bottom of footing to top) that do not support a surcharge (a road, driveway, building, or slope above) from building permits. Any wall taller than 4 feet, or any wall of any height supporting a surcharge, requires a building permit plus a licensed engineer's structural design stamped to current SF amendments of the CBC. Permits go through the Department of Building Inspection with plan review typical 4-8 weeks. Setback requirements vary by zoning: typically walls must be set back from the property line equal to their height in the front setback area, and may sit on the property line in rear/side yards with neighbor sign-off. Over-height walls may also trigger Planning Department review for visual impact. Geotechnical reports are required for walls over 6 feet or in documented landslide zones. Unpermitted walls that fail create major liability; post-Loma Prieta seismic retrofitting of old masonry walls is common.
Specific penalty amounts for this ordinance are not published in a publicly accessible fine schedule. Contact San Francisco code enforcement directly for current fines, enforcement procedures, and hearing options.
San Francisco, CA
San Francisco regulates noise under Police Code Article 29 (Sections 2900-2920), administered by the Department of Public Health and enforced by SFPD. Quiet ...
San Francisco, CA
San Francisco's Planning Code permits residential lawn ornaments, statuary, and religious or political displays without permit so long as no structure exceed...
San Francisco, CA
San Francisco does not regulate residential inflatable holiday decorations by size or type. Standard Police Code Article 29 noise rules apply to motor blower...
San Francisco, CA
San Francisco has no ordinance restricting when residents may put up or take down holiday lights. Standard rules from Police Code Article 29 (noise) and Plan...
San Francisco, CA
Built-in outdoor kitchens in San Francisco require building permits whenever the project includes new electrical, plumbing, gas piping, or a fixed structure ...
San Francisco, CA
Backyard wood and pellet smokers in San Francisco are allowed at single-family and two-family homes but are governed by Bay Area Air Quality Management Distr...
See how San Francisco's retaining walls rules stack up against other locations.
Help us keep this page accurate. If you notice an error or outdated information, let us know.