To safely hook up a portable generator to your house, you must route power through a dedicated generator inlet box and a manual transfer switch (or an approved breaker interlock kit). Never use a 'suicide cord' to backfeed a dryer or range outlet; this bypasses overcurrent protection and creates a lethal backfeed hazard for utility line workers. The correct path requires matching your generator's maximum continuous wattage to the ampacity of your inlet box, feeder wire, and transfer switch, while strictly managing the neutral-to-ground bonding path.

SAFETY WARNING: Carbon monoxide kills. Always operate portable generators outdoors, at least 20 feet from the house, with the exhaust directed away from windows and doors. For mains voltage wiring, de-energize the main panel, verify dead with a tested meter, and follow NEC-style guidance; your local AHJ has final authority on permits and inspections.

Sizing the Inlet, Cord, and Transfer Switch

Before tracing the wiring diagram, you must select components that match your generator's output. The most common mistake DIYers make is pairing a 50-amp inlet box with a generator that only has a 30-amp receptacle, or using NM-B (Romex) cable for the outdoor inlet whip instead of wet-location rated THHN/THWN in conduit. The table below provides exact sizing based on the 75°C ampacity column of NEC Table 310.16.

Generator Max Output Receptacle Type Inlet Box Rating Copper Wire Gauge (THHN) Transfer Switch Breaker
3000W (120V only) NEMA L5-30R 30A 120V 1-Pole 10 AWG 30A 1-Pole
5500W (120/240V) NEMA L14-30R 30A 120/240V 2-Pole 10 AWG 30A 2-Pole
7500W (120/240V) NEMA L14-50R 50A 120/240V 2-Pole 6 AWG 50A 2-Pole
9500W+ (120/240V) NEMA L14-50R / 14-50R 50A 120/240V 2-Pole 4 AWG (for runs >50ft) 50A 2-Pole
Bench Tip: If your generator has an L14-30R (30A) outlet but you want to future-proof for a larger unit, you can install a 50A inlet box and run 6 AWG wire to the panel, but you must use a 30A cord and ensure the panel breaker is sized to protect the wire (or use a 30A breaker in the transfer switch). The breaker must always protect the smallest wire in the circuit.

Terminal Mapping and Diagram Symbols

When reading the wiring diagram for a 120/240V split-phase system, you will encounter specific NEMA designations. The most prevalent configuration for mid-to-large portable generators is the NEMA L14-30 (30A, 125/250V, 4-wire, locking). Here is the exact terminal mapping and what the schematic symbols mean on your physical device and inlet box.

Pin Label Schematic Symbol Physical Location on Plug Function & Wire Color
X L1 (Hot 1) Top-left angled blade Ungrounded conductor (Black wire) - 120V to Neutral
Y L2 (Hot 2) Top-right angled blade Ungrounded conductor (Red wire) - 120V to Neutral, 240V to L1
W N (Neutral) Bottom horizontal blade Grounded conductor (White wire) - Current return path
G EG (Ground) Bottom U-shaped pin Equipment Grounding Conductor (Green/Bare) - Fault path only

In electrical schematics, X and Y represent the ungrounded (hot) legs. They are 180 degrees out of phase with each other, which is why measuring across them yields 240V, while measuring either to W (the grounded neutral) yields 120V. The G pin is strictly a safety path; it should never carry current during normal operation.

Node-by-Node Trace from Generator to Load

Let's trace the physical path of the electrons from the generator's alternator to your home's branch circuits, paying strict attention to polarity and the critical ground path.

  1. Source (Generator Alternator): Power originates in the generator's stator windings. L1 and L2 exit the alternator and route to the generator's main breaker, then to the panel-mounted NEMA receptacle.
  2. The Cord (L14-30P to L14-30R): A 4-conductor SOOW (flexible, oil-and-water resistant) cord carries the power. Black (L1), Red (L2), White (N), and Green (G) wires are terminated in the twist-lock plug. Polarity is maintained by the physical shape of the blades.
  3. Generator Inlet Box: The cord plugs into the exterior inlet box. Inside the weatherproof enclosure, the cord's prongs make contact with the inlet's lugs: X (Black), Y (Red), W (White), and G (Green). The Green wire lands directly on the inlet box's grounded metal chassis or a dedicated ground lug.
  4. Conduit and Feeder Whip: Four individual THHN/THWN wires (Black, Red, White, Green) run from the inlet box through rigid or PVC conduit into the home's main panel or subpanel. Code note: You cannot run NM-B (Romex) inside conduit on the exterior of the house, as it is not rated for wet locations.
  5. Transfer Switch / Interlock Breaker: The Black and Red wires land on the line terminals of the 2-pole generator breaker. The White (Neutral) wire lands on the neutral bus bar. The Green (Ground) wire lands on the equipment grounding bus bar.
  6. Branch Circuit Loads: When the transfer switch is thrown (or the interlock allows the generator breaker to close while the main is open), power flows from the generator breaker, across the bus bars, and into the designated branch circuit breakers feeding your fridge, well pump, or lights.
CRITICAL GROUND PATH & BONDING RULE: According to NFPA and NEC Article 250, the neutral and ground must be bonded at exactly one point in a separately derived system. If your transfer switch does not switch the neutral (most standard 2-pole interlocks and cheap transfer switches do not), the neutral-ground bond inside the house panel remains intact. Therefore, your portable generator's neutral-ground bonding switch must be set to FLOATING (OPEN). If both are bonded, neutral return current will split and travel back to the generator over the green ground wire, creating a shock hazard and potentially tripping GFCI/AFCI breakers.

Verifying Connections and Polarity with a Meter

Before starting the generator and transferring the load, you must verify your wiring. Grab your digital multimeter (DMM) and follow this sequence.

Phase 1: De-Energized Continuity Testing (Main Breaker OFF, Generator OFF)

  1. Verify Dead: Set your DMM to AC Voltage (V~). Measure between the main breaker lugs and the neutral bus. Read must be 0V.
  2. Ground Path Continuity: Switch DMM to Continuity/Ohms (Ω). Place one probe on the generator inlet box's ground lug (Pin G) and the other on the main panel's equipment grounding bus bar. You should read < 1.0 ohms. This confirms a solid fault path.
  3. Check for Shorts: Measure resistance between L1 (Black) and Ground, L2 (Red) and Ground, and Neutral (White) and Ground (at the inlet box). All should read OL (Open Loop) or infinite resistance. If you read near zero, you have a dead short or an improper neutral-ground bond at the generator.

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

  1. Start Generator: Start the unit outdoors and let it stabilize for 60 seconds.
  2. Verify Inlet Voltage: Set DMM to AC Voltage. Carefully probe the back of the inlet box terminals (or the transfer switch line terminals).
    • L1 to Neutral (X to W): Must read 114V - 126V.
    • L2 to Neutral (Y to W): Must read 114V - 126V.
    • L1 to L2 (X to Y): Must read 228V - 252V.
  3. Verify Ground Polarity: Measure L1 to Ground (X to G). It should read the same as L1 to Neutral (~120V). If it reads 0V, your ground path is broken or your generator's neutral-ground bond is incorrectly configured.

Once these readings are confirmed, you can safely close the generator breaker and power your home's critical loads. For comprehensive safety guidelines on placement and operation, always defer to FEMA's Ready.gov generator protocols and your local authority having jurisdiction (AHJ).