Quick answer
A battery energy storage system is a set of rechargeable batteries, an inverter and controls that stores electricity, from the grid or from solar panels, and releases it later to run a home or business, including during outages.
At home it usually means a wall-mounted or floor-standing lithium-ion unit tied into the panel. Codes call it an energy storage system, or ESS, and it must be listed to UL 9540.
Quick facts
The key facts about Battery Energy Storage System, with sources:
- Two size numbers
- Power in kW (how much at once) and energy in kWh (how much in total) 1
- Most common chemistry
- Lithium-ion 1
- Home size limit (2021 IRC R328)
- 20 kWh per unit; 40 kWh total in closets and basements; 80 kWh in garages, on exterior walls or outdoors 3
- Spacing
- At least 3 ft between units unless UL 9540A test data allows less 3
- Solar-plus-storage share
- 37% of new U.S. residential solar systems in 2025, up from 25% in 2024 (Berkeley Lab, via Mercom) 6
Key takeaways
- A home battery is rated two ways: kW for how much it can run at once and kWh for how long.
- It can back up the whole home or a smaller critical loads panel.
- Home units must be listed to UL 9540, and the 2021 IRC caps size by location.
- Paired with solar, it can recharge during a long outage; on its own, it runs until empty.
- Installation is permitted electrical work, often with fire-code review.
What a battery storage system is
The U.S. Department of Energy describes storage as technology that captures electricity, holds it in another form, and releases it when needed 1. A home battery holds that energy as chemistry in lithium-ion cells, the most common type.
Think of the two ratings like a water tank. The kWh number is the size of the tank. The kW number is the width of the pipe out of it.
A large tank with a narrow pipe runs small loads for a long time but cannot start a big pump. A small tank with a wide pipe can start the pump but empties fast.
DOE uses the same split, calling them energy capacity and power capacity 1.
A full system has more than cells. It has a battery management system that watches each cell, an inverter that turns DC into AC, and a gateway or switch that isolates the home from the grid during an outage. Codes call the whole package an energy storage system.
DOE names backup power during disruptions, solar-plus-storage for residential and commercial customers, and microgrids among its uses 1. Some owners also use batteries to shift grid use to cheaper hours where their utility rates allow.
How energy moves through it
- Solar panels or the grid → charge the battery (DC stored in cells)
- Battery → inverter → AC → home panel or a backup loads panel
- Grid fails → gateway opens the grid connection → battery powers the home
- Sun returns → solar inverter recharges the battery during the outage
Types of home storage systems
| Type | How it connects | Best for |
|---|---|---|
| AC-coupled | Battery has its own inverter and ties in on the AC side | Adding storage to existing solar |
| DC-coupled | Shares a hybrid inverter with solar on the DC side | New solar-plus-storage |
| Whole-home backup | Gateway switches the full service | Larger battery banks 5 |
| Partial-home backup | Feeds a backup subpanel of chosen circuits | Smaller systems 5 |
| Standalone (no solar) | Charges from the grid | Backup only; runs until empty |
Example: placing batteries within code limits
The 2021 International Residential Code, Section R328, caps home storage by where it sits. UL summarizes the limits as below 3. Your state may use a different code edition.
| Location | Max per unit | Max total |
|---|---|---|
| Utility closet, basement, storage space | 20 kWh | 40 kWh |
| Attached or detached garage | 20 kWh | 80 kWh |
| Detached accessory structure | 20 kWh | 80 kWh |
| On an exterior wall | 20 kWh | 80 kWh |
| Outdoors on the ground | 20 kWh | 80 kWh |
Larger totals are allowed only where UL 9540A test data supports them 3. Units must be at least 3 ft apart unless test data shows less is safe.
Where you see the term
On a quote, look for two numbers: usable kWh and continuous kW. Also look for the backup layout, whole-home or partial-home, and whether a new subpanel is included.
On your monitoring app, you will see state of charge as a percent, the backup reserve you set, and where power is flowing at that moment: from solar, to the house, into the battery or out to the grid.
On permit drawings, the battery appears with its UL 9540 listing, location, spacing and the disconnect. On a utility application, it appears if the battery can export to the grid.
Benefits and drawbacks
What it does well
- Switches on its own in an outage, with no fuel or exhaust.
- Recharges from solar during long outages.
- Quiet; can sit in a garage or on an outside wall within code limits 3.
- Can shift grid use to cheaper hours where rates allow.
Where a home battery falls short
- kW cap. Too many large motors starting at once can trip the battery’s inverter.
- kWh cap. A fully drained battery without solar cannot recharge until the grid returns.
- Service voltage. Check the spec sheet for supported service voltages before buying, especially in a condo or apartment fed at 208 V.
- Cold and heat. Temperature affects output and life; follow the maker’s placement rules.
What drives the cost
No dollar figures here. These are the drivers; check current incentives for any program that applies to storage.
- Usable kWh. More storage means more modules.
- Continuous kW. Higher output needs larger inverters.
- Backup layout. A critical loads subpanel or whole-home gateway changes labor.
- Panel and service work. Older panels may need an upgrade.
- Permits and fire review. Vary by town.
- Warranty. Read the years and the energy throughput cap in the warranty.
How installation works
A licensed electrician or solar contractor installs a home battery.
- Pick what to back up: whole home or a short list of must-run circuits.
- Size kW and kWh to those loads and the outage length you plan for.
- Choose a location that meets size caps and spacing 3.
- Pull electrical permits; some towns add fire-code review.
- Install, commission and pass inspection; the utility may need to approve export.
Upkeep
- Keep the app or monitor connected so you get alerts.
- Set a backup reserve so there is charge when a storm hits.
- Keep the unit clear of stored items and protected from vehicle impact in garages 4.
- Have the installer check firmware and connections as the maker recommends.
Warning signs
Swelling, hissing, a chemical smell, smoke or heat from a battery cabinet means get everyone out and call 911. Do not try to put out a battery fire yourself.
Fault codes, sudden loss of capacity or a battery that will not charge are reasons to call the installer. Our emergency electrician page covers urgent help.
Codes and standards
| Authority | Rule | What it covers |
|---|---|---|
| ICC | 2021 IRC Section R328 | Listing, spacing and kWh limits for homes 3 |
| NFPA | NFPA 855 (first edition 2020) | Installation of stationary storage; enforceable once adopted 4 |
| UL | UL 9540; UL 9540A test method | System listing; fire-propagation testing, not a certification 4 |
| NFPA 70 (NEC) | 2023 ed., Article 706 | Electrical rules for energy storage systems |
Battery vs generator backup
| Feature | Battery storage | Standby generator | UPS |
|---|---|---|---|
| Fuel | Stored electricity, solar recharge | Natural gas or propane | Small battery |
| Run time | Hours; longer with solar | As long as fuel lasts | Minutes |
| Exhaust | None | Yes | None |
| Typical coverage | Chosen circuits or whole home | Most or all of home | One device |
Myths
- Myth Solar alone keeps my lights on in an outage.
- Reality Grid-tied solar shuts down in an outage unless a battery or backup-capable system is designed in 2.
- Myth Bigger kWh means I can run anything.
- Reality kW limits what runs at once; kWh limits for how long 1.
- Myth Batteries can go anywhere in the house.
- Reality Locations and totals are capped by code 3.
State factors
Which residential code and NEC edition your state adopts sets placement limits. Outage exposure also varies: EIA reported nearly 53 hours without power for South Carolina customers in 2024, against 11 nationally 7.
Is a home battery right for you?
A battery fits homes with solar, frequent short outages, or a need for quiet, exhaust-free backup. For long outages without solar, a generator may carry more.
List your must-run loads, then check panel space with the panel space tool and your total load with the load calculator.
Rule of thumb
Size kW to what must run at the same time and kWh to how long it must run. Then check the location against code limits.
Questions about Battery Energy Storage System
What is a battery energy storage system?
In most garages it is a wall-hung cabinet or a floor-standing stack of modules, wired to the panel through a gateway. Inside are lithium-ion cells, a battery management system and an inverter.
It charges from solar or the grid and powers the house during outages or at times you choose. Home units must be listed to UL 9540.
What is the difference between kW and kWh on a battery?
kW is power: how much the battery can deliver at once, which decides what can run together. kWh is energy: how much it holds in total, which decides how long it runs. DOE uses the same split, calling them power capacity and energy capacity. Check both numbers on any quote.
How big can a home battery system be?
Under the 2021 IRC Section R328, each unit is capped at 20 kWh. Totals are capped at 40 kWh in utility closets, basements and storage spaces, and 80 kWh in garages, accessory structures, on exterior walls or outdoors. Larger totals need UL 9540A test data. Your state may use a different code edition.
Will a home battery power my whole house?
It can, if it is sized for your loads and installed with a whole-home gateway. Many systems instead back up a critical loads panel of must-run circuits like the fridge, lights and internet. Large loads such as central air or an electric range may exceed the battery’s kW rating.
Does solar work during a power outage without a battery?
Usually not. Standard grid-tied inverters shut down when the grid fails, to protect line workers. A battery, or a backup-capable inverter design, lets the system isolate from the grid and keep running. DOE notes solar-plus-battery systems can run without grid support if designed to.
What does UL 9540 mean?
UL 9540 is the safety standard for energy storage systems as a whole. A listed system uses batteries tested to UL 1973 and an inverter tested to UL 1741. UL 9540A is a separate test method for fire propagation that gives data but not a pass or fail mark.
Where can a home battery be installed?
Common spots are garages, exterior walls, utility rooms and outdoor pads, within code limits. The 2021 IRC sets total kWh caps by location and requires 3 feet between units unless test data allows less. In garages, units should be protected from vehicle impact. Follow the maker’s instructions and local code.
How long will a home battery last in an outage?
Divide usable kWh by your average load in kW for a rough answer. Running only the must-run circuits stretches it; running heating or cooling shortens it. With solar, the battery can recharge each sunny day. Storage is never 100% efficient, so plan for some losses.
Do I need a permit to install a home battery?
Yes, in nearly all places. It is permanent electrical work tied into your panel, and many towns also review fire-code placement. The installer pulls the permit, and an inspector checks listing, location, spacing and wiring. If the battery can export, the utility may also need to approve it.
Sources
- U.S. DOE Solar Energy Technologies Office, Solar Integration: Solar Energy and Storage Basics, retrieved .
- U.S. DOE, Solar Integration: Inverters and Grid Services Basics, retrieved .
- UL Code Authorities, 2021 Residential ESS Requirements (IRC R328 and NFPA 855 Ch. 15), Aug 2021, retrieved .
- Solar Power World, Industry safety codes and standards for energy storage systems (Oct 2021), retrieved .
- Enphase, Storage System Owner’s Guide, retrieved .
- Mercom, US Residential Solar-Storage Adoption Jumps to 37% in 2025 (citing Berkeley Lab), retrieved .
- U.S. EIA, Today in Energy: hurricanes in 2024 led to the most hours without power in 10 years, retrieved .
Expert review
Written by the HyreElectrical Research team. Not yet reviewed by an outside expert. We say so rather than imply a review that has not happened; see our editorial policy.
How the numbers were checked: Checked against DOE storage and inverter basics, UL’s 2021 IRC R328 summary, Solar Power World’s standards overview, Enphase’s owner’s guide, Berkeley Lab data via Mercom and EIA outage data on 2026-10-10.
Suggest a correction. We fix errors and say what changed.