To wire a house for a generator safely and legally, you must install a generator inlet box paired with either a manual transfer switch (MTS) or a mechanical panel interlock kit. For a standard 200-amp residential main panel, the most cost-effective and code-compliant method is installing a 50-amp NEMA 14-50 inlet box and a mechanical interlock kit using 6 AWG copper THHN wire. This setup allows you to backfeed the entire panel up to the 50A (12,000W at 240V) limit of the inlet, preventing the generator from overloading while ensuring utility workers are not electrocuted by backfed power.

⚠️ CRITICAL MAINS SAFETY WARNING

Working inside a main electrical panel involves lethal voltages. Before opening the panel cover, you must de-energize the main breaker. However, the utility feed lugs at the top of the main breaker remain energized and lethal even when the breaker is OFF. Use a non-contact voltage tester and a calibrated digital multimeter to verify dead on all bus bars before touching any conductors. If you are not comfortable working inches from live utility lugs, hire a licensed electrician. NEC-style guidance is provided here; your local Authority Having Jurisdiction (AHJ) has final authority and may require a permit and inspection.

The Core Setup: 50A Inlet and Mechanical Interlock

When learning how to wire a house for a generator, you will encounter two primary code-compliant pathways: a Manual Transfer Switch (MTS) subpanel or a Mechanical Interlock Kit on your existing main panel. An MTS requires you to physically move individual branch circuits from the main breaker to the generator breaker, which limits you to 6-10 critical circuits and costs significantly more in labor and materials.

A mechanical interlock kit (such as the Reliance Controls PK0504C or OEM equivalents from Eaton/Siemens) is a physical steel plate that prevents the main utility breaker and the generator backfeed breaker from being turned on simultaneously. This satisfies NFPA 70 (National Electrical Code) Article 702 requirements for Optional Standby Systems, which mandate that portable generator power cannot be paralleled with utility power. By using an interlock on the main panel, you gain access to every circuit in the house, provided your total simultaneous load does not exceed the 50A (12kW) limit of the inlet.

Tools, Materials, and Wire Sizing Specifications

Precision in material selection is non-negotiable. The following table outlines the exact specifications for a standard 50A, 240V single-phase residential installation. All wire sizing assumes copper conductors in a wet/dry outdoor-to-indoor conduit run, referencing the 75°C column of NEC Table 310.16.

Component / Parameter Required Specification Terminal / Landing Point
Generator Inlet Box 50A, 240V, NEMA 14-50R, Rainproof Exterior wall, near panel
Hot Conductors (2x) 6 AWG Copper THHN (Black & Red) Brass screws (X and Y)
Neutral Conductor (1x) 6 AWG Copper THHN (White) Silver screw (W)
Equipment Ground (1x) 8 AWG Copper THHN (Green) Green screw (G) / Ground Bar
Backfeed Breaker 50A 2-Pole (e.g., Eaton BR250) Brass lugs on breaker
Lug Torque Spec 35 to 40 in-lbs (Verify on breaker label) All terminated lugs

Required Tools: Calibrated torque screwdriver (e.g., CDI 101-400), 1-inch hole saw or knockout punch, 1-inch PVC or EMT conduit and fittings, wire strippers rated for 6 AWG, digital multimeter (CAT III rated), non-contact voltage tester, and a cordless drill.

Step-by-Step Installation: Inlet Box to Main Panel

