Wiring a Switch to an Outlet
This is a free printable wiring a switch to an outlet: download the diagram as SVG or open it and print to paper or PDF.
Learn how to wire a light switch to control a standard wall outlet, including half-switched receptacle configurations for switched lamp circuits.
Wiring a switch to control a power outlet — commonly called a switched receptacle — is a practical wiring task used to control floor lamps, table lamps, or other plug-in appliances from a wall switch rather than by unplugging them. It is a common alternative in rooms where overhead lighting is served by a plug-in lamp rather than a fixed ceiling fixture.
There are two common configurations. In the first, the switch controls the entire outlet — both the top and bottom socket. In the second, the outlet is split (half-switched): one socket is switched, the other remains permanently live. A split outlet requires breaking the brass linking tab between the two hot terminals on the outlet body.
In standard residential wiring (using NEC conventions as a reference), power typically arrives at the outlet box first, then a switched loop is run to the switch box, or power arrives at the switch first and is louted to the outlet. The specific wire routing and colour usage depends on which box receives incoming power.
In modern wiring practice (post-2011 NEC and equivalent international codes), a neutral must be present at the switch box for compatibility with smart switches and dimmers. This changes cable selection — a 3-wire cable (with earth) run from switch to outlet provides both the switched hot and the neutral return.
In the split outlet configuration, the tab break is critical. The tab on the neutral side must not be broken — only the hot side tab is removed. Accidentally breaking the neutral tab creates two isolated neutral paths, which is a wiring fault and a safety hazard.
All work must be carried out with the circuit breaker OFF and verified dead with a non-contact voltage tester before touching any terminals. Comply with local codes — NEC/NFPA 70 (USA), BS 7671 (UK), IEC 60364, AS/NZS 3000 (Australia/NZ), or the applicable standard in your jurisdiction.
How to wire wiring a switch to an outlet
- Turn off the circuit breaker and verify dead Identify the correct circuit breaker for the outlet circuit and switch it to OFF. Test the outlet with a non-contact voltage tester or plug-in tester to confirm no voltage. Also test every wire in both boxes with a non-contact tester before touching terminals — a box can contain wires from multiple circuits.
- Plan the cable routing Determine whether power arrives at the outlet box or the switch box first. If power arrives at the outlet, you will run a 3-core (with earth) cable from the outlet box to the switch. If power arrives at the switch, run cable from the switch to the outlet. Select cable rated for your supply voltage and the current demand of the circuit — 2.5 mm² (13 A) is standard for socket outlet circuits in most systems.
- Break the outlet tab for a split receptacle (if required) If you want one switched socket and one permanently live socket, use needle-nose pliers to break off only the brass tab on the hot side of the outlet body. Rock it back and forth until it snaps cleanly. Leave the silver neutral tab intact. If you want the entire outlet switched, do not break either tab.
- Make connections at the outlet box For a switched outlet with power arriving at the outlet: connect the incoming hot to the always-live hot terminal and to the switch feed wire. Connect the switched return wire from the switch to the switched hot terminal (the terminal above where you broke the tab). Connect all neutrals together and to the neutral terminal. Connect all earth wires together and to the earth terminal.
- Make connections at the switch box Connect the switch feed wire (hot from outlet) to one switch terminal and the switched return wire to the other switch terminal. Neither of these wires is a neutral — the switch only interrupts the hot conductor. If using a 3-wire cable and the third conductor is a neutral, cap it or wire-nut it for future use without connecting it to the switch.
- Install devices and restore power Fold all wires neatly into the box — avoid sharp bends at terminals. Secure the outlet and switch to the box with the provided screws. Fit cover plates. Restore the circuit breaker and test: with the switch OFF, the switched socket should show no voltage; the always-live socket (if split) should show line voltage. With the switch ON, the switched socket should be live.
Specifications
| Supply voltage (typical residential) | 120 V AC (USA/Canada), 230 V AC (Europe/UK/AU/NZ) |
|---|---|
| Outlet current rating | 15 A (120 V NEC) or 13 A (230 V BS 1363) |
| Minimum conductor size (15 A circuit) | 14 AWG / 2.5 mm² |
| Switch rating | 10 A–15 A at rated voltage, matching circuit breaker |
| Circuit breaker rating | 15 A or 20 A (NEC); 16 A or 20 A (IEC/BS) — match to installed cable and outlet ratings |
Safety warnings
- Always isolate the circuit at the breaker panel and verify dead with a non-contact voltage tester before working on any wiring. Never rely solely on the switch position as proof of isolation — other circuits may share the box.
- Electrical wiring must comply with the applicable standard in your jurisdiction: NEC/NFPA 70 (USA), BS 7671 (UK), AS/NZS 3000 (Australia/NZ), IEC 60364, or the applicable national standard. In many jurisdictions, outlet wiring work must be performed or inspected by a licensed electrician.
- The switch must interrupt the hot (active/line) conductor only. Wiring the switch in the neutral conductor is a wiring defect that leaves the outlet permanently energised and poses a serious shock and fire hazard.
- Do not break the neutral (silver) tab on the outlet when creating a split receptacle. Only the brass hot tab is broken. Breaking the neutral tab creates an isolated neutral, which is a shock hazard.
- Never exceed the outlet or switch's current rating. Using the wrong rating device for the circuit breaker size is a fire risk.
Tools needed
- Non-contact voltage tester
- Digital multimeter
- Flat-blade and Phillips screwdrivers
- Wire strippers
- Needle-nose pliers (for tab removal and terminal work)
- Drill and hole saw (for new wall boxes)
- Fish tape or cable rod (for in-wall cable routing)
Common mistakes
- Wiring the switch in the neutral conductor instead of the hot — leaves the outlet hot at all times even with the switch off, and is a code violation.
- Breaking the silver neutral tab on the outlet when creating a split outlet — only the brass hot-side tab is removed.
- Using undersized cable for the circuit — a 15 A circuit requires 14 AWG (USA) or 2.5 mm² (most other standards) minimum.
- Not connecting the equipment earth wire to the outlet earth terminal, leaving the outlet without proper earthing protection.
- Overcrowding the junction box — exceeding box fill calculations per the applicable code is a fire hazard. Count conductors and verify the box is adequately sized.
- Failing to re-test with a plug-in tester after completing work — verifies correct polarity, earth, and switching before energising lamps or appliances.
Troubleshooting
- Outlet is live even with the switch in the OFF position
- Cause: Switch is wired in the neutral conductor rather than the hot, or the incoming hot wire bypasses the switch Fix: De-energise the circuit and trace the hot conductor from the supply. Confirm the switch interrupts the hot wire, not the neutral. Use a multimeter to confirm which conductor in the switch box is live before re-wiring.
- Both sockets on a split outlet are controlled by the switch — one should be always live
- Cause: The brass hot-side tab was not fully broken, or both hot terminals are connected to the switched return wire Fix: Remove the outlet and inspect the brass tab. If it is not fully broken, use pliers to snap it cleanly. Confirm the always-live hot wire goes to the top terminal and the switched return wire goes to the bottom terminal (or vice versa, per the desired configuration).
- Switch trips the circuit breaker when turned on
- Cause: A short circuit exists in the switched wiring — typically the hot and neutral are in contact somewhere in the switch or outlet box Fix: De-energise, disconnect all wiring, and use a multimeter on resistance mode to check for continuity between the hot and neutral conductors. Locate and correct the short before restoring power.
Frequently asked questions
What is a half-switched or split outlet?
A split or half-switched outlet has the brass linking tab between its two hot terminals removed, allowing the top socket to be controlled by a switch while the bottom socket remains permanently live. This requires a 3-wire cable between the switch and outlet. The neutral tab on the outlet must not be broken.
Do I need a neutral wire at the switch for a switched outlet?
For a basic single-pole switch controlling a receptacle, a neutral at the switch box is not strictly required for the switch to function. However, NEC 2011 and later requires a neutral at most switch locations for future smart-switch compatibility. Check your local code edition before wiring.
How do I break the tab on the outlet for a split receptacle?
Locate the narrow brass linking tab between the two hot (brass) screw terminals on the side of the outlet. Use needle-nose pliers or a small flat-blade screwdriver to break it off by rocking it back and forth. Do not break the silver tab on the neutral side — that one must remain intact.
Can I wire a switch and an outlet in the same box?
Yes. A combination switch-outlet device (sometimes called a switch-receptacle combo) fits in a standard single-gang box and is a factory-assembled unit with switch and outlet sharing a yoke. Wiring configurations include: the outlet always live with the switch controlling something else, or the switch controlling the outlet on the same device.
Why is the outlet on the switched leg still live even with the switch off?
This usually means the switch is wired in the neutral rather than the hot conductor — a wiring error that leaves the outlet energised at all times. A switch must interrupt the hot (active) wire, not the neutral. Turn off the breaker and verify which wire is the incoming hot using a multimeter before reconnecting.
Full written guides
Related diagrams
- wire a switch to a light
- switch outlet combo wiring diagram
- wiring a 4 way switch
- wiring a double switch
- wiring a rocker switch
- wiring a three way switch