Light Switch Wiring Diagram: Step-by-Step Guide (2026)
A light switch wiring diagram shows how the hot, neutral and ground wires connect between the power source, a switch and a light. This page explains a standard single-pole switch, which controls one light from one spot.
It covers the parts, the wire colors, the connection steps, common mistakes and signs that you need a pro. For other setups, see our guide to basic light switch wiring.
Safety warning. Household circuits can cause fatal shock, burns and fires, and a switch that looks off can still be live from another circuit in the same box. Stop and call a licensed electrician if you find burnt or aluminum wiring, cloth-covered cable, a warm box, no ground, or any wire you cannot identify.
This guide is general information, not professional advice. Rules vary by location.
You are responsible for checking the rules that apply to you and for your own safety.
Key points
- A single-pole switch breaks only the hot wire, so only the hot conductors (incoming hot and switched hot) connect to the switch terminals.
- In North American wiring, black or red marks a hot wire, white marks a neutral wire, and bare copper or green marks the ground.
- Turn the breaker off and confirm the wires are dead with a non-contact voltage tester before you touch any terminal.
- Check local rules and permit requirements first, because licensing and inspection rules differ by state and city.
Light switch wiring diagram: what you need
Gather these items before you open the box, and read the switch markings against the diagram below.
| Item | Use | Check |
|---|---|---|
| Non-contact voltage tester | Confirms each wire is dead | Test it on a known live outlet first |
| Single-pole switch | Opens and closes the hot wire | Marked on/off, with two brass screws and a green ground screw |
| Wire strippers | Exposes bare copper for the terminals | Strip only to the length marked on the switch |
| Screwdrivers | Tighten terminal and cover screws | Use the right tip so the screw heads do not strip |
| Wire connectors | Join neutrals and grounds | Match the size to the number and gauge of wires |
| Electrical tape | Re-marks a white wire used as a hot | Wrap black or red tape on both ends of the wire |
Wall switch wiring diagram: terminals and wire colors
This table reads like a diagram for the common case where power enters the switch box first, then continues to the light.
| Wire | Color | Connects to |
|---|---|---|
| Hot from the panel | Black | One brass screw on the switch |
| Switched hot to the light | Black or red | The other brass screw on the switch |
| Neutral from the panel | White | Spliced to the white wire going to the light, not to the switch |
| Neutral to the light | White | Spliced to the incoming white wire |
| Ground | Bare or green | Green screw on the switch and the box, if metal |
Light switch wiring diagram: step by step
Turn off the power and test
- Switch off the breaker that feeds the light, then flip the wall switch to confirm the light stays dead.
- Remove the cover plate and switch screws, then hold the tester near every wire before you touch anything.
Photograph and label the old wiring
- Take a clear photo of the existing connections before you disconnect anything, so you can compare it to the diagram.
- Mark each wire with tape if it is not clearly black, white or bare, and stop if the layout does not match the table above.
Identify the hot and switched wires
- Find the black wire coming from the panel and the black or red wire heading to the light, which will attach to the two brass screws.
- Treat a white wire connected to a switch screw as a hot wire, and wrap black or red tape on it at both ends.
Connect the hot wires to the switch
- Bend a small hook in each stripped copper end, loop it clockwise around a brass screw, and tighten until the insulation sits just clear of the screw.
- Either brass screw usually works for a basic single-pole switch, but follow the markings if the switch has labeled terminals (such as line and load).
Splice the neutrals and connect the ground
- Twist the white wires together, cap them with a wire connector, and tug each wire gently to confirm the splice holds.
- Attach the bare or green wire to the green screw on the switch, and to the metal box if there is one.
Fold the wires, mount the switch and test
- Fold the wires back into the box in an accordion pattern, keeping the neutral splice away from the switch terminals, then screw the switch to the box.
- Fit the cover plate, switch the breaker on, and test the light. Turn the breaker off again if you see sparks or smell burning.
Common light switch wiring diagram mistakes
- Working with the breaker on or untested wires, which risks shock because a neighboring circuit can still be live inside a shared box.
- Connecting the neutral white wire to a switch screw, which can leave the light fixture energized even when the switch reads off.
- Leaving a loose terminal screw or a long bare wire end, which can arc, overheat the switch and melt the insulation over time.
- Skipping the ground connection on the switch, which removes a safety path when a hot wire touches a metal box or cover plate.
- Forcing wires back into a crowded box, which can pinch insulation, loosen splices and leave a hot wire touching metal.
- Treating a three-wire switch as a basic one, since a 3-way setup has a common terminal and two travelers, explained in our 3-way switch wiring guide.
When to call a licensed electrician for switch wiring
- You find no ground wire, aluminum conductors, cloth-covered cable or brittle insulation in the box, which often means older wiring that needs a professional assessment.
- The box feels warm, shows scorch marks, buzzes or smells of burning, so leave the circuit off and keep clear until it is inspected.
- The tester shows voltage with the breaker off, which suggests mislabeled breakers or a second circuit sharing the box.
- You see more than one cable, a red wire or three-wire cable, which may point to a 3-way, 4-way or multi-switch layout.
- Your city or state requires a permit or a licensed person for the work, so check local rules before you start.
- A breaker trips again right after you restore power, because that points to a short circuit or ground fault.
Frequently asked questions
What does a light switch wiring diagram show?
It shows how the power source, switch and light connect. For a basic single-pole switch, the hot wire runs through the switch to the light, the neutrals connect directly, and the grounds tie together at the switch and box.
Which wire goes to which screw on a light switch?
On a single-pole switch, the incoming hot and the switched hot go to the two brass screws, and the ground goes to the green screw. Neutral white wires are spliced together and do not attach to the switch.
What is inside a light switch?
A basic switch holds two metal contacts that touch when the toggle is on and separate when it is off. That break opens the hot wire so current stops reaching the light.
How is a 3-way switch diagram different?
A 3-way circuit controls one light from two locations. Each switch has a common terminal and two traveler terminals, and a 4-way switch sits between them when you need a third location.
Read our three-way switch guide for details.
Next step: get your switch wired safely
A wiring diagram helps you understand the connections, but the wiring in your walls may not match it. A licensed electrician can inspect the box, make the connections and check the circuit.
Request a quote and tell us what the switch controls. Prices vary by job.