2-Way Switch Wiring Diagram: Complete Guide

A 2-way switch -- also called a single-pole switch -- is the most basic and widely used switch in residential and commercial electrical systems. It controls a light or device from a single location: flip the toggle up to turn it on, flip it down to turn it off. Understanding how to wire a 2-way switch correctly is the foundation of all home electrical work.

This guide covers everything you need to know about 2-way switch wiring: how the switch works internally, the standard wiring method, wire color codes, common variations, and safety practices.

What Is a 2-Way Switch?

A 2-way switch is a simple on/off switch with two brass terminal screws and a green ground screw. It has two positions: open (off) and closed (on). When the switch is in the closed position, current flows from one terminal to the other, completing the circuit and powering the load.

The two terminals on a 2-way switch are:

Some switches mark the terminals with "LINE" and "LOAD" labels. On others, the two brass terminals are interchangeable -- the switch simply opens or closes the connection between them.

2-Way vs 3-Way vs 4-Way

Do not confuse a 2-way switch with a 3-way or 4-way switch:

If you need to control a light from two locations, see our guide on 3-way switch wiring.

How a 2-Way Switch Circuit Works

The wiring path for a 2-way switch circuit is straightforward:

  1. Power leaves the circuit breaker panel and travels to the switch box via a 2-wire cable (black hot, white neutral, bare ground).
  2. The black (hot) wire connects to one terminal on the switch.
  3. A switch leg (another black wire) runs from the other terminal on the switch to the light fixture.
  4. The white (neutral) wire passes through the switch box without connecting to the switch -- it goes directly to the neutral terminal on the fixture.
  5. The ground wire connects to the green screw on the switch and to the fixture ground.

When the switch is ON, the hot wire connects through the switch to the switch leg, powering the light. When OFF, the connection is broken.

Safety Precautions

Warning: Always follow these safety rules before working on any electrical circuit:

Tools and Materials

Tools

Materials

Standard 2-Way Switch Wiring Diagram

Wiring Method: Power to the Switch Box

This is the most common configuration. Power enters the switch box first, then a switch leg runs to the fixture.

At the switch box:

  1. Connect the incoming black (hot) wire to one brass terminal on the switch.
  2. Connect the black wire going to the fixture (switch leg) to the other brass terminal.
  3. Join the white (neutral) wires together with a wire connector -- they do not connect to the switch.
  4. Connect the ground wires together and attach a pigtail to the green screw on the switch.

At the light fixture:

  1. Connect the black wire (switch leg) to the brass (hot) terminal on the fixture.
  2. Connect the white wire to the silver (neutral) terminal.
  3. Connect the ground wire to the green screw or ground wire on the fixture.

Wiring Method: Power to the Fixture Box

In some homes, power enters at the fixture box instead of the switch box. The wiring is slightly different:

  1. At the fixture box, the incoming black (hot) wire is connected to the white wire running down to the switch. Mark this white wire with black tape at both ends to indicate it is being used as a hot conductor.
  2. At the switch, connect the re-identified white wire (marked with black tape) to one terminal.
  3. Connect the black wire (switch leg back to the fixture) to the other terminal.
  4. At the fixture, the black wire returning from the switch connects to the hot terminal.

Note: Current NEC code (2011 and later) requires a neutral conductor in every switch box, so this "switch loop" method may not be permitted for new installations. Check your local code.

Wiring a 2-Way Switch with a Receptacle

A common configuration is to wire a switch that controls a light fixture while also providing a hot receptacle (outlet) in the same box. This is often found in bathrooms and kitchens.

Wiring steps:

  1. The incoming hot wire connects to a short pigtail. The pigtail connects to the switch terminal AND a brass screw on the receptacle (using a wire nut to join them).
  2. The switch leg (black wire to the fixture) connects to the other switch terminal.
  3. The neutral wire from the power source connects to the silver screw on the receptacle and also passes through to the fixture's neutral.
  4. Grounds all connect together with pigtails to both the switch and receptacle.

Wiring a 2-Way Switch for a Ceiling Fan

When wiring a ceiling fan with a separate light, you may want independent switch control for the fan motor and the light. This requires two 2-way switches and a 3-wire cable (black, red, white, ground) running to the ceiling box.

  1. Connect the incoming hot to both switches via pigtails.
  2. One switch controls the black wire going to the fan motor.
  3. The other switch controls the red wire going to the fan light kit.
  4. The neutral and ground pass through to the ceiling box as usual.

Common Mistakes and Troubleshooting

Light Does Not Turn On

Switch Trips the Breaker

Switch Feels Warm or Buzzes

Switch Works Backwards (On When Down)

Wire Color Code Reference

Wire Color Function
Black Hot (line) or switch leg
White Neutral (or re-identified as hot with black tape in switch loops)
Red Second hot (used in 3-wire cables for dual switch setups)
Bare copper or green Equipment ground

NEC Code Requirements

When to Upgrade to a Smart Switch

Modern smart switches (Wi-Fi or Zigbee) replace standard 2-way switches and add remote control, scheduling, and voice assistant integration. Most smart switches require a neutral wire in the box, which is another reason the NEC now requires neutrals in all switch boxes.

Smart switches typically have four wires:

Create Your Own 2-Way Switch Diagram

Planning your switch wiring before you start saves time and prevents mistakes. With CircuitDiagramMaker, you can:

Create your 2-way switch wiring diagram -- free

Key Takeaways