Skip to content

As an Amazon Associate I earn from qualifying purchases. Learn more ›

How to Hook Up a Generator to Your House Safely

Norman Peterson Updated on
How to Hook Up a Generator to Your House Safely

Safety first

Carbon monoxide. Gasoline, propane, and diesel generators produce carbon monoxide (CO), a poisonous gas you cannot see or smell. Run a generator outdoors only, at least 20 feet from your home with the exhaust pointed away from it, and never inside a home or garage, even with the doors and windows open. Install battery-operated or battery backup CO alarms on every level of your home and outside sleeping areas. Sources: U.S. CPSC and CDC.

Connecting to your home. Never backfeed a home outlet. A licensed electrician should install a transfer switch or interlock.

If you searched for how to hook up a generator to your house, the honest answer has two parts. One is simple and you can do it yourself: run cords from the generator to the things you want to power. The other is a connection to the house wiring, and that part is a job for a licensed electrician with a permit where your town requires one. This guide lays out the choices, what each one is for, and the hazard that makes the electrician part non-negotiable. It is general information, not electrical advice.

The three ways to get generator power into a home

Every method falls into one of three groups. They differ in convenience, in what they can power, and in who has to do the work.

OptionWhat it isWho does the workMain limit
Cords to individual appliancesHeavy-duty, outdoor-rated extension cords from the generator to a refrigerator, lights or a fan, within the generator’s ratingYouOnly what you can reach with cords; cords must pass through a door or window opening
Power inlet with an interlockAn outdoor inlet on the house wall tied to the main panel, with a mechanical device that keeps the main breaker and the generator breaker from being on at the same timeLicensed electricianYou still choose which circuits to run, and you must stay within the generator’s output
Transfer switchA switch or sub-panel that moves selected circuits between utility power and the generator, so the two can never feed the same wiringLicensed electricianMust match the generator’s output and plug type; cost and permit depend on your area

*As listed by the manufacturer

NFPA names the transfer switch as the approach for anyone who must connect a generator to house wiring: have a qualified electrician install a properly rated transfer switch in line with the National Electrical Code and all state and local electrical codes. OSHA’s fact sheet takes the same line, saying never to attach a generator directly to a structure’s electrical system unless a qualified electrician has installed it with a transfer switch. The interlock-and-inlet approach is a variation that electricians also install; none of the agency sources read for this guide describes it, so ask your electrician which method local code accepts for your panel.

Option one: cords, and how to do it correctly

For a short outage and a short list of needs, cords are the least complicated route. CPSC’s safety alert says to connect appliances to the generator using heavy-duty extension cords designed for outdoor use. The wattage capacity of each cord should exceed the total wattage of everything connected to it. The cords should be long enough that the generator can sit outdoors, far from windows, doors and vents, and each cord should be free of cuts and tears and have all three prongs. OSHA’s fact sheet gives the same direction: plug appliances directly into the generator, or use grounded, three-prong cords that are intact, and never use frayed or damaged cords.

CPSC also says to protect the cord from being pinched or crushed where it passes through a window or doorway. Because the opening is a path for exhaust, keep the gap as small as practical and the generator far from it. If you want a plan for sizing the load, see our guide on what size generator you need.

The limit of this option is reach. A furnace blower, a well pump, a hardwired sump pump or most overhead lights cannot be powered with an extension cord, because they are wired into the house. That is the reason people look at the second and third options.

Why backfeeding is the one thing to avoid

The shortcut that people search for is feeding the generator’s output into a wall outlet and letting the house wiring distribute it. CPSC’s safety alert says never to try to power house wiring by plugging the generator into a wall outlet, and calls the practice backfeeding. In its words, it is extremely dangerous and presents an electrocution risk to utility workers and to neighbors served by the same utility transformer. It also bypasses some of the circuit protection devices built into the household wiring.

OSHA explains the mechanism: attaching a generator directly to a building’s electrical system without a properly installed transfer switch can energize wiring systems for great distances, creating a risk of electrocution for utility workers and others in the area. A lineman repairing a downed line assumes it is dead. A backfed line is not. The manual for the Champion 100809 inverter generator says the same thing in plain terms, that improper connections to a building can allow current to backfeed into utility lines, and that a transfer switch must be used when connecting to a building. It adds that backfeeding is illegal in many states and municipalities, and that you are responsible for making sure your generator’s electricity does not backfeed into the utility lines.

The common thread across CPSC, OSHA, NFPA and the manual is that the danger falls on people who are not at your house and cannot see what you did. This is why the connection to the panel is treated as a licensed trade, not a weekend project.

What a transfer switch or interlock does, in concept

You do not need to understand the wiring to understand the purpose. Both devices exist to enforce one rule: the house must be fed by the utility or by the generator, never both, and the generator must be isolated from the utility lines. Champion’s manual states the requirement directly: connection to a home’s electrical system requires a listed transfer switch installed by a licensed electrician and approved by the local jurisdiction, and the connection must isolate the generator from the utility power and comply with all applicable laws and electrical codes.

