The verdict, in one paragraph
If you mean a hardwired whole-home battery, the honest answer is that it does not go in living space. UL publishes a marking — "Suitable for Use in Residential Dwelling Units Where Permitted" — for systems meeting the UL 9540A cell-level requirements, and UL also states that it has not yet found any lithium-ion ESS that meets those cell-level requirements. Proposed instructions limit indoor residential systems to garages, sheds, enclosed utility closets, basements and storage or utility spaces, with habitable spaces prohibited. If you mean a portable LFP power station, it is a different product class — certified to UL 2743 rather than UL 9540 — and it is routinely used indoors, which is why the practical answer for most households is a plug-in unit rather than a wall-mounted one.
Two product classes, two sets of rules
Almost every confused answer to this question comes from collapsing two different things into one:
| Stationary residential ESS | Portable power station |
|---|
| Listing standard | ANSI/CAN/UL 9540 | UL 2743 |
|---|
| Capacity ceiling in the standard | 20 kWh per individual unit | UL 2743 limits aggregate lithium-ion to 20 kWh |
|---|
| How it connects | Hardwired, permit, inspection | Plugged in |
|---|
| Location rules apply? | Yes - aggregate limits by room type | Not as a portable unit; NFPA 855 scope covers portable ESS installed in a stationary situation |
|---|
| Typical examples | Tesla Powerwall 3, wall-mounted home ESS | BLUETTI Elite series, EcoFlow DELTA, Anker SOLIX F-series |
|---|
From UL's published code-authority guidance, cited under Sources. UL notes separately that combining independently certified products in the field does not create a certified (Listed) system — relevant to anyone assembling a battery, an inverter and a transfer switch from different makers.
Where a hardwired battery may go, and how much
The residential figures published in UL's code-authority guidance, which track IRC Section R328 and NFPA 855 Chapter 15:
| Location | Aggregate limit |
|---|
| Attached or detached garage | 80 kWh |
|---|
| Detached accessory structure | 80 kWh |
|---|
| Exterior wall | 80 kWh |
|---|
| Outdoors, on the ground | 80 kWh |
|---|
| Enclosed utility closet, basement, storage or utility space | 40 kWh |
|---|
| Sleeping room, or a closet opening into one | Prohibited |
|---|
| Habitable or living space | Prohibited, except where cells pass the UL 9540A cell-level test |
|---|
Individual units are capped at 20 kWh, and units must be separated by at least 3 feet unless a UL 9540A test report documents a smaller distance. Larger ratings are also possible where a UL 9540A report supports them. Local adoption varies — confirm with your authority having jurisdiction before relying on any of it.
One more published requirement that catches people in unfinished basements and garages: UL states that unfinished wood-framed walls and ceilings must be covered with no less than 5/8-inch Type X gypsum wallboard. That is a real line item in an installation quote, not a formality.
Why LiFePO4 is the chemistry people ask for
The question almost always arrives as "LiFePO4 for indoor safety," and the instinct is sound even though the codes do not make the distinction:
- Thermal stability. LFP is markedly more stable than the nickel-based chemistries the category used to ship, which is the whole reason it took over.
- Cycle life. BLUETTI publishes 6,000+ cycles on current LFP models and 6,000 to 80% on the Apex 300; EcoFlow publishes 4,000 to 80% on the DELTA Pro 3. Those numbers simply did not exist on NMC units.
- Behavior at full charge. LFP tolerates sitting near full far better, which is exactly how a backup battery lives.
But note what the codes do and do not say: the kWh limits, the location rules and the separation distances do not vary by chemistry. They are written for lithium- ion energy storage as a class. Buying LFP is a good engineering decision and it does not unlock a location that would otherwise be prohibited. LiFePO4 versus lithium-ion covers the chemistry comparison in full.
What this means for a real household
- You want backup in a bedroom, office or living room: a portable LFP station. It is the only option that is both legal and sensible, and it is what the overwhelming majority of people actually buy.
- You want whole-home coverage: plan on the garage, an exterior wall, or outdoors. That is where the 80 kWh tier sits and where installers put these systems.
- Your only candidate space is an interior utility closet: the aggregate ceiling halves to 40 kWh, and the 5/8-inch Type X gypsum requirement is likely to apply.
- You are assembling components yourself: read UL's line again — combining independently certified products in the field does not create a certified system. All-in-one systems versus components covers what that costs you.
- You are in a townhouse or an HOA: the siting options narrow considerably — battery backup for an HOA townhouse works through it.
The short version
A hardwired whole-home battery goes in the garage, on an exterior wall, in a basement or utility space, or outdoors — not in living space, and not in or beside a bedroom. LiFePO4 is the right chemistry and it does not change any of those rules, because the codes are written for lithium-ion as a class. UL's own statement that no lithium-ion ESS has yet met the cell-level test for dwelling units is the clearest line anyone has published on this. For backup inside the rooms you actually occupy, the answer is a portable LFP station, which is a different product class under a different standard — and check your local authority before relying on any figure here.