If you are searching for a diagram how to wire a generator to a breaker box, the first thing you need to know is that you never wire a generator directly to the main lugs or bus bars of your panel. Doing so creates a backfeed hazard that can electrocute utility lineworkers and destroy your generator when grid power returns. In 2026, the only National Electrical Code (NEC) compliant methods to connect a portable generator to an existing breaker box are using a manual transfer switch (MTS) or a generator inlet box paired with a mechanical interlock kit.

This guide covers the most common, cost-effective retrofit for existing homes: wiring a 50-amp generator inlet box to your main breaker box using a backfeed breaker and a mechanical interlock bracket. This setup safely powers select 120V and 240V circuits while physically preventing the main utility breaker and the generator breaker from being turned on at the same time.

The Hard Truth: Why the Interlock is Non-Negotiable

Under NFPA 70 (NEC) Article 702, optional standby systems must be installed to prevent the inadvertent interconnection of normal and alternate power sources. If you wire a generator directly into a breaker without a physical transfer mechanism, closing the main breaker while the generator is running will send 240V back out through the utility meter. This steps up through the utility transformer to thousands of volts, creating a lethal hazard for line crews working on downed wires during a storm.

A mechanical interlock kit (typically costing between $45 and $85 in 2026) consists of a metal plate that slides over the toggle handles of your main breaker and your new generator backfeed breaker. It physically blocks one breaker from being pushed to the ON position unless the other is fully OFF.

Generator Feed Sizing: Wire Gauge and Breaker Ratings

Before pulling wire, you must match your generator's maximum continuous output to the correct breaker size and wire gauge. The table below uses the 75°C column of NEC Table 310.16, which is the standard termination rating for most modern residential breakers and lugs.

Generator Rating Max Continuous Watts (240V) Breaker Size (2-Pole) Copper Wire (THHN/THWN-2) Aluminum Wire (XHHW-2) Min. Conduit Trade Size
30A 7,200W 30A 10 AWG 8 AWG 3/4 inch
50A 12,000W 50A 6 AWG 4 AWG 1 inch
100A 24,000W 100A 2 AWG 1/0 AWG 1-1/2 inch
200A (Whole House) 48,000W 200A 2/0 AWG 4/0 AWG 2 inch

Note: If your wire run from the inlet box to the panel exceeds 100 feet, you must calculate voltage drop and likely upsize your wire by one AWG step.

Tools, Materials, and Mains Safety Protocol

CRITICAL MAINS SAFETY WARNING: Working inside a residential breaker box involves lethal 240V mains voltage. Before removing the panel cover, you MUST de-energize the panel by shutting off the main breaker, lock out the utility meter if possible, and verify the bus bars are dead using a Category III or IV multimeter. If you are not comfortable working around live service entrance conductors, hire a licensed electrician. Local AHJ (Authority Having Jurisdiction) may require a permit and inspection for this work.

Required Materials

  • Generator Inlet Box: 50-Amp, 125/250V, NEMA 14-50R (e.g., Reliance Controls CS50 or Bryant 9450FR).
  • Backfeed Breaker: 50-Amp, 2-pole, matching your panel's brand and bus bar type (e.g., Siemens Q250 for a Siemens panel, Eaton BR250 for Eaton).
  • Interlock Kit: Specific to your exact panel model (e.g., Siemens ECSBPK01 or Eaton MIICDL).
  • Conductors: Four strands of 6 AWG THHN/THWN-2 (Black, Red, White, Green).
  • Conduit & Fittings: 1-inch EMT or PVC conduit, sweep elbows, and appropriate connectors.

Required Tools

  • Category III or IV Digital Multimeter (e.g., Fluke 117)
  • Calibrated Torque Screwdriver (essential for 2026 NEC compliance on terminations)
  • Wire strippers and 6 AWG crimping tool
  • 1/2-inch and 7/16-inch nut drivers
  • Non-contact voltage tester

Step-by-Step: Wiring a 50-Amp Generator Inlet and Interlock

