Light switch wiring

A single-pole light switch takes the two insulated wires on its two brass screws, either way round, and the bare or green wire on the green screw. If two cables come into the box, the power is at the switch: the blacks go on the switch and the whites are tied together at the back, never on it. If only one cable comes in and its white wire is on the switch, the power is at the light: that white is a hot and gets black tape all the way around it, at both ends (UHMC; NEC 200.7(C)(1)).

Power comes into the switch box

Two cables in the box. The whites spliced at the back are the neutral a smart switch needs.

Breakerpanel2-wireSwitch box2-wireLight box

Switch box

2-wire2-wireSingle-pole switchBrass screwBrass screwGround (green screw)Power in, from the panelOn to the light

Power at the light (one 2-wire cable)

The older switch loop. The white taped black brings power down to the switch; the black takes it back to the light.

Breakerpanel2-wireLight box2-wireSwitch box

Switch box

2-wireSingle-pole switchBrass screwBrass screwGround (green screw)From the light

Light box

2-wire2-wireLight fixtureHot: smooth or blackNeutral: ribbed/whiteGround (green screw)Power in, from the panelDown to the switch

Power at the light (one 3-wire cable)

Newer houses: black and red on the switch, the white capped in the box as a neutral for later (JLC; NEC 404.2(C)).

Breakerpanel2-wireLight box3-wireSwitch box

Switch box

3-wireSingle-pole switchBrass screwBrass screwGround (green screw)cappedFrom the light

Step by step

First

  1. Turn off the breaker. A wall switch off is not enough. Put tape or a note on the breaker so nobody turns it back on.
  2. Prove it's dead: check your tester on an outlet you know is live, test every wire in the box, then check the tester on the live outlet again (Klein). A voltage pen alone isn't proof: use a plug-in or two-probe tester where you can.
  3. Take a photo of the wires before you move any of them.

Then

  1. Unscrew the plate and the switch and pull it out, wires still on.
  2. Move one wire at a time to the same spot on the new switch: the two insulated wires on the two brass screws (either way round), the bare or green on the green screw.
  3. A white wire on the switch is a hot here: wrap black tape all the way around it, at the switch and at the light (UHMC).
  4. Use the screw or the back clamp for 12-gauge wire: the push-in hole takes 14-gauge solid copper only (Leviton).
  5. Fold the wires in, screw the switch and plate on, breaker on, test.

Stop and call an electrician

Open the drawing for my switch box

From Leviton and Lutron instruction sheets, UHMC and JLC, the CPSC, and the NEC as explained by EC&M, IAEI and JLC. Code years differ by city. · Not yet reviewed by a licensed electrician