Learn it · Build it · Explain it

How a 3-way switch works, with a diagram you can flip

Two switches, one light, and either one can turn it on or off. Tap the switches below and watch the current flow through the wall. In about two minutes you'll see the trick, and it's simpler than it looks.

Tap either light switch.No voltageGlowing = voltage presentMoving dots = current flowing

Safety first. This page is a learning model for standard US 120 V mechanical switches. Before touching any wiring, switch off the breaker and confirm the wires are dead with a voltage tester. A light that is off does not mean the box is safe: as you'll see below, a traveler can be live while the light is off. If anything looks scorched, aluminum, or unlike these diagrams, call a licensed electrician.

The trick: each switch picks one of two roads

A regular light switch is a gate: open or closed. A 3-way switch is different. It's a fork in the road. Power comes into one terminal and the switch sends it out one of two other terminals. Electricians call those two wires between the switches travelers.

The light is on when both switches point to the same road. Flip either one and the roads no longer meet.

Try it below. The diagram, the stairway above, and the real wiring further down all share the same two switches, so flipping one flips them everywhere.

Switch 1Switch 2PathLight
UpUpBoth on road AON
UpDownA vs. B: brokenoff
DownUpB vs. A: brokenoff
DownDownBoth on road BON

That table is the whole idea. Notice that "up" doesn't mean on and "down" doesn't mean off. That's why 3-way switches have no ON/OFF printed on the toggle. Each position only picks a road. Whether the light is on depends on what the other switch picked.

Inside the boxes: the real wiring

Here's the same circuit the way you'd actually find it in a US home, using the most common layout: power from the panel arrives at Switch 1, a 3-conductor cable runs to Switch 2, and a 2-conductor cable continues to the light. The switches are drawn "x-ray" so you can see the little blade inside each one swing between the two traveler screws. Click a switch to flip it.

Black: hot / traveler Red: traveler White: neutral Bare: ground Live (voltage present) Current flowing

Three things to notice while you flip:

The three terminals (plus ground)

Every standard 3-way switch has the same four screws. Learn to spot them and you can wire any layout.

Common (COM)

The darker (black or bronze) screw, often labeled COM. Gets power in on one switch and the wire to the light on the other.

Travelers (×2)

The two brass screws. They carry the two "roads" between the switches. Either traveler can go on either brass screw.

Ground

The green screw. Connects to the bare or green ground wire. It carries no current in normal use; it's there for safety.

Neutral (no screw)

A mechanical 3-way switch has no neutral terminal. Whites are spliced together in the box. Smart switches are different and often need it.

On some switches the screws are on different sides, or the common is at the bottom instead of the top. Don't go by position. Go by color and the label on the switch body.

3-way switch wire colors

In the US, NM ("Romex") cable is named by gauge and conductor count. 14/2 means 14-gauge with two insulated wires plus a bare ground; 14/3 adds a red wire. (Use 12-gauge, 12/2 and 12/3, on 20-amp circuits.)

WireUsual job in a 3-way circuitWatch out for
BlackPower in, wire to the light, or a travelerBlack shows up in several roles. Color alone won't tell you which.
RedTraveler (in 14/3 cable)In some layouts red is the wire to the light.
WhiteNeutral, spliced throughA white wire wrapped in black or red tape has been re-marked as a hot wire. It's common in older homes.
Bare / greenEquipment groundConnect to every green screw and to metal boxes.

The rule that saves the most headaches: trace the function, not the color. Before you remove an old switch, put a piece of tape on whichever wire is on the dark COM screw.

Wiring diagrams by layout

Where the power enters changes which cables run where, but never the logic. Pick a layout; the switches are clickable here too.

Power at Switch 1, light beyond Switch 2. 14/2 from the panel → 14/3 between the switches → 14/2 to the light. Neutral is available in every box, which is required for most new work and what smart switches need.

How to replace a 3-way switch, step by step

