Wiring a generator to your house means establishing a safe, code-compliant electrical pathway that routes backup power to specific branch circuits while physically preventing that power from backfeeding into the utility grid. When homeowners ask how do you wire a generator to your house, the direct technical answer is that you must integrate a Manual Transfer Switch (MTS), an Automatic Transfer Switch (ATS), or a main panel breaker interlock kit—you never wire a generator directly to a bus bar or rely on a "suicide cord." This installation fundamentally changes your home's electrical topology by introducing a secondary power source, which alters how neutral and ground return currents behave. The most common confusion among DIYers is mixing up illegal backfeeding with code-compliant interlocking, or misunderstanding whether a portable generator's neutral should be bonded to its frame ground when connected to a house panel.

⚠️ Mains Voltage Hazard: Any procedure involving your main service panel (>120V/240V AC) requires de-energizing the main breaker, verifying dead with a CAT III or CAT IV multimeter, and understanding that the utility feed lugs remain live even when the main breaker is off. Local codes (and the NEC) generally require a licensed electrician to perform the final terminations at the service panel.

The Core Concepts: Transfer Switches, Interlocks, and Backfeeding

To safely route generator power into your home, you must manage two physical realities: isolating the utility grid to protect line workers from backfeed, and managing the overcurrent protection for the generator's output. The method you choose dictates your hardware costs, installation time, and how you handle the neutral-to-ground bond.

Generator Wiring Methods: Hardware and Theory Comparison (2026 Data)
Wiring Method Avg. Hardware Cost Install Complexity Neutral Bonding Requirement Max Circuits Managed
Breaker Interlock Kit $45 - $85 Low (1-2 hours, panel cover mod) Floating neutral generator (Panel remains bonded) Unlimited (up to panel bus rating)
Manual Transfer Switch (MTS) $300 - $600 Medium (3-5 hours, sub-panel style) Depends on switch type (Service vs. Branch) 6 to 16 dedicated circuits
Automatic Transfer Switch (ATS) $800 - $2,500+ High (Requires utility disconnect/service work) Switch dictates bonding (Service rated = floating gen) Entire panel (200A/400A service)
Direct Backfeed (Suicide Cord) $20 (parts) N/A (Illegal/Lethal) Unmanaged (High shock/fire risk) N/A (Bypasses all protection)

The NFPA 70 (National Electrical Code) strictly prohibits backfeeding. When utility power is restored while a generator is backfeeding, the generator's voltage can collide with the grid's voltage, causing catastrophic equipment failure or electrocuting a lineman working on what they believe is a de-energized line. Interlock kits solve this mechanically: a piece of stamped steel physically prevents the main breaker and the generator breaker from being turned on at the same time. Transfer switches solve it electrically and mechanically by using a double-throw mechanism that physically breaks the utility connection before making the generator connection.

Neutral Bonding and Grounding: The Hidden Theory

The most critical theory concept in generator wiring is understanding Separately Derived Systems (SDS). According to NEC Article 250, whether your generator is considered a separately derived system depends entirely on whether your transfer mechanism switches the neutral wire.

  • 3-Pole Transfer Switch (Switches the Neutral): If the transfer switch breaks the neutral connection from the utility and connects the load neutral directly to the generator, the generator is a Separately Derived System. The generator must have its neutral bonded to its frame ground, and you must install a grounding electrode at the generator.
  • 2-Pole Transfer Switch or Interlock Kit (Does Not Switch the Neutral): The neutral wire remains solidly connected to the main panel's neutral bus (which is bonded to ground). The generator is not a separately derived system. The generator's neutral must float (be isolated from the frame ground).

A Worked Numeric Example: The Parallel Neutral Hazard

Imagine you are using an interlock kit (2-pole, neutral is not switched) and you mistakenly connect a bonded-neutral portable generator. Your house is pulling 40A of 120V load on Leg A of the generator. Because the neutral is bonded at both the main panel and the generator frame, you have created a parallel circuit for the return current.

