How to Wire A Light Switch: Step-by-Step Guide

In this guide, we’ll explain everything you need to know about how to wire a light switch safely and correctly. We’ll cover the basic wiring process, necessary components, and step-by-step instructions to help you understand how a standard light switch works. So, let’s start!
Table of Contents
How do you wire a standard light switch?
Turn off the breaker and confirm with a voltage tester, then connect the incoming black hot wire to one brass terminal and the outgoing black (or red) switched-hot wire to the other — either terminal can serve as line or load. Connect the bare copper or green ground wire to the green screw, and leave the white neutral wires spliced together, never touching the switch. The switch always interrupts the hot wire, not the neutral. A basic swap takes about 15–30 minutes once the power is confirmed off.

Every light switch in your house is doing the same simple job: opening and closing a gap in the hot wire so electricity either reaches the fixture or doesn’t. Once you can see it that way, wiring one stops being intimidating — it’s two wires on two screws, plus a ground. This guide walks through exactly how a standard single-pole switch is wired, with photos of each step, so you can replace a worn-out switch or wire a new one with confidence.
In this guide
What Is a Single-Pole Light Switch?
A single-pole switch is the standard on/off switch you’ll find controlling most lights, fans, and outlets in a home — one switch, one location, one fixture (or group of fixtures wired together). It has two brass screw terminals for the switching connections and a green screw for ground. Unlike a 3-way switch, it has no traveler terminals and is clearly marked “ON” and “OFF,” since a single-pole switch only ever has to make one decision: complete the circuit, or break it.
A standard single-pole decora-style switch — the end result of the wiring steps below.
How Does Single-Pole Switch Wiring Actually Work?
A single-pole switch interrupts the hot wire, not the neutral. Power comes into the switch box on one black wire, connects to one brass terminal, and a second black wire leaves the other brass terminal to carry “switched” power on to the light fixture. Flip the switch on, and the internal contact bridges the gap between those two terminals, completing the circuit. Flip it off, and the gap opens, cutting power to the fixture. The white neutral wire never touches the switch at all — it’s spliced straight through with a wire nut and continues on to the fixture, and the ground wire bonds the switch and box to the circuit’s grounding system for safety.
Both black hot wires land on the brass terminals; the ground wire bonds to the green screw and the box.
What Tools and Materials Do You Need?
| Item | Purpose |
|---|---|
| Non-contact voltage tester | Confirms the circuit is dead before you touch any wire |
| Wire strippers | Strips insulation cleanly if you need fresh wire ends |
| Flathead and Phillips screwdrivers | Terminal screws, box screws, and the wall plate |
| Utility knife | Cuts away old caulk or paint sealing the switch plate to the wall |
| New single-pole switch | Rated to match the circuit — 15A or 20A |
| Wire nuts | Re-caps the neutral splice if it’s disturbed |
| Electrical tape | Insulates and secures connections |
Everything you need for a standard switch swap: strippers, two screwdrivers, a voltage tester, and the new switch.
Electrical Safety Basics Before You Start
A few fundamentals apply to every switch wiring job, no exceptions:
- The switch always interrupts the hot wire, never the neutral — this keeps the fixture fully de-energized when the switch is off, which matters if someone changes a bulb later.
- The grounding wire (green or bare copper) is what protects people and property if something goes wrong. It must be properly bonded to every metal component in the circuit — the box, the switch yoke, and the fixture.
- Conductor size has to match the load and the breaker or fuse protecting it — never substitute a smaller gauge wire to make a connection easier.
- The switch itself has to be rated for the circuit’s amperage, just like the wire and the breaker — check the rating printed on the switch body before buying.
Always turn off the breaker before opening a switch box, and confirm it’s actually dead with a non-contact voltage tester rather than trusting the panel’s labels. If the box has more wires than you expect, or the existing setup doesn’t look like the configurations below, stop and consult a licensed electrician rather than guessing.
How to Wire a Light Switch: Step-by-Step
Turn off the breaker, confirm with a voltage tester, then remove the wall plate. If paint or caulk has sealed the plate to the wall, score around the edge with a utility knife first.
Unscrew the switch from the box and gently pull it forward. Test each exposed wire again with the voltage tester before touching anything bare.
Hook the incoming black wire clockwise around one brass terminal and tighten. Connect the second black (or re-identified white) wire to the other brass terminal. Either terminal can serve as line or load.
Connect the bare copper or green ground wire to the green screw. Fold all the wires neatly back into the box without sharp bends, then screw the switch to the box.
Step 5: Attach the wall plate, restore power at the breaker, and test the switch from both positions before calling it done.
Wire Color Reference Table
| Wire | Typical color | Connects to |
|---|---|---|
| Incoming hot (line) | Black | One brass terminal |
| Switched hot (load) | Black or red | The other brass terminal |
| Neutral | White | Spliced through with a wire nut, never on the switch |
| Ground | Green or bare copper | Green screw on the switch and the metal box |
If you find a white wire connected directly to one of the switch’s brass terminals, it’s been repurposed as a second hot conductor in a switch loop. Code requires it to be re-identified with black tape or paint at both visible ends so nobody mistakes it for a neutral later.
Common Single-Pole Wiring Configurations
| Configuration | What you’ll see in the box |
|---|---|
| Power at the switch first | Two cables: one bringing power in, one carrying switched power out to the light. Two black hots land on the switch; neutrals and grounds are spliced through. |
| Power at the light first (switch loop) | One cable only, containing a black and a re-identified white wire. The white wire (taped black) carries power to the switch; the black wire returns switched power to the fixture. |
| Switch in the middle of a run | Multiple cables in the box — power passing through to additional devices, plus the pair feeding this particular switch and fixture. Identify the correct pair carefully before disconnecting anything. |
If you’re replacing an existing switch rather than wiring a new one, the easiest approach is to note which wire was on which terminal before you disconnect anything, then land the wires on the same terminals on the new switch — you don’t need to fully diagnose the configuration to do a like-for-like swap.
Setting up two-location control instead of a single switch? See our guide on 3-way switch wiring for the traveler-wire setup that lets you control one light from two spots.
Toggle vs. Decora (Rocker) Switches: Which Should You Choose?
Both switch styles wire exactly the same way — the difference is entirely in the mechanism and the look, not the terminals behind it.
| Toggle Switch | Decora (Rocker) Switch | |
|---|---|---|
| Operation | Small lever flips up or down | Large flat paddle rocks in or out |
| Look | Traditional, classic | Modern, flush, easier to find in the dark |
| Accessibility | Requires more finger dexterity | Can be operated with an elbow or the back of a hand |
| Typical cost | $2–$8 per switch | $3–$12 per switch |
| Wiring | Identical two-terminal-plus-ground layout | Identical two-terminal-plus-ground layout |
Because the internal wiring layout is the same, swapping a toggle switch for a decora switch (or vice versa) is a direct, drop-in replacement — no changes to the box or cable are needed, just a different faceplate to match the new switch’s shape.
If you’re considering a dimmer instead of a plain on/off switch, the same two-terminal-plus-ground wiring generally applies, though many dimmers use short pre-attached wire leads instead of screw terminals — you’ll splice those leads to the box wires with wire nuts rather than hooking wire around a screw. Also confirm the dimmer is rated for your bulb type: standard incandescent-rated dimmers often don’t play well with LED bulbs unless the dimmer is specifically listed as LED-compatible, which can cause flickering or a limited dimming range if mismatched.
How Much Does It Cost and How Long Does It Take?
A standard single-pole switch itself costs $2 to $15 depending on style and brand, and a basic swap of an existing switch typically takes 15 to 30 minutes once the power is confirmed off. Wiring a brand-new switch location — one that requires running new cable through a wall — is a considerably bigger job, often several hours, and involves fishing cable, cutting in a new box, and patching drywall, which is where many DIYers choose to bring in an electrician instead. Hiring a professional for a simple switch replacement typically runs $60 to $150 depending on your area’s labor rates; a new switch location with new wiring can run several hundred dollars once patching and finishing are included.
Common Mistakes and Troubleshooting
- Switching the neutral instead of the hot. If the switch interrupts the white wire instead of a black one, the fixture stays partially energized even with the switch off — a shock hazard when changing a bulb. Always confirm which wire is actually hot with a tester before landing it.
- Forgetting to re-identify a white wire used as hot. In a switch loop, the white wire carries power to the switch. Leave it unmarked and a future electrician (or you, months later) may assume it’s neutral and get a shock.
- Skipping the ground connection. Every metal switch yoke and box needs to be bonded to ground — don’t leave the ground wire disconnected just because the switch “still works” without it.
- Loose terminal screws. A loose connection causes flickering, buzzing, or overheating over time. Tighten every screw firmly and give each wire a gentle tug to confirm it’s seated.
- Using a switch rated below the circuit’s amperage. A 15-amp switch on a 20-amp circuit is a code violation, not just a technicality — match the switch to the breaker.
- The light doesn’t turn on at all. Double-check that both hot wires are firmly on their terminals, confirm the breaker is on, and verify the bulb and fixture itself are functional before assuming the switch wiring is at fault.
When Should You Call an Electrician Instead of DIYing It?
A like-for-like switch swap — same wires, same terminals, same switch style — is one of the most beginner-friendly electrical tasks in the house, and most homeowners with basic tool comfort can handle it safely by following the steps above. That said, a few situations are worth handing off to a licensed electrician rather than troubleshooting on your own:
- Aluminum wiring. Homes wired in the 1960s and 70s sometimes used aluminum instead of copper conductors, which requires special anti-oxidant compounds and rated devices to connect safely.
- No ground wire present. Older two-wire circuits without a ground conductor need special handling, and in some cases a GFCI-protected switch is the code-compliant fix rather than a standard grounded switch.
- More wires in the box than expected. If you see wire counts that don’t match the configurations in this guide — multiple cables, unfamiliar colors, or bundled wires you can’t account for — stop and get a professional opinion before disconnecting anything.
- A breaker that trips immediately. This usually signals a short circuit somewhere in the run, not just a bad connection at the switch, and is worth diagnosing with proper testing equipment.
- Running brand-new cable through finished walls. Fishing cable through existing walls, cutting in new boxes, and tying into a panel are jobs where code compliance and safety margins matter enough to justify professional labor.
When in doubt, the cost of an electrician’s visit is small compared to the risk of a wiring mistake — loose or reversed connections in a switch box are a genuine fire and shock hazard, not just an inconvenience.
This guide is for informational purposes and assumes standard residential wiring practices in the U.S. Always turn off power at the breaker and verify with a voltage tester before working on any circuit, and confirm your work meets local electrical code. If your existing wiring doesn’t match a standard configuration, or you’re unsure at any step, hire a licensed electrician rather than guessing.

