Residential Electrical

Switches and Three-Way Circuits

A switch always interrupts the hot, never the neutral, so off means no power at the light. How a 3-way switch's common and two travelers work, three cable layouts traced wire by wire, and why the light-in-the-middle layout takes four-wire cable under NEC 200.7(C)(1). How 4-way switches add locations, the neutral-at-the-switch rule of 404.2(C), dimmers and LED compatibility with worked load arithmetic, MSU's wiring order, and how to read a misbehaving three-way with the power off.

  • 13 min
  • 11 steps
  • 9 questions
  • 6 hands-on
  • Lesson 11 of 18 in Residential Electrical

In this lesson

  1. Switch the hot
  2. How 3-way switches work
  3. Three cable layouts
  4. Four-ways for more locations
  5. The neutral at the switch
  6. Dimmers and LEDs
  7. A wiring order that works
  8. When a three-way misbehaves
  9. Who does what
  10. Try it
  11. What to take from this

Switch the hot

A wall switch controls a light by interrupting power on its way there. The code rule is that the neutral connects directly to the light and only the hot is interrupted by the switch. When the switch is off, nothing at the light should be live 1. The same holds through 3-way and 4-way switches: only hots are switched 2.

At a switch box fed with power, that means the white neutrals are spliced together and continue on to the light, untouched by the switch 1. Many switches also have a green grounding screw; if there is one, ground the switch 1.

One wrinkle: when power comes to the light first and a two-wire cable drops to the switch, the cable’s white wire has to serve as a hot. It must be re-identified, marked with black tape wherever it shows, because white otherwise means neutral. And it may do only one job: the supply to the switch, never the return from the switch to the light 3 4. Old Switches and Switch Loops and Correcting a Switch Loop take that into an old house.

Quick check

Which wire does a wall switch interrupt?

How 3-way switches work

To control a light from two places, you use two 3-way switches. Each has three terminals 1:

  • one common, usually a darker or differently colored screw,
  • two travelers.

Inside, the common connects to one traveler or the other, depending on the toggle. That’s why a 3-way has no ON or OFF marked on it 1.

Wire the travelers of one switch to the travelers of the other. Bring the hot to one switch’s common, and run the other switch’s common to the light. Now the light is on whenever both commons are connected to the same traveler, and either switch can break or complete the path 1. Identify the common on each switch before wiring; manufacturers place it differently, and older switches differ from new ones 1.

A single-pole switch on the hot with the neutral running straight to the light; two 3-way switches with commons and travelers, the light on when both commons connect to the same traveler; and a 4-way switch between two 3-way switches that swaps the traveler pair.
Switch the hot; travelers link the switches. Credit: StudyCorner diagram after MSU Tech Note 330 · CC BY 4.0 · Source

Quick check

On a 3-way switch, what does the common terminal do?

Three cable layouts

Every three-way circuit has the same jobs to fill: a supply, two travelers, a return to the light, and a neutral. What changes is the order the boxes come in, and that sets which wires each cable has to carry.

Power at the first switch

The feed reaches the first switch. Three-wire cable runs to the second, with black and red as travelers and white as the neutral, and two-wire cable runs on to the light 1. It doesn’t matter which traveler lands on which traveler screw 5.

Left to right: a two-wire feed, the first switch box, a three-wire cable, the second switch box, a two-wire cable, and the light. The black hot lands on the first common; black and red are the travelers; the second common sends a black switched hot to the light. The white neutral is spliced through both boxes to the light. A yellow glow traces the live path along the top traveler.
Layout 1. The neutral passes through both boxes and touches neither switch. Credit: StudyCorner original diagram after MSU Tech Note 330 · CC BY 4.0 · Source

This is the cleanest layout. Every white is a neutral, and both switch boxes have one.

Power at the light

The feed reaches the light box first, and the switches lie beyond it. Between the light and the near switch the cable carries the supply, the return, and a neutral: black, red, white. Between the two switches it has to carry two travelers and the supply, three hots, and 14/3 has only black, red, and white. So the white gets taped black and serves as the supply, which is the job the code allows 3.

