How to Connect a Switch to an Outlet
In this article
15 minutes, $5-$10, Easy. Connecting a switch to an outlet allows you to control a lamp or appliance from a distance. Electrical, gas-line and structural work should be done by a licensed electrician, gas fitter or contractor.
Understanding the Wiring
Before starting, understand that you'll be interrupting the power flow. A standard outlet receives power and distributes it. A switch breaks or completes that circuit, controlling whether power reaches the device. You’ll need to identify the hot (power-in), neutral, and ground wires, and how they connect to both the outlet and the switch.
Identifying Wires
Turn off the power to the circuit at the breaker box before touching any wires. Use a non-contact voltage tester to confirm the power is off. Typically, black is the hot wire, white is the neutral, and green or bare copper is the ground. However, wire colors can vary, so always test with a voltage tester and consult an electrician if unsure.
Tools and Materials
You’ll need a screwdriver (flathead and Phillips), wire strippers, wire connectors (wire nuts), a non-contact voltage tester, electrical tape, and the new switch you plan to install. Ensure the switch is rated for the voltage and amperage of the circuit (typically 120V, 15A or 20A).
Step-by-Step Instructions
- Turn off the power: Locate the circuit breaker controlling the outlet and switch you'll be working on, and turn it off. Double-check with a non-contact voltage tester.
- Remove the outlet cover: Unscrew and remove the outlet cover plate.
- Remove the outlet: Unscrew the outlet from the electrical box. Gently pull it out, being careful not to strain the wires.
- Identify and disconnect wires: Note how the wires are connected to the outlet. Typically, the black wire is connected to a brass screw, the white wire to a silver screw, and the green or bare copper wire to a green screw. Disconnect the wires using the screwdriver.
- Run the wire to the switch: Identify the wire that was connected to the outlet’s brass screw (hot wire). This wire needs to be run to the switch location. If the wire is too short, you may need to add a short length of wire using wire connectors.
- Install the switch: Unscrew and remove the switch cover plate. Unscrew the existing switch (if replacing one) and disconnect the wires.
- Connect the wires to the switch: The hot wire from the outlet will connect to one of the switch terminals (usually black screws). The other switch terminal will connect to the wire that runs to the lamp or appliance. A neutral wire (white) typically isn’t connected to the switch, but it may be present in the switch box – cap it off with a wire nut.
- Connect the ground wire: Connect the ground wire (green or bare copper) to the green grounding screw on the switch and the outlet.
- Secure the switch and outlet: Carefully tuck the wires into the electrical box, ensuring they aren’t pinched. Secure the switch and outlet to the box with screws.
- Reinstall the cover plates: Attach the cover plates to the switch and outlet.
- Turn on the power: Go back to the breaker box and turn the circuit breaker back on.
- Test the switch: Test the switch to ensure it correctly controls the lamp or appliance.
How to Tell It Worked
The lamp or appliance should now turn on and off when you flip the switch. If it doesn’t, double-check all wire connections and ensure the breaker is fully on. If the outlet still works but the switch doesn't, the switch may be faulty or incorrectly wired.
Common Failure and Fix
A common mistake is reversing the wires on the switch. This won't damage anything, but the switch won't function correctly. To fix this, simply swap the wires connected to the switch terminals.
Worked Example
Let's say you want to control a lamp with a 60-watt bulb. You have a standard 15A circuit. You’ll need a 120V, 15A single-pole switch. The distance between the outlet and the switch box is 10 feet (3 meters). You’ll need about 12 feet (3.6 meters) of 14-gauge wire (for a 15A circuit) to run between the boxes, plus a little extra for connections. Strip about ½ inch (1.25 cm) of insulation from the ends of each wire before connecting them. Use wire nuts to securely join the wires, twisting them clockwise until tight.
Decision List
If the wire is too short to reach between the outlet and switch, then use wire connectors to extend it. If you are unsure about any wiring, then hire a licensed electrician.
Safety Considerations
Always turn off the power at the breaker box before working with electrical wiring. Use a non-contact voltage tester to verify the power is off. If you are uncomfortable working with electricity, hire a qualified electrician. Improper wiring can be dangerous and cause fire hazards.
Follow-Up Questions
Can I use this method to control multiple lights? Yes, but you'll need a different type of switch (three-way switch). How do I replace an old two-gang switch box? This requires more extensive work; consult a professional. What if the wires are different colors than I expected? Wire colors can vary; always test with a voltage tester and consult an electrician if unsure.