Home Battery Installation Requirements: kWh Limits by Room
A battery quote prices a box. The permit decides whether that box may live where the drawing shows it, and those two documents are produced by different people who never speak to each other.
Mine put the battery on the garage wall in a rendering. No dimension from the door, no note of which code edition the drawing had been checked against, and no mention of the second unit the sizing conversation had already assumed. The rendering was not wrong, exactly. It had simply never been checked against anything.
The section that does the checking is short. In the model code it runs about a page, it is numbered R328, and it contains four numbers that can move your battery outdoors, add drywall to your basement, or turn two units into one. Worth reading before the deposit clears rather than after, because the cheapest time to move a battery is while it is still a rectangle on a PDF.
The rule book your city enforces is older than the one being sold
Two document families govern residential storage, and both are moving targets.
The first is the model building code. Section R328 of the International Residential Code covers energy storage systems in one- and two-family dwellings. The second is NFPA 855, Standard for the Installation of Stationary Energy Storage Systems. On NFPA's own document page the current edition is listed as 2026, with 2023 and 2020 as prior editions and one errata on the list — 855-26-1, referencing Table 9.7.6, issued 13 October 2025 (NFPA 855 document page, read 8 September 2026). NFPA does offer free online reading of its standards, though as California's Building Standards Commission notes on its own codes page, "NFPA requires creation of a user login to view its free online resources."
Here is the part that matters more than either edition number: a standard is not law until a jurisdiction adopts it, and adoption runs years behind publication. The 2026 edition of NFPA 855 exists. The three jurisdictions quoted below are working from documents dated 2021, 2022 and 2024, and one of those is what your plan checker will hold you to.
Watch how differently three states hold the same section.
Washington writes its amendments straight into administrative rule. WAC 51-51-0328 rewrites R328.2 to read "ESS shall be listed and labeled for residential use in accordance with UL 9540," keeps three exceptions including battery systems integral to an electric vehicle where the installation complies with NFPA 70 Section 625.48, and adds a commissioning section the model code does not have — including R328.12.1, which makes a builder transfer the commissioning paperwork to the buyer at closing. The history note on that rule reads "effective 3/15/24" (WAC 51-51-0328, read 8 September 2026).
California rewrites the numbers instead. Its Office of the State Fire Marshal proposed, in the 2022 intervening cycle, to strike the model code's four-item list of aggregate limits and replace it with a table. The express terms document shows the strikeout and the new Table R328.5 side by side, with the stated rationale that "it was not the intent to limit installations to one location on the property, or to limit to only 80 kWh for all ESS installed on the property" (California OSFM express terms addendum, SFM 03/22, read 8 September 2026). And the whole California set has turned over since: the Building Standards Commission's codes page says the 2025 Title 24 "will be published July 1, 2025, with an effective date of January 1, 2026" — a date now behind us, which is how a 2024-dated city handout can already be quoting the previous edition (CBSC, California Building Standards Code, read 8 September 2026).
Maine's town of Topsham does what most jurisdictions do — publishes a handout reproducing the model text with commentary so applicants can read it without buying a code book (Topsham TIP 26, Energy Storage Systems (IRC 2021), read 8 September 2026). The model-code quotations below come from that handout.
So the first question for your permit office is not about your battery at all. It is: which edition of the residential code do you enforce, and where are the state amendments published? One phone call, and the answer decides which of the numbers below are yours.
Twenty kilowatt-hours per box, then a separate ceiling for each room
The model text of R328.5 is four lines long:
Individual ESS units shall have a maximum rating of 20 kWh. The aggregate rating of the ESS shall not exceed: 1. 40 kWh within utility closets, basements and storage or utility spaces. 2. 80 kWh in attached or detached garages and detached accessory structures. 3. 80 kWh on exterior walls. 4. 80 kWh outdoors on the ground.
ESS installations exceeding the permitted individual or aggregate ratings shall be installed in accordance with Section 1207 of the International Fire Code.
Run your own sizing number into that. A 13.5 kWh product clears the 20 kWh per-unit cap comfortably; two of them come to 27 kWh, still inside the 40 kWh basement ceiling. The third one puts the bank at 40.5 kWh — half a kilowatt-hour over — and the section stops covering the installation. Not the third unit. All of it, because the ceiling counts the aggregate in that space. The last line of R328.5 is the one people skip: anything over the limit goes to Section 1207 of the International Fire Code, which is written for commercial installations and is not a route a residential plan check is set up to walk. The answer that comes back is relocate or reduce. With 5.0 kWh modules the same wall holds exactly eight and stops.
That is the arithmetic nobody does during the sizing conversation, and it is the reason to do the sizing and the location on the same afternoon. If your interval data says 18 kWh, the room question never bites. If it says 45, the room question has already made the decision for you.
One caution about which kWh you are counting. R328.5 caps the rating. Product pages lead with usable energy, which is the smaller number, and the figure a plan checker counts is the one carried on the listing and the nameplate. The two are routinely a page apart — headline on the marketing sheet, rating in a specifications table or a footnote. Pull the specification sheet rather than the product page, find the line that says rated or nominal, and multiply that one.
California's replacement table shows how much room a state can add without touching the per-unit cap. As adopted, and reproduced in full on the City of Beverly Hills plan-check correction list — a checkbox form carrying no date on its face, though the PDF itself was created 20 May 2025 — Table R328.5 reads:
| Location | Maximum aggregate (kWh) | Condition |
|---|---|---|
| Utility closets, basements, storage or utility spaces within dwellings | 40 | — |
| Attached garages | 80 | — |
| On or within 3 ft of exterior walls of dwellings and attached garages | 100 | — |
| Same | 200 | Exterior walls and eaves built with noncombustible surfaces |
| Detached garages and detached accessory structures | 200 | — |
| Same | 600 | Structure at least 10 ft from property lines and dwellings |
| Outdoors on the ground | 200 | At least 3 ft from property lines and dwellings |
| Outdoors on the ground | 600 | At least 10 ft from property lines and dwellings |
Total aggregate on the property is capped at 600 kWh, and footnote a to the table is specific about how far "noncombustible" has to reach: that surface has to extend at least 5 feet horizontally from the edge of the unit, 1 foot below its bottom edge, and 8 feet above it or up to a noncombustible eave, whichever is less (City of Beverly Hills, CRC R328 ESS correction list, read 8 September 2026).
Read that table as a price list rather than a rule list. Ten feet of clearance is worth 400 kWh of headroom. Noncombustible cladding on one wall is worth 100. Those are trades a homeowner can actually make, and they stay invisible if the only line you ever see says batteries: 2.
Four legal addresses, and the wall under the bedroom window is not one
R328.4 does not describe good practice. It names the only places the box may go:
- Detached garages and detached accessory structures.
- Attached garages separated from the dwelling living space per Section R302.6.
- Outdoors or on the exterior side of exterior walls, at least 3 feet from doors and windows that open directly into the dwelling.
- Enclosed utility closets, basements, storage or utility spaces inside the dwelling, with finished or noncombustible walls and ceilings.
Then the prohibition: not in sleeping rooms, and not in closets or spaces opening directly into them. California's edition adds habitable spaces to that list unless the space qualifies under item 4, and adds a section barring systems with the potential to release toxic or highly toxic gas during charging, discharging and normal use from Group R-3 and R-4 occupancies.
Three of those four items carry a construction bill inside them.
Item 4 is a drywall job. The model text requires walls and ceilings of unfinished wood-framed construction to be provided with not less than 5/8-inch Type X gypsum wallboard. An unfinished basement or a bare-stud utility closet is the cheapest-looking location on the site plan and quietly one of the more expensive ones.
Item 2 hands you off to another section. R302.6 governs the garage-to-dwelling separation, and the City of Monte Sereno's handout lays out the table applicants keep tripping over: not less than 1/2-inch gypsum board on the garage side facing the residence and attics, and not less than 5/8-inch Type X where habitable rooms sit above the garage (City of Monte Sereno, Residential Energy Storage Systems, 7/2024, read 8 September 2026). If your garage ceiling is open framing under a bedroom, that separation has just become part of the battery project.
Item 3 costs you a tape measure. Three feet from doors and windows entering the dwelling sounds generous until you stand at the wall with the tape out. Monte Sereno's handout carries a further line the code text does not: the wall location must also not sit below an emergency escape or rescue opening from a sleeping room — not under a bedroom window, in other words. Beverly Hills reproduces the same CRC section without that line, so read it as one department's practice rather than a rule you can assume travels with you. Worth checking on your own wall regardless. Then combine it with the 3-foot spacing between units in R328.3.1, and one exterior wall may hold a single battery where the drawing showed two.
Go outside with a tape before the site visit. Write down the distance from your intended wall to the nearest door and to each window that opens into the house, the distance to the property line, and whether anything above that wall is an escape opening. The four allowable locations shrink fast once the measurements are real, and a location dispute found at plan check costs weeks that the same dispute found on a Saturday costs nothing.
UL 9540 is the listing; UL 9540A is the test that buys back inches
These two get used interchangeably in sales conversations, and they are not the same kind of thing at all.
UL 9540 is the product safety standard for energy storage systems and equipment. R328.2 requires that ESS "be listed and labeled in accordance with UL 9540," full stop. If a product is not listed to it, the conversation ends there.
UL 9540A is a test method, not a listing. UL Solutions describes it as "the American and Canadian national standard for assessing fire propagation related to thermal runaway events in battery energy storage systems," notes that it is "the only consensus standard explicitly cited in NFPA 855 for large-scale fire testing," and offers testing to both the 5th and 6th editions — the 6th updating the installation-level test with a post-deflagration fire scenario used to evaluate enclosure design, separation distances and, for indoor systems, the effectiveness of building-based suppression. The same page says the 2026 edition of NFPA 855 adds a new Annex G.11 setting out expectations for that test (UL Solutions, UL 9540A test method, read 8 September 2026).
For a homeowner, UL 9540A is the document that buys back space. The 3-foot separation in R328.3.1 applies "except where smaller separation distances are documented to be adequate based on large-scale fire testing," and the Sustainable Energy Action Committee's bulletin on the 2021 IRC says what that means in practice: "For equipment that has been evaluated for unit separation in accordance with the large-scale fire test in UL 9540a, installation in accordance with the manufacturer's instructions may be used and the 3 foot spacing in R328.3.1 does not apply." The documentation is a real, published, downloadable artifact. Enphase publishes an eight-page report summary for the IQ Battery 5P: testing per ANSI/CAN/UL 9540A 4th edition, UL Solutions file FTBW.E488100, cell, module and unit-level reports issued in February 2023 and revised 19 October 2023, and a conclusion that the product "passed the UL 9540A unit-level test" with no ignition events observed and no unit-to-unit propagation (Enphase, UL 9540A report summary of IQ Battery 5P, TEB-00097-2.0, read 8 September 2026).
Two things in that summary deserve more of your attention than the pass line.
It states which installation types the unit was evaluated for, and the two are worded differently. Indoor is wall- or floor-mounted in non-habitable spaces "such as a two-car garage" — attached, detached and open garages that are well ventilated. Outdoor is wall- and ground-mounted, out of direct sunlight, within an ambient range of -4°F to 113°F and 5% to 95% relative humidity. A footnote points at the IRC's own definitions, under which a closet or a storage space counts as non-habitable. If the plan puts your box somewhere outside the description that matches it, the report is not covering that arrangement even though the product is listed.
And it publishes a minimum room size based on 25% LFL: 133 m³, roughly 4,700 cubic feet. Be careful with that number in both directions. It is an output of the test method — the room volume in which the measured vented gas stays under a quarter of its lower flammable limit — and it is not a code requirement. R328 sets no room-volume minimum at all, no jurisdiction cited here imposes one, and the same report names a two-car garage as an intended indoor location. But a 20 by 20 foot garage with a 9-foot ceiling is about 3,600 cubic feet, and a utility closet is a rounding error beside either figure, so the two statements sit oddly together. That is a question for the plan checker rather than an argument to win with the installer: what ventilation or room-volume condition applies to this unit in this space, and where is it written down?
One more label is worth knowing about, because it redraws the whole map. Exception 1 to R328.1 exempts systems "listed and labeled in accordance with UL 9540 and marked 'For use in residential dwelling units'" where installed per the manufacturer's instructions and NFPA 70. The same Sustainable Energy Action Committee bulletin, produced under a US Department of Energy award, reads that exception plainly: it exempts such units "from all R328 requirements," units achieving the marking "can be installed in habitable spaces," and the marking is optional rather than mandatory. The same bulletin adds the sentence that keeps it honest — "At the time of release of this document, there are no units in the marketplace that meet this additional and optional allowance" (SEAC, Informational Bulletin for Residential Energy Storage Systems Under 2021 International Residential Code, read 8 September 2026). The bulletin carries no revision date on its face and the file now served at that URL was created in January 2022, so "at the time of release" points at a date the document itself does not state, and whether any product carries the marking today is not something that page can tell you. Which makes it a question rather than a rebuttal: if a salesperson says a product has it, the reply is "send me the label photograph and the listing."
The drawing set the counter wants, and what happens after you hand it over
Submittal lists vary by jurisdiction, but they are remarkably consistent because the plan checker is answering the same handful of questions. Monte Sereno asks for exactly this:
- A site plan showing the buildings on the lot and where the battery goes.
- A floor plan showing the battery plus the smoke, carbon monoxide and heat alarms.
- The equipment brochure with installation requirements and the UL listing, since the installation has to meet the manufacturer's requirements.
- An electrical single-line diagram showing the connection to the PV system and the main service panel.
Then one final inspection after the work is finished, with a completed smoke alarm and carbon monoxide alarm certification form handed to the inspector.
Ask your installer for all four before signing — not because you will re-check the calculations, but because the site plan tells you where they actually intend to put the box, and the single-line tells you whether the design is the backup configuration or the self-consumption one. Those two produce different equipment lists, and the transfer or islanding device is the piece that most often turns a wall-mounted battery into a wall of boxes needing more clearance than anybody measured.
In California there is a statute you can hold your city to. SB 379 (Chapter 356, Statutes of 2022) added Section 65850.52 to the Government Code, requiring every city and county to implement "an online, automated permitting platform that verifies code compliance and issues permits in real time" for residential solar up to 38.4 kW AC and a residential energy storage system paired with it. The compliance schedule was 30 September 2023 for populations above 50,000 and 30 September 2024 for cities of 50,000 or fewer, with exemptions for cities under 5,000 and counties under 150,000 (SB 379 bill text, read 8 September 2026). The tool built for exactly this job is SolarAPP+, whose development the Department of Energy funded in 2019 "through an award to the National Renewable Energy Laboratory (NREL)" (DOE, Streamlining Solar Permitting with SolarAPP+, read 8 September 2026). Whether your city runs it is a question for your city; the statute names the outcome, not the vendor. Whether your particular battery configuration is eligible for instant issuance is a local answer, so ask — the gap between same-day and three weeks is the gap between two different installation dates.
The line items plan check adds after the quote was signed
None of the following is exotic. All of them are things a fixed-price quote may or may not have carried, and every one is checkable in advance.
Impact protection. R328.8 requires protection where the battery sits in a location subject to vehicle damage. Monte Sereno spells out what its inspectors accept: bollards of 3-inch Schedule 80 steel pipe at least 48 inches long, embedded in a concrete pier at least 12 inches deep and 6 inches across, filled with concrete, standing at least 36 inches above the floor, spaced at 5-foot intervals and set at least 6 inches from the unit; or anchored wheel barriers 4 inches high by 5 inches wide and at least 70 inches long, spaced no more than 36 inches apart and at least 54 inches from the unit; or a barrier designed by a California-registered structural or civil engineer to resist a 2,000-pound impact at 24 inches above grade. The escape clause is the useful part: a unit mounted at least 48 inches above the finished floor, or on a side wall out of the normal driving path, is not treated as subject to vehicle damage. Mounting height is cheaper than bollards.
Fire detection. R328.7 requires the room or area to be covered by smoke alarms per R314, plus "a heat detector, listed and interconnected to the smoke alarms" in locations where a smoke alarm cannot be installed based on its listing. In practice a garage installation usually drags in an interconnected heat alarm, and interconnecting to existing alarms in an older house is an electrician's visit rather than an accessory purchase. Monte Sereno goes as far as naming the only two heat detector models its department accepts for unconditioned spaces, which is a fair reminder that the specificity here is municipal, not national.
Drywall. Covered above, and worth pricing before you accept the basement location.
Handover paperwork. R328.11 requires the manufacturer's installation, operation, maintenance and decommissioning instructions to be given to the owner or placed conspicuously near the equipment, plus a label carrying service contact information. Washington goes further with its commissioning section and its rule about builder-owned homes. This part is free and you are owed it; ask for the decommissioning instructions specifically, because that is the document nobody hands over voluntarily and the one you will want in year twelve.
There is no federal discount softening any of this now. The Residential Clean Energy Credit under 26 U.S.C. 25D does not apply to expenditures made after 31 December 2025 — and its timing rule counts the date the installation was completed, not the date you signed — so the credit line that used to absorb extras like these is not there to absorb them. Every extra foot of conduit the setback added is paid at full price.
Half an hour with a tape measure and your city's website
Do this before the next site visit, in this order.
Call or email the building department and ask two questions: which edition of the residential code do you enforce, and do you publish an ESS handout or correction list? That handout, where it exists, is the single most useful page in this subject, because it was written by the person who will review your drawing. The three cited above — Topsham, Monte Sereno, Beverly Hills — are public documents from towns none of us live in, and they still show you the shape of the questions.
Take the tape outside next and get four measurements: to the nearest door that opens into the house, to each window that does, to the property line, and the interior volume of the closet or basement room if that is the plan. Note whether anything above the wall is an escape opening.
Last, open the specification sheet for the proposed product and copy out three numbers: rated capacity per unit in kWh, the number of units, and their product. Compare that product against the ceiling for the space you just measured — 40, 80, or whatever your state's table says for it.
If you are over, you have found the decision before it found you: relocate, reduce, or move the bank outdoors and re-price the conduit run. And ask the installer for the UL 9540A report summary by name. If nobody can produce it, the 3-foot spacing stands, and the wall you measured just got three feet shorter.
Frequently asked questions
Can a home battery be installed in a bedroom closet?
No. The 2021 IRC text of Section R328.4 lists four allowable locations — detached garages and accessory structures, separated attached garages, outdoors or on exterior walls at least 3 feet from doors and windows entering the dwelling, and enclosed utility closets, basements or storage spaces — and then states that ESS 'shall not be installed in sleeping rooms, or closets or spaces opening directly into sleeping rooms.' California's version adds habitable spaces to the prohibited list. Anything not named as allowable is not allowable.
How many kilowatt-hours can I put in an attached garage?
Under the 2021 IRC model text, individual units cap at 20 kWh and the aggregate caps at 80 kWh in attached or detached garages, against 40 kWh inside utility closets, basements and storage spaces. California replaced that list with Table R328.5, which keeps 80 kWh in attached garages but allows 100 kWh on or within 3 feet of exterior walls, 200 kWh where those walls and eaves are noncombustible, and up to 600 kWh outdoors at 10 feet from property lines and dwellings. Which set applies to you depends on the edition and amendments your jurisdiction enforces.
Do I need a permit for a battery if the solar is already permitted?
Almost certainly yes, and often a building permit plus an electrical permit rather than one combined document. Adding storage changes the electrical drawing, and it changes the fire-detection and location questions that Section R328 governs. In California, Government Code 65850.52 — added by SB 379 in 2022 — requires most cities and counties to run an online automated permitting platform covering residential solar up to 38.4 kW AC and paired residential storage, so the application may be same-day rather than same-month.
Does the 3-foot spacing between battery units always apply?
Not where a test report says otherwise. IRC R328.3.1 requires 3 feet between individual units 'except where smaller separation distances are documented to be adequate based on large-scale fire testing complying with Section 1207.1.5 of the International Fire Code.' That test is UL 9540A, and manufacturers publish report summaries showing which spacings were evaluated. Ask for the summary by name; a datasheet alone does not document it.