To wire a generator into a house panel safely and legally, you must install an exterior generator inlet box connected to a dedicated backfeed breaker inside your main panel, secured by a mechanical interlock kit or a manual transfer switch. For a standard 30-amp portable generator, this requires 10 AWG copper THHN wire in conduit and a 30A 2-pole breaker. This setup physically prevents your generator from backfeeding power into the utility grid, which is a lethal hazard to utility linemen and a direct violation of the National Electrical Code (NEC).
Sizing Your Generator Inlet and Feeder Wire
The most frequent mistake DIYers make is mismatching the generator’s receptacle, the inlet box rating, the wire gauge, and the panel breaker. If your generator has a 30A twist-lock outlet (NEMA L14-30), you cannot use 12 AWG wire or a 50A breaker. The entire circuit must be rated for the exact amperity of the weakest link, and the breaker must protect the wire.
Refer to the table below to match your generator's output to the correct NEC-compliant materials. The wire sizes listed assume copper THHN/THWN-2 conductors in a raceway (conduit) at a 75°C temperature rating, per NEC Table 310.16.
| NEMA Config | Receptacle Rating | Max Continuous Load | Copper Wire Gauge (THHN) | 2-Pole Breaker Size |
|---|---|---|---|---|
| L14-20 | 20A / 125/250V | 4,000W (16.6A) | 12 AWG | 20A |
| L14-30 | 30A / 125/250V | 6,000W (25A) | 10 AWG | 30A |
| L14-50 | 50A / 125/250V | 10,000W (41.6A) | 6 AWG | 50A |
| L14-60 | 60A / 125/250V | 12,000W (50A) | 4 AWG | 60A |
Tools and Materials for a 30A Installation
For this guide, we are wiring the most common residential portable generator setup: a 30-amp system using a NEMA L14-30 configuration. Adjust gauges and breaker sizes according to the table above if you have a 50A system.
- Inlet Box: Reliance Controls PB30 30-Amp Power Inlet Box (NEMA L14-30R).
- Interlock Kit: Manufacturer-specific kit (e.g., Siemens ECSBPK01 for Siemens/Murray panels, or Eaton CHMLK for Eaton Type CH panels). Never use a universal, unlisted interlock.
- Backfeed Breaker: 30A 2-pole breaker matching your panel's brand and bus bar type (e.g., Siemens Q230).
- Wire: Four individual conductors of 10 AWG THHN/THWN-2 (Black, Red, White, Green).
- Conduit: 3/4-inch liquid-tight nonmetallic conduit (LFNC) or EMT with appropriate fittings and LB conduit body.
- Tools: Wire strippers, torque screwdriver, Klein Tools NCVT-3 non-contact voltage tester, Fluke 117 digital multimeter, 1/4-inch nut driver, and Phillips screwdriver.
Step-by-Step: Wiring the Inlet Box and Panel Interlock
Step 1: Mount the Inlet Box and Run Conduit
Mount the Reliance PB30 inlet box on the exterior of your house, positioned as close to the main panel on the interior side of the wall as possible. This minimizes the wire run and reduces voltage drop. Drill a hole through the exterior wall and install a 3/4-inch conduit body (LB fitting) to route the conduit into the panel. Pull your four 10 AWG THHN wires (Black, Red, White, Green) through the conduit, leaving at least 6 inches of slack inside both the inlet box and the main panel.
Step 2: Terminate Wires at the Generator Inlet Box
Strip exactly 3/4-inch of insulation from the ends of the four wires. Inside the inlet box, you will find a terminal block with four screws, typically labeled X, Y, W, and G. Terminate the wires as follows:
- Black Wire (Hot 1): Land on the Brass screw labeled X.
- Red Wire (Hot 2): Land on the Brass screw labeled Y.
- White Wire (Neutral): Land on the Silver screw labeled W.
- Green Wire (Ground): Land on the Green screw labeled G.
Tighten these terminals firmly. A loose neutral connection here will cause severe voltage imbalances when under load, potentially destroying 120V appliances.
Step 3: Install the Interlock and Backfeed Breaker
With the main panel de-energized and verified dead, remove the panel cover. Install the mechanical interlock kit according to the manufacturer's instructions. This usually involves sliding a metal bracket over the main breaker and the adjacent space, secured by set screws. The interlock physically prevents the main breaker and the generator backfeed breaker from being turned ON at the same time.
Snap the new 30A 2-pole breaker into an available slot on the bus bar. Position it as close to the conduit entry point as possible to avoid stretching the wires across the panel gutter.
Step 4: Terminate Wires at the Main Panel Breaker
Strip 1/2-inch of insulation from the panel-side wire ends. Route the wires neatly along the panel gutter, keeping them clear of the bus bar stabs. Terminate them as follows:
- Black Wire (Hot 1): Insert into one of the breaker's lug terminals.
- Red Wire (Hot 2): Insert into the other breaker lug terminal.
- White Wire (Neutral): Land on an empty terminal on the Neutral Bus Bar. Do not put neutral and ground on the same lug hole.
- Green Wire (Ground): Land on an empty terminal on the Ground Bus Bar (or the bonded neutral/ground bar if this is a main service panel).
Using a calibrated torque screwdriver, tighten the breaker lugs to the manufacturer's specified torque (typically 25 in-lbs for 10 AWG on standard residential breakers, but always verify the label on the breaker). Tighten the bus bar screws securely.
The Most Common Botch: Floating vs. Bonded Neutrals
The single most frequent and dangerous mistake when wiring a generator into a house panel is creating a duplicate neutral-to-ground bond. According to FEMA and NEC guidelines, the neutral and ground should only be bonded at one point in a standard residential system: the main service disconnect.
Most portable generators (under 5000W) have the neutral and ground bonded internally at the generator's stator. If you use a transfer switch or inlet box that also bonds the neutral to the ground, you create a parallel path for neutral current to flow on the ground wire.
The Symptom: If you have a double-bonded system, the moment you turn on a 120V appliance inside the house, the GFCI breaker on the generator will trip immediately, or you will measure stray voltage (10V-40V) between the panel chassis and a known earth ground. You may also feel a tingling shock when touching the panel cover.
The Fix: Ensure your inlet box and transfer switch are strictly 4-wire devices (Hot, Hot, Neutral, Ground kept separate). The Reliance PB30 inlet box used in this guide is a 4-wire device and does not bond neutral to ground. If your generator has a bonded neutral and your local code requires a floating neutral for backfeeding, you must physically remove the bonding jumper inside the generator's alternator terminal box (consult your generator's manual).
Verify and Test: Expected Multimeter Readings
Never assume the wiring is correct just because the wires are connected. Perform these verification steps before plugging in the generator.
- Continuity Test (Power OFF): Set your multimeter to continuity (Ω). Place one probe on the Green ground wire at the panel and the other on the inlet box's ground pin (G). You should read less than 1 ohm. Place a probe on the White neutral wire at the panel and the inlet box's W pin. You should read less than 1 ohm. Place a probe between the panel's Neutral bar and Ground bar; you should read continuity (less than 1 ohm) because they are bonded in the main panel.
- Short Circuit Check (Power OFF): Place one probe on the Black wire (panel side) and the other on the White wire. You should read "OL" (Open Loop / Infinite resistance). If you read continuity, you have a short; do not proceed.
- Live Voltage Test (Generator ON): Start the generator outside, plug in the L14-30 cord, and flip the generator's output breaker ON. Slide the interlock to allow the backfeed breaker to turn ON, and turn the 30A backfeed breaker ON.
- Measure between Black (X) and White (W): Expect 120V AC (± 5V).
- Measure between Red (Y) and White (W): Expect 120V AC (± 5V).
- Measure between Black (X) and Red (Y): Expect 240V AC (± 10V).
- Measure between Green (G) and White (W) at the inlet box: Expect 0V to 2V. If you read 120V here, your neutral is open or miswired. Shut down immediately.
Once these readings are confirmed, your panel is safely energized by the generator. Remember to manage your loads manually; a 30A inlet provides a maximum of 6,000 watts total across both 120V legs. Turn off high-draw appliances like electric ranges or central AC to prevent overloading the generator's alternator.