This procedure assumes you are routing from an exterior-mounted inlet box directly through the siding into the back or side of the main service panel.

  1. Mount the Inlet Box: Position the NEMA 14-50 inlet box on the exterior wall, ideally within 3 feet of the main panel's location inside. Secure it to the wall studs using four #10 exterior-grade wood screws. Ensure the weatherproof flange is sealed with exterior silicone caulk to prevent moisture intrusion.
  2. Run the Conduit: Drill a 1-inch hole through the exterior wall and the panel enclosure (or use a 1-inch knockout punch on the panel). Install a 1-inch PVC or EMT conduit nipple between the inlet box and the panel. Use appropriate connectors and locknuts on both ends. If the run is longer than 24 inches, you must use continuous conduit with pull boxes, not just a nipple.
  3. Pull and Terminate at the Inlet Box: Pull four wires through the conduit: Black, Red, White, and Green. Strip 3/4 inch of insulation from each. At the NEMA 14-50R inlet receptacle, land the Black wire on the top Brass terminal (X). Land the Red wire on the bottom Brass terminal (Y). Land the White wire on the Silver terminal (W). Land the Green wire on the Green grounding terminal (G). Torque all screws to the manufacturer's specification (typically 35 in-lbs).
  4. Install the Interlock Kit: With the main breaker OFF and the panel cover removed, install the mechanical interlock plate according to the specific kit instructions. This usually involves removing two existing breakers to mount the interlock bracket, then replacing them. The interlock must physically block the 50A backfeed breaker from being pushed to the ON position unless the main utility breaker is OFF.
  5. Install the Backfeed Breaker: Snap the 50A 2-pole breaker (e.g., Eaton BR250 or Siemens Q250) into the panel at the location dictated by the interlock kit (usually at the very bottom or very top of the bus bar, opposite the main breaker).
  6. Terminate at the Main Panel: Route the wires neatly along the panel's wire gutters. Land the Black wire on one of the breaker's Brass lugs. Land the Red wire on the other Brass lug. Land the White neutral wire on an available terminal on the panel's Neutral Bar (Silver). Land the Green ground wire on the panel's Equipment Grounding Bar (Green). Note: In a main service panel, the neutral and ground bars are bonded together, but you must still land them on their respective designated bars to maintain proper current path separation. Torque the breaker lugs to exactly 40 in-lbs (or the value printed on the breaker label) using your calibrated torque screwdriver.

Verification and Testing Protocol

Do not skip the testing phase. According to the U.S. Department of Energy's generator safety guidelines, verifying your connections prevents catastrophic backfeeding and equipment damage.

  1. Visual and Mechanical Check: Verify the interlock physically prevents both the main and backfeed breakers from being ON at the same time. Tug firmly on every terminated wire to ensure it is seated and torqued correctly.
  2. Continuity Test (Dead Circuit): With the utility OFF and generator disconnected, set your multimeter to continuity (ohms). Place one probe on the inlet box ground pin and the other on the panel ground bar. You should read near 0 ohms (a solid beep). Place one probe on the inlet neutral pin and the panel ground bar; you should read a low resistance (since they are bonded in the main panel), confirming the neutral path is intact.
  3. Voltage Test (Live Circuit): Plug the generator into the inlet, start it, and turn the 50A backfeed breaker ON. Set your meter to AC Voltage. Measure between the Black and Red wires at a 240V receptacle inside the house: you should read 240V (+/- 5%). Measure between Black and White: 120V (+/- 5%). Measure between Red and White: 120V (+/- 5%). Measure between White (Neutral) and Green (Ground): you should read 0V.

The Most Common Botch: Neutral-to-Ground Bonding Errors

The single most frequent and dangerous mistake when wiring a house for a generator is ignoring the neutral-to-ground bond configuration of the portable generator itself.

The Scenario: Many portable generators (especially those with GFCI-protected 240V outlets) are 'bonded neutral' machines. This means the neutral wire is physically strapped to the generator's steel frame inside the alternator housing. Your home's main service panel also has a neutral-to-ground bond at the main bonding jumper.

The Symptom: When you connect a bonded-neutral generator to your main panel via the inlet, you create two parallel paths for the neutral return current: one through the White neutral wire, and one through the Green ground wire. When you turn on a load, current flows on the ground wire. If you have GFCI or AFCI breakers in your panel, they will detect this current on the ground wire, interpret it as a ground fault, and trip immediately, cutting power to the house. Worse, if the ground wire fails, the generator's steel frame can become energized at 120V, presenting a lethal shock hazard to anyone touching it.

The Fix: For a main panel interlock installation, you must use a floating neutral generator (where the neutral is isolated from the frame). Check your generator's owner's manual. If it is a bonded neutral unit, you must either have a qualified technician remove the internal bond (if permitted by the manufacturer) or install a 2-pole switching neutral contactor in a subpanel setup, which is significantly more complex. Never wire a bonded-neutral portable generator directly into a main service panel inlet without addressing this conflict.