Do I Need a Permit for Solar Panels in San Francisco, CA?
San Francisco is paradoxically one of the more challenging cities in this guide for solar installations — not because of permit costs or bureaucracy (though both are real considerations), but because of NEM 3.0. California's Net Energy Metering 3.0 program, which took effect in April 2023 for new PG&E interconnections, dramatically reduced the export credit rate for excess solar generation, fundamentally changing the economics of SF solar installations. Under NEM 3.0, excess generation exported to PG&E earns approximately $0.05 per kWh — compared to the full retail rate of approximately $0.28–$0.35/kWh under previous NEM 2.0 rules. This economic shift has made battery storage paired with solar the dominant approach for new SF solar projects, maximizing the value of self-consumption rather than grid export.
San Francisco solar permit rules — the basics
Both the building permit (structural roof attachment) and the electrical permit (PV system) are filed through permits.sfgov.org or at the DBI Permit Center at 49 South Van Ness Avenue. California requires licensed contractors for all permitted solar work: a California CSLB C-10 Electrical Contractor license for the electrical work, and a general contractor or roofing contractor license for any roof penetration work. California's CSLB license requirements provide meaningful consumer protection — verify your installer's license at cslb.ca.gov before signing any contract. The 2022 California Electrical Code (incorporating 2022 NEC Article 690) requires module-level rapid shutdown for all new rooftop PV systems in SF.
PG&E's NEM 3.0 interconnection process is the post-permit step that activates grid export capability. Under NEM 3.0, new solar customers receive export credits at the "Avoided Cost Calculator" rate — approximately $0.05/kWh — rather than the full retail rate that made NEM 2.0 so financially attractive. The shift to NEM 3.0 fundamentally changes how SF solar systems should be designed and what return on investment homeowners should realistically expect. Under NEM 2.0, a well-sized system that covered all annual consumption and exported significant excess earned credits at the full retail rate, with payback periods of 7–10 years. Under NEM 3.0, the optimized strategy is self-consumption maximization — sizing the system to avoid significant exports by matching battery storage capacity to daily generation and consumption patterns, effectively storing excess daytime generation for evening and night consumption.
Battery storage has become nearly standard with new SF solar installations under NEM 3.0. A Tesla Powerwall (13.5 kWh), Enphase IQ Battery, or SolarEdge home battery paired with a 5–8kW rooftop array enables the homeowner to consume most of their own generation, buying from PG&E primarily during peak rate periods (when grid electricity is most expensive) and exporting very little. The NEM 3.0 export credit is low, but the grid electricity rate is high — the economic value of every kWh self-consumed rather than bought from PG&E is $0.28–$0.35/kWh (the full retail rate avoided), not the $0.05/kWh export credit. Battery storage captures this higher self-consumption value. The ITC (30% federal Investment Tax Credit) also applies to battery storage when co-installed with solar.
San Francisco's housing stock creates several installation access challenges beyond the permit process. Victorian and Edwardian flats are typically multi-unit buildings — in an owner-occupied flat, the solar system serves only the owner's unit, and the building's common electrical areas and roof access require coordination that doesn't arise in single-family homes. HOA and TIC agreements govern roof access, structural modifications, and equipment installation in multi-unit SF buildings. In locally designated historic districts (Alamo Square, Liberty Hill, and many others throughout the city), the SF Historic Preservation Commission reviews rooftop solar installations visible from public rights-of-way on contributing structures.
Why the same solar installation in three San Francisco neighborhoods gets three different outcomes
| Factor | Sunset Single-Family | Noe Valley TIC Victorian | Pacific Heights Landmark |
|---|---|---|---|
| DBI permits (both)? | Yes | Yes + HPC admin | Yes + HPC admin |
| Battery storage? | Yes — NEM 3.0 essential | Yes — NEM 3.0 essential | Yes — NEM 3.0 essential |
| HPC review? | No | Admin (rear roof) | Admin (rear/side only) |
| Building type complication? | None (single-family) | TIC agreement required | Landmark restrictions |
| NEM 3.0 export credits | ~$0.05/kWh | ~$0.05/kWh | ~$0.05/kWh |
| DBI fees | ~$650 | ~$580 | ~$520 + HPC fee |
| Net cost after ITC | $22,400–$30,800 | $18,200–$24,500 | $15,400–$21,000 |
NEM 3.0 and why battery storage changed the SF solar equation
California's Net Energy Metering 3.0 program, which PG&E implemented in April 2023, is the single most significant change to SF solar economics in the last decade. Under NEM 2.0 (which grandfathered systems installed before April 2023 for 20 years), every kWh exported to PG&E earned a retail-rate credit — approximately $0.28–$0.35/kWh at current PG&E rates. For a homeowner who wasn't home during peak solar production hours (10am–2pm on sunny days), this meant that excess generation fed back to PG&E at high value, essentially running the meter backward. Under NEM 3.0, that export credit drops to approximately $0.05/kWh — a 6–7x reduction in the value of exported power.
Battery storage flips this equation. A homeowner with a properly sized battery (Powerwall, Enphase IQ, SolarEdge) stores excess solar generation during the peak production window (10am–2pm) and discharges it during the evening demand period (4pm–10pm) when PG&E rates are highest. Every kWh stored and self-consumed replaces PG&E grid power at the full retail rate ($0.28–$0.35/kWh), not the NEM 3.0 export rate ($0.05/kWh). The incremental value of battery storage relative to a solar-only installation under NEM 3.0 is approximately $0.23–$0.30/kWh for every stored kWh — a compelling economic case in PG&E's high-rate territory. The 30% ITC applies to battery storage co-installed with solar, reducing the effective battery cost by nearly a third.
The implication for system design is clear: SF solar systems installed under NEM 3.0 should be designed around storage capacity, not just panel capacity. A 10kW array without battery storage generates far more midday export than PG&E compensates at NEM 3.0 rates. A 5–6kW array with 13–27 kWh of battery storage (one or two Powerwalls) captures most of its daily generation for self-consumption, dramatically improving financial return. This pairing is reflected in the project costs in this guide's SF solar scenarios — the battery storage adds $8,000–$18,000 to project cost (before the 30% ITC applied to the storage portion), with financial return that justifies the addition under current PG&E rate structures.
What the inspector checks on San Francisco solar installations
DBI building and electrical inspections for residential solar are typically combined into a single final inspection after installation is complete. The building inspector verifies weatherproofing at all roof penetrations — each mounting foot must be properly flashed per the 2022 SFBC. The electrical inspector verifies 2022 NEC Article 690 rapid shutdown compliance (module-level rapid shutdown using microinverters or power optimizers), conduit protection for all DC wiring runs on the roof surface, labeling at the main service panel, inverter mounting and clearances, and that installed equipment matches the permitted specifications. PG&E's interconnection inspection verifies anti-islanding protection and the bidirectional meter installation before Permission to Operate (PTO) is issued.
What solar costs in San Francisco
San Francisco solar costs are among the highest nationally — union labor rates, urban roof access challenges, and the regulatory overhead of the DBI permit process all push costs above national averages. A 5–6kW solar-only system runs $18,000–$28,000 installed. Adding a Powerwall 3 (15 kWh) battery adds approximately $10,000–$15,000. Total solar + storage project costs of $28,000–$45,000 before the 30% ITC are typical. After the ITC, net costs run approximately $19,600–$31,500. Payback under NEM 3.0 self-consumption model typically runs 10–15 years — longer than Austin Energy's full retail net metering but still a positive 25-year financial return in PG&E's high-rate territory.
What happens if you install solar without permits in San Francisco
An unpermitted SF solar installation cannot receive PG&E permission to operate — PG&E's NEM 3.0 interconnection process requires documentation of DBI permits and inspections. Without PTO, the system cannot legally export power. DBI Code Enforcement can require removal of unpermitted rooftop installations. California real estate transfer disclosures require disclosure of known permit violations. Permit fees ($350–$900 across both permits) are trivial relative to any system cost in San Francisco's high-value, high-cost construction market.
Phone: (628) 652-3700 | permits.sfgov.org
PG&E — NEM 3.0 Interconnection
pge.com → Solar & Renewables → Interconnection
SF Historic Preservation Commission (via SF Planning)
Phone: (628) 652-7600 | For solar on contributing structures in SF historic districts
Common questions about San Francisco solar panel permits
How many DBI permits does an SF solar installation require?
Two: a building permit for the structural roof attachment and an electrical permit for the PV system. Both filed through permits.sfgov.org by licensed California contractors (C-10 electrical, CSLB-licensed general contractor). DBI review: 4–10+ weeks. PG&E NEM 3.0 interconnection approval (PTO) follows DBI inspections, typically 4–6 additional weeks. Total permit fees: approximately $350–$900. Total timeline from application to PTO: typically 3–5 months.
What is PG&E NEM 3.0 and how does it affect SF solar economics?
PG&E's NEM 3.0 (effective April 2023) pays approximately $0.05/kWh for excess solar generation exported to the grid — down from the $0.28–$0.35/kWh retail rate under NEM 2.0. The shift makes battery storage economically essential for new SF solar installations: stored solar power self-consumed at home avoids buying PG&E electricity at the full retail rate, which is 6–7x more valuable than the export credit. Battery-paired solar under NEM 3.0 has payback periods of 10–15 years in SF; solar-only systems without storage have substantially longer payback.
Does my SF Victorian require HPC review before solar installation?
If your property is a contributing structure in a locally designated SF historic district, a Category A or B landmark, or a historic resource, rooftop solar visible from the public right-of-way requires a Certificate of Appropriateness from the SF Historic Preservation Commission. Rear-roof or other installations not visible from any public street or alley typically qualify for administrative HPC approval (3–4 weeks). Contact SF Planning Historic Preservation at (628) 652-7600 before designing a system for any potentially historic property — the HPC clearance must precede the DBI permit application.
Can I install solar on a San Francisco multi-unit TIC or flat?
Technically yes — a solar system serving an individual unit in a TIC or flat building is feasible, but requires authorization from co-owners (per the TIC agreement) for the structural roof modification and equipment installation. The solar system can only legally serve the unit whose electrical system the inverter is connected to; in a two-unit flat, the system serves one unit's panel, not the entire building. The permitting process is the same (building and electrical permits through DBI), but the TIC/HOA authorization is a prerequisite that must be resolved before installation can begin.
Does California's solar sales tax exemption apply in San Francisco?
California does not have a general solar sales tax exemption equivalent to Indiana's IC §6-2.5-5-27. California's sales tax exemption for manufacturing and agricultural solar equipment does not apply to residential installations. However, the 30% federal Investment Tax Credit (ITC) applies to all residential solar and battery storage installations in San Francisco through 2032 — a direct 30% reduction in federal tax liability for the full installed cost (labor + equipment). California does offer a property tax exclusion for solar installations (Revenue & Taxation Code §73), preventing a solar installation from increasing the homeowner's property tax assessment.
How long does the full SF solar permit and activation process take?
Typically 3–6 months: DBI permits 4–10 weeks; installation 2–3 days; DBI inspections 1–2 weeks; PG&E NEM 3.0 interconnection 4–6 weeks. Historic district HPC cases add 3–8+ weeks before DBI permit can be filed. Multi-unit TIC authorization negotiations can add additional time before the installer can even begin the permit application. Starting in fall or winter may help with installer availability, though DBI and PG&E queue times are less seasonal than solar demand.