Wiring a Switch to an Outlet

Wiring A Switch To An Outlet — circuit diagram showing component connectionsMainOutlet 1Outlet 2SwitchLight230V AC UtilityBasic Wiring Diagram
Wiring a Switch to an Outlet — interactive diagram. Open it in the editor to customise components and wiring.

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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 rating15 A (120 V NEC) or 13 A (230 V BS 1363)
Minimum conductor size (15 A circuit)14 AWG / 2.5 mm²
Switch rating10 A–15 A at rated voltage, matching circuit breaker
Circuit breaker rating15 A or 20 A (NEC); 16 A or 20 A (IEC/BS) — match to installed cable and outlet ratings

Safety warnings

Tools needed

Common mistakes

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

Free electrical calculators

Edit this diagram free in the online editor