This procedure assumes your main panel has space for a 2-pole 50A breaker and that the inlet box is mounted on the exterior wall directly behind or adjacent to the panel.

  1. De-Energize and Verify Dead: Turn off the main utility breaker. Use your multimeter to test between the main breaker's load-side lugs and the neutral/ground bar. You must read 0.0V. Test your meter on a known live source first to ensure the battery isn't dead.
  2. Mount the Inlet Box: Secure the NEMA 14-50 inlet box to the exterior siding. Drill a 1-1/4-inch hole through the wall into the back of the main panel. Install a 1-inch conduit nipple and locknuts between the inlet box and the panel.
  3. Pull the Conductors: Feed the four 6 AWG THHN wires (Black, Red, White, Green) through the conduit from the inlet box into the main panel. Leave at least 12 inches of slack inside the panel.
  4. Terminate at the Inlet Box: Inside the exterior inlet box, strip the wires. Land the Black wire on the Brass 'X' terminal, the Red wire on the Brass 'Y' terminal, the White wire on the Silver 'W' (Neutral) terminal, and the Green wire to the Green 'G' (Ground) screw. Torque to the manufacturer's specification (typically 20-25 in-lbs for these terminals).
  5. Terminate at the Main Panel (Breaker): Install the 50A 2-pole backfeed breaker into an available slot on the bus bar. Land the Black wire on the breaker's Brass terminal A, and the Red wire on the breaker's Brass terminal B. Torque the breaker lugs exactly to the value printed on the breaker label (usually 45 in-lbs for 6 AWG copper).
  6. Terminate at the Main Panel (Neutral and Ground): Land the White (Neutral) wire on an available silver screw on the main neutral bar. Land the Green (Ground) wire on an available green screw on the grounding bar. Do not double-tap screws that already have a wire under them unless the bar is explicitly listed for two conductors.
  7. Install the Interlock Bracket: Follow the specific instructions for your interlock kit. This usually involves removing the existing breaker hold-down straps, sliding the metal interlock plate over the main breaker and the new 50A backfeed breaker, and securing it with the provided machine screws and retaining washers.

The Most Common Botch: The Neutral-to-Ground Fault

The most frequent and dangerous mistake DIYers make when wiring a generator to a breaker box is landing the White (Neutral) wire on the Green (Ground) bar, or failing to understand the neutral bond.

In a main service panel, the neutral and ground bars are bonded together. However, they serve distinct purposes. Neutral carries return current; ground only carries fault current. If you land your generator's neutral wire on a dedicated ground bar (or vice versa, depending on your panel's layout), you create a parallel path for neutral current to flow on the grounding system.

The Symptom: When you start the generator and apply a load, the GFCI receptacles on your generator or in your home will trip immediately. You may also measure stray voltage (10V-40V) between the generator's metal chassis and earth ground, which can cause a severe shock hazard in wet conditions.

The Fix: Always land the White wire on the designated Neutral bar (usually marked with a silver label or white paint) and the Green wire on the Grounding bar (marked green or bonded directly to the panel enclosure). Furthermore, ensure your portable generator is a 'floating neutral' type, or if it is a 'bonded neutral' generator, ensure your transfer setup is designed to handle it (which may require a switched-neutral transfer switch rather than a simple inlet/interlock setup). According to Mike Holt Enterprises, mixing up the grounded (neutral) and grounding conductors is a leading cause of stray voltage complaints in standby power setups.

Verify and Test: Expected Multimeter Readings

Before plugging in the generator, perform a final visual inspection of all terminations. Ensure no bare copper is exposed outside the lugs and that the interlock plate moves smoothly.

  1. Utility Test: Turn the Main Breaker ON (Generator breaker must be OFF). Measure across the main lugs. You should read 240V (±5%). Measure L1 to Neutral and L2 to Neutral. Both should read 120V.
  2. Generator Test: Turn the Main Breaker OFF. Slide the interlock plate. Turn the 50A Generator Backfeed Breaker ON. Start your portable generator and plug it into the inlet using a heavy-duty 4-prong 50A cord (e.g., 6 AWG, 25-foot NEMA 14-50P to 14-50R).
  3. Verify Voltages: With the generator running and the backfeed breaker ON, measure at the panel's bus bars or a downstream receptacle.
    • Hot 1 to Hot 2: 240V (Expect 235V-245V depending on generator governor)
    • Hot 1 to Neutral: 120V
    • Hot 2 to Neutral: 120V
    • Neutral to Ground: 0.0V (Under no load). Under heavy load, a reading of less than 2.0V is acceptable due to voltage drop on the neutral conductor.

If your Neutral-to-Ground reading is higher than 3V under load, shut down immediately and check for loose neutral connections or a crossed neutral/ground termination. For more on safe standby power practices and avoiding backfeed hazards, consult the Electrical Safety Foundation International (ESFI) guidelines on portable generator safety.

Wiring a generator to your breaker box is a highly rewarding upgrade that keeps your home resilient during grid outages. By strictly adhering to wire gauge requirements, terminating the correct colors to their designated screws, and utilizing a mechanical interlock, you ensure your system is safe, code-compliant, and ready to perform when you need it most.