Buildings ยท Analysis
A home battery permit in San Francisco, start to finish
What it takes to get a lithium battery approved on an attached home, and the fire-code questions that decide where it can sit. The process is lighter than it was, but not automatic.
I. How the permit actually moves
Say you own a home in the Mission or out in the Sunset, and the installer who just quoted you rooftop panels adds a line for a battery. Call it roughly thirteen kilowatt-hours of lithium storage, about the size of a Tesla Powerwall, bolted to the garage wall under the bedrooms. The quote mentions a city permit and a fire inspection, and the first honest question is whether this is routine paperwork or a months-long fight.
It is closer to routine than it was five years ago, and the reason is part state law and part a quiet rewrite of the fire code. A 2022 California law (Senate Bill 379) pushed larger cities to stand up an online automated permitting platform for residential solar and storage, with deadlines that landed for big jurisdictions around late 2023. San Francisco runs the simple, code-compliant cases through that kind of streamlined path, and the harder cases still go to a plan check at the Department of Building Inspection, with the Fire Department weighing in on where the battery is allowed to live.
A standard job needs both an electrical permit and, in most cases, a building permit; a listed system within the size limits can move quickly, sometimes issued the same day the application clears. Step outside the standard box, which means an oversized bank, an odd location, or a product without the right listing, and the file lands in plan review where a human reads it. That is where weeks, not days, come from, so ask your installer up front which track your system is on.
II. The fire-code questions for an attached home
The lithium questions are the ones that decide where the battery can go, and they come from the California Fire Code and the California Residential Code, which San Francisco adopts with local amendments. The code wants residential storage listed to UL 9540, the safety standard for the whole system, and it leans on UL 9540A, a test that measures thermal runaway, the chain reaction where one overheating cell cooks its neighbors until the unit catches fire. At last code adoption, the indoor limit sat around twenty kilowatt-hours per unit and roughly forty kilowatt-hours total, which is why most single-battery homes clear it without drama.
Placement is the part homeowners underestimate. The rules push batteries toward a garage, an exterior wall, or a utility space rather than a bedroom or a main exit path, and they ask for separation from doors, windows, and the gas meter, plus smoke detection nearby. In an attached San Francisco home, where the garage sits directly under living space and lots are narrow, those few feet of required clearance can be the whole design problem, so the Fire Department's sign-off is less a rubber stamp than a real check on the spot you picked.
III. The honest math on time and money
On cost, the program to know is the Self-Generation Incentive Program, the state rebate for home batteries that the utilities administer; in Pacific Gas and Electric territory, which includes San Francisco, that is PG&E. General rebates have been modest and often oversubscribed, while the equity and resiliency tiers, aimed at lower-income customers and those in high fire-threat or medical-baseline situations, pay substantially more. Treat any per-kilowatt-hour figure you hear as a moving target and check the current program page before you count on it.
On time, a clean permit for a listed, standard-size system can be a matter of days to a couple of weeks, inspection included, while a plan-review file runs longer and depends on backlog. Interconnection is a separate step: PG&E has to approve the battery to operate alongside the grid under its net billing tariff, and that approval can arrive after the city has already signed off, so the system may sit idle for a stretch. None of these clocks are guaranteed, and holiday weeks and staffing both move them.
IV. Worth watching this month
1. Watch the Self-Generation Incentive Program pages at the CPUC and PG&E for whether equity and resiliency rebate budgets are open or waitlisted, since that status changes and decides what help is actually available.
2. Watch San Francisco's Department of Building Inspection for updates to its online solar-and-storage permitting path, a routine but useful thing to confirm before you apply.
3. Watch the state code cycle, since California's updated building and fire codes took effect at the start of 2026 and local amendments can shift storage limits and placement rules; this one actually matters for new installs.
4. Watch PG&E interconnection timelines, a quieter item that still determines when your approved battery can legally run.
5. Watch CleanPowerSF and SFPUC notices for any storage or electrification incentives layered on top of the state rebate, which come and go.
Frequently asked questions
Do I need a permit at all for a home battery?
Yes. San Francisco requires an electrical permit and, in most cases, a building permit, and the Fire Department reviews the installation. A reputable installer pulls these for you and schedules the inspection.
Can the battery go inside my garage?
Often yes, within the code's size limits and placement rules. The battery generally has to keep clearance from doors, windows, and exits, which in a narrow attached home can be the hardest part of the design.
How long does approval take?
A listed, standard-size system on the streamlined path can be days to a couple of weeks including inspection. Anything that triggers plan review, like an oversized bank or an unusual location, runs longer and depends on the current backlog.
Is there money to help pay for it?
The state's Self-Generation Incentive Program offers rebates, administered here by PG&E, with the largest amounts reserved for equity and resiliency customers. Budgets open and close, so confirm the current status before you rely on a number.
References
- San Francisco Department of Building Inspection (city .gov), The city department that issues building and electrical permits; start here for the local solar-and-storage permitting path and inspection scheduling., www.sf.gov/departments/department-building-inspection.
- SolarAPP+ (U.S. Department of Energy / NREL, .gov), The federal automated permit-review platform many California cities use for residential solar and storage; shows how the instant-review track works., solarapp.nrel.gov.
- CPUC Self-Generation Incentive Program (state .gov), The regulator's page for the battery rebate program, including the equity and resiliency tiers and current budget status., www.cpuc.ca.gov/sgip.
- California Energy Commission (state .gov), State agency overseeing building energy standards and solar-plus-storage policy; useful for the code and program context behind permitting., www.energy.ca.gov.
- California Office of the State Fire Marshal (state .gov), The office behind the California Fire Code, including the energy storage provisions and the UL 9540 and 9540A listing and test requirements., osfm.fire.ca.gov.
- PG&E solar and battery interconnection (utility), The utility's page on connecting rooftop solar and batteries to the grid, including the net billing tariff and interconnection steps., www.pge.com/en/clean-energy/solar.html.