How Does a Home Battery Backup Connect to Your Electrical Panel?

TIP: A home battery connects to your panel in one of two ways. A critical-loads setup uses a small secondary panel that only the protected circuits live in, and a transfer switch routes power to that panel from the grid when the grid is up, from the battery when it's down. A whole-home setup puts the gateway between the meter and the main panel, so every circuit gets backed up. Which one fits depends on how much storage you have, how big your main panel is, and what you actually need running during an outage.

You have priced out a home battery. Tesla Powerwall, Enphase IQ Battery, Generac PWRcell, FranklinWHP — whichever one you're looking at. Most of the conversation is about the battery itself. Capacity in kilowatt-hours. Peak versus continuous output. Solar pairing. Warranty.

The part that gets less attention is the box between the battery and your electrical panel. And that box is doing most of the actual work during an outage. It disconnects the house from the grid. Switches the house onto battery power. Switches it back when the grid returns. Without it, the battery would push power back onto downed utility lines and put line workers at risk — and your installer would fail final inspection.

Here's how a home battery actually ties into a residential electrical panel. What the gateway does, the two common configurations, what the installation scope looks like, and where homeowners get surprised.

Electrician organizing equipment inside a service van, preparing for a home battery backup installation involving electrical panel connections, transfer switches, wiring upgrades, and residential energy storage systems.

The Gateway Is the Heart of the System

Almost every modern home battery system uses a device called a gateway, an automatic transfer switch (ATS), or a system controller, depending on the manufacturer's marketing name. The function is the same regardless of the name.

The gateway sits on the wall near your main panel and does four jobs.

  • Senses when the grid goes down and disconnects the home from the utility within a fraction of a second.

  • Tells the battery to start sending power into the house wiring.

  • Re-synchronizes the home wiring with the grid when utility power comes back, then reconnects.

  • Limits the loads it's willing to serve so the battery isn't asked to power more than it can handle.

The gateway is also the box that the inspector and the utility care about. It has to be listed for utility-interactive use. It has to disconnect the home from the grid automatically before exporting any battery power. And it has to be installed where it can be reached, locked out, and read by the utility's meter readers.

A few common gateways you'll hear about:

Configuration Pros Trade-offs
Critical-loads subpanel Lower battery capacity needed, simpler permitting, predictable run-time Only the circuits you moved are backed up; outlets in non-critical rooms stay dark
Whole-home with load management Every circuit available during outages, no moving circuits around Higher battery capacity, more expensive gateway, more programming to set up

What the Physical Installation Looks Like

A typical installation on an existing home is one to three days. The phases below show up on almost every project.

Site visit and load study. Before anything is ordered, the installer walks the house, checks the main panel, measures wall space, and goes over what needs to stay on during an outage. On larger projects, they may put a temporary monitor on the panel for a week to log actual usage.

Permitting and utility interconnection. Most jurisdictions require an electrical permit before any work starts, and the utility requires an interconnection application before the battery can be commissioned. The application tells the utility that a new energy storage system is being connected to their grid. It gives the utility a chance to approve the equipment list and the configuration. This step often takes longer than the installation itself.

Pre-installation panel work. If the main panel is full, undersized, or out of date, it needs to be upgraded before the battery system can be added. The gateway has to land on busbars that can carry the additional current. The panel needs space for the new breakers. Old fuse boxes, panels with discontinued breakers, and panels that have been red-tagged in past inspections almost always need replacement.

Battery and gateway mounting. Batteries are heavy — most units weigh between 200 and 350 pounds — and need to be mounted on a code-clearance wall, typically on the exterior or in a garage. The gateway mounts nearby, often within a few feet of the main panel. The installer runs conduit between the battery, the gateway, and the panel.

Critical-loads panel installation (if used). If a critical loads subpanel is part of the design, it gets mounted near the main panel, and the chosen circuits are moved over. Each circuit gets pulled out of the main panel and re-landed in the critical-loads panel.

Final inspection and commissioning. The local building department inspects the installation. After the inspection passes, the utility approves the interconnection. The installer commissions the system. The homeowner gets the app set up. And the battery is allowed to start storing and exporting power.

If those four checks come up empty, the problem is almost certainly behind the wall — a backstab failure, a worn-out receptacle, or a junction box connection that needs attention from a licensed electrician.

TIP: Ask the installer to test the outage transition before they leave. Shut off the main breaker (which simulates a real outage), confirm the gateway switches to battery within about a second, verify the critical circuits stay live, then restore the main breaker and confirm the gateway re-synchronizes and reconnects. Five minutes of testing saves weeks of "is it really working?" later.

What Drives the Cost of the Connection

The battery itself is typically the biggest line item. But the panel-side work can move the total a lot.

