3-Way Switch Wiring Diagram — Complete NEC Guide

How the circuit works, traveler wires explained, all three wiring configurations, NEC 404.2 code requirements, step-by-step installation, 4-way extension, and troubleshooting.

NEC Article 404 · 2023 Edition Updated July 2025 Residential electrical

How a 3-Way Switch Circuit Works

A 3-way switch is a single-pole double-throw (SPDT) switch. Unlike a standard single-pole switch that simply opens or closes a circuit, a 3-way switch connects one common terminal to one of two traveler terminals depending on its position. This means it never opens the circuit in isolation — it always connects the common to one traveler or the other.

When two 3-way switches are wired together, the light turns on when both switches route power through the same traveler, completing a path from the panel to the fixture. Flipping either switch redirects its common terminal to the other traveler, breaking the connection and turning the light off. Flipping the same switch again reconnects through the other traveler and turns the light on again.

This creates four possible switch combinations — up-up, up-down, down-up, down-down — two of which will be ON and two of which will be OFF. Each switch can independently change the state of the light, regardless of the other switch's position. This is the defining feature of a 3-way circuit and what separates it from a simple single-pole circuit.

Key terminology

Common (COM): The single terminal that carries either the incoming hot (at switch 1) or the outgoing switch leg to the fixture (at switch 2). It is usually identified by a darker screw — black, dark bronze, or labeled COM on the switch body.

Travelers: The two wires running between the traveler terminals on both switches. Current flows through whichever traveler both switches are currently directing to.

Switch leg: The conductor running from the COM terminal on switch 2 to the light fixture. It carries switched hot — only energized when the circuit is complete.

Components of a 3-Way Switch Circuit

Before wiring, identify every component involved:

  • Two 3-way switches — these look like ordinary single-pole switches but have three screws instead of two. The darker screw is the COM terminal; the two lighter screws are the traveler terminals.
  • 14/3 or 12/3 NM-B cable between the switch boxes — this provides the two travelers (black and red) plus the neutral required by NEC 404.2(C). Use 14/3 on a 15 A circuit, 12/3 on a 20 A circuit.
  • 14/2 or 12/2 NM-B cable from the panel to switch 1 and from switch 2 to the fixture — these carry the incoming hot and neutral, and the switched hot (switch leg) respectively.
  • Single-gang boxes at each switch location — verify box fill per NEC 314.16 before closing. A 3-way switch box with the 3-wire cable typically needs a box rated for at least 18 in³ with 14 AWG wiring.
  • Ground wires to each switch's green screw and bonded to metal boxes per NEC 250.148.

NEC Code Requirements

NEC Article 404 — Switches (2023 Edition)

Three NEC provisions govern 3-way switch wiring in new construction:

NEC 404.2(A) — Switching in ungrounded conductor only. The 3-way switching must be performed in the hot (ungrounded) conductor. You cannot use a 3-way switch to open and close the neutral or grounded conductor. A white conductor used as a switch leg or traveler must be permanently re-identified as ungrounded using black or colored tape or paint at each visible point per NEC 200.7(C)(1).

NEC 404.2(C) — Neutral required at switch locations. A grounded conductor (neutral) must be installed at all switch locations for line-to-neutral lighting loads in new construction. This requirement has been in effect since the 2011 NEC. The purpose is to ensure that smart switches, occupancy sensors, and dimmers that need line-to-neutral voltage for their internal electronics can be installed now or in the future. An exception exists where conductors enter the switch box through a raceway with sufficient cross-sectional area to accommodate a neutral added later. For 3-way circuits, only one of the two switch boxes needs the neutral where both boxes are visible from a single position — see the exact language in 404.2(C)(2).

NEC 404.2(B) — 3-way and 4-way switches. Only phase conductors may be switched. Re-identified white conductors in NM cable may be used as switch legs and travelers only when permanently identified.

Common NEC violation to watch for

Using an older "switch loop" method — where only two conductors reach the switch box with no neutral — is non-compliant for new construction under the 2011 NEC and later. Inspectors in jurisdictions on 2011+ code editions will flag this. For remodel work in existing homes, consult your local AHJ for the adopted code edition.

The Three Wiring Configurations

The wiring method for a 3-way circuit depends on where the power source enters the circuit relative to the switches and fixture. All three produce the same switching behavior — they just route wires differently based on construction constraints.

Configuration 1 — Power at Switch 1 (Most Common)

