Search

What Does It Cost to Install a Generator? (2026 Guide)

Portable generators with a transfer switch can run $1,500 to $5,000 all-in; whole-home standby generators often cost $7,000 to $25,000 installed. Here's what drives the price and how to choose.

Updated November 2026 Homes Mastery Staff 3 min read

Quick answer

Typical US installed costs

  • Portable generator only $400–$2,500
  • Portable + transfer switch $1,500–$5,000
  • Standby, installed $7,000–$25,000+
Who does the work
DIYPortable unitProTransfer switch and standby: licensed electrician
Permits
Required for standbyElectrical and gas permits and inspections
Fuel
Natural gas or propaneGas may need a larger meter
Biggest risks
Carbon monoxide, backfeedingSee the safety sections below

Backup power ranges from a few hundred dollars for a small portable generator to $25,000 or more for a whole-home standby system. The biggest decision is whether you want a portable generator you set up during an outage, or a standby generator that starts automatically.

Generator costs at a glance

Setup Typical cost What it powers
Portable generator only about $400 – $2,500 A few appliances via heavy-duty cords
Portable + transfer switch or interlock about $1,500 – $5,000 total Selected circuits through your panel
Standby generator, installed about $7,000 – $25,000+ Essential circuits or the whole home, automatically

Portable generators are the cheapest way in, usually a few hundred to about $2,500 for the unit. Having an electrician add a transfer switch or interlock kit so the generator can feed selected circuits typically brings the total to about $1,500–$5,000. A permanent standby system, including the unit, automatic transfer switch, electrical and fuel work and permits, commonly runs $7,000 to $25,000 or more.

What’s included in a standby installation

  • The generator, sized in kilowatts. Air-cooled units of about 10–26 kW cover most homes; larger liquid-cooled units are for big homes or full electrification.
  • Automatic transfer switch (ATS) that senses an outage, starts the generator, and switches back when power returns.
  • Electrical work connecting the ATS to your panel, and sometimes a panel upgrade.
  • Fuel connection: a natural gas line from your meter (which may need a larger meter) or a propane tank.
  • A pad of concrete or composite, plus required clearances from windows, doors and vents.
  • Permits and inspections, both electrical and gas.

What drives the price

  • Size: powering a few essential circuits costs far less than running central AC, an electric range and a well pump at once.
  • Distance: long runs of gas pipe and wire, or trenching, add cost.
  • Fuel: natural gas is convenient if you have it; propane requires a tank.
  • Your panel: older or full panels may need upgrading.
  • Local rules: permit fees, noise ordinances and HOA requirements vary.

Never “backfeed” a portable generator

Do not plug a generator into a wall outlet or dryer outlet to power your house. This “backfeeding” sends power into the utility lines, where it can electrocute line workers and neighbors, and it can damage your home’s wiring and the generator. The safe ways to use a portable generator are:

  • Plugging appliances directly into the generator with outdoor-rated, heavy-duty cords. See extension cord safety.
  • A transfer switch or interlock kit installed by a licensed electrician, plus a generator inlet box.

Carbon monoxide: the deadliest generator risk

  • Run portable generators outdoors only, never in a garage, basement, shed or near open windows, even with doors open.
  • Keep them well away from the house and pointed away from windows, doors and vents. Follow the distance in your manual.
  • Install battery or battery-backup CO alarms on every level of your home.
  • Many newer portable generators have automatic CO shutoff. It’s worth looking for.

Is a standby generator worth it?

It often makes sense if you have frequent or long outages, rely on medical equipment, have a sump or well pump, or work from home. The 2025 Cost vs. Value report also ranked a backup power generator among the better-returning projects at resale. If outages are rare and short, a portable generator with a transfer switch, or a battery backup system, may be enough.

Maintenance

  • Standby: runs a short self-test weekly; schedule professional service about once a year.
  • Portable: run it monthly, use fuel stabilizer or drain the fuel for storage, and change the oil as the manual directs.

Related: What to do during a power outage

Keep reading

Ask a question or add a tip

Your email address will not be published. Required fields are marked *