In general terms, transfer switches come in two styles:

  • Manual. A person moves the switch when the power fails, and moves it back when it returns. You start the generator yourself and switch selected circuits over.
  • Automatic. The switch senses an outage and moves the load itself, and is usually paired with a standby generator that starts on its own.

Portable generator owners most often look at the manual style. Whichever you consider, the points to settle with the electrician are the same: which circuits go on the switch, how the generator’s outlet and plug type match the switch, and how the generator output compares with the load. Champion’s manual, for example, specifies a listed 30A transfer switch for that generator, which shows that the switch is chosen to match the generator, not the other way around.

Match the generator to the circuits you want to run

A transfer switch or inlet can only deliver what the generator produces. If the selected circuits draw more than the generator can supply, the generator’s overload protection will trip or the engine will bog down. Add up the running watts of the appliances on the circuits you plan to power, and note starting surges for motor loads. Our guide on sizing a generator walks through that method, and the guide on running a generator safely covers the start-up routine. The electrician can also advise which circuits make sense to put on the switch for your home, and a small generator may suit a short list of circuits better than the whole panel.

What the electrician and the town handle

Several parts of a home connection are local, so there is no single answer a web page can give. Rules on permits, inspections and which devices are accepted vary by state, city and utility. Champion’s manual says the connection must be approved locally and, in its backfeeding notice, tells users to consult the local utility company or a qualified electrician. A reasonable first call is to a licensed electrician in your area, who can explain what your jurisdiction requires and whether your panel can take the equipment. Do this before the next storm, not during one.

Also ask the electrician about grounding. Champion’s manual says to consult a qualified electrician about local grounding requirements for the generator. Grounding practice depends on the generator and the installation, so it is another reason not to improvise.

Placement and carbon monoxide still apply

A connection to the house does not change where the generator runs. NFPA’s tip sheet says to use portable generators outdoors in well-ventilated areas at least 20 feet from all doors, windows and vent openings, to measure that distance from the generator to the building, to never use a generator in an attached garage even with the door open, and to point the exhaust away from the building. CPSC adds that generator exhaust contains carbon monoxide, a gas you cannot see or smell, and says to install battery-operated CO alarms in the home. A power inlet on the wall of the house sits closer to the generator than a long cord would, so ask the electrician where the inlet will go relative to windows and where the generator will sit. For the full explanation of CO risk and alarms, read our carbon monoxide safety guide.

Rain adds a second problem. CPSC says to protect the generator from moisture to reduce shock risk while still keeping it away from openings to occupied buildings, for example under an open, canopy-like structure on a dry surface.

A quick checklist before you call anyone

  • List what you need to run during an outage: refrigerator, lights, a furnace blower, a well pump, internet equipment.
  • Note which of those are plug-in and which are hardwired. Hardwired loads are the ones that need a panel connection.
  • Find your generator’s outlet types and its running and starting watt ratings in the manual, so the electrician can match the equipment.
  • Decide where the generator will sit outdoors, at least 20 feet from windows, doors and vents.
  • Ask the electrician what your town requires for permits and inspection.
  • Put battery-powered CO alarms on every level of the home.

FAQ

Can I plug my generator into a wall outlet to power the house?

No. CPSC says never to try this and calls it backfeeding, an extremely dangerous practice that risks electrocuting utility workers and neighbors on the same transformer. The Champion manual adds that backfeeding is illegal in many states and municipalities. Use cords to individual appliances, or hire a licensed electrician to install a transfer switch.

What is the difference between a manual and an automatic transfer switch?

In general terms, a manual switch is moved by a person when the power fails, while an automatic switch senses the outage and moves the load itself, usually alongside a standby generator that starts automatically. Portable generators are more often paired with the manual style. An electrician can tell you which suits your panel and your generator.

Can I run a cord through a window to power things inside?

For plug-in appliances, yes, as long as the cord is heavy-duty, rated for outdoor use and long enough that the generator stays far from windows, doors and vents. CPSC says to keep the cord from being pinched or crushed in the opening. Keep the gap small and the generator outdoors, because openings are where exhaust can enter.

Does the generator have to match the transfer switch?

Yes. The switch is chosen to suit the generator’s output and outlet type. The Champion 100809 manual, for instance, calls for a listed 30A transfer switch for that unit. Give your electrician the model number and the manual so they can confirm the match.

Should I tell my utility before connecting a generator to my home?

Ask. The Champion manual tells users to consult the local utility company or a qualified electrician to install the connection properly, and says the connection must be approved locally. Your electrician will know whether your utility has its own requirements.

Is it safe to install a transfer switch myself?

The sources read for this guide say it should be done by a qualified electrician. OSHA says never to attach a generator to a structure’s electrical system unless a qualified electrician has installed it with a transfer switch, and NFPA and Champion say the same. This guide does not include installation steps for that reason.

Sources

  1. CPSC Safety Alert: Portable Generator Hazards
  2. NFPA Generator Safety tip sheet
  3. OSHA Using Portable Generators Safely (OSHA 3286)
  4. Champion 100809 owner's manual