Power (the 120V feed from the circuit breaker) enters switch box 1. A 3-wire cable connects switch 1 to switch 2. A 2-wire cable connects switch 2 to the light fixture. This is the most common configuration in modern construction because it most easily satisfies the NEC 404.2(C) neutral requirement — the neutral arrives with the power at switch 1 and travels in the 3-wire cable between switches.

  • Switch box 1: black (hot) to COM; red and black travelers to traveler terminals; white neutral spliced through to the traveler cable.
  • Switch box 2: red and black travelers from the 3-wire cable to traveler terminals; black (switch leg) to COM going to the fixture; white neutrals spliced together and continued to the fixture.
  • Fixture box: switch leg (black) to fixture; neutral (white) to fixture; grounds bonded.

Configuration 2 — Power at the Fixture

Power enters the fixture box. A 3-wire cable runs from the fixture box to switch 1. Another 3-wire cable runs from switch 1 to switch 2. This is less common in modern construction because it requires more cable and makes satisfying the neutral requirement at both switch locations more complex.

  • Fixture box: hot spliced to the black going to switch 1 COM. Neutral from panel spliced to neutral returning from the switch circuit. Switched hot (returning on the red from switch 1) connects to the fixture.
  • This configuration requires careful wire identification — the white conductor in the cable from the fixture to switch 1 carries the switched hot and must be re-identified.

Configuration 3 — Power Between the Switches

Power enters a junction box located between the two switch boxes, or enters switch box 2 when switch 1 is the "far" switch. Least common — typically encountered in existing installations or unusual construction layouts.

Step-by-Step Installation

Safety first

Turn off the circuit breaker supplying the circuit before touching any wiring. Verify the power is off using a non-contact voltage tester at both switch boxes and at the fixture box before proceeding. Do not rely on the switch position alone — the circuit may still be energized from the other switch.

  1. 1

    Turn off the breaker and verify

    Turn off the breaker and verify with a non-contact voltage tester at both switch boxes. Test the fixture box as well. If working on an existing circuit, test in all four switching positions — the circuit may be energized from a switch in the other position.

  2. 2

    Identify the common terminal

    On each 3-way switch, find the COM terminal — it is the darker colored screw set apart from the two lighter traveler screws, usually at the bottom of the switch or labeled "COM." If replacing an existing switch, mark the wire on the COM terminal with tape before disconnecting anything. Accidentally placing a traveler on the COM is the most common 3-way wiring mistake.

  3. 3

    Run and prepare cables

    Route 14/2 (or 12/2) from the panel to switch box 1, 14/3 (or 12/3) between switch boxes 1 and 2, and 14/2 (or 12/2) from switch box 2 to the fixture. Strip 6–8 inches of sheathing at each box, and strip ¾ inch of insulation from each conductor. Re-identify any white conductors used as switch legs or travelers with black electrical tape at each box.

  4. 4

    Wire switch box 1

    Connect the incoming hot (black from panel) to the COM terminal on switch 1. Connect the red conductor from the 3-wire cable to one traveler terminal and the black conductor from the 3-wire cable to the other traveler terminal. Splice the white neutral conductors together with a wire nut — they pass through without connecting to the switch. Connect the bare grounds to the green screw and to the metal box if applicable.

  5. 5

    Wire switch box 2

    Connect the red conductor from the 3-wire cable to one traveler terminal and the black conductor from the 3-wire cable to the other traveler terminal — matching the same color-to-terminal relationship as switch 1 is not required, only that red connects to one traveler and black to the other. Connect the black conductor going to the fixture (the switch leg) to the COM terminal on switch 2. Splice the white neutrals together. Connect grounds.

  6. 6

    Wire the fixture box

    Connect the switch leg (black from switch 2 COM) to the black fixture wire. Connect the neutral (white) to the white fixture wire. Connect the ground to the fixture ground and the box. If the fixture has a separate green or bare equipment ground, connect it to the bare copper ground in the cable.

  7. 7

    Test all four switching states

    Restore power and test all four combinations: both switches up, both down, switch 1 up / switch 2 down, switch 1 down / switch 2 up. The light should change state every time either switch is flipped. If the light only works from one switch, a traveler wire is on a COM terminal — re-examine your connections at both boxes.

Adding More Switch Locations — 4-Way Switch

To control the same light from three or more locations, insert one 4-way switch between the two 3-way switches for each additional location. A 4-way switch has four terminals arranged in two pairs and routes power between the pairs in two different combinations as it toggles — effectively acting as a traveler crossbar.

The wiring addition: run 3-wire cable from switch 1 to the 4-way switch, and from the 4-way switch to switch 2. The traveler wires from switch 1 connect to one pair of terminals on the 4-way, and the travelers continuing to switch 2 connect to the other pair. Adding a second additional location adds another 4-way switch in series between the previous 4-way and switch 2.