Left to right: a two-wire feed, the light box, a three-wire cable, the near switch, a second three-wire cable, and the far switch. Black carries the always-hot supply from the light box to the near switch box, where it is spliced to a white wire taped black that runs on to the far common. Black and red are the travelers between the switches. The near common sends the switched hot back to the lamp on red. A white neutral runs from the light box and is capped at the near switch.
Layout 2. The re-marked white is the supply, the one job it may do. Credit: StudyCorner original diagram after NEC 200.7(C)(1) and 404.2(C) as reported by Mike Holt and Minnesota DLI · CC BY 4.0 · Source

The far box then has no neutral. Four-wire cable, with blue as the supply, would give it one.

Light between the switches

Now the feed reaches the first switch, and the light sits in the middle. The cable from the light to the far switch has to carry two travelers and the return. In 14/3, the only wire left for the return is the white, and that’s the one thing a re-marked white may not be 3 4. A drawing that shows it that way doesn’t meet the wording. Use 14/4, with blue as the return and the white capped as a neutral at the far box.

Left to right: a two-wire feed, the first switch box, a three-wire cable, the light box, a four-wire cable, and the second switch box. Black and red travelers pass through the light box on splices. A blue wire brings the switched hot back from the second common to the lamp. The white neutral reaches the lamp and is capped at the second switch. A note says that with three-wire cable the white would have to be the return, which the code bars.
Layout 3. Three hots to the far switch means four-wire cable. Credit: StudyCorner original diagram after NEC 200.7(C)(1) as reported by Mike Holt and Minnesota DLI · CC BY 4.0 · Source

The working rule: count the hots in each cable. Three hots and a neutral means four-wire cable.

Find it

Tap the conductor a re-marked white wire isn’t allowed to replace.

This exercise needs JavaScript.

Find the mistake

Two things in this account of three-way layouts are wrong.

This exercise needs JavaScript.

Label it

Name the boxes and wires in this three-way layout.

This exercise needs JavaScript.

Four-ways for more locations

For three or more locations, put a 4-way switch between the two 3-ways. All four of its terminals are travelers, in two pairs. One 3-way’s travelers go to one pair; the other pair continues to the other 3-way. The 4-way either passes the travelers straight through or crosses them. You can install as many 4-ways in a row as you need 1.

Recent 4-ways mark each pair with a slightly different screw color; keep the pairs straight 5.

Two rows of the same circuit: a three-way switch, a four-way switch, a three-way switch, and a lamp. In the top row the four-way passes the travelers straight through and the yellow live path reaches the lit lamp. In the bottom row the four-way crosses them, the live path ends at the far switch's unused traveler, and the lamp is dark.
Flip the four-way and the live wire changes lanes. Credit: StudyCorner original diagram after MSU Tech Note 330 · CC BY 4.0 · Source

Quick check

How do you control one light from four locations?

The neutral at the switch

Section 404.2(C) wants a neutral at switch locations serving bathrooms, hallways, stairways, and habitable rooms, so that electronic controls have power. Where 3-way and 4-way switches are all visible in one room, only one location needs it. No neutral is needed if the conductors enter through a raceway with room for one, if the box can be reached to add a cable without damaging the finish, for snap switches with integral enclosures, for automatic controls, or where the switch controls receptacles 2.

SPS 316 has no section on Article 404, so these rules apply in Wisconsin as written 6. Old switch boxes are another matter, and Old Switches and Switch Loops covers the replacement exception.

Dimmers and LEDs

A general-use dimmer may control only permanently installed incandescent lights unless it’s listed for other loads 2, so read the box and don’t put one on a receptacle. For LEDs, the trouble is usually compatibility between one lamp and one dimmer, and it’s often unknown until tried 7.

Term Meaning
Forward-phase (TRIAC, leading edge) Cuts the front of each AC half-wave
Reverse-phase (ELV, trailing edge) Cuts the back of it
Two-wire dimmer In series with the lamps, no neutral
Three-wire dimmer Has a neutral, generally behaves better
Ghosting Faint glow with the dimmer off

7

