To wire an outlet off a switch so the switch controls the receptacle (a switched receptacle loop), you must run 12/2 NM-B cable from a 20A breaker to a single-pole switch, and a second 12/2 NM-B cable from that switch to a 20A duplex receptacle. At the switch, the incoming black (hot) lands on one brass screw, and the outgoing black (switched hot) lands on the other. At the outlet, the black wire lands on the brass screw, the white wire on the silver screw, and the bare copper on the green ground screw.

⚠️ Mains Voltage Safety Protocol

Working inside electrical boxes exposes you to 120V AC, which is lethal. Before opening any junction box, switch, or panel:

  • De-energize: Turn off the specific 20A breaker at the main service panel.
  • Lock/Tag: Apply a breaker lockout device or heavy tape with a warning note so no one flips it back on while you are working.
  • Verify Dead: Use a Non-Contact Voltage Tester (NCVT) on all wires in the box, then confirm with a CAT III multimeter set to V~ AC. Measure Hot-to-Neutral, Hot-to-Ground, and Neutral-to-Ground. All readings must be exactly 0.0V before your fingers touch any bare copper.
  • Code Caveat: This guide follows NEC-style guidance for standard US residential 120V circuits. Your local Authority Having Jurisdiction (AHJ) has final authority, and some municipalities require a licensed electrician for new circuit runs.

Circuit Specifications and Material Sizing

The most frequent point of failure in DIY switched outlets is undersized components or mismatched ampacities. A standard modern receptacle circuit should be built on a 20A backbone, even if the immediate load (like a lamp) is small. This allows you to plug in a vacuum or space heater later without tripping the breaker or melting the yoke.

Component Specification & Rating NEC / Technical Justification
Overcurrent Protection 20A Single-Pole Breaker (e.g., Square D QO120) Protects 12 AWG copper; must match wire ampacity (NEC 240.4).
Cable Type 12/2 NM-B with Ground (Romex) Rated for 20A at the 60°C column per NEC 334.80; provides Hot, Neutral, Ground.
Switch Device 20A Single-Pole Toggle or Decora Must be rated for the circuit amperage; 15A switches on 20A circuits are only permitted if controlling specific lighting loads, not receptacles.
Receptacle 20A Tamper-Resistant (TR) Duplex NEC 406.12 mandates TR shutters in all dwelling unit 15A and 20A receptacles to prevent child insertion injuries.
Box Volume (Switch) Minimum 18 cu. in. (Single Gang Deep) NEC 314.16(B) requires 2.25 cu. in. per 12 AWG conductor, plus clamps, device yoke, and grounding pigtails.
Box Volume (Outlet) Minimum 18 cu. in. (Single Gang Deep) Accommodates the incoming 12/2 cable and the physical bulk of a 20A TR receptacle body.

Required Tools and Materials

Do not rely on cheap, uncalibrated tools for mains wiring. A poor termination causes arcing, which causes fires. Gather the following before starting:

  • Wire Strippers: Klein Tools 11055 (specifically gauged for 12 AWG solid copper to avoid nicking the conductor).
  • Lineman Pliers: For twisting wire nuts and cutting 12 AWG.
  • Voltage Testers: Fluke 1AC-II Non-Contact Voltage Tester (NCVT) and a Fluke 117 True-RMS Multimeter (CAT III rated).
  • Torque Screwdriver: Wiha or Klein adjustable torque driver (crucial for meeting modern NEC 110.14 torque requirements).
  • Wire Connectors: Ideal Wire-Nuts (Yellow for 3x 12 AWG, Red for 2x 12 AWG) or Wago 221-412 / 221-413 lever nuts.
  • Pigtail Wire: 6-inch lengths of bare 12 AWG solid copper for grounding pigtails.

Step-by-Step: Wiring the Switched Receptacle Loop

This procedure assumes power enters the switch box first, and the switch box feeds the outlet box. This is the most efficient and code-compliant topology for a switched loop.

  1. Prepare the Cables and Boxes: Strip 3/4 inch of outer yellow NM-B jacket from the cables entering both boxes. Ensure the internal paper is removed and the bare ground wires are separated. Strip exactly 3/4 inch of insulation from the black and white conductors using the 12 AWG hole on your strippers. Do not nick the copper; a nicked 12 AWG wire creates a hot spot under load.
  2. Ground the Switch Box: If using metal boxes, bond the box to the ground. Twist the two bare ground wires (incoming and outgoing) together with a 6-inch bare pigtail. Secure with a yellow wire nut. Wrap the pigtail around the green ground screw on the single-pole switch clockwise, and torque to 14 in-lbs.
  3. Splice the Neutrals at the Switch: A standard single-pole switch does not interrupt the neutral. Take the incoming white (neutral) wire and the outgoing white (neutral) wire heading to the outlet. Twist them together with a wire nut. Do not attach the white wire to the switch. Push this bundle neatly into the back of the box.
  4. Terminate the Switch (Line and Load): Take the incoming black (Line/Hot) wire and form a J-hook. Attach it to the bottom brass screw on the switch. Take the outgoing black wire (Load/Switched Hot heading to the outlet) and attach it to the top brass screw. Torque both terminal screws to the manufacturer's specification (typically 14 in-lbs for Leviton/Square D devices). Ensure no bare copper is exposed outside the terminal plate.
  5. Ground the Outlet Box: At the receptacle box, connect the incoming bare ground wire to a 6-inch bare pigtail using a wire nut. Attach the other end of the pigtail to the green ground screw on the 20A receptacle.
  6. Terminate the Receptacle Neutral: Take the incoming white (Neutral) wire, form a clockwise J-hook, and land it on the silver screw on the receptacle. The silver side is strictly for the grounded neutral conductor. Torque to 14 in-lbs.
  7. Terminate the Receptacle Hot: Take the incoming black (Switched Hot) wire and land it on the brass screw on the receptacle.
    Critical Tab Check: Look at the brass side of the receptacle. There is a small brass fin (tab) connecting the top and bottom brass screws. Leave this tab intact. If you break it off, only the top half of the outlet will be switched, and the bottom half will be completely dead because it has no power source.
  8. Secure and Close: Carefully fold the wires into the boxes using a "Z-fold" technique (grounds in back, neutrals in middle, hots and device in front). Mount the devices using the provided 6-32 machine screws, ensuring the yoke sits flush against the drywall or plaster ring without bowing.

