Connecting a portable generator to your home safely requires a manual transfer switch and outdoor power inlet box, installed by a licensed electrician to meet current electrical code.
One wrong connection can kill a utility worker three blocks away. The only code-approved way to connect an emergency generator to your home is through a manual transfer switch (MTS) and a dedicated outdoor power inlet box, installed by a licensed electrician. The upfront cost of a proper hookup — typically $500 to $1,200 for parts and labor — is far cheaper than the liability or the hospital bill from carbon monoxide poisoning. This guide covers exactly what a code-compliant connection needs, which circuits to prioritize, and how to operate the setup safely when the lights go out.
What Makes a Generator-to-Home Connection Legal and Safe?
A code-compliant generator connection prevents two deadly outcomes: electrocution of utility workers from back-fed power, and carbon monoxide poisoning from indoor operation. The National Electrical Code (NEC) requires a physical disconnect — a transfer switch or interlock kit — that prevents the generator and utility power from energizing the same wires at the same time.
Two approved methods meet NEC requirements. A manual transfer switch is a separate enclosure that isolates six to ten critical circuits from the main service panel. A breaker interlock kit uses a sliding metal plate over the main breaker slots, making it impossible for the main breaker and a generator breaker to be on simultaneously. Both setups require a weatherproof power inlet box mounted on an exterior wall, rated for the generator’s output amperage.
Components You Need for a Proper Hookup
A legal generator-to-home connection needs four components beyond the generator itself. A transfer switch or interlock kit handles circuit isolation. A weatherproof power inlet box mounted outside provides the connection point. A heavy-duty, generator-rated cable matching the inlet’s amperage carries power from the generator to the box. A licensed electrician pulls the permit, installs the components, and validates the work.
Generator placement matters just as much. Position the unit at least 20 feet from doors, windows, and fresh-air intakes. Carbon monoxide from a generator can reach lethal levels indoors even with the garage door open. The generator also needs a minimum 5-foot radius of clear space around it for airflow and access.
What Circuits Should You Prioritize for Backup Power?
Most portable generators can’t power an entire house. The standard approach selects six to ten essential circuits and powers only those during an outage. Choosing the right circuits is the difference between a comfortable outage and one where you trip the breaker every hour.
| Circuit | Typical Appliance | Average Wattage | Priority Level |
|---|---|---|---|
| Refrigerator | Food preservation | 600–800W | Critical |
| Furnace fan | Forced-air heating | 500–1,000W | Critical |
| Well pump | Water supply | 1,000–3,000W | High |
| Sump pump | Basement flood prevention | 800–1,500W | High |
| Chest freezer | Frozen food storage | 400–700W | Critical |
| Modem and router | Internet and phone | 20–50W | Moderate |
| LED house lights | General visibility | 50–200W | Moderate |
| TV or radio | News and information | 100–400W | Low |
| Sump pump (backup) | Flood-prone areas | 1,000–1,500W | Critical if needed |
Add up the wattage of your chosen circuits and compare the total to your generator’s rated running wattage. Leave a 20% safety margin — running a generator at full load for more than a few minutes risks tripping the breaker or damaging the unit.
Installation Overview (What Your Electrician Handles)
Working inside the main service panel is dangerous and requires a permit in most municipalities. A licensed electrician handles this work. The typical sequence: mount the transfer switch near the main panel, drill a 1.5-inch hole in the exterior wall for the inlet box, feed flexible conduit from the transfer switch into the main panel, connect neutral and ground wires to the bus bars, move the power wires of your selected circuits from the main breakers to the transfer switch, and wire the inlet box to the transfer switch using 10-3 non-metallic cable. PowerOutage.us’s portable generator hook-up guide walks through the full installation and operation sequence. The job typically takes three to five hours, and the electrician tests every circuit before finishing.
Generator Cord and Inlet Box Specifications
Matching the cable and inlet box to your generator’s output is essential. An undersized cord overheats; an oversized one wastes money. Here are the standard pairings.
| Generator Output | Inlet Box Receptacle | Minimum Cord Gauge | Recommended Cord |
|---|---|---|---|
| 20A (4,800W) | NEMA L5-30R | 12 AWG | 12/3 SOOW cable |
| 30A (7,200W) | NEMA L14-30R | 10 AWG | 10/4 SOOW cable |
| 40A (9,600W) | NEMA 14-60R | 8 AWG | 8/4 SOOW cable |
| 50A (12,500W) | SS2-50R or CS6365 | 6 AWG | 6/4 SOOW cable |
Use a 25-foot cord when the generator sits close to the inlet box. A 50-foot cord gives more placement flexibility but adds voltage drop at full load. Never use a standard extension cord in place of a generator-rated cable — the thinner conductors overheat under sustained high-wattage loads.
Step-by-Step Generator Operation During an Outage
When the power goes out, the sequence matters. Get it wrong and you risk back-feeding the grid or damaging your appliances. Follow this order every time.
- Turn off the main breaker at your service panel. This physically disconnects your home from the utility grid. The transfer switch indicator lights will go dark — that confirms the isolation.
- Move the generator outside to its operating position — at least 20 feet from doors, windows, and vents — before starting it. Never run a generator in a garage, basement, or porch.
- Connect the generator cable to the outdoor inlet box. The plug should seat fully with no loose wobble. Never plug or unplug the cable while the generator is running.
- Check oil and fuel levels, set the choke, and start the engine. Let the voltage stabilize for two to three minutes — the generator’s output meter should settle in the green zone.
- Flip the transfer switch circuits from LINE to GEN one at a time. Alternate between the left and right sides to balance the load. Each switch should click firmly into place with no buzzing.
- Monitor the load. If the generator bogs down or the transfer switch trips, shut off one appliance before starting another. The transfer switch’s amp meter should stay below the generator’s rated output.
When utility power returns, reverse the sequence: flip all switches back to LINE, let the generator run unloaded for a minute, shut it off, unplug the cable, and turn the main breaker back on. The indicator lights on the transfer switch will show grid power is live.
Getting the Right Generator for Your Setup
The transfer switch and inlet box determine how much power you can safely draw, but the generator itself needs to match. A 30-amp inlet calls for a generator rated between 5,000 and 7,500 running watts. A 50-amp inlet needs a generator capable of 10,000 to 12,500 running watts. If you’re shopping for a new unit, see top emergency generators for home backup for tested recommendations across different power levels.
Connecting Your Generator: The Key Steps at a Glance
A safe, code-compliant generator connection comes down to six decisions. Make them before the lights go out.
- Hire a licensed electrician to install a manual transfer switch or interlock kit.
- Choose a weatherproof inlet box rated for your generator’s amperage.
- Select six to ten essential circuits and calculate their total wattage.
- Run a generator-rated cable matched to the inlet box amperage.
- Position the generator at least 20 feet from the house with 5 feet of clearance.
- Practice the outage sequence once so you don’t fumble it in the dark.
FAQs
Can I plug a generator directly into a wall outlet?
No. This dangerous practice, called back-feeding, energizes the wiring in your home and can electrocute utility workers repairing the lines. It is illegal under the National Electrical Code and voids your homeowner’s insurance if it causes damage.
Do I need a permit to install a generator transfer switch?
Most US municipalities require an electrical permit for any work inside the main service panel. Your electrician handles the permit process and schedules the final inspection. Skipping the permit can cause issues when selling the home.
How far should a generator be from the house?
Position the generator at least 20 feet from doors, windows, and fresh-air intakes. Carbon monoxide from a generator can reach deadly levels indoors even with the garage door open or windows cracked. A CO alarm inside the home adds an extra safety layer.
What size generator powers a house?
A 5,000 to 7,500-watt running generator powers essential circuits: refrigerator, furnace fan, well pump, lights, and a few outlets. A 10,000 to 12,500-watt unit can add a window air conditioner or a small appliance. Check the startup surge of each device before committing to a size.
References & Sources
- Champion Power Equipment. “A Comprehensive Guide to House Generator Hook-Up.” Covers approved connection methods, wire gauge specs, and NEC compliance.
- PowerOutage.us. “How to Hook a Portable Generator Up to Your House.” Step-by-step operational safety and connection procedures.
- EZ Generator Switch. “How to Install a Generator Transfer Switch.” Visual guides for DIY-configurable transfer switch installation.
- Duromax Power. “How to Connect a Portable Generator to an Electric Panel.” Detailed instructions for safe panel-to-generator connections.
- Generac. “Manual Power Transfer Using a Portable Generator.” Manufacturer guidance on generator and transfer switch operation.