A two-wire dimmer has to draw its own power through the lamps, so too small a load can make LEDs flash or ghost, though newer products have largely fixed it. Dimmers carry a minimum and a maximum load; the old minimum was typically about 40 watts 7, which a few LEDs may not reach.

Lutron’s DVCL-153P is a good example of what to read: 150 watts of dimmable LED or 600 of incandescent, no neutral required, adjustable low-end trim, and one dimmer per light, with a mechanical switch at any other location 8. Twelve 9-watt lamps are 108 watts, comfortably inside it. Buy lamps marked dimmable, check them against the dimmer maker’s list, and use one model of lamp on a dimmer. On a stairway of six or more risers, a dimmer is allowed only if each control can reach full brightness 4.

Swapping a dimmer is a switch replacement. Breaker off, label on, tester checked on a live source, every wire in the box proved dead, tester checked again, and then the box is safe to work in.

Work it out

A dimmer is rated for 150 watts of LED. How many 9-watt lamps can it carry?

This exercise needs JavaScript.

Fill the blanks

Fill in the dimmer terms.

This exercise needs JavaScript.

A wiring order that works

MSU recommends wiring a switched circuit systematically, one kind of wire at a time, rather than all at once 1. This is for new cable, connected to nothing until the last step:

  1. Grounds: connect all the equipment grounds at every box, then push them back out of the way. Metal boxes, receptacles, and switches with grounding screws all get grounded.
  2. Neutrals: run the white neutrals to every place power is used, the receptacles and lights. A neutral may be spliced through a switch box, but it never goes through the switch.
  3. Travelers: connect the traveler terminals of one 3-way to the other’s, usually with the red and black of a 3-wire cable.
  4. Hots: bring the hot to the first common, and run the second common to the light.

Done in that order, you can check each step on its own, and the circuit works the first time. The connection in the panel stays with an electrician, as Breakers, GFCI, and AFCI explains.

Put in order

Put MSU’s wiring order for a switched circuit in sequence.

This exercise needs JavaScript.

When a three-way misbehaves

Wired wrong, the lights won’t work correctly, which is why MSU insists on identifying the terminals first 5. All of this is diagnosed with the power off and proved off, using a meter’s continuity setting on the disconnected switch and a sketch of the wires.

Symptom Usual cause
Works only with the other switch in one position A common and a traveler swapped
Light stays on whatever the switches do Travelers tied together at a splice
Works until a 4-way moves The 4-way’s pairs mixed

If a wire reads live with the breaker off, or an old three-way can’t be sorted out on paper, that’s an electrician’s job. Old Switches and Switch Loops describes the old patterns that take a live meter to read.

Three toggle switches hanging out of a blue plastic box in a rough hole in a wall, with a tangle of black, white, gray, and red wires and orange and red connectors behind them.
The photographer's own label: an amateur installation with multiple code violations. Sketch before you touch anything like it. Credit: Paul Cutler, via Wikimedia Commons · CC BY 2.0 · Source

Who does what

Anyone may install a replacement switch of 20 amps or less in Wisconsin 9; an owner-occupant may do the rest unless a local ordinance says otherwise 10. Angi’s 2026 figures are $50 to $150 to replace a switch and $100 to $200 for a new one 11.

Ask an electrician: “Is there a neutral in this box?” and “Which cable carries the return?” Red flags: a white on a common with no tape, a white as the return, a dimmer on a receptacle circuit. Correct wiring comes first, then a compatible lamp and dimmer, then the features on the box.

Word Plain meaning
Common Screw that swings between travelers
Traveler Wire linking 3-way or 4-way switches
Return Switched hot going back to the light
Low-end trim Dimmer setting for the lowest level
14/4 Four insulated wires and a ground
3 Way Switches Explained - How to wire 3 way light switch Three-way switching, animated. Credit: The Engineering Mindset · YouTube standard license · 8:27 · Source

Playback is optional. If the player is unavailable, open the video at its source.

Try it

