Skip to content
SetbackIQ

Do you need a permit for a solar installation in San Francisco, CA?

It depends on the details of your project.

Small rooftop systems need only an electrical permit, unless the building is a landmark or historic resource.

Licensed contractors can get an instant permit through SolarAPP+ for one- and two-family homes.

Ground-mounted and ballasted systems must go through the PV plans review.

A person last checked these rules on October 22, 2026. This is guidance only, so confirm with San Francisco before you build.

Check your exact lot

Your zoning district sets the setbacks, and a flood zone can change the permit answer. Enter your address to see both.

What are you building?

Permits a solar installation can need in San Francisco

PermitWhen it applies
Electrical permitSan Francisco requires an electrical permit for every solar PV system, through SolarAPP+, the online solar permit, or PV plans.
Building permitThe building-permit exemption covers only small rooftop systems on buildings that are not landmarks or historic resources. Ground-mounted and canopy arrays are treated as needing one too.Medium confidence

Local details

  • Online solar permits and SolarAPP+ cover batteries of 20 kWh or less. Larger batteries, and ground-mounted or ballasted arrays, need PV plans reviewed by DBI.
  • Call 811 at least a few days before you dig footings or post holes. Utility locating is free.
  • HOA covenants and deed restrictions can be stricter than city rules. Check yours before you build.

How to apply

Common questions

When does a solar installation need a building permit in San Francisco?
The building-permit exemption covers only small rooftop systems on buildings that are not landmarks or historic resources. Ground-mounted and canopy arrays are treated as needing one too. A small rooftop system on a building that is not a landmark or historic resource needs no building permit.
Where do I apply for a solar installation permit in San Francisco?
Apply through Check if your project needs a permit (sf.gov), or call (628) 652-3200.

Sources

  1. sf.gov, Get a permit for a solar photovoltaic system. Checked 2026-10-22
    Some solar projects require an electrical permit and building permit while other projects can obtain an electrical permit using SolarAPP+, applying for an online solar permit or by submitting solar PV plans to the Department of Building Inspection (DBI)... …
  2. sf.gov, Check if your construction project needs a permit (other items). Checked 2026-10-22
    Retaining walls that are not over 4 feet (1219 mm) in height measured from the bottom of the footing to the top of the wall, unless supporting a surcharge or impounding Class I, II or III-A liquids... Platforms, sidewalks, walks and driveways when not part …
  3. San Francisco Building Code (2019 edition, archived on American Legal), Section 106A.2 Work exempt from permit. Checked 2026-10-22
    Fences not over 6 feet (1829 mm) high located at the rear and side lot lines at the rear of the property, and all fences not over 3 feet... One-story detached accessory buildings or structures used as tool and storage sheds, playhouses and similar uses, pro…