Utility asset POC · Permit lookup

Do I Need a Permit to Build a Fence in San Francisco, CA?

One page for the exact homeowner question: permit requirement, expected fees, required documents, process, timeline, code basis, and official San Francisco links.

Last verified: 2026-04-18 Official sources linked below

Check your fence details

Client-side only. No runtime backend required.

Estimated city fees

Baseline for a simple permitted fence: $350–$950 estimated combined fees (plan check + permit) when an SF fence building permit is required; standard fences within the 3 ft front / 8 ft rear limits that comply with SF Planning Code Section 261 are typically permit-exempt from DBI

Fee Amount Notes
DBI plan check fee (when permit required) $200–$600 (estimated) SF DBI fees are based on project valuation. Permitted fences — typically masonry walls, tall structural fences, pool barriers, or hillside structures — generate fees in this range. Verify current amounts at sf.gov/information/building-permit-fees.
Building permit / issuance fee $150–$350 (estimated) Paid after plan check approval. Combined plan check plus permit for a permitted fence typically runs $350–$950.
State SMIP surcharge 0.013% of permit valuation California Strong Motion Instrumentation Program surcharge applies to all California building permits, collected by DBI.
Planning Department clearance Varies ($0–$300) Over-the-counter Planning clearances for standard fence projects are typically low-cost or free. Formal discretionary review or historic district review fees are higher.

Required documents

  • SF DBI permit application submitted through the DBI Online Permit Application (OPA) portal at aca-prod.accela.com/SFDBI or in person at 49 South Van Ness Avenue.
  • Scaled site plan showing property lines, easements, right-of-way, existing structures, and the proposed fence location, total length, and height.
  • Elevation drawings showing fence height, material, post spacing, gate locations, and whether the fence is solid or open-type.
  • Structural footing and post-embedment details for fences exceeding 8 feet, masonry walls, or pool-barrier enclosures showing CBC SDC D seismic compliance.
  • Seismic load calculations or structural engineering report for masonry walls, retaining walls, or fences exceeding 8 feet demonstrating CBC seismic lateral load path.
  • Soils or geotechnical report for hillside lots, properties in a mapped landslide zone, or properties where SFBC Appendix R (Hillside Construction) is triggered.
  • SF Planning Department clearance confirming the fence height and placement comply with Planning Code Section 261 for the applicable residential district.
  • Historic Preservation Commission Certificate of Appropriateness or Categorical Exemption if the property is on the SF Historic Resource Inventory or in a designated historic district.
  • Pool barrier gate and enclosure details including hardware specifications meeting CBC Section 3109 for any fence enclosing a pool or spa.

Typical timing

Plan review
10–20 business days (standard); same-day or next-day OTC for qualifying simple fence projects
Total cycle
3–7 weeks from application to final inspection for permitted fences

Hillside projects, soils report requirements, historic preservation review, and Planning clearance for non-standard designs add time. Standard side-yard wood or vinyl fences within the 8 ft limit can proceed after confirming Planning Code compliance with no DBI permit required.

Need a contractor?

Contextual referral placement for Angi / HomeAdvisor style contractor matching.

Get Free Quotes from Licensed San Francisco Fence Contractors

How the permit process works

  1. Check SF Planning Code Section 261 height limits for your yard location Identify whether the fence will be in a required front yard or a side/rear yard. Under Planning Code Section 261, front-yard solid fences are typically capped at 3 feet (open-type at 4 feet) in most residential districts. Side and rear fences up to 8 feet generally comply without a DBI building permit — but Planning Code limits still apply. Use the SF Property Information Map at sfplanninggis.org to find your parcel's zoning district, historic resource status, and any Special Use District overlays.
  2. Screen for hillside, geologic hazard, and historic overlays Check the SF Seismic Hazard Zones map and DBI's hillside construction resources to determine if your lot is in a landslide zone or subject to SFBC Appendix R. If so, a soils report and geotechnical review are required. For properties on the SF Historic Resource Inventory or in a historic district, contact the SF Planning Department's Historic Preservation staff at sfplanning.org before designing the fence — they can advise whether a Certificate of Appropriateness is required.
  3. Obtain SF Planning Department clearance For fences exceeding standard Section 261 height limits, or for properties in Special Use Districts with additional design standards, contact the SF Planning Department for over-the-counter clearance or formal review. Planning clearance is required before DBI will issue a building permit for non-standard fence heights or designs.
  4. Prepare plans and structural details for permitted fences For permitted fences, prepare a site plan and elevation. Masonry walls and structural fences over 8 feet need CBC SDC D seismic calculations — footing reinforcement, post embedment, and lateral load path. Pool barrier designs must meet CBC Section 3109 specifications. Hillside sites should engage a geotechnical engineer early.
  5. Submit through the DBI OPA portal or at 49 South Van Ness Apply at aca-prod.accela.com/SFDBI or in person at DBI, 49 South Van Ness Avenue. Simple fence projects that qualify for over-the-counter approval can often receive same-day or next-day issuance at the permit counter. Standard applications are reviewed through DBI's electronic plan check queue.
  6. Clear plan check corrections and pay fees DBI plan checkers review setbacks, structural design, seismic compliance, and Planning Code clearance. Correction notices are issued through the OPA portal; revise and resubmit. After approval, pay the permit and issuance fees.
  7. Complete required inspections Schedule inspections through the DBI inspection system. Typical fence inspections include a post-footing inspection before concrete pour and a final inspection. Pool barrier enclosures require a final inspection before the pool area is used.