List every light in the house you can control from two or more places, and note any that has a 4-way in the middle. Take two loose 3-way switches that are never connected to power, find the common on each (the darker or differently colored screw), and with a meter set to continuity confirm that each toggle connects the common to one traveler, then the other. Then sketch the whole circuit for one stairway light in the lesson’s order (grounds, neutrals, travelers, hots), marking the red and black of the 3-wire cable as travelers and the white running straight to the light, never through a switch. Finish by drawing the same stairway with the light between the switches, and count the hots in each cable.

What to take from this

Switches interrupt only the hot; neutrals run straight to the light and never pass through a switch. A 3-way switch has a common and two travelers, and the common connects to one traveler or the other. Link the travelers of two 3-ways, feed one common, and run the other to the light. A re-marked white may be a supply, never a return, so a light between the switches takes four-wire cable. 4-way switches between them add more locations. Bring a neutral to switch boxes, match dimmers to lamps by the maker’s list, and wire grounds, then neutrals, then travelers, then hots.

Lesson complete

Nice work.

1day streak
0/1today's goal
–correct

Teach it back

In two sentences, explain Switches and Three-Way Circuits to a friend who missed it.

Up next · 12 min

Lighting

A 12-by-14-foot kitchen wants good working light on its counters. About how many ordinary 1,100-lumen ceiling cans would it take to give that from the ceiling alone?

Next lesson

Related lessons

