To wire a 50-amp, 120/240V portable generator to a main electrical panel, use 6 AWG copper THHN/THWN wire routed in conduit from a 50A outdoor inlet box to a 50A double-pole breaker equipped with a mechanical interlock kit. Land the black and red wires on the breaker's brass terminals, the white wire on the panel's neutral busbar (silver screws), and the bare or green wire on the grounding busbar (green screws). Never wire a generator directly to a panel without a transfer switch or interlock; backfeeding is lethal to utility workers and violates NEC Article 702.
⚠️ DANGER: MAINS VOLTAGE IS LETHAL
Before opening your main electrical panel, turn off the main utility breaker and verify the busbars are completely dead using a CAT III or CAT IV non-contact voltage tester and a multimeter. Lock out or tag the main breaker if possible. If your local Authority Having Jurisdiction (AHJ) requires a licensed electrician for panel modifications or permits, hire one. This guide follows NFPA 70 (NEC) guidance; your local inspector has final authority.
Sizing the Breaker, Wire, and Inlet Box
Matching your generator's maximum output to the correct wire gauge and breaker rating is the first critical step. Undersizing the wire causes voltage drop and fire hazards; oversizing the breaker defeats the overcurrent protection. The table below assumes copper conductors in the 75°C ampacity column, routed in standard conduit at an ambient temperature of 30°C (86°F).
| Generator Wattage | Max Amps (240V) | Inlet Receptacle | Breaker Size | Wire Gauge (Copper) |
|---|---|---|---|---|
| Up to 7,500W | 31.2A | L14-30 (4-prong) | 30A 2-Pole | 10 AWG THHN |
| 8,000W - 12,500W | 52.0A | L14-50 (4-prong) | 50A 2-Pole | 6 AWG THHN |
| 15,000W+ (Standby) | 62.5A+ | Direct / ATS | 100A+ 2-Pole | 3 AWG or 1/0 AWG |
Tools and Materials List
For a standard 50-amp portable generator installation (8,000W to 12,500W), gather the following specific components:
- 50-Amp Generator Inlet Box: NEMA 14-50R configuration, NEMA 3R rated for outdoor use (e.g., Reliance Controls PB50).
- 50-Amp Double-Pole Breaker: Must match your panel's specific brand and busbar type (e.g., Square D QO250 for QO panels, or Siemens Q250 for Siemens panels).
- Generator Interlock Kit: Specifically engineered for your exact panel model (e.g., Square D HOMCGK2C for Homeline panels). Never substitute a DIY metal plate for a UL-listed interlock.
- Conductors: Four individual 6 AWG copper THHN/THWN wires (Black, Red, White, Green).
- Conduit: 3/4-inch PVC or EMT conduit, sweep elbows, and appropriate fittings.
- Tools: Wire strippers, torque screwdriver (calibrated to inch-pounds), CAT III/IV digital multimeter, non-contact voltage tester, cordless drill, and conduit benders if using EMT.
Step-by-Step Wiring Procedure
Follow these steps to route and terminate the 4-wire feeder from the exterior inlet box to the interior main panel.
1. Mount the Inlet Box and Run Conduit
Mount the 50A inlet box on the exterior wall directly opposite or adjacent to your main electrical panel. Drill a 1-inch hole through the exterior wall and run 3/4-inch conduit from the inlet box knockout to the panel knockout. Ensure all conduit fittings are tight and weather-sealed on the exterior side.
2. Pull the 6 AWG THHN Conductors
Use fish tape to pull the four 6 AWG THHN wires (Black, Red, White, Green) through the conduit. Leave at least 8 inches of slack inside the inlet box and 18 inches of slack inside the main panel. Strip exactly 5/8 inch of insulation from the ends of the black, red, and white wires using wire strippers. Do not nick the copper.
3. Terminate the Inlet Box
Open the inlet box and locate the terminal block, which is typically labeled with letters rather than colors:
- Land the Black (Hot 1) wire on the X terminal (brass screw). Torque to the manufacturer's specification (typically 35 in-lbs).
- Land the Red (Hot 2) wire on the Y terminal (brass screw).
- Land the White (Neutral) wire on the W terminal (silver screw).
- Land the Green or Bare (Ground) wire on the G terminal (green screw) or the grounded metal box lug if provided.
4. Terminate the Panel Breaker (Hots)
With the main utility breaker OFF and the busbars verified dead, snap the new 50A double-pole breaker into an available 240V slot on the panel busbar. Land the Black wire on one of the breaker's brass terminal lugs, and the Red wire on the other brass terminal lug. Use a torque screwdriver to tighten the lugs to the exact value printed on the breaker label (usually 40-45 in-lbs for 6 AWG wire). Loose connections here will cause arcing and melting under a 40A continuous load.
5. Terminate Neutral and Ground at the Panel
In a main service panel, the neutral and ground busbars are bonded together, but you must still land the wires on their designated bars to maintain proper current path tracking:
- Land the White (Neutral) wire on an empty screw on the Neutral Busbar (identified by silver screws and white plastic insulators). Ensure no other wires are sharing this specific screw hole.
- Land the Green/Bare (Ground) wire on an empty screw on the Grounding Busbar (identified by green screws and direct metal-to-metal contact with the panel enclosure).
6. Install the Mechanical Interlock Kit
Follow the manufacturer's instructions to install the interlock kit. This typically involves removing two existing breakers, installing a sliding metal plate over the main breaker and your new generator breaker, and securing it with the provided retaining screws. The physical geometry of the plate must make it impossible to turn ON the generator breaker unless the main utility breaker is OFF.
Verify and Test: Expected Meter Readings
Do not skip the verification phase. Testing ensures your terminations are secure and your interlock is functioning before you plug in a $1,000 generator.
- Pre-Power Continuity Test: Set your multimeter to continuity (the diode/beep symbol). Place one probe on the ground busbar and the other on the neutral busbar. You should hear a beep (continuity), confirming the main panel's neutral-ground bond is intact. Place one probe on the ground busbar and the other on the brass terminal of the new 50A breaker. You must read 'OL' (Open Line / No Continuity). If it beeps, you have a short circuit; stop and re-inspect.
- Interlock Mechanical Test: With both the Main and Generator breakers OFF, try to turn the Generator breaker ON. It should be physically blocked. Turn the Main breaker ON, then try to turn the Generator breaker ON. It must remain blocked.
- Live Voltage Test: Plug the generator into the inlet box, start it, and let it stabilize for 60 seconds. Turn OFF the main utility breaker, slide the interlock, and turn ON the generator breaker. Set your multimeter to AC Voltage (V~).
- Probe Hot (Black) to Neutral (White): Expected reading is 120V ± 5V.
- Probe Hot (Red) to Neutral (White): Expected reading is 120V ± 5V.
- Probe Hot (Black) to Hot (Red): Expected reading is 240V ± 10V.
- Probe Hot to Ground: Expected reading is 120V.
The Most Common Botch: The Double-Bonded Neutral
The most frequent technical failure when wiring a portable generator to a house panel is the double-bonded neutral. Most portable generators under 10kW ship from the factory with a "bonded neutral"—meaning the neutral winding inside the alternator is physically strapped to the generator's metal frame (ground). Your house's main panel also has a neutral-to-ground bond. When you connect the two via a 4-wire inlet, you create two parallel paths for neutral current to return to the source: one through the white neutral wire, and one through the bare ground wire. The Symptom: The moment you turn on a 120V appliance in the house, the generator's internal GFCI receptacles or your home panel's AFCI/GFCI breakers will trip instantly. Furthermore, a clamp meter placed around the bare ground wire in the conduit will read 2A to 10A of objectionable neutral current flowing on the safety ground.
The Fix: You must eliminate one of the bonds. The easiest and most code-compliant fix for portable setups is to open the generator's alternator terminal box and remove the neutral-to-ground bonding jumper, converting the generator to a "floating neutral." Because the house panel already provides the system bond, the generator does not need to duplicate it. Always consult your generator's specific owner manual before modifying internal alternator wiring.
Frequently Asked Questions
Can I wire a generator to my panel without a transfer switch or interlock?
No. Wiring a generator directly to a panel busbar or using a "suicide cord" (a cord with male plugs on both ends) to backfeed a dryer outlet is illegal and highly lethal. According to U.S. CPSC safety guidelines and NEC Article 702, utility power and generator power must be mechanically or electrically isolated. If the interlock is missing, your generator can backfeed 240V out to the utility transformer, stepping it up to 7,200V on the utility lines and electrocuting lineworkers attempting to restore power.
What size breaker and wire do I need for a 7500-watt generator to a panel?
A 7,500-watt generator operating at 240V produces a maximum of 31.2 amps. However, the standard NEMA L14-30 receptacle found on these generators is rated for exactly 30 amps. Therefore, you must use a 30A double-pole breaker and 10 AWG copper THHN wire. The breaker protects the 30A inlet receptacle and the 10 AWG wire from overheating, while the generator's internal 30A breaker protects the alternator windings.
Why does my generator trip GFCI breakers when connected to the house panel?
As detailed in the "Double-Bonded Neutral" section above, this is caused by parallel neutral and ground paths confusing the GFCI sensor. A GFCI works by comparing current on the hot wire to current on the neutral wire. If neutral current leaks onto the ground wire due to a double-bond, the GFCI sees an imbalance and trips. Floating the generator's neutral or installing a 3-pole transfer switch that physically switches the neutral wire will resolve this.
Does the outdoor generator inlet box need its own ground rod?
No. The inlet box is connected to the main panel via the equipment grounding conductor (the green or bare wire). Because the main panel is already tied to the home's primary Grounding Electrode System (ground rods, ufer ground, or metal water pipe), the inlet box is effectively bonded to that system. Driving a separate ground rod at the inlet box is unnecessary, violates NEC 250.54 (which prohibits using the earth as an effective ground-fault current path), and can create dangerous ground loops during a lightning strike.