What San Francisco reviews against

SF Planning Code Section 261 (fence height limits in residential districts — front, side, and rear yard location rules); 2022 California Building Code (CBC) / California Residential Code (CRC) Title 24 as amended by the San Francisco Building Code (SFBC), including CBC Section 3109 and the SF Swimming Pool ordinance for pool barriers; SFBC Appendix R (Hillside Construction) for hillside lots.

What can go wrong

  • SF DBI can issue a stop-work order and require removal or correction of unpermitted fence construction, even after the fence is complete.
  • Front-yard fences exceeding the 3-foot Planning Code limit without approval can trigger a Planning Code enforcement action requiring redesign or removal.
  • Pool barriers that do not comply with CBC Section 3109 create a life-safety violation — noncompliant pool enclosures can delay pool use and create serious liability exposure.
  • Historic preservation enforcement in San Francisco is separate from building-code enforcement; violations can require restoration of original conditions at the owner's expense.
  • Hillside fences built without required geotechnical review create slope-stability risk that goes unverified without DBI oversight.
  • California real estate law requires disclosure of unpermitted improvements. Unpermitted masonry walls or structural fences can complicate property sales or refinancing.

What you’ll need for the project

Contextual Amazon-style tools and materials block for fence projects.

Shop Fence Materials & Tools

Common San Francisco fence permit questions

Do I need a permit to build a fence in San Francisco, CA?

It depends on height, location, and your lot's overlay designations. Under SF Planning Code Section 261, solid fences in required front yards are generally limited to 3 feet without special review; side and rear fences up to 8 feet typically do not require a DBI building permit. Taller fences, masonry walls, pool barrier fences, and fences on hillside lots or in historic districts require a DBI permit and/or Planning Department clearance.

What is the maximum fence height in San Francisco without a permit?

Under SF Planning Code Section 261, the general limits in most residential (RH) districts are 3 feet for solid fences in the required front yard (4 feet for open-type like picket or lattice) and up to 8 feet in side and rear yards. Exceeding these heights requires DBI review, and front-yard fences over the Planning Code limit require Planning Department clearance before DBI will issue a permit.

Does my SF hillside lot affect fence permitting?

Yes. Hillside properties in San Francisco are subject to SFBC Appendix R (Hillside Construction). Fences on slopes, near retaining walls, or in mapped landslide hazard zones may require a soils or geotechnical report and DBI review regardless of fence height. Check your property's hazard zone status using the SF Property Information Map at sfplanninggis.org before installing a fence on a hillside lot.

What are the pool fence requirements in San Francisco?

Pool and spa barrier fences in San Francisco must comply with California Building Code (CBC) Section 3109 and the SF Swimming Pool ordinance. The barrier must be at least 60 inches (5 feet) high, have limited openings, and include self-closing, self-latching gates with the latch on the pool side. A DBI building permit is always required for pool barrier fencing.

Does my SF property's historic status affect my fence permit?

Yes. Properties on the SF Historic Resource Inventory or within a designated historic district require review by the SF Historic Preservation Commission (HPC) before installing a fence visible from a public right-of-way. Contact the SF Planning Department's Historic Preservation staff at sfplanning.org to determine whether a Certificate of Appropriateness or Categorical Exemption is needed.

How much does an SF fence permit cost?

For a fence requiring DBI review, expect roughly $350–$950 in combined plan check and permit fees depending on scope and project valuation. Standard side-yard fences within the Planning Code height limits are typically permit-exempt and incur no DBI fee. Verify current fee amounts at sf.gov/information/building-permit-fees.

Official links and freshness

More permits for San Francisco, CA

Other free homeowner tools

Disclaimer: This page is informational, not legal advice. Permit rules, fees, and processes change. Verify your project with San Francisco permitting staff before building.