📰 Renewable Energy NewsRE News
☀️ Detecting your location… Sunrise Solar Noon Sunset Daylight Peak Sun 8kW Today $ Value Now

Indoor Battery Storage Code Compliance (NFPA 855, IRC R328) — 2026

Where can you put a 13.5 kWh Powerwall in your house? What are the actual kWh limits per location? Does it need sprinklers? This page is the plain-English walkthrough of NFPA 855, IRC R328, UL 9540, and UL 9540A as they apply to residential battery storage in 2026.

Home / Advanced Topics / Indoor Battery Code

What's actually in NFPA 855 (the indoor battery code)

NFPA 855 "Standard for the Installation of Stationary Energy Storage Systems" is the master safety code for residential and commercial battery storage in the US. Adopted (or referenced) by most state and local building/fire codes since 2020. The 2023 edition is the current revision.

Residential indoor battery limits (NFPA 855 + IRC R328)

LocationMax EnergyNotes
Garage (attached or detached)40 kWhSingle most common location. Listed UL 9540 systems only.
Utility closet, storage/utility space40 kWhCloset must be separated by approved wall/ceiling assembly.
Basement (finished or unfinished)40 kWhCommon in cold climates where outdoor install impractical.
Outdoor wall-mount80 kWh (no aggregate limit on most setups)Setback to property line varies by AHJ (3-5 ft typical).
Bedroom, living room, kitchen, diningNOT ALLOWEDNo batteries in habitable spaces.
Sleeping room of detached one/two-family dwellingsNOT ALLOWEDPer NFPA 855 9.4 / IRC R328.6.
AtticGenerally NOT ALLOWEDMost AHJs prohibit due to thermal/fire access concerns.

Required separation between battery units

Required clearances

Required protections

UL 9540 vs UL 9540A — what's the difference?

Permit / inspection process for indoor batteries

  1. Building permit + electrical permit. Both usually required.
  2. Plan review. AHJ checks: location compliance, setback to doors/windows, kWh limits, listed UL 9540 product, UL 9540A test report.
  3. Rough-in inspection (mid-install). Wiring, conduit, mechanical mounting before drywall closes up.
  4. Final inspection. Battery installed, signs posted, smoke detector verified, disconnect labeled.
  5. Fire department review. Some AHJs require fire marshal sign-off on plans for >20 kWh installations.

What changes between residential and commercial

State/local variations to know

Frequently asked questions

Can I put a Powerwall in my bedroom closet?

No. NFPA 855 / IRC R328 prohibit batteries in any sleeping room or in closets that open directly into one. Wall-mount in garage, basement, utility closet, or outdoor.

How do I check if my battery is UL 9540 listed?

Look for the UL mark + "9540" on the product nameplate. The manufacturer's spec sheet should also list "UL 9540 listed" and reference the UL 9540A test report ID.

What about a Tesla Powerwall mounted on my exterior garage wall?

Generally fine if 3 ft from doors/windows and 5 ft from gas meter / propane line. Most installers handle this without variance. Tesla Powerwall 3 is UL 9540 listed and UL 9540A tested.

Can I have 80 kWh of indoor battery (4 Powerwalls)?

40 kWh per location is the residential indoor cap. Beyond 40 kWh you need to spread across multiple separate locations (e.g., 40 in basement + 40 in garage), or move to outdoor wall-mount which has higher limits.

What about LiFePO4 vs NMC batteries — same rules?

Same NFPA 855 rules apply, but LiFePO4 (LFP) chemistry is less prone to thermal runaway. Most major residential batteries (Powerwall 3, Enphase 5P, FranklinWH, Tesla, EG4) are now LFP. NMC chemistry is less common and has the same code-compliance requirements but slightly more energetic failure mode.