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:
- Line terminal: Connects to the incoming hot (live) wire from the circuit breaker.
- Load terminal: Connects to the wire going to the light fixture or device.
- Ground terminal (green screw): Connects to the bare copper or green grounding conductor.
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:
- 2-way (single-pole): Controls a load from one location. Two terminals.
- 3-way: Controls a load from two locations. Three terminals (one common, two travelers).
- 4-way: Used between two 3-way switches to add a third control location. Four terminals.
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:
- Power leaves the circuit breaker panel and travels to the switch box via a 2-wire cable (black hot, white neutral, bare ground).
- The black (hot) wire connects to one terminal on the switch.
- A switch leg (another black wire) runs from the other terminal on the switch to the light fixture.
- The white (neutral) wire passes through the switch box without connecting to the switch -- it goes directly to the neutral terminal on the fixture.
- 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:
- Turn off the circuit breaker that feeds the circuit you are working on.
- Verify power is off with a non-contact voltage tester. Test at the switch box and the fixture box.
- Lock out the breaker and post a warning note so nobody restores power while you work.
- Never touch bare wires until you have confirmed power is off.
- Check local building codes -- some jurisdictions require a permit even for replacing a switch.
- If you are unsure about any step, hire a licensed electrician.
Tools and Materials
Tools
- Non-contact voltage tester
- Flathead and Phillips screwdrivers
- Wire strippers
- Needle-nose pliers
- Electrical tape
Materials
- Single-pole (2-way) switch
- 14/2 or 12/2 NM-B cable (if running new wire)
- Wire connectors (wire nuts or Wago lever connectors)
- Electrical box (if new installation)
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:
- Connect the incoming black (hot) wire to one brass terminal on the switch.
- Connect the black wire going to the fixture (switch leg) to the other brass terminal.
- Join the white (neutral) wires together with a wire connector -- they do not connect to the switch.
- Connect the ground wires together and attach a pigtail to the green screw on the switch.
At the light fixture:
- Connect the black wire (switch leg) to the brass (hot) terminal on the fixture.
- Connect the white wire to the silver (neutral) terminal.
- 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:
- 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.
- At the switch, connect the re-identified white wire (marked with black tape) to one terminal.
- Connect the black wire (switch leg back to the fixture) to the other terminal.
- 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:
- 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).
- The switch leg (black wire to the fixture) connects to the other switch terminal.
- The neutral wire from the power source connects to the silver screw on the receptacle and also passes through to the fixture's neutral.
- 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.
- Connect the incoming hot to both switches via pigtails.
- One switch controls the black wire going to the fan motor.
- The other switch controls the red wire going to the fan light kit.
- The neutral and ground pass through to the ceiling box as usual.
Common Mistakes and Troubleshooting
Light Does Not Turn On
- Verify power is reaching the switch box with a voltage tester.
- Check that the hot wire is connected to a switch terminal, not just passing through.
- Inspect wire connections for loose wire nuts.
- Test the light bulb in another fixture.
Switch Trips the Breaker
- Look for a short circuit: bare copper touching a terminal, or the hot wire touching the neutral.
- Verify wire gauge matches the breaker rating (14 AWG for 15A, 12 AWG for 20A).
Switch Feels Warm or Buzzes
- If using a dimmer switch with LED bulbs, ensure the dimmer is LED-compatible.
- A warm switch can indicate the load exceeds the switch rating (most standard switches are rated 15A).
- Loose wire connections cause arcing, which produces heat. Tighten all terminals.
Switch Works Backwards (On When Down)
- You likely installed the switch upside down. The "ON" position should be the up position. Flip the switch in the box.
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
- All switches must have a grounding conductor connected to the green screw.
- A neutral conductor must be present in every switch box (NEC 404.2(C), 2011 and later).
- All wire splices must be made inside an approved electrical box with a cover.
- Wire gauge must match the overcurrent protection device (circuit breaker).
- Boxes must remain accessible -- never bury a junction box behind a finished wall.
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:
- Line (incoming hot)
- Load (switch leg to fixture)
- Neutral (white wire)
- Ground (bare copper)
Create Your Own 2-Way Switch Diagram
Planning your switch wiring before you start saves time and prevents mistakes. With CircuitDiagramMaker, you can:
- Drag and drop switch, fixture, and outlet symbols from the built-in library
- Draw wires with proper color coding
- Label every connection for easy reference
- Export your diagram as a PNG or PDF to reference on the job
- Run a simulation to verify circuit continuity
Create your 2-way switch wiring diagram -- free
Key Takeaways
- A 2-way switch has two terminals and controls a load from one location.
- The hot wire connects to one terminal; the switch leg to the load connects to the other.
- Neutral wires pass through the switch box without connecting to the switch.
- Always turn off power and verify with a voltage tester before working.
- Check NEC code requirements, especially the neutral-in-the-switch-box rule for new work.
- Use a wiring diagram tool to plan connections before you start, especially for multi-switch setups.