If you want to control a lamp, garbage disposal, or workshop tool from a wall switch, you need to know how to wire a receptacle to a switch. The direct answer is this: you run a 14/2 NM-B cable (on a 15A circuit) or 12/2 NM-B cable (on a 20A circuit) from the switch box to the receptacle box. The black (hot) source wire lands on the switch, a switched black wire runs to the brass screw on the receptacle, and the white (neutral) and bare (ground) wires bypass the switch entirely, connecting directly to the silver and green screws on the receptacle.
This guide walks through the exact terminal mappings, device ratings, and multimeter verification steps required to do this safely and to code. We are assuming a standard "power at the switch" scenario, which is the most common layout for adding a switched outlet in residential wiring.
Tools, Materials, and Device Ratings
Before pulling any wire, you must match your wire gauge to your breaker size and your device ratings. Using a 15A receptacle on a 20A breaker is a code violation and a fire hazard. Furthermore, the NEC requires all 15A and 20A, 125V receptacles in dwelling units to be Tamper-Resistant (TR).
Required Tools
- Non-Contact Voltage Tester (NCVT): E.g., Klein Tools NCVT-2. Never skip this.
- Digital Multimeter (DMM): For verifying exact voltage and checking for phantom reads.
- Wire Strippers: E.g., Klein 11055, calibrated for 14 and 12 AWG solid copper.
- Phillips #2 Screwdriver: Preferably with an insulated shaft.
- Needle-Nose Pliers: For forming clean J-hooks on solid wire.
Materials and Ratings Matrix
| Circuit Breaker | Wire Gauge (NM-B) | Switch Rating | Receptacle Rating | Common Application |
|---|---|---|---|---|
| 15 Amp | 14/2 AWG Copper | 15A, 120V Single-Pole | 15A, 125V TR Duplex | Bedroom lamps, living room accent lighting |
| 20 Amp | 12/2 AWG Copper | 20A, 120V Single-Pole | 20A, 125V TR Duplex | Kitchen disposals, workshop tools, window AC units |
Working with 120V AC mains is lethal. Before opening any junction box, you must de-energize the circuit at the main service panel. Turn off the breaker, apply a lockout/tagout device if possible, and verify the circuit is dead using a tested non-contact voltage tester. Always test your NCVT on a known live circuit first to ensure the battery isn't dead. Never trust a breaker label; verify with a meter. If you are unsure about your panel's wiring, hire a licensed electrician. This guide reflects NEC-style guidance; your local Authority Having Jurisdiction (AHJ) has final authority.
Step-by-Step: Wiring the Switch and Receptacle
In this scenario, power from the breaker panel enters the switch box first. We will route the switched hot to the receptacle while passing the neutral straight through. Follow these steps precisely, paying close attention to wire colors and terminal screws.
- Prepare the Cables: Strip off 3/4 inch of insulation from the ends of all black, white, and bare copper wires. Ensure no copper is exposed outside the terminal connections. If using 12 AWG wire, be careful not to nick the conductor with your strippers, which creates a weak point that can snap under torque.
- Bond the Grounds (Bare Copper): In the switch box, wire-nut the bare copper ground from the power source to the bare copper ground running to the receptacle. Add a 6-inch bare copper pigtail to this bundle. Terminate the pigtail onto the green grounding screw on the switch. At the receptacle box, terminate the incoming bare copper wire directly onto the green grounding screw on the receptacle.
- Route the Neutrals (White): The switch does not use a neutral wire for a standard single-pole setup. In the switch box, wire-nut the white neutral from the power source directly to the white neutral running to the receptacle. At the receptacle box, terminate the white wire onto the silver terminal screw. Ensure the J-hook curves clockwise so the screw pulls it tight.
- Terminate the Line Hot (Black): Take the black wire bringing power from the breaker panel and terminate it onto the bottom brass (or black) terminal screw on the single-pole switch. This is your constant "line" voltage.
- Terminate the Switched Hot (Black): Take the black wire running from the switch box to the receptacle box. In the switch box, terminate this wire onto the top brass terminal screw of the switch. At the receptacle box, terminate the other end of this black wire onto the brass terminal screw on the receptacle.
- Secure the Devices: Carefully fold the wires into the boxes. Z-fold the grounds and neutrals into the back, and place the hots on the sides. Drive the mounting screws into the drywall or box ears. Use a torpedo level to ensure the devices are perfectly plumb before tightening the faceplates.
Verify and Test: Meter Readings and Common Botches
Do not just plug in a lamp and hope for the best. You must verify the wiring with a digital multimeter (DMM) before applying a load. Set your DMM to AC Volts (V~) in the 200V or 600V range.
Expected Meter Readings
- Test 1 (Source Verification): Place the red probe on the bottom brass screw of the switch (line hot) and the black probe on the green ground screw. You should read between 114V and 126V.
- Test 2 (Switch ON): Flip the switch to ON. Place the red probe on the brass screw of the receptacle and the black probe on the receptacle's green ground screw. Expected reading: 114V - 126V.
- Test 3 (Switch OFF): Flip the switch to OFF. Keep probes in the same position. Expected reading: 0V to 0.5V. (A reading of 0.1V to 0.5V is "phantom voltage" induced by adjacent wires and is completely normal on high-impedance digital meters).
The Most Common Botch: Switching the Neutral
The most dangerous mistake DIYers make when learning how to wire a receptacle to a switch is switching the neutral instead of the hot. This happens when the white wire is routed through the switch, and the black wire is wire-nutted straight through to the brass screw on the receptacle.
The Symptom: The lamp plugged into the receptacle will turn on and off perfectly when you flip the switch. However, because the hot wire is constantly connected to the receptacle, the internal socket shell remains energized at 120V even when the switch is "off." If you stick your finger into the socket to change a bulb, or if a metal-housed appliance develops a fault, you will receive a severe or lethal shock. Always ensure the black (hot) wire is the one breaking the circuit at the switch.
Frequently Asked Questions
Can I wire a receptacle to a switch to control only half of the outlet?
Yes, this is called a "split-wired" or "half-hot" receptacle, commonly used in living rooms where the top half is switched for a lamp and the bottom half is always hot for a vacuum or TV. To do this, you must use a 3-wire cable (14/3 or 12/3) between the switch and the receptacle. Crucially, you must use needle-nose pliers to break off the small brass connecting tab on the hot side of the receptacle. Do not break the silver tab on the neutral side, or you will create a dead short when both halves draw current on different phases.
Do I need a GFCI receptacle if it is controlled by a switch?
If the receptacle is in a location requiring GFCI protection (like a kitchen, bathroom, or garage per the National Electrical Code), you must use a GFCI device. However, you should not put a standard GFCI receptacle on the "load" side of a switch. The internal electronics of a GFCI require constant power; cutting power via a switch will cause the GFCI to trip or reset erratically every time you flip the switch. Instead, install the GFCI upstream, or use a GFCI breaker in the panel.
Why does my breaker trip immediately when I turn on the switched receptacle?
An immediate trip upon flipping the switch indicates a dead short. The most likely causes are: (1) The bare copper ground wire is touching the brass terminal or the black hot wire inside the box. (2) You accidentally connected the switched hot wire to the silver (neutral) screw on the receptacle instead of the brass screw. Turn the breaker off, open the receptacle, and inspect the terminations for stray wire strands or misplaced conductors. Follow proper OSHA lockout/tagout procedures while investigating.
What gauge wire should I use if I don't know my breaker size?
Never guess. Open your main service panel and look at the number printed on the breaker handle controlling that room. If it says 15, use 14/2 NM-B. If it says 20, use 12/2 NM-B. If you are pulling a brand new circuit from the panel for this switched receptacle, standard modern practice is to install a 20A breaker with 12/2 NM-B wire and a 20A receptacle, giving you maximum flexibility for future high-draw appliances.






