If you want to know how to wire your house to a generator safely and legally, the direct answer is to install a properly sized Manual Transfer Switch (MTS) or an interlock kit. For a standard mid-sized portable generator, you need a 30-Amp, 240V/120V split-phase Manual Transfer Switch (like the Reliance Controls 31410CRK), a 30A NEMA L14-30R exterior inlet box, and 10 AWG copper wire (either 10/3 NM-B with ground or four individual 10 AWG THHN conductors in conduit). The main panel requires a 30A double-pole breaker to protect the feeder.

Wiring a generator directly into your panel without an approved transfer mechanism is illegal, highly dangerous, and can electrocute utility workers. This guide walks through the NEC-style installation of a 30A MTS system. Note that while this covers the technical execution, your local Authority Having Jurisdiction (AHJ) may require a licensed electrician to pull the permit and perform the final main panel terminations.

⚠️ CRITICAL MAINS SAFETY WARNING

Working inside a main electrical panel involves lethal voltages. Before removing any panel covers, you must de-energize the main panel by shutting off the utility main breaker. If your utility feed is overhead and the main breaker leaves the utility lugs energized, you must contact your utility to drop the meter or disconnect service. Always use a Category III or IV non-contact voltage tester and a multimeter to verify the bus bars are completely dead before touching any conductors. Never assume a breaker is off just because the switch is flipped.

Tools and Materials Checklist

Do not start this job until you have the exact materials rated for a 30A continuous load. Using undersized wire or standard 15A/20A breakers will result in melted lugs or a panel fire.

Materials

  • Transfer Switch: 30A, 6-circuit to 10-circuit Manual Transfer Switch (e.g., Reliance Controls 31410CRK or Generac 6294).
  • Power Inlet Box: 30A, 125/250V NEMA L14-30R flanged inlet box (e.g., Reliance PB30).
  • Main Panel Breaker: 30A, 2-pole breaker matching your main panel's brand and bus bar type (e.g., Siemens Q230, Square D HOM230, or Eaton BR230).
  • Feeder Wire: 10/3 NM-B (Romex) with bare ground for indoor/protected runs, OR four strands of 10 AWG THHN (Black, Red, White, Green) pulled through 3/4-inch PVC or EMT conduit.
  • Connectors: 3/4-inch NM cable connectors or conduit fittings and appropriate pull boxes if using THHN.

Tools

  • CAT III or CAT IV Digital Multimeter (e.g., Fluke 117) for verifying dead circuits and testing voltage.
  • Non-contact voltage tester (NCVT) as a secondary backup.
  • Calibrated torque screwdriver (essential for terminating neutral and ground lugs to manufacturer specs, typically 20-25 in-lbs for 10 AWG).
  • Wire strippers rated for 10 AWG (e.g., Klein Tools 11063W).
  • Insulated screwdrivers and nut drivers.

Step-by-Step: Wiring the Inlet Box and Transfer Switch

The following steps assume you are using a 30A MTS and 10 AWG conductors. The color coding and terminal assignments are standard for North American 240V/120V split-phase systems.

Step 1: Mount the Power Inlet Box

  1. Mount the NEMA L14-30R inlet box on the exterior of the house, within 3 to 5 feet of where the transfer switch will be mounted indoors on the opposite side of the wall.
  2. Drill a 1-inch hole through the exterior wall to pass the 10 AWG feeder wires. Install a weatherproof conduit nipple or NM cable connector between the inlet box and the interior wall cavity.

Step 2: Terminate the Exterior Inlet Box

Strip 1/2 inch of insulation from your 10 AWG wires. The L14-30R inlet has four clearly marked terminals. Terminate the wires as follows:

  1. Black Wire (Hot 1): Terminate to the X terminal (usually a brass-colored screw). Torque to the manufacturer's specification.
  2. Red Wire (Hot 2): Terminate to the Y terminal (the second brass-colored screw).
  3. White Wire (Neutral): Terminate to the W terminal (the silver-colored screw). This is a critical connection; a loose neutral here will cause severe voltage fluctuations.
  4. Green or Bare Wire (Ground): Terminate to the G terminal (the green-colored screw bonded to the metal box).

Step 3: Terminate the Manual Transfer Switch (MTS)

Bring the 10 AWG wires from the inlet box into the MTS enclosure. The MTS will have a dedicated inlet terminal block.

  1. Black Wire: Land on the L1 (Line 1) brass terminal.
  2. Red Wire: Land on the L2 (Line 2) brass terminal.
  3. White Wire: Land on the N (Neutral) silver terminal block. Use your torque screwdriver to ensure this is perfectly tight.
  4. Ground Wire: Land on the G (Ground) green terminal or the grounded metal enclosure lug.