Instead of all 40A returning safely on the insulated neutral wire, the current splits based on the resistance of the paths. Let's say 35A returns on the neutral wire, but 5A returns via the equipment grounding conductor (EGC) back to the generator frame. This 5A of "objectionable neutral current" flowing on bare copper ground wires can cause GFCI breakers at the main panel to nuisance-trip, create a measurable voltage potential on appliance chassis, and pose a severe shock hazard if the ground path is ever broken. This is why portable generators used with interlock kits must have their neutral-to-ground bonding strap removed or be purchased as "floating neutral" models.

Where You Meet This in Practice: Sizing and Load Balancing

When translating this theory to a physical installation, wire sizing, inlet box placement, and load balancing dictate the success of the project. Let's look at the most common DIY-adjacent scenario: wiring a 50A portable generator inlet box to a 200A main panel using an interlock kit.

Pro-Tip on Inlet Placement: Mount your generator inlet box (e.g., Reliance Controls PB50) on the exterior wall directly opposite the main service panel. This minimizes the interior wire run, reduces voltage drop, and keeps drilling through structural fire-blocks to a minimum.

Calculating the Feeder and Breaker Size

For a 50A, 125/250V generator connection (using an L14-50R twist-lock receptacle on the generator side), your maximum continuous load is governed by the 50A breaker you install in the main panel.

  1. Wire Sizing: You must run 6 AWG copper THHN wire in conduit (or 6/4 SOOW flexible cord if routed appropriately) from the inlet box to the 50A double-pole breaker. According to the 75°C column of NEC Table 310.16, 6 AWG copper is rated for 65A, providing a safe margin above the 50A overcurrent protection.
  2. Voltage Drop Check: If the inlet box is 60 feet away from the panel, your voltage drop at a full 50A load on 6 AWG copper is roughly 3.7V. On a 240V circuit, that is a 1.54% drop, which is well within the NEC recommended 3% maximum for feeders.
  3. Load Balancing: A 50A generator provides 12,500 running watts. Because it is a split-phase 240V system, you have 6,250W available on Leg A and 6,250W on Leg B. If you wire your kitchen refrigerator (600W, 120V) to Leg A, and your well pump (2,400W starting, 120V) to Leg A, you risk overloading that single leg and tripping the generator's internal breaker, even if the total wattage is under 12,500W. You must balance 120V loads evenly across both legs during the panel schedule planning phase.

For deeper reading on the hazards of improper grounding and backfeed scenarios in residential and temporary power setups, the OSHA guidelines on electrical hazards provide excellent case studies on why these code requirements are written in blood.

FAQ: Common Generator Wiring Questions

Can I just plug a generator into my dryer outlet with a custom cord?

No. This is known as using a "suicide cord" or direct backfeeding. It bypasses your panel's overcurrent protection, risks overloading the 30A dryer circuit wiring with 50A of generator power (causing a fire inside your walls), and leaves the utility grid energized at lethal voltages. It is strictly prohibited by the NEC and local fire codes.

Do I need a permit to wire a generator to my house?

Yes. Installing a transfer switch, ATS, or even a breaker interlock kit with a new inlet box constitutes a permanent alteration to your home's electrical service. Your local Authority Having Jurisdiction (AHJ) will require a permit and a final inspection to verify torque specs, wire bending radius, and proper neutral bonding.

What is the difference between a service-rated and branch-rated transfer switch?

A service-rated transfer switch is installed between the utility meter and the main panel; it contains the main service disconnect and handles the entire home's amperage (e.g., 200A). A branch-rated transfer switch is installed downstream of the main panel and only manages specific sub-circuits (e.g., 30A or 50A). Service-rated switches require the generator to have a floating neutral, while branch-rated switches often require the generator to be bonded, depending on the exact internal switching mechanism.

Why does my generator breaker trip immediately when utility power comes back?

If you are using an interlock kit, this shouldn't happen mechanically, as the interlock prevents the main breaker from closing while the generator breaker is on. If you are using an ATS, a failure in the ATS control board's voltage sensing relay might cause a momentary overlap where both sources attempt to sync, resulting in a massive inrush current and an instantaneous magnetic trip of the generator's output breaker.