Skip to content

Home Maintenance

How to Hook Up a Generator to a House

The legal answer to how to hook up generator to house wiring comes down to two devices: a transfer switch or a listed interlock kit. Each does one job, which is to keep the utility and your generator from feeding the panel at once. Every other method, including the homemade double-male cord, is a shortcut with a body count. Federal safety regulators say plainly never to power house wiring by plugging a generator into a wall outlet.

Backfeeding is the hazard nobody sees coming.

Plug a generator into a dryer or wall outlet and the current doesn’t politely stop at your meter. It can flow back onto the utility lines during an outage, endangering utility workers and damaging equipment. A lineman repairing a wire everyone assumes is dead becomes the victim. The cord costs a few dollars at a hardware store, and the liability costs far more.

Transfer switch or interlock: what the code actually says

NEC Article 702, Optional Standby Systems, governs portable generator installations in residential settings. It requires transfer equipment that prevents two power sources from being connected simultaneously. Both options below satisfy that rule when installed correctly.

A manual transfer switch is a small separate subpanel next to your main panel. An electrician adds a 30-amp or 50-amp breaker in the main panel to feed it, and the breaker rating must match the switch. You choose in advance which circuits ride on it, say the refrigerator, furnace blower, a few lights and the sump pump. With so few circuits connected, accidentally overloading the generator becomes very unlikely.

An interlock works differently. It’s a sliding metal plate mounted on the cover of your existing breaker panel. It prevents the main breaker and the generator breaker from being on at the same time. You’re limited only by the generator’s output capacity, not by the kit. That flexibility is why interlocks are popular, though it also means you decide, circuit by circuit, what to switch on without tripping the generator.

Cost usually favors the interlock, and flexibility does too.

However, the National Electrical Code is a model code, not a federal law. Some local authorities require a listed transfer switch instead of an interlock. Interlocks count as transfer equipment only when listed for your specific panel and installed per that listing. A kit sold for one brand of breaker box can’t be bolted onto another, no matter how similar the holes look.

Call your building department before you buy anything.

A permit and inspection are standard in many places, and an unpermitted installation can leave you exposed if something goes wrong. (Insurers have long memories for that sort of thing.) One more boundary: whole-home standby generators require an automatic transfer switch, while an interlock is only for portable units connected manually.

Grounding and neutral: where good intentions go wrong

The neutral wire is the detail that trips up confident DIYers. Most portable generators have the neutral bonded to the generator frame. The NEC allows the neutral-to-ground bond in only one location. Create a second bond and you can send current along paths it was never meant to take.

With an interlock, the answer is simple. The main panel already bonds neutral to ground, so nothing extra is needed at the generator. Transfer switches are more varied. When a bonded-neutral generator connects through a transfer switch, the generator frame must connect to a ground rod or other suitable grounding electrode. Switched-neutral models exist specifically for bonded-neutral or GFCI-equipped generators. A licensed electrician sorts this out in minutes. A guess can take far longer to fix.

Then comes the physical connection itself. A power inlet box is mounted on the exterior wall, and a short cord connects the generator to the house inlet, usually through a twistlock plug and socket. That setup lets you keep the generator well away from the house while the wiring stays tidy and weather-protected. It also means no cords snaking through a cracked window, which is where many carbon monoxide incidents begin.

Sizing deserves a pencil and paper. Even a properly connected portable generator can become overloaded. Add the running watts of what you plan to power, then allow extra for startup surges on motors such as well pumps and refrigerators. With an interlock, start the big loads one at a time instead of flipping everything on together.

Running the generator without poisoning your household

Electrical safety gets the attention. Exhaust kills more people.

CPSC estimates that about 85 consumers die in the U.S. each year from carbon monoxide poisoning from portable generators. One generator produces as much CO as hundreds of cars. The gas is colorless and odorless, so a person can be impaired before noticing a thing. Never run a portable generator in a garage, basement, crawlspace or shed, even with doors or windows open.

Placement is the practical fix. Put the unit outdoors, far from doors, windows and vents, with the exhaust pointed away from nearby buildings. Keep it on a dry surface under an open, canopy-style cover if it’s raining. Refuel only after it has cooled, and store gasoline outside living areas in proper containers.

Inside, install battery-operated CO alarms, or plug-in alarms with battery backup, and test them monthly. Hook-up day is also the moment to check them, since a power outage is exactly when you’ll be relying on them.

If you’re shopping for a unit, there’s one more nuance. Look for a carbon monoxide shut-off feature, found on models certified to the PGMA G300-2023 and UL 2201-2023 standards. The earlier 2018 versions of those standards were estimated to reduce CO deaths by 87% and 100%, respectively. A generator with that feature won’t replace a proper outdoor location, but it adds a safety net where a mistake would otherwise be fatal.

The whole house, top to bottom: heating and cooling, windows and doors, attic and basement, porch and exterior, home maintenance.