Open 4-way switch diagram →

3-Way Smart Switches and Dimmers

Smart switches use different wiring approaches depending on the brand and generation. Understanding these differences prevents buying the wrong device for an existing box configuration.

Lutron Caseta: The main Caseta dimmer or switch wires to the hot, load, neutral, and ground at one location. A wireless Pico remote replaces the second switch — no traveler wires required, and the second switch location needs no wiring at all (the Pico is battery-powered and uses 434 MHz radio). This is the most retrofit-friendly option for existing switch loops because only the main dimmer location needs a neutral.

Leviton Decora Smart (Z-Wave / Matter): Uses a main switch at one location wired as a single-pole smart switch, paired with a companion (remote) switch at the second location. The companion uses the existing traveler wire to communicate — the wiring configuration differs from conventional 3-way and is specific to the Leviton system.

GE Enbrighten / Honeywell: Similar to Leviton — main smart switch at one location, add-on auxiliary switch at the second location using the traveler as a communication conductor.

All of these main smart switches require a neutral wire at their switch box. DesignedWire's neutral-requirement audit flags this in the diagram the moment you place a smart switch — see the smart switch neutral wire guide for pre-2011 homes without a neutral at the switch box.

Draw your 3-way circuit

Open the interactive diagram, add wire gauges, check voltage drop, and export a print-ready PDF — all in your browser, no account needed.

Open 3-way diagram

Common Mistakes and Troubleshooting

  • Light only works from one switch. A traveler wire is connected to the COM terminal on one of the switches instead of the traveler terminal. The COM screw is usually darker than the traveler screws — verify at both boxes.
  • Light stays on regardless of switch position. The hot and the switch leg are both connected to COM on the same switch, creating a permanent connection. The travelers are not in the circuit path at all.
  • Light stays off regardless of switch position. The hot is connected to a traveler terminal instead of COM on switch 1. Power never reaches COM and never crosses to switch 2.
  • Intermittent failure — light flickers or works sometimes. A loose connection, most often a wire not fully seated under a terminal screw or a push-in connector under tension. Check all terminations and re-seat any that feel loose.
  • White wire not re-identified. NEC 200.7(C)(1) requires that white conductors used as ungrounded conductors (switch legs, travelers) be permanently re-identified with tape, paint, or a sleeve at each point they are visible. Inspectors cite this on permit work.
  • Box overfilled. Adding a 3-wire cable to an existing single-gang box can push the fill over the box's rated cubic-inch capacity. Count conductors per NEC 314.16 before closing the box — use DesignedWire's box fill calculator.

Frequently Asked Questions

  • What is the difference between a 3-way and 4-way switch?

    A 3-way switch is an SPDT switch with one common and two traveler terminals. Two 3-way switches control a light from two locations. A 4-way switch has four terminals and is inserted between the two 3-way switches to add a third (or fourth, fifth…) control location. Each additional location beyond two requires one additional 4-way switch.

  • What cable do I use for 3-way switch wiring?

    The traveler run between the two switch boxes requires 3-wire cable — 14/3 NM-B for 15 A circuits or 12/3 NM-B for 20 A circuits. This provides the two traveler conductors (black and red) plus a white for the neutral required at switch locations per NEC 404.2(C). The runs from the panel to the first switch and from the second switch to the fixture use standard 2-wire cable (14/2 or 12/2).

  • Does it matter which traveler terminal I use for which wire?

    No — the two traveler terminals on each 3-way switch are interchangeable with each other. What matters is that the same two traveler terminals carry the same two traveler conductors at both switches. Red connects to one traveler terminal at switch 1 and one traveler terminal at switch 2; black connects to the remaining traveler terminal at each switch. If you swap red and black on only one switch, the circuit still works — just with inverted positions (what was ON becomes OFF and vice versa), which is functionally identical.

  • Can I use a 3-way switch for a 240V circuit?

    Standard residential 3-way switches are rated for 120V/15A or 120V/20A single-pole applications. A 240V circuit requires switching both ungrounded conductors simultaneously, which calls for a double-pole switch. Standard 3-way switches must not be used on 240V circuits.

  • Why does my dimmer switch buzz or flicker when wired as a 3-way?

    Standard (non-smart) 3-way dimmers are designed to work with a specific companion switch — usually a plain 3-way switch or a matching companion dimmer from the same manufacturer. Mixing brands or using a second dimmer at both locations creates a load incompatibility. LED bulbs are particularly sensitive: some LED drivers react to the minimal current a dimmer draws in its off state. Check the dimmer's compatibility list for LED bulb type and confirm the secondary switch is the correct companion model.