How to Hook Up a Generator to Your House Safely

The safe way to hook up a portable generator to your house is through a transfer switch or a breaker interlock kit, fed by a generator cord plugged into a power inlet box on the outside wall. Both keep your house disconnected from the utility lines while the generator runs. Never plug a generator into a wall outlet with a double-ended “suicide cord.” That’s called backfeeding, it’s against electrical code, and it can electrocute utility workers and start fires.

How to hook up a generator to your house: transfer switch, interlock kit, GenerLink, inlet box and cord, placement, never backfeed
Which generator hookup do you need?
Answer 4 quick questions to compare your safe options and typical installed costs.
Costs are typical installed ranges from HomeGuide and utility GenerLink programs (checked 2026). Get a licensed electrician’s quote; most areas require a permit for work in your main panel.

Your options at a glance

MethodWhat it powersTypical install
Extension cordsOnly what you plug into the generatorNo install. Cheapest, but no hardwired lights, furnace or well pump
Manual transfer switch6 to 10 circuits you choose ahead of timeElectrician, usually with a permit
Breaker interlock kitAny circuit in your panel, one at a timeElectrician, usually with a permit. Must be made for your panel
GenerLink (meter-base switch)Any circuit in your panelInstalled by your utility, if they allow it

Why you can’t just plug into an outlet

A generator plugged into a wall outlet sends power back through your panel and out to the utility lines. The transformer on the pole steps that power up to thousands of volts, which can kill a line worker who thinks the line is dead. When the grid power comes back, it can also slam into your generator and wiring and start a fire. The CDC warns not to connect a generator to your home’s circuits without an approved device that disconnects you from the grid. Here’s more on why backfeeding a generator isn’t safe.

The National Electrical Code (Article 702) requires transfer equipment that keeps the generator and utility power from ever being connected at the same time. That can be a transfer switch, a listed interlock or a meter-base switch.

Option 1: A manual transfer switch

A manual transfer switch is a small panel mounted next to your main breaker box. An electrician moves the circuits you choose (often the fridge, furnace, well pump, some lights and outlets) onto the switch. During an outage, you plug in the generator and flip each circuit from “Line” to “Gen.” Here’s how a transfer switch works.

  • Pros: Hard to use wrong, and many have watt meters so you can see the load.
  • Cons: Only the circuits wired to it get power.

Automatic transfer switches also exist, but they’re mostly paired with permanently installed standby generators that start on their own.

If you’re shopping for one, Ace Hardware carries Reliance Controls manual transfer switches and power inlet boxes. (We may earn a commission if you buy through these links.)

Option 2: A breaker interlock kit

An interlock kit is a metal plate that mounts on your panel’s cover. It makes it physically impossible to turn on the generator breaker while the main breaker is on. An electrician adds a 2-pole breaker for the generator, wired to an inlet box outside.

  • Pros: Usually cheaper than a transfer switch, and any circuit in the panel can run on the generator.
  • Cons: You manage the load yourself by turning breakers on and off so you don’t overload the generator.

The interlock has to be made for your exact panel brand and model. Some cities don’t accept certain aftermarket interlocks, so check with your local building department.

Option 3: GenerLink at the meter

If your utility allows it, a GenerLink is a transfer switch that mounts behind your electric meter, so there’s no rewiring inside your house. Your utility usually installs it. See the utilities that offer GenerLink, what a GenerLink costs and whether your generator will work with one.

Home breaker panel next to wall switches
A transfer switch or interlock works with your main breaker panel. Photo: US electrical switches and breaker panel by JJ, CC BY 2.0, via Wikimedia Commons

What you need

  • A generator with a 240-volt outlet if you want to run 240-volt loads like a well pump. The most common is a 4-prong L14-30 (30 amp) twist-lock outlet. Bigger generators may have a 50-amp outlet.
  • A power inlet box on the outside wall that matches your generator’s outlet.
  • A generator cord long enough to keep the generator at a safe distance, with plugs that match the generator and inlet. Ace sells generator cords, and here is our guide to generator extension cords.
  • The transfer switch or interlock kit, plus a permit and inspection where required.

How to power your house with the generator

  1. Set the generator outside, at least 20 feet from the house with the exhaust pointed away from windows, doors and vents. That’s the CPSC’s recommendation. Never run it in a garage, even with the door open. More on how far a generator should be from your house.
  2. Plug the generator cord into the generator, then into the inlet box.
  3. Start the generator and let it warm up for a minute or two.
  4. Transfer switch: flip your chosen circuits from “Line” to “Gen,” one at a time, starting with the biggest load. Interlock: turn off the main breaker, slide the interlock plate, turn on the generator breaker, then turn on circuits one at a time.
  5. Watch your load. Stay under the generator’s running watts.
  6. When utility power returns, switch circuits back to “Line” (or turn off the generator breaker and turn the main back on), then shut off the generator and unplug the cord.

Keep a battery-powered carbon monoxide alarm on every level of your home whenever you run a generator.

Should you install it yourself?

Hire a licensed electrician. Installing a transfer switch or interlock means working inside your main panel, and most places require a permit and inspection. A wrong connection can backfeed the grid or start a fire, and it can cause problems with your homeowner’s insurance.

Related guides: Interlock Kit vs. Transfer Switch, How to Ground a Generator and GenerLink vs. Transfer Switch. Also see: Generator power inlet box and Transfer switch cost.

FAQ

Do you have to turn off the main breaker when using a generator?

Yes, if you’re using an interlock kit. The interlock forces you to turn the main off before the generator breaker can go on. With a transfer switch, flipping the circuits to “Gen” disconnects them from the utility for you.

How much does it cost to hook up a generator to a house?

It depends on your panel and local labor rates. An interlock kit with an inlet box is usually the least expensive option. A manual transfer switch costs more because the circuits have to be moved. Get quotes from a few licensed electricians.

What size generator do I need to run my house?

Add up the running watts of what you want to power, plus the largest starting surge. Many homes can cover the essentials with a 5,000 to 7,500 watt portable generator if you manage the load.

Can I use a regular extension cord to power my house?

Not to your home’s wiring. Regular extension cords are only for plugging appliances directly into the generator. Use a heavy-duty outdoor cord sized for the load.

About Chad & Rick

Chad and Rick are the father son team behind Generator Hero. Rick is an engineer and manager, he’s used generators his whole life and specializes in fact checking our articles. Chad is a writer and webmaster helping to keep things running smoothly on the site. Read more about Rick and Chad, or send a message using this contact form.

Leave a Comment