Replacing a worn-out 3-way switch with the same type is a common DIY job. The one way to get it wrong is mixing up the common wire, so the steps are built around that.

  1. Turn off the breaker. Flip the light on first, then find the breaker that turns it off. Put tape over the breaker so nobody flips it back.
  2. Verify it's dead. Remove the cover plate and test every wire in the box with a non-contact tester, then confirm with a multimeter. Check that the tester works on a known live outlet first.
  3. Photograph, then tag the common. Pull the switch out and take a photo. Find the dark COM screw and wrap tape around that wire. This is the most important step.
  4. Move wires one at a time. Tagged wire → COM on the new switch. The other two (travelers) → the two brass screws, in either order. Bare ground → green screw.
  5. Use the screws, not the push-in holes. Wrap each wire clockwise around its screw and tighten firmly. Backstab connections are a classic cause of flicker later.
  6. Fold, mount, test all four combinations. Restore power and check up/up, up/down, down/up and down/down. Exactly two combinations should light it.

If it only works in one combination, you're in Case 1 of the game below. Kill the power and recheck the common.

Troubleshooting game: find the fault

Three real-world 3-way problems. For each case, test all four switch combinations, log what the light does, then pick the diagnosis. You'll see the wiring inside the wall and can fix it.

The quick troubleshooting cheat sheet:

SymptomLikely cause
Works in only one switch combinationCommon and traveler swapped at one switch, or a loose traveler
One switch works only when the other is in a certain positionSame: a wire on the wrong screw
Flickers, or works only sometimesLoose screw, worn push-in (backstab) connection, or a failing switch
Never lights, but a tester shows voltage at the fixtureOpen neutral or a bad fixture connection
Breaker trips when flippedA traveler or hot touching ground or neutral. Stop and call an electrician.

Video walkthrough

Prefer to watch? This 4-minute video walks through the same diagrams you can click above: how to read them, the two-roads trick, the real terminals, other layouts, adding an outlet and finding a fault.

FAQ

Does it matter which traveler goes on which brass screw?
No. The two traveler screws are interchangeable. Swapping them only changes which positions count as "on". What matters is that the common (dark) screw gets the right wire: power in at one switch, the wire to the light at the other.
Why is there no ON or OFF printed on a 3-way switch?
Because neither position means on or off by itself. Each position only chooses a traveler. Whether the light is on depends on the other switch, as the truth table above shows.
Why does my light only work when the other switch is in one position?
Almost always a wire on the wrong screw: the power wire or the wire to the light landed on a brass traveler screw, and a traveler landed on COM. Turn off the breaker and move the common wire back to the dark screw. Try Case 1 of the game to see exactly what's happening.
What's the difference between a 3-way and a 4-way switch?
A 3-way switch has three terminals (plus ground) and works in pairs to control a light from two places. A 4-way switch has four terminals and goes between two 3-ways on the travelers to add a third (or fourth…) location. It swaps which traveler connects to which.
Can a traveler be live when the light is off?
Yes. One traveler is energized whenever the circuit has power, and you can see it glowing in the diagrams above while the light is off. Always shut off the breaker and verify before touching anything.
Can I replace a 3-way switch with a smart switch?
Usually, but follow the smart switch's own diagram. Most need a neutral in the box, and many use one main switch plus a companion or battery remote instead of a second 3-way. Layout "Power at the light" above has no neutral at the switches.
Can I use a single-pole switch instead?
Not as a drop-in replacement. A single-pole switch has only two terminals, so one traveler would be left disconnected and the other switch would stop working in half of its positions.

Still stuck? Ask me

A wiring situation this page doesn't cover, or a different topic you'd like explained the same way? Ask here. Popular questions become new diagrams or whole new projects.

Scope and sources

This guide covers two standard mechanical 3-way switches and one light on a US 120 V branch circuit. It isn't a substitute for your local electrical code, permits, or a licensed electrician. Modern codes (NEC 404.2(C)) generally require a neutral at switch locations in new work, and re-identified white conductors are covered by NEC 200.7. References:

Diagrams and simulation are original and generated in your browser. Video narration is AI-generated.