Among the stars
Sources for this lesson
  1. 1
    Electrical Tech Note 330: Wiring Circuits, Basic Rules. Michigan State University, Biosystems & Agricultural Engineering. verifiedEach hot wire is about 120 V to earth and 240 V hot to hot; voltages above about 15 V can be dangerous; NM-B cable for dwellings is commonly 14 AWG for 15 A circuits (white jacket), 12 AWG for 20 A (yellow), and 10 AWG for 30 A (orange); NM cable is for dry locations only; keep the equipment grounding conductor continuous; one wire per device screw terminal.

    Also cited in Correcting a Switch Loop, Fuse Boxes, Old Panels, and Service Upgrades, Fishing New Cable Through Plaster Walls and 9 more.

  2. 2
    Mike Holt. NEC Requirements for Switches. EC&M. 2023. verifiedMay 9, 2023. 404.2(A), (B): only hot conductors may be switched. 404.2(C): a neutral is required at switch locations for bathrooms, hallways, stairways, and habitable rooms; where 3- and 4-way switches are visible in one room, only one needs it; exceptions when conductors enter through a raceway large enough for a neutral, when the box can be reached to add a cable without damaging the finish, for snap switches with integral enclosures, for automatic control, and for switches controlling receptacles. 404.22: replacement electronic switches. 404.14: general-use dimmers control only permanently installed incandescent luminaires unless listed for other loads. 314.20 and 314.21: boxes in noncombustible walls no more than ¼ inch back, flush or proud in combustible ones, gaps at the edge no more than ⅛ inch.

    Also cited in Cable, Conduit, and Boxes.

  3. 3
    Section 200.7 (forum thread quoting NEC 200.7(C)(1)). Mike Holt's Forum. verifiedRead in a browser on November 5, 2026; NFPA's text is not free to fetch, so the rule is taken from the code wording quoted in this thread: 'If used for single-pole, 3-way or 4-way switch loops, the reidentified conductor with white or gray insulation or three continuous white stripes shall be used only for the supply to the switch, but not as a return conductor from the switch to the outlet.' Reidentification is by marking at terminations and wherever visible and accessible, encircling the insulation in a color other than white, gray, or green.

    Also cited in Correcting a Switch Loop, Old Switches and Switch Loops.

  4. 4
    Residential Electrical Inspection Checklist, 2023 NEC. Minnesota Department of Labor and Industry. 2023. verifiedRevised May 6, 2023. Another state's plain-language digest of the 2023 NEC, read November 5, 2026; Minnesota's amendments are not Wisconsin's. Item 008, 406.4 and 406.12: all 125- and 250-volt, 15- and 20-amp receptacles installed or replaced in dwelling units, their garages, and accessory buildings must be tamper-resistant; exceptions are receptacles 5½ feet or more above the floor, in space dedicated for an appliance not readily moved, or part of a luminaire. Item 011: receptacles installed or replaced in wet locations must be weather resistant, with a weatherproof enclosure with the cord inserted, marked extra duty. Item 034: NM secured every 4½ feet and within 12 inches of each box. 035: jacket secured to the box and at least ¼ inch inside it. 036: 6 inches of conductor in all boxes. 039: terminals for more than one conductor must be identified; several grounds are spliced with a pigtail to the single grounding terminal. 040: a re-identified white in NM may be a hot, but must not be the return from a switch to an outlet. 042: unused openings closed; a nonmetallic box must be replaced if a cable opening is punched out but not used. 044: neutral generally required where switches control lighting; dimmers often require a neutral connection. 046: box-fill table; 2, 2.25, 2.5 cubic inches for 14, 12, 10 AWG; each device twice; with more than four equipment grounding conductors, add a quarter volume for each. 047 to 049: closet clearances of 12 inches for enclosed surface incandescent or LED, 6 inches for enclosed recessed incandescent or LED, 6 inches for surface or recessed fluorescent; storage space runs from the floor to 6 feet or the highest rod and 24 inches from sides and back, then on up at 12 inches or the shelf width; open lamps, pendants, and lampholders barred. 050: wet and damp luminaires are marked. 055: dissimilar metals not intermixed unless the device is listed for it. Stairways: at an interior stairway with six or more risers, a wall switch at each floor level and each landing with an entry; dimmer control there only if the listed control can reach maximum brightness. 060: the interior of raceways in wet locations above grade is a wet location. Cited at: 040.

    Also cited in Lighting, Receptacles, Cable, Conduit, and Boxes and 2 more.

  5. 5
    Electrical Tech Note 330: Wiring Circuits, Basic Rules (read in full). Michigan State University, Biosystems & Agricultural Engineering. verifiedRead in full November 5, 2026, for points beyond the note on reference msu-tn330-wiring-rules. A loose connection concentrates heat at one point, sometimes enough to melt the device and start a fire. IMC is not recommended for agricultural applications because of corrosion. Set a stripper for the wire size; a nick can become a broken wire. Tighten a clamp so the cable is held firmly but not damaged or deformed. Never assume a wire's purpose from its color. It doesn't matter which traveler lands on which traveler terminal; if a three-way is connected incorrectly, the lights won't work correctly, so identify the terminals first. Recent 4-way switches mark each pair of terminals with a slightly different color; don't mix up the pairs.

    Also cited in Cable, Conduit, and Boxes, Making Good Connections.

  6. 6
    Wis. Admin. Code ch. SPS 316, Electrical (Register September 2026, No. 849). Wisconsin Legislature. 2026. verifiedRead in full November 5, 2026. Subchapter IV lists every Wisconsin change to the 2023 NEC; it has no section for NEC Articles 404 or 410, none for 314.16, 334.80, or 406.12, and none for 110.14. 316.110(1): listed or labeled equipment is installed under its instructions unless they conflict with the chapter. 316.210(1): 210.8(A) GFCI list limited to 125-volt, single-phase, 15- and 20-ampere receptacles; basement rule limited to unfinished portions not intended as habitable rooms. 316.210(3)(a): substitutes for 210.52(C)(2): at least one receptacle at each island and peninsular countertop space with a long dimension of 24 inches or greater and a short dimension of 12 inches or greater; a peninsula is measured from the connected perpendicular wall. 316.210(3)(b): exceptions to 210.52(C)(3): in construction for the physically impaired, and on island and peninsular tops flat across their entire surface with no means of mounting a receptacle within 20 inches above, receptacles may go below the counter, no more than 12 inches below it, and not where the top extends more than 6 inches beyond its support base. 316.250(3): a metal raceway in direct contact with earth, in slabs or floors poured on earth, or in exterior concrete walls below grade gets a supplemental equipment grounding conductor. 316.300(2): exception to 300.4(D): the distance need not be kept within 8 inches of a device, junction box, splice, or termination point. 316.310: the derating factors in NEC Table 310.15(C)(1) do not apply to branch circuits supplying an individual dwelling unit. 316.406(1): 406.4(D)(4) omitted. 316.406(2): substitutes for 406.9(C): receptacles shall not be installed within or directly over a bathtub or shower stall, with an exception for weight-supporting ceiling receptacles.

    Also cited in Lighting, Receptacles, Cable, Conduit, and Boxes and 2 more.

  7. 7
    Naomi Miller, Michael Poplawski. Dimming LEDs with Phase-Cut Dimmers: The Specifier's Process for Maximizing Success (PNNL-22945). Pacific Northwest National Laboratory for the U.S. Department of Energy. 2013. verifiedOctober 2013. Problems dimming LEDs are often of compatibility between a given source and a given dimmer, which is often unknown. Forward-phase (TRIAC, leading-edge, INC) dimmers cut the front of the AC wave; reverse-phase (ELV, trailing-edge) dimmers cut the back. Most wall-box dimmers are two-wire: in series with the load, so they must draw their own power through the lamps. Follow the LED maker's compatibility data and recommended phase type; compatibility alone doesn't guarantee freedom from flicker. Phase-cut dimmers carry minimum and maximum load ratings; the minimum for most installed equipment is typically around 40 watts and the wall-box maximum 600. Three-wire dimmers with a neutral generally perform better than two-wire ones. Too little off-state current can cause strobing, or ghosting, a faint glow when off; newer dimmers and LED sources have largely addressed it.

    Also cited in Color Temperature, CRI, and Lamps, Lighting.

  8. 8
    Diva LED+ Dimmer Switch, DVCL-153P. Lutron. verifiedRead November 5, 2026. 150 watts of dimmable LED or 600 watts of incandescent or halogen, 120 volts; no neutral required; single pole or 3-way with a mechanical switch; for a light controlled from more than one location, use only one dimmer; adjustable low-end trim.
  9. 9
    Wis. Stat. 101.862, License or registration required. Wisconsin Legislature. 2026. verifiedRead in the chapter 101 PDF published November 4, 2026. (1) to (3): no one may do electrical work as a business without a contractor license; no one may install, repair, or maintain wiring unless licensed or registered as an electrician, with a master electrician responsible. (4)(a): exempts a residential owner on premises the owner owns and occupies as a residence, unless a local ordinance requires a license or registration. (4)(n): exempts a person who installs a replacement for an existing switch or outlet rated 20 amperes or less. Cited at: (4)(n).

    Also cited in Knob-and-Tube Wiring, Old Switches and Switch Loops, Two-Prong Outlets and Ungrounded Circuits and 2 more.

  10. 10
    Wis. Stat. 101.862, Electrician licensing. Wisconsin Legislature. verifiedElectrical wiring generally requires licensed or registered electricians under a master electrician; subsection (4)(a) exempts a residential property owner who installs, repairs, or maintains wiring on premises the owner owns and occupies as a residence, unless a local ordinance requires a license or registration; (4)(d) exempts systems of 100 volts or less.

    Also cited in Interiors: Spaces, Features, and Finishes, Permits, Credentials, and the Wisconsin Code, Dryers and Dryer Vents and 19 more.

  11. 11
    Lawrence Bonk. How Much Does It Cost to Replace Knob and Tube Wiring? [2026 Data]. Angi. 2026. verifiedUpdated October 29, 2026. National average $24,300, range $12,000 to $36,600; $10 to $20 per square foot (1,600 sq ft: $16,000 to $32,000). Electricians $50 to $100 an hour, or $100 to $350 or more per opening. Panel upgrades $600 to $4,000. Electricians usually cut back old wire and leave it in the walls. NM and similar wire $0.25 to $2.00 per linear foot; old-work boxes $2 to $6. New outlet $140 to $300; replace existing outlet $125 to $250; new light switch $100 to $200; replace existing switch $50 to $150. A consumer cost guide, not a survey of Wisconsin prices.

    Also cited in Fishing New Cable Through Plaster Walls, Knob-and-Tube Wiring, Old Switches and Switch Loops and 3 more.