Is a battery or a generator better?

Batteries and generators both keep power on in a blackout, but they suit different homes. Here is a plain comparison, with the questions that decide which one fits yours.

The short answer

A generator is usually better for long outages and large loads, because it can run for days as long as it has fuel, and a standby generator often costs less up front than enough batteries to back up a whole home. A battery is better if you want quiet, fuel-free backup that switches on by itself, and it can also cut your bill where export credits are low or evening rates are high. Many homes in outage-prone areas use a battery for everyday use and short outages, with a generator for long ones.

How each one works

A generator burns fuel, such as natural gas, propane, gasoline or diesel, to make electricity. A standby generator is installed permanently outside your home and starts automatically when the grid fails. A portable generator is wheeled out and started by hand, and should connect through a transfer switch or interlock so it can’t feed power back into the grid.

A battery stores electricity, from your solar panels or from the grid, and gives it back when you need it. During an outage, a backup gateway disconnects your home from the grid and the battery takes over, usually within moments. With solar, it can refill during sunny days.

The key difference is what limits them. A generator is limited by fuel. A battery is limited by how much it stores and how much sun you get to refill it.

Fuel supply is worth thinking about. A natural gas generator draws from your gas line, which usually keeps flowing during electrical outages, though not in every disaster. A propane generator runs only as long as the tank lasts, so tank size sets your runtime. Gasoline and diesel need safe storage and go stale over months, and fuel can be hard to buy during a widespread outage.

Side by side

BatteryGenerator
How long it lasts in an outageHours to a day per battery; longer with solar rechargingDays, as long as fuel lasts
Large loads like central airNeeds enough power rating; often several batteriesUsually easier with a properly sized unit
NoiseNearly silentLoud enough to notice; check local rules
FuelNone, if solar recharges itNatural gas, propane, gasoline or diesel
FumesNoneExhaust with carbon monoxide; must run outdoors
MaintenanceVery littleRegular exercise runs, oil and filter changes
Daily bill savingsPossible under net billing or time-of-use ratesNone
Federal credit in 2026None for homeowner-owned batteriesNone

Never run a generator indoors, in an attached garage or near open windows. Carbon monoxide has no smell and can kill. Use a carbon monoxide alarm in any home with a generator.

A worked example: a three-day outage

Example: keeping essentials running for three days

  • Standard example home, backing up essentials only: about 0.5 kWh an hour, about 12 kWh a day
  • Option A: one 13.5 kWh battery with the existing 8 kW solar system
  • Sunny days: solar can refill the battery and run essentials during the day
  • Stormy, cloudy days: solar may make only a few kWh, so the battery drains in about a day
  • Option B: a standby generator on natural gas or a large propane tank
  • Runs the essentials, and often more, for all three days regardless of weather

Battery: covers the outage in sunny weather, may run short in storms. Generator: covers it either way, as long as fuel lasts.

Example only. Solar output after a storm depends on cloud cover, snow and any damage. Generator runtime depends on fuel supply and the size of the unit.

That example shows why the weather behind your outages matters. If your outages come from summer heat waves under clear skies, a battery with solar can do well. If they come from ice storms or hurricanes with days of cloud, a generator, or a battery plus a generator, gives more certainty. Our answer on how long a battery lasts in an outage shows how to work out runtime for your own loads.

Cost and value beyond outages

Up front, a standby generator often costs less than enough batteries to back up a whole house, though both vary widely by home and installer, so get quotes for each. A single battery for essential circuits costs about $13,000 in our example. A generator keeps costing money in fuel and service, while a battery mostly doesn’t.

The bigger difference is what happens on the other 360 days a year. A generator sits idle until the grid fails. A battery can work every day, storing midday solar for the evening. Where your utility pays little for exports or charges much more at night, that daily use can earn back part of its cost. Where you have full retail net metering, it earns close to nothing, and the battery is purely backup. See is a solar battery worth it for the math.

Count the long-run costs too. A standby generator usually needs yearly service, oil and filter changes and periodic test runs, and parts wear out over time. A battery needs almost no routine care, but many carry about a 10-year warranty and may need replacing during the life of your solar panels. Put both on a 15- or 20-year timeline before you compare prices.

Which fits your home

  • Choose a battery if you have solar, your outages are short to medium, noise or fumes are a concern, or your rates make storing solar worth money.
  • Choose a generator if outages last days, you need to run big loads like central air or electric heat, or you have no solar to refill a battery.
  • Consider both if outages are long and frequent. The battery handles daily use and short outages quietly, and the generator steps in for long ones.

If you are torn, start with the outage you fear most. For a family that loses power for a few hours each summer, a battery is usually enough and adds quiet, automatic backup. For a rural home that loses power for days after ice storms, a generator is the safer bet, with a battery as an optional extra. Most homes fall somewhere between, which is why the pair is common.

If you don’t have solar yet, note that standard solar won’t run during an outage without a battery. Our answer on whether solar works in an outage without a battery explains why. For the deeper comparison, see generators vs batteries in Session 5, or browse more on the Q&A floor.

When a battery isn’t the better choice

  • Your outages often last several cloudy days, and you have no other way to recharge.
  • You need whole-home backup with central air or electric heat and don’t want to buy several batteries.
  • You have full retail net metering, so a battery’s only value would be backup.
  • You already own a properly installed generator that covers your needs.

Key takeaways

  • Generators handle long outages and big loads, as long as fuel lasts.
  • Batteries are quiet, need no fuel and can cut bills where export credits are low.
  • The weather behind your outages matters: long cloudy storms favor generators.
  • Many outage-prone homes pair a battery for daily use with a generator for long outages.
  • Never run a generator indoors or in an attached garage.

Questions people also ask

Can a generator charge my home battery?

Often, yes, but it depends on the equipment. Some battery systems can accept power from a generator through the right inverter and wiring, and some can’t. Where it works, a generator can refill the battery during a long cloudy outage. Ask your installer before you buy, and have a licensed electrician connect it properly.

Is a portable power station the same as a home battery?

Not quite. A portable power station is a smaller battery in a carry case, with outlets on the front. It suits phones, lights, a fridge or a medical device for a short time. A home battery is wired into your electrical panel, is much larger and can back up whole circuits automatically.

Do generators need permits?

Standby generators almost always need a permit and inspection, because they connect to your electrical system and often to a gas line. Local rules may also cover where the unit sits, how close it is to windows and property lines, and noise. A portable generator used with a transfer switch also needs that switch installed under permit.

Sources

Ready for real numbers on your roof?

No calls unless you ask. We never sell your details.