When homeowners ask how to wire a generator plug, they are usually referring to one of two distinct hardware pieces: the male cord cap (plug) that connects to the generator, or the female inlet box (receptacle) mounted to the side of the house. For a standard 7,500-watt portable generator, the industry standard is the NEMA L14-30 configuration (30 Amps, 125/250V, 3-pole, 4-wire).

The Direct Answer: For a 30A L14-30 connection, you must use 10 AWG copper wire. The wire color-to-terminal mapping is universal: Black lands on X (Brass), Red lands on Y (Brass), White lands on W (Silver/Neutral), and Green/Bare lands on G (Green/Ground).

The Decision Path: Pick Your Exact Hardware

Before stripping any wire, you must identify exactly which component you are terminating and what your generator's maximum output dictates. Use this decision table to lock in your required parts.

Decision Point Condition Required Hardware & Wire
Generator Max Output ≤ 7,500 Watts (approx. 30A) NEMA L14-30 (30A devices, 10 AWG wire)
Generator Max Output > 7,500 Watts up to 12,500W NEMA L14-50 (50A devices, 6 AWG wire)
Component Location Mounted to house exterior L14-30R Inlet Box (Female receptacle)
Component Location Attached to generator cord L14-30P Cord Cap (Male plug)
Default Recommendation: 90% of DIYers searching this topic are installing a 30A L14-30R house inlet box (like the Reliance Controls PB30) to feed a manual transfer switch. The step-by-step guide below focuses on this exact installation using 10 AWG THHN/THWN-2 wire in conduit.

Tools and Materials List

Do not substitute gauges or skip the torque verification. A loose neutral on a 240V multi-wire circuit will destroy appliances.

  • Inlet Box: 30A NEMA L14-30R twist-lock inlet (e.g., Reliance Controls PB30 or Hubbell HBL30R).
  • Wire: 10 AWG THHN/THWN-2 copper (Black, Red, White, Green) if pulling through conduit, OR 10/3 NM-B (Romex) with ground if local code permits direct entry into a flush-mount inlet box.
  • Strippers: Wire strippers rated for 10 AWG (e.g., Klein 11055).
  • Testing: Non-contact voltage tester (NCVT) and a Digital Multimeter (DMM) with continuity and AC voltage functions.
  • Fastening: Torque screwdriver (inch-pound rated) and flat-head/Phillips bits matching the terminal screws.
  • Safety: Lockout/tagout (LOTO) kit for the main breaker panel.

Critical Mains Safety Protocol

WARNING: LETHAL VOLTAGE HAZARD. Wiring a generator inlet box requires routing conductors into your home’s main electrical panel or a subpanel/transfer switch.

1. De-energize the main panel by switching off the main breaker.
2. Apply a physical lockout/tagout device to the main breaker to prevent accidental re-energization.
3. Verify the bus bars are dead using a tested NCVT and a DMM (measure Phase-to-Phase and Phase-to-Ground; all must read 0V).
4. NEC-style guidance requires a properly rated transfer switch or interlock kit. Never wire a generator inlet directly to a panel bus without a mechanical interlock or transfer switch to prevent backfeeding the utility grid, which can electrocute line workers. Your local Authority Having Jurisdiction (AHJ) has final authority on permit requirements.

Step-by-Step: Wiring the L14-30R House Inlet Box

This procedure assumes you have already mounted the inlet box, pulled the 10 AWG conductors through the conduit into the box, and routed them to your transfer switch or interlocked breaker panel. We are terminating the inlet box side.

  1. Strip the Conductors: Strip exactly 3/4 inch of insulation from the ends of the Black, Red, White, and Green 10 AWG wires. Do not nick the copper; if you do, cut and re-strip. A nicked 10 AWG wire creates a hot spot under load.
  2. Land the Ground (Green): Insert the Green (or bare) equipment grounding conductor into the terminal marked G (or the green-colored screw). This is the grounding lug, usually bonded directly to the metal inlet box chassis. Tighten to manufacturer specification (typically 14-18 in-lbs for 10 AWG).
  3. Land the Neutral (White): Insert the White insulated neutral conductor into the terminal marked W (the silver-colored screw). Crucial: Ensure no stray copper strands are splaying outside the terminal block. Tighten securely.
  4. Land Hot Leg X (Black): Insert the Black hot conductor into the terminal marked X (one of the brass-colored screws). In a 120/240V split-phase system, X and Y are interchangeable for the two hot legs, but standard practice dictates Black to X.
  5. Land Hot Leg Y (Red): Insert the Red hot conductor into the terminal marked Y (the remaining brass-colored screw).
  6. Tug Test and Torque: Give each wire a firm, sharp tug to ensure it is seated under the screw head or pressure plate. Use your torque screwdriver to verify all four terminals meet the manufacturer's inch-pound rating.
  7. Close the Enclosure: Seat the inlet box gasket (if provided) and secure the weatherproof cover plate. Ensure the spring-loaded flip cover moves freely and will seal over the male plug when inserted.