Whether the main panel is ready. A modern 200-amp panel with open breaker slots, a clean bus, and the right brand for available breakers is the easy case. An older 100-amp panel usually needs a service upgrade first. So does a panel from a manufacturer no longer in business, or one that's already crowded. That upgrade can add a meaningful share to the project budget.

Whether a critical loads subpanel is required. Adding a secondary panel means a new panel, wiring to move the chosen circuits, and labor to identify which circuits go where. On simple homes, a half-day. On homes with mystery circuits and unlabeled panels, longer.

How far the battery is from the main panel. Conduit, larger conductors, and the labor to route them through walls and crawlspaces all scale with distance. A battery on the outside wall, right behind the main panel, is the cheap case. A battery in a detached garage 100 feet away is a different project.

Solar pairing. If the installation also adds or modifies a rooftop solar array, the project gets bigger — additional conduit, an inverter or microinverter rework, and a more complex utility application.

Number of batteries. Each additional battery cabinet adds wall space, mounting, wiring, and a small amount of commissioning time. It does not require duplicating the gateway.

WARNING: Some homes get a quote that doesn't include the service upgrade that the installation will actually need. If your existing panel is 100 amps, fuse-based, or lists manufacturer names that haven't been made in decades, ask the installer in writing whether your panel can support the battery system as-is. Finding out at installation day is an expensive surprise.

Things People Get Surprised By

A few common surprises show up across these projects.

The interconnection paperwork has its own clock. Most utilities want the application submitted before any panel work begins, and the review can take weeks. Plan around it.

Not every circuit can move to the critical-loads panel. Multi-wire branch circuits and circuits that feed devices in more than one wall location can complicate the move. The installer will work around them. But the design may shift if too many critical circuits are multi-wire.

The battery doesn't back up your solar by default. A grid-tied solar array without storage shuts off when the grid goes down. After the battery installation, solar can keep producing during a daytime outage — but only if the gateway and solar inverter are compatible and configured correctly.

Apps and Wi-Fi matter. The battery's app is how the homeowner sees the state of charge and gets alerts. The router needs to be on the critical-loads panel. Otherwise, the app goes dark during the outage you most want to monitor.

Frequently Asked Questions

How long does a typical home battery install take?

The on-site work is usually one to three days for a single-battery installation on a home with a modern main panel. Multi-battery installations, installations that need a service upgrade, and installations paired with new solar can stretch to a week. The overall project from contract to commissioning is longer because of the utility interconnection review. That step often runs four to eight weeks depending on the local utility.

Do I need a permit to install a home battery?

Yes. Battery installations require an electrical permit in essentially every jurisdiction, and most also require a separate plan-check submittal that includes the single-line diagram, the equipment specs, and the proposed location. A reputable installer pulls the permit on the homeowner's behalf and handles the inspection.

Can I install a home battery on a 100-amp panel?

Sometimes — but not usually without modification. The math has to work so the combined breaker sizes (utility plus battery) don't exceed what the panel is rated for. On a 100-amp panel, the answer is often that the panel needs to be upgraded to 200 amps first. Confirm with the installer before ordering equipment.

What is the difference between a transfer switch and a gateway?

In residential battery installations, the terms get used interchangeably. A transfer switch physically moves the home's connection between two power sources. A gateway does transfer-switch work plus islanding protection, communication with the battery, load management, and monitoring. Most modern battery systems use a gateway.

Do I have to move circuits to a critical-loads panel?

Only if the system is designed as a critical-loads setup. Whole-home installations with enough battery capacity and proper load management leave every circuit in the main panel. The trade-off is cost. Whole-home backup needs more battery storage and a more capable gateway, so it costs more than a critical-loads design that protects only the essentials.

Can the battery charge from solar and the grid?

Most modern home batteries can charge from either source. Many homeowners set the battery to charge from solar during the day and stay full for outages, with the grid as a backup charging path during stretches of bad weather. The behavior is set in the app and can be changed seasonally.

The Box Between Battery and Panel Is the Whole Project

The battery gets the headlines. The gateway, the critical-loads panel, the load-shed wiring, the interconnection paperwork — that's the project. A good installer spends as much time on what's between the battery and the meter as on the battery itself. Ask about the gateway model, the loads going on the critical-loads panel, the utility interconnection clock, and whether your main panel can take the new equipment as-is. The answers to those four questions tell you whether the quote on your desk is honest about what the installation really involves.

Ridgeline Electric installs and integrates home battery backup systems throughout Santa Cruz County and Silicon Valley, including Santa Cruz, Capitola, Soquel, Aptos, Scotts Valley, Watsonville, and Live Oak. Our licensed crew handles the panel work, gateway installation, critical-loads design, permit submission, and utility coordination on a single contract. Call (831) 206-5602 (CA License #1121349) for a battery backup assessment on your home.
Next
Next

Why Does My Outlet Buzz When Something Is Plugged In?