Branchwell

Become a Pro / website · becomeapro.ai / content / lessons / trades / electrical / replacing-a-switch-or-outlet.mdx

1---
2title: "Replacing a light switch or outlet safely"
3description: "Swap a worn switch or outlet for a modern one, wire it correctly, and know when the job needs a licensed electrician and a permit."
4updated: 2026-12-03
5minutes: 12
6level: Beginner
7order: 2
8sources:
9 - https://www.osha.gov/electrical
10 - https://www.nfpa.org/codes-and-standards/nfpa-70-standard-development/70
11 - https://www.esfi.org/
12 - https://www.cpsc.gov/Safety-Education/Safety-Education-Centers/Electrical-Safety
13 - https://www.ecmweb.com/national-electrical-code/code-basics/article/55400217/key-revisions-to-chapter-2-of-the-2026-nec
14 - https://www.mikeholt.com/files/PDF/23UNEC1_210.8.pdf
15 - https://www.legrand.us/ideas/blogs/gfci-outlets-in-kitchen
16---
17
18A cracked outlet, a switch that crackles, or a plug that falls out of a loose receptacle are all signs a device needs replacing. Swapping one like for like is one of the most common small electrical jobs. Done carefully it takes 20 minutes. Done carelessly it can start a fire.
19
20<Callout type="safety">Before you start, read the first lesson in this field. Turn off the breaker, lock or tag it, and prove the power is off with the live-dead-live test. Never trust a wall switch to cut power.</Callout>
21
22## First, check whether you are allowed
23
24Rules vary a lot by place. In many areas a homeowner may replace a device in their own home without a permit. In others, any electrical work needs a licensed electrician or a permit. Ask your local building department.
25
26Stop and call a licensed electrician if you find any of these:
27
28- Aluminum wire (dull silver color). It needs special devices and connectors.
29- Cloth-covered wire, crumbling insulation or knob-and-tube wiring.
30- Scorch marks, melted plastic or a burning smell.
31- More wires in the box than you can identify, or no ground where you expected one.
32- You want to add a new outlet, move a switch or add a circuit. That is new work, not a replacement.
33
34## Pick the right replacement
35
36When you replace a device, current code (NFPA 70, the National Electrical Code) generally expects the new one to meet today's rules for that location. Check your local code, but plan on these:
37
38- **Tamper-resistant (TR) outlets**: shutters inside block objects pushed into one slot. Required on replacement outlets in homes.
39- **GFCI protection** where code now requires it: kitchens, bathrooms, garages, outdoors, crawl spaces, basements, laundry areas and within 6 feet of a sink, tub or shower. Use a GFCI outlet, or make sure the circuit already has a GFCI breaker or upstream GFCI outlet.
40- **AFCI protection** where code now requires it, which covers most living areas. A combination AFCI/GFCI outlet handles both in one device.
41- **Weather-resistant (WR) outlets** and an in-use cover outdoors.
42- **No ground wire?** Code lets you replace an old two-slot outlet with a GFCI outlet marked "No equipment ground" instead of a grounded three-slot one. Do not add a ground screw jumper to the neutral. That is unsafe and against code.
43- **Match the amp rating.** A 15-amp outlet has two vertical slots. A 20-amp outlet has a T-shaped slot. Never put a 20-amp outlet on a 15-amp circuit.
44
45For switches, a modern smart switch is a fine upgrade. Most need a **neutral wire** in the box, so check before you buy.
46
47## How an outlet is wired
48
49<Diagram caption="Hot (black) goes to the brass screw. Neutral (white) goes to the silver screw. Ground goes to the green screw.">
50 <svg viewBox="0 0 600 300" role="img" aria-label="A duplex outlet seen from the side, with the black hot wire on the brass screw, the white neutral wire on the silver screw and the ground wire on the green screw">
51 <rect x="230" y="40" width="140" height="220" rx="16" className="soft" stroke="currentColor" strokeWidth="2" />
52 <rect x="275" y="80" width="50" height="50" rx="10" fill="none" stroke="currentColor" strokeWidth="2" />
53 <rect x="275" y="170" width="50" height="50" rx="10" fill="none" stroke="currentColor" strokeWidth="2" />
54 <circle cx="370" cy="105" r="10" fill="none" stroke="currentColor" strokeWidth="2" />
55 <circle cx="370" cy="195" r="10" fill="none" stroke="currentColor" strokeWidth="2" />
56 <circle cx="230" cy="105" r="10" fill="none" stroke="currentColor" strokeWidth="2" />
57 <circle cx="230" cy="195" r="10" fill="none" stroke="currentColor" strokeWidth="2" />
58 <circle cx="300" cy="250" r="9" fill="none" stroke="currentColor" strokeWidth="2" />
59 <line x1="540" y1="105" x2="382" y2="105" stroke="currentColor" strokeWidth="3" />
60 <text x="470" y="92" fontSize="15" textAnchor="middle" fill="currentColor">Hot (black)</text>
61 <text x="470" y="128" fontSize="14" textAnchor="middle" fill="currentColor">to brass screw</text>
62 <line x1="60" y1="105" x2="218" y2="105" stroke="currentColor" strokeWidth="2" strokeDasharray="10 6" />
63 <text x="130" y="92" fontSize="15" textAnchor="middle" fill="currentColor">Neutral (white)</text>
64 <text x="130" y="128" fontSize="14" textAnchor="middle" fill="currentColor">to silver screw</text>
65 <line x1="300" y1="290" x2="300" y2="261" stroke="currentColor" strokeWidth="1.5" />
66 <text x="400" y="285" fontSize="14" textAnchor="middle" fill="currentColor">Ground to green screw</text>
67 <text x="300" y="30" fontSize="16" textAnchor="middle" fill="currentColor">Outlet, back view</text>
68 </svg>
69</Diagram>
70
71A handy memory aid: "white to light" means white goes to the light-colored (silver) screw.
72
73## Replacing an outlet
74
75<Steps>
76 <Step title="Kill and verify the power">Turn off the breaker and lock or tag it. Plug in a tester to confirm it is dead, then do the live-dead-live check.</Step>
77 <Step title="Remove the cover and pull the outlet">Unscrew the cover plate and the two mounting screws. Gently pull the outlet out without touching the screws.</Step>
78 <Step title="Test again inside the box">Test every wire in the box, including the ones on the other set of screws. A box can have power coming from two circuits.</Step>
79 <Step title="Photograph the wiring">Take a clear photo before you disconnect anything. Note which wires are on which screws, and whether a small metal tab between screws has been snapped off (that means the two halves are split).</Step>
80 <Step title="Move wires one at a time">Disconnect one wire, then connect it to the same position on the new outlet. Form a clockwise hook so tightening the screw pulls the wire in. Avoid the push-in "backstab" holes. Use the screw terminals or the clamp-style back-wire terminals found on better devices.</Step>
81 <Step title="Tighten to spec">Many devices list a torque value. A loose screw is the most common cause of a hot, failing outlet. Snug the terminals firmly and tug each wire to check.</Step>
82 <Step title="Fold and mount">Fold the wires back neatly, screw the outlet to the box so it sits straight, and fit the cover plate.</Step>
83 <Step title="Restore power and test">Turn on the breaker. Use your plug-in tester. For a GFCI, press TEST (power should cut) and RESET.</Step>
84</Steps>
85
86<Callout type="tip">A GFCI outlet has LINE and LOAD terminals. Incoming power goes on LINE. If you put it on LOAD, many GFCIs will not reset. Wires going on to protect other outlets go on LOAD. If you are not sure which cable is incoming, stop and ask an electrician.</Callout>
87
88## Replacing a single-pole switch
89
90A single-pole switch controls a light from one place. It has two brass screws and a green ground screw.
91
921. Kill and verify power as above.
932. Note the two wires on the brass screws. In most boxes these are hot wires, even if one is white. A white wire used as a hot should be marked with black tape. Add tape if it is missing.
943. Move each wire to the matching screw on the new switch and connect the ground.
954. For a smart switch, follow the maker's diagram. It usually needs line, load, neutral and ground. Connect to the bundle of neutrals with a properly sized wire connector.
96
97If the old switch has three screws plus ground, it is a **three-way switch** (one of two switches for the same light). Mark the odd-colored "common" screw wire with tape before you remove it.
98
99## Common mistakes
100
101- Trusting the wall switch instead of the breaker.
102- Testing only one pair of wires in a box with two cables.
103- Using the backstab holes, which loosen over time.
104- Wrapping a wire counterclockwise, so it squeezes out as you tighten.
105- Leaving bare copper showing past the screw. Strip only what the strip gauge on the device shows.
106- Skipping the GFCI or AFCI upgrade where code now asks for it.