A wall switch above an existing outlet can make it easy to turn a plugged-in lamp on and off. The switch controls power to the receptacle, so it is important to understand what else the outlet supplies before changing the wiring.
Before getting started
Decide whether the switch should control both halves of the outlet or only one half. Check what the outlet and any downstream receptacles power; equipment that needs continuous power should remain on an appropriately wired unswitched supply. Do not assume existing wires have a particular function based on their color or position.
Check local permit and inspection requirements, circuit and device ratings, the condition of the wiring, box fill, cable routing and grounding. GFCI or AFCI protection may be required and must remain effective. A neutral may be required at the new switch location under the locally adopted code; smart switches may also require one. Have a qualified electrician evaluate the installation and select a compliant cable and wiring arrangement.
What you may need
- A correctly rated single-pole switch, compatible wall box and cover plate.
- Approved cable, connectors and grounding materials appropriate to the circuit and installation.
- A properly rated voltage tester, hand tools and equipment to safely route cable through the wall.
How the project works
- Plan the switch location. Look for studs and concealed utilities, and confirm there is a suitable route between the outlet box and the new switch box. Check the wall cavity and installation requirements before cutting.
- Turn off and verify power. Switch off every circuit supplying the box and test all conductors with a properly rated tester, checking the tester on a known live source before and after. A single box can contain more than one circuit.
- Identify the existing wiring. Photograph and label connections. Determine the incoming feed, neutral, grounding path, any onward feeds and whether the receptacle is already split or on multiple circuits. If the wiring is unclear, damaged, aluminum or part of a shared-neutral circuit, stop and call an electrician.
- Install the box and cable. Route and secure the correct cable between the boxes using an approved method and maintaining required protection. Do not run a loose extension cord inside the wall.
- Wire the switch and receptacle for the intended layout. The switch interrupts the hot conductor supplying the controlled portion; the receptacle still needs its properly connected neutral and grounding path. Keep any continuing feed connected as designed. For a half-switched standard duplex receptacle, a manufacturer-approved split-hot arrangement uses separate constant and switched hot feeds; the hot-side tab is removed only when the exact wiring and device instructions require it. Do not remove the neutral-side tab by assumption, and do not apply ordinary duplex tab instructions to a GFCI device. Have an electrician handle any uncertain configuration.
- Close up and test. Install devices and covers before restoring power. Verify the switch controls the intended receptacle, any intended always-on half stays powered and downstream outlets still operate. Test GFCI protection where present. If results are unexpected, turn power off and call an electrician.
Know your limits
Turn off the correct breaker and verify all conductors in the box are de-energized with a properly rated tester, checking the tester on a known live source before and after. A box may contain more than one circuit. Never rely on a switch position or wire color alone. If you cannot identify the wiring or verify power is off, stop and call a qualified electrician. Follow device instructions, local code and permit requirements.
Related: Replace an outlet with a GFCI receptacle.