Verification and Testing Protocol

Never assume a circuit is wired correctly just because the device physically fits in the box. Perform these tests before plugging in any loads.

1. Dead-Front Verification (Breaker OFF)

With the breaker still OFF and the switch toggled ON, use your multimeter set to Resistance (Ohms Ω). Place one probe on the brass screw (Hot) and the other on the silver screw (Neutral). You should read infinite resistance (OL). If you read near 0 Ω, you have a dead short—do not turn the breaker on.

2. Live Voltage Verification (Breaker ON)

Turn the breaker ON. Keep the wall switch in the OFF position.

  • Insert multimeter probes into the top receptacle slots (Hot to Neutral). Expected reading: 0.0V AC.
  • Toggle the wall switch to the ON position.
  • Measure Hot to Neutral again. Expected reading: 114V to 126V AC (nominal 120V).
  • Measure Hot (shorter slot) to Ground (U-shaped hole). Expected reading: 114V to 126V AC.
  • Measure Neutral (longer slot) to Ground. Expected reading: < 2.0V AC (ideally 0.0V to 0.5V). A reading above 2V indicates a loose neutral connection somewhere upstream or an overloaded shared neutral.

3. Polarity and TR Shutter Check

Use a standard 3-light receptacle tester. It should show two yellow lights (Correct). Finally, insert a standard plug into the receptacle. The Tamper-Resistant (TR) shutters require simultaneous, equal pressure on both prongs to open. If the plug won't insert, do not force it or break the shutters; slightly angle the plug to ensure both prongs hit the shutters at the exact same millisecond.

The Most Common Botches and How to Avoid Them

When troubleshooting a switched outlet that isn't working, or worse, one that is melting, you will almost always find one of the following three errors.

Botch #1: The Back-Stab Trap (Push-In Connectors)

The Symptom: The outlet works for a 60W lamp, but when you plug in a 12A space heater or vacuum, the outlet intermittently cuts out, smells like burning plastic, or the voltage drops to 90V under load.

The Cause: Many DIYers push the stripped 12 AWG wire into the small holes on the back of the receptacle (back-stabbing) instead of using the side-binding screws. These push-in holes rely on a tiny spring-steel wedge to grip the wire. Under continuous thermal expansion and contraction from high loads, the spring steel fatigues, the grip loosens, and micro-arcing occurs inside the polycarbonate housing.

The Fix: Never use back-stab connectors for 12 AWG wire on a 20A circuit. Always use the side-wiring terminal plates. If you must use a quick-connect method, buy "spec-grade" receptacles (like the Leviton Pro Grade series) that feature internal screw-clamps operated by the side screws, which provide massive surface area contact and are torque-verifiable.

Botch #2: The Phantom Broken Tab

The Symptom: The top outlet works perfectly when the switch is flipped. The bottom outlet is completely dead at all times.

The Cause: The installer used needle-nose pliers to break off the brass connecting tab on the hot side of the receptacle, confusing this job with a "split-receptacle" kitchen wiring scenario (where the top half is switched for a garbage disposal and the bottom is always-hot for a dishwasher).

The Fix: For a standard single-feed switched loop where you want the entire duplex outlet controlled by the switch, the brass tab must remain perfectly intact. If you accidentally snapped it off during prep, you must either replace the receptacle or wire a jumper from the top brass screw to the bottom brass screw using a short piece of 12 AWG black wire.

Botch #3: Landing Ground on the Neutral Bus

The Symptom: The breaker trips immediately upon turning it on, or a GFCI/AFCI breaker upstream refuses to reset.

The Cause: The bare ground wire was mistakenly landed on the silver neutral screw at the receptacle, or the white neutral was landed on the green ground screw. This creates a parallel path for neutral current to flow on the equipment grounding conductor, which immediately triggers the 5mA ground-fault sensor in an AFCI/GFCI breaker.

The Fix: Memorize the mnemonic: Black to Brass, White to Silver, Bare to Green. If you are colorblind or working in low light, use a multimeter in continuity mode to trace the white wire back to the neutral bar in the panel before terminating.

For further reading on residential wiring topology and box fill calculations, consult the National Fire Protection Association (NFPA) NEC guidelines or reference manufacturer torque specifications via the Leviton Technical Resource Center.