Quick Reference: Wiring the Male Cord Cap (L14-30P)

If you are actually wiring the male plug on the generator cord itself, the internal terminal letters are identical (X, Y, W, G), but the physical pin layout looking at the face of the male plug (prongs pointing at you) is different:

  • G (Ground): The L-shaped prong at the bottom.
  • W (Neutral): The straight, flat prong at the top (12 o'clock).
  • X and Y (Hots): The two angled prongs on the left and right sides.

Testing and Verification Protocol

Do not plug in the generator and flip the transfer switch until you have completed these meter readings. Skipping this step is how you fry a $2,000 HVAC control board.

Phase 1: Dead Circuit Testing (Main Breaker OFF, Generator OFF)

  1. Ground Continuity: Set DMM to continuity/ohms. Place one probe on the inlet box G terminal (or the metal box chassis) and the other on the main panel's ground bus bar. Expected Reading: < 1.0 ohms (continuous beep).
  2. Neutral Isolation Check: Place one probe on the inlet W (Neutral) terminal and the other on the inlet G (Ground) terminal. Expected Reading: OL (Open Loop / Infinite resistance). Note: If your transfer switch is a 3-pole (switches hots only, solid neutral), you may read continuity here due to the main panel's neutral-ground bond. This is normal for non-separately derived systems, but verify your transfer switch manual.
  3. Short Circuit Check: Measure between X and Y, X and W, Y and W, and X/Y to G. Expected Reading: OL on all. Any low resistance indicates a pinched wire or mis-termination.

Phase 2: Live Voltage Testing (Generator Running, Transfer Switch in GEN position)

  1. Start the generator, let it warm up for 2 minutes, and plug the L14-30 cord into the inlet. Twist to lock.
  2. Set DMM to AC Voltage (V~).
  3. Measure X to W (Black to White). Expected: 120V (± 5V).
  4. Measure Y to W (Red to White). Expected: 120V (± 5V).
  5. Measure X to Y (Black to Red). Expected: 240V (± 10V).
  6. Measure G to W (Ground to Neutral). Expected: < 2V. (If you read 120V here, your neutral is open or floating—shut down immediately).

The Most Common Botch: The Neutral-Ground Bond Conflict

The single most frequent failure mode when wiring a generator plug and inlet to a home transfer switch is the double neutral-ground bond.

The Setup: Most portable construction-style generators have their neutral and ground bonded together internally at the stator. Your home's main electrical panel also has a neutral-ground bond. If you use a 2-pole or 3-pole transfer switch (which switches the hot legs but leaves the neutral solidly connected to the house neutral bar), you create two parallel paths for neutral current to return to the generator: one through the white neutral wire, and one through the green ground wire.

The Symptom: The moment you switch to generator power, any GFCI or AFCI breakers on the switched circuits will trip instantly. You may also measure phantom voltage on appliance chassis, and a clamp meter will show current flowing on your bare copper ground wires.

The Fix: You have two code-compliant options to resolve this:

  1. Floating Neutral Generator: Remove the neutral-ground bonding jumper inside the generator's alternator terminal box (consult the generator manual). This turns it into a "separately derived system" where the house panel maintains the only bond. (Warning: This makes the generator unsafe to use standalone for extension cords on a jobsite unless you add a bonding plug).
  2. Switched Neutral Transfer Switch: Use a 4-pole transfer switch (like the Eaton 4-pole series) that physically breaks the neutral connection from the utility and switches it to the generator's bonded neutral. This is the safest, most foolproof method for portable bonded-neutral generators.

For deeper code context on optional standby systems and grounding requirements, always refer to NFPA 70 (National Electrical Code) Article 702 and Article 250.30. When in doubt, hire a licensed electrician to perform the final panel terminations and AHJ inspection.