Step 4: Wire the MTS to the Main Panel

With the main utility breaker OFF and the panel verified dead, install the new 30A double-pole breaker into an available slot on your main panel bus bar.

  1. Run a new set of 10 AWG wires (Black, Red, White, Green) from the MTS 'Utility/Line' input terminals to the main panel.
  2. Black Wire: Terminate to one pole of the 30A double-pole breaker.
  3. Red Wire: Terminate to the other pole of the 30A double-pole breaker.
  4. White Wire: Terminate to an open lug on the main panel's Neutral Bar (the bar with the white wires, bonded to the enclosure in the main panel).
  5. Green Wire: Terminate to an open lug on the main panel's Ground Bar (the bar with the bare copper wires).

The Most Common Botch: The Floating Neutral Trap

The single most frequent and destructive mistake when wiring a house to a generator is failing to properly torque the neutral lug or misunderstanding the neutral-ground bond.

The Botch: The installer leaves the white neutral wire slightly loose in the MTS neutral block, or they incorrectly bond the neutral and ground bars inside the MTS when using a generator that already has a bonded neutral (common in portable 'contractor' generators).

The Symptom: If the neutral connection is loose or 'floating', the two 120V legs of your split-phase system lose their reference point. They essentially become a series circuit acting as a voltage divider based on the impedance of the appliances you have plugged in. If Leg 1 is powering a 10W LED bulb and Leg 2 is powering a 1500W space heater, the LED bulb will suddenly receive nearly 240V, causing it to explode or fry the connected electronics. If the issue is a neutral-ground loop caused by double-bonding, the generator's built-in GFCI breaker will trip instantly the moment you apply a load, leaving you in the dark and confused.

Always check your generator's manual to see if it has a 'floating' or 'bonded' neutral, and ensure your MTS is configured to match. For most portable generators with a bonded neutral, the MTS must switch the neutral or the utility feed must have the neutral isolated to prevent parallel neutral paths.

Verify and Test: Expected Meter Readings

Never assume the wiring is correct just because the physical connections look tight. Before closing the panel covers, you must test the system. Plug your generator into the exterior inlet, start it, and let it stabilize for 60 seconds. Switch the MTS to the 'GEN' position.

Set your multimeter to AC Voltage (V~) and take the following measurements at the MTS test points or a receptacle fed by the MTS:

  • L1 to Neutral (Black to White): Expected reading is 120V (acceptable range: 114V - 126V).
  • L2 to Neutral (Red to White): Expected reading is 120V (acceptable range: 114V - 126V).
  • L1 to L2 (Black to Red): Expected reading is 240V (acceptable range: 228V - 252V).
  • Ground to Neutral (Green to White): Expected reading is 0V to 2V. Anything higher indicates a bad neutral connection or a ground fault.

Next, set your multimeter to Continuity/Ohms (Ω). With the generator OFF and disconnected, measure from the inlet box Ground terminal to a known good ground (like a copper water pipe). You should read less than 1 ohm, confirming your equipment grounding path is solid.

Frequently Asked Questions

Can I wire my house to a generator without a transfer switch?

No. Wiring a generator directly into your main panel using a 'suicide cord' (a male-to-male extension cord plugged into a wall outlet) is incredibly dangerous and illegal. This practice, known as backfeeding, bypasses your main breaker and sends 240V out to the utility transformer. It can electrocute a lineman working on what they believe is a dead power line, and it will almost certainly destroy your generator when utility power is restored and collides with your generator's out-of-phase power. You must use a Manual Transfer Switch (MTS) or a mechanical breaker interlock kit, as mandated by NEC Article 702 for optional standby systems.

What size wire do I need to wire my house to a 50-amp generator?

If you are upgrading to a larger 50-Amp generator (using a NEMA 14-50R or SS2-50R inlet), 10 AWG wire is no longer sufficient and will cause a fire. For a 50A load, you must upgrade to 6 AWG copper wire (either 6/3 NM-B or four strands of 6 AWG THHN in 1-inch conduit). You will also need to install a 50A Manual Transfer Switch, a 50A inlet box, and a 50A double-pole breaker in your main panel. Always size the wire based on the breaker rating, not the generator's maximum surge capacity.

How much does it cost to professionally wire a house to a generator?

As of current market rates, hiring a licensed electrician to install a 30A manual transfer switch and inlet box typically costs between $800 and $1,500, depending on the distance between the main panel and the exterior inlet, and local labor rates. If you opt for an Automatic Transfer Switch (ATS) paired with a whole-home standby generator (like a Generac Guardian series), the total installed cost usually ranges from $4,500 to $9,000+. For safe portable generator operation, always follow FEMA and Ready.gov guidelines regarding carbon monoxide placement and weather protection.