Electrical

Replace a light switch safely

A switch that feels mushy, crackles, or only works if you hold it just right is worn out. Swapping a basic switch is one of the more common DIY electrical jobs, and it's safe as long as you confirm the power is really off first. If the old switch has wires pushed into holes in the back instead of wrapped around screws, move them to the screws on the new one; they hold more securely.

A voltage tester held against the wires of a light switch pulled from its wall box, with a new switch on a step stool
Turn off the breaker, then confirm the wires are dead with a tester.
Quick answerTurn off the breaker, confirm the power is off with a tester, photograph the wiring, and move the wires to the same screws on the new switch.
Worth checking firstLook at the wires before you buy the replacement. Two screws plus ground is a single-pole switch. Three screws means a 3-way switch that pairs with another switch elsewhere, and it needs a 3-way replacement. A dimmer needs to be rated for the bulbs you use.
Moderate20–30 min$3–15
Single-pole light switch pulled from its box with wires on the brass screws, ground on green, and a voltage tester
How a light switch is wired: the two hot wires go on the brass screws (1), the bare ground on the green screw (2). A tester (3) confirms the power is off.

What you'll see in the box

A standard single-pole switch controls one light from one place. It has two brass screws plus a green ground screw, and the toggle is marked ON and OFF. Switches that control a light from two places (three-way switches) have an extra, darker screw and no ON/OFF marking, and they're wired differently. This guide covers single-pole switches only.

Inside the box you'll usually see two insulated wires on the switch, often both black, plus a bare copper ground. There's often a bundle of white wires capped together at the back of the box. Leave that bundle alone. It's the neutral, and a basic switch doesn't use it.

Why switches fail

A worn switch

The internal contacts wear out after years of use.

Loose wires

A loose connection can cause flickering or buzzing.

Moisture

In bathrooms, humidity can corrode switches over time.

Which switch do you have?
TypeHow to tellDIY?
Single-poleTwo brass screws plus ground. ON and OFF printed on the toggle.Yes, with this guide
Three-wayThree screws plus ground; one screw is darker. No ON/OFF. Light is controlled from two places.Possible, but outside this guide. Label every wire first
Four-wayFour screws plus ground. Used with two three-way switches.Best left to an electrician
Dimmer or smart switchWire leads instead of screws. Many smart switches need a neutral (the white bundle).Follow the maker's instructions
Test before you touchAlways confirm the power is off with a tester. Breakers are sometimes mislabeled, and a box can contain wires from more than one circuit.

Swap the switch safely

0 of 6 done
  1. Turn off the breakerSwitch off the circuit at the , then flip the light switch to make sure the light stays off. A strip of tape over the breaker keeps anyone from flipping it back on while you work.
    Breaker panel with the circuit for the light switched off
  2. Confirm power is offFirst test your voltage tester on an outlet you know is live, so you know it works. Then remove the cover plate, unscrew the switch and pull it gently out of the box, and hold the tester against each wire and screw. It should stay silent and not light up.
    Something went wrong?
    • The tester beeps on a wire with the breaker off That wire may be on another circuit, which is common in switch boxes. Turn that breaker off too, or call an electrician.
    Non-contact voltage tester held against the switch wires staying silent
  3. Photograph, then disconnectTake a photo of the wiring, unscrew the switch from the box, and loosen the terminal screws to remove the wires. If a wire is pushed into a hole in the back instead of under a screw, press a small screwdriver into the release slot, or cut the wire and strip 3/4 inch fresh.
    Something went wrong?
    • There are more wires than screws on the new switch It may be a three-way switch or share wires with another device. Stop and match your photo exactly, or call an electrician.
    Phone photographing the old switch wiring before the wires are loosened from the screws
  4. Connect the new switchBend a small hook in each wire, wrap it clockwise around a brass screw, and tighten firmly. On a single-pole switch, either wire can go on either brass screw. Connect the bare or green ground wire to the green screw.
    Wires hooked clockwise around the brass screws of a new switch, with the bare ground on the green screw
  5. Mount it and cover itFold the wires back into the box, screw the switch in place with ON at the top, and attach the cover plate.
    New light switch screwed straight into the wall box with ON at the top and the cover plate ready to go on
  6. Turn the power on and testTurn the breaker back on and flip the switch a few times. The light should come on every time, the switch should click cleanly, and the cover should stay cool.
    Something went wrong?
    • The light doesn't come on Turn the breaker off and check that each wire is tight under its screw. A loose wire is the usual cause.
    • The switch feels warm Turn the breaker off. Recheck the connections, and if the light is on a dimmer, make sure it's rated for the bulbs.
    Light switch flipped on with the light bulb lit

Watch it done

How to Replace a Light SwitchBy Lowe's Home Improvement on YouTube. Their method may vary a little from ours.
Watch on YouTube
How you'll know it's fixed
  • The light comes on every time you flip the switch
  • The switch clicks cleanly
  • The cover plate stays cool
  • The breaker stays on

Light still won't come on? Check the bulb, then turn the breaker off before rechecking the wires.

If it doesn't work

If the new switch doesn't turn the light on, recheck the wire connections and the bulb. If the breaker trips, turn it off and call an electrician.

If the switch gets warm, turn the breaker off and call an electrician. A standard switch should never feel warm. A dimmer can feel slightly warm, but never hot.

If you find a white wire connected to the old switch, it's usually being used as a hot wire and should be marked with black tape. Connect it where it was, and mark it if it isn't marked.

Match the switch typeBuy the same type of switch you're replacing. If the old one has three terminals plus ground, it's a three-way switch, and the replacement must be too.
Renting?If you rent, don't replace switches or other wiring without the landlord's permission. In many places it has to be done by the landlord or a licensed electrician.
Call an electrician ifAluminum wiring (dull silver), no ground wire, scorched or brittle wires, three-way or dimmer setups you're unsure about, or anything that doesn't match this description.Fix it yourself or call? Compare the cost →

What a pro typically charges (a rough estimate; prices vary by area): An electrician typically charges $100–$200 to replace a switch.

Find an electrician near you

If it's a different electrical problem

Light switch questions

Can I replace a light switch myself?

Many homeowners do, as long as the power is confirmed off and it's a simple single-pole switch. Check local rules; some areas require an electrician or a permit for any electrical work.

Which wire goes where on a single-pole light switch?

The two insulated wires go on the two brass screws, and it doesn't matter which is which. The bare copper or green wire goes on the green ground screw. White wires capped together in the back of the box stay as they are.

Why is my light switch warm?

A warm standard switch can mean a loose connection or an overloaded circuit. Turn off the breaker and have it checked. Dimmers run slightly warm by design, but they shouldn't be hot.

Do I need a neutral wire for a smart switch?

Most smart switches need one. Look for a bundle of white wires capped together in the back of the box. If there isn't one, look for a smart switch labeled no neutral required.

Should I use the push-in holes on the back of the switch?

Use the side screws instead. Push-in connections work at first, but they loosen more easily over time, and loose connections are what cause flickering and heat.

What if I can't tell which breaker it is?

Turn the light on, then switch breakers off one at a time until it goes out. Label that breaker. Then confirm the switch is dead with a tester before you touch it.

Why does my light switch crackle?

A switch that crackles or feels mushy is worn out. Replace it, after confirming the power is off with a tester.

Reader reports

Did this fix work for you?

Tell the next person how it went. Your numbers are added to the totals anonymously; tips are read by our team before they appear.

How did it go?
Reader Q&A

Questions from readers

No questions on this guide yet. If you're stuck, ask below. Useful questions and answers get added here for the next person.

Ask a question

We read every question before anything is published, and we never show names or emails. Please leave out personal details. PrivacyAccessibility

About the authors

GrabTheHammer Team

  • No sponsored picks
  • Safety first
  • Tells you when to call a pro

We're a small team of writers and editors who check every guide against manufacturer instructions and common code requirements. Our goal is to help you understand the problem, tackle what you safely can and know when to call a pro.

Checked against: Manufacturer instructions for the parts and products involved, NFPA.

How we write and review →
A helpful next stepWhy are my lights flickering?How to tell a loose bulb or the wrong dimmer from a wiring problem.