Generator Subpanel vs Direct Hookup: Wiring Options for Homes
Short answer: For most homes, a manual transfer switch wired directly to selected circuits is the safest and simplest way to connect a portable generator. A subpanel offers more flexibility when you want to power many circuits but requires a larger generator and a more complex install. Both methods need a permit and professional installation to meet local codes. Always place the generator outdoors far from windows and doors to avoid carbon monoxide buildup.
Direct hookup with a transfer switch
The most straightforward way to connect a portable generator to your home is a manual transfer switch installed beside your main panel. The switch feeds a handful of dedicated circuits, such as the fridge, furnace, and lights. You move the chosen breakers into the transfer switch's small subpanel, then plug the generator into a power inlet box that is interlocked with the switch. When utility power fails, you start the generator, flip the switch from Line to Generator, and the selected circuits come alive.
This setup is simple, safe, and meets most electrical codes because the transfer switch physically separates the generator from the utility grid. It prevents backfeeding, which can electrocute a lineworker or damage the generator. It is the configuration used by many portable generator owners and is easy to expand if you buy a larger generator later. See our guide on transfer switch types for a comparison of manual and automatic options.
Subpanel wiring
If you need to power more than a few circuits, a subpanel gives you more freedom. A subpanel is a smaller breaker panel installed next to your main panel. You move selected branch circuits from the main panel to the subpanel. The subpanel is then fed from a generator via a transfer switch or interlock. When you lose power, the generator powers the whole subpanel, energizing everything connected to it.
The advantage is that you can power multiple loads at once, including 240-volt appliances like a well pump or electric water heater, provided your generator has enough capacity. The tradeoff is a more complex installation: you need an additional blank space in your main panel to feed the subpanel, and the subpanel's amperage must match the generator's output. A licensed electrician should size the subpanel and the transfer switch based on your generator's running watts. You can match your generator to your load using our generator sizing guide.
A subpanel is often paired with a large portable generator in the 5001-9000 watt range or a home standby generator that can feed the whole panel. For whole-house backup, a standby generator with an automatic transfer switch is the most convenient, but a portable generator with a subpanel is a common compromise when you want to power many circuits without a permanent installation.
Interlock kits as a budget alternative
An interlock kit is a metal plate that slides over the main breaker and the generator breaker in your existing panel. Only one can be in the ON position at a time, which mechanically prevents backfeeding. It is less expensive than a transfer switch and lets you power any circuit in the panel up to the generator's rating. However, not all local jurisdictions accept interlocks, and they do not provide the same overload protection as a dedicated transfer switch. Check with your local inspector before relying on an interlock. Our article on generator connection types covers the differences.
Permits and electrical codes
Connecting a generator to your home's electrical system is a permanent modification that affects the entire dwelling. In most municipalities, you must obtain a permit before starting the work and have it inspected after. A licensed electrician should do the installation or at least review it. The local code will specify whether a transfer switch, interlock, or subpanel is allowed and how it must be sized. Backfeeding a generator through a dryer outlet or a standard wall socket is dangerous and illegal in most areas because it can energize the utility lines and create a fire hazard.
The exact rules vary by state and city, so always seek guidance from your local building department. The National Electrical Code (NEC) is the basis for most residential codes, but amendments differ. You can also refer to your generator's manual for permissible wiring methods. A professional installation also ensures that your generator's grounding and bonding are correct, which is critical for safety. See our article on generator neutrals and bonding for more detail.
Carbon monoxide safety for generator placement
Regardless of the wiring method, the generator itself must sit outdoors, far from any building openings. The Centers for Disease Control and Prevention (CDC) recommends operating portable generators more than 20 feet from windows, doors, and vents to avoid carbon monoxide (CO) poisoning. The U.S. Consumer Product Safety Commission (CPSC) warns that never use a generator inside a home or garage, even with doors and windows open, because CO can build up quickly and be lethal.
This placement affects your generator connection because you need a cord long enough to reach the inlet box on your house. The generator's exhaust must face away from the home, and you should install a battery-operated CO detector on every level of the house, especially near sleeping areas, as the CDC advises. For more on CO risks, see our carbon monoxide safety article.
How to choose
Start by listing the circuits you must keep running during an outage: refrigerator, heating, lights, internet, maybe a well pump. Add their running watts and compare that to the generator's rated output. Then decide between a direct transfer switch (few circuits) and a subpanel (many circuits). If you only need the essentials, a portable generator in the 3000-5000 watt class with a manual transfer switch is the simplest. For a more comprehensive setup, a 5001-9000 watt generator or a home standby generator with a subpanel or automatic transfer switch gives you whole-house coverage.
Every installation is different, so work with a licensed electrician to inventory your loads and design the layout. They can also pull the necessary permits and ensure the work passes inspection. You can use our how to size a transfer switch article to estimate the right switch rating, and then match it with the generator that fits your budget and fuel preferences.
What to pick for your use
| If you | Pick | Buying guide |
|---|---|---|
| You only need to keep a few essential circuits running during an outage | A portable generator with a manual transfer switch | Best Portable Generators 2026: 12 Picks Compared |
| You want to power many circuits, including 240-volt appliances | A larger portable generator with a subpanel | Best 5001-9000 Watt Generators in 2026: 12 Picks Compared on Specs |
| You want fully automatic backup without manual switching | A home standby generator with an automatic transfer switch | Best Home Standby Generators: 14 Picks for 2026 |
| Your house has a well pump, electric heat, or other high-load equipment | A generator with enough running watts and a subpanel rated for that load | Best Over 9000 W Generators in 2026: 15 Picks Compared on Specs |
Questions
What is the main difference between a subpanel and a direct hookup?
A direct hookup uses a transfer switch to power a few dedicated circuits, while a subpanel feeds a larger panel that can serve many circuits. The subpanel lets you power more loads but requires a heftier generator and a more involved installation.
Do I need a permit to wire a generator into my home?
Most jurisdictions require a permit and inspection for a permanent generator connection. Check with your local building department; a licensed electrician should handle the permit and ensure the work meets code.
Can I backfeed my house with a generator through a dryer outlet?
No. Backfeeding is dangerous and can electrify utility lines, causing a severe shock or fire. Always use a transfer switch or an approved interlock to physically separate the generator from the grid.
How far must the generator be from the house?
The CDC recommends operating portable generators more than 20 feet from windows, doors, and vents to prevent carbon monoxide buildup. The CPSC also says never run a generator indoors or in a garage.
What size transfer switch do I need?
It depends on the total running watts you plan to power. A licensed electrician can size it based on your load list. See our how to size a transfer switch article for guidance.
Can I install the generator hookup myself?
Only if you are a licensed electrician and local codes allow self-work. Most homeowners hire a professional to guarantee safety and code compliance, especially because a mistake can create a fire hazard or a lethal backfeed.
Latest changes
- : First published.