Branchwell

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

Raw 8.5 KB on f63bc385c0fa362af985bfb576a8b5aa2a3df60f
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
8---
9
10A 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.
11
12<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>
13
14## First, check whether you are allowed
15
16Rules 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.
17
18Stop and call a licensed electrician if you find any of these:
19
20- Aluminum wire (dull silver color). It needs special devices and connectors.
21- Cloth-covered wire, crumbling insulation or knob-and-tube wiring.
22- Scorch marks, melted plastic or a burning smell.
23- More wires in the box than you can identify, or no ground where you expected one.
24- You want to add a new outlet, move a switch or add a circuit. That is new work, not a replacement.
25
26## Pick the right replacement
27
28When 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:
29
30- **Tamper-resistant (TR) outlets**: shutters inside block objects pushed into one slot. Required on replacement outlets in homes.
31- **GFCI protection** where code now requires it: kitchens, bathrooms, garages, outdoors, basements, laundry areas and near sinks. Use a GFCI outlet, or make sure the circuit already has a GFCI breaker or upstream GFCI outlet.
32- **AFCI protection** where code now requires it, which covers most living areas. A combination AFCI/GFCI outlet handles both in one device.
33- **Weather-resistant (WR) outlets** and an in-use cover outdoors.
34- **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.
35
36For switches, a modern smart switch is a fine upgrade. Most need a **neutral wire** in the box, so check before you buy.
37
38## How an outlet is wired
39
40<Diagram caption="Hot (black) goes to the brass screw. Neutral (white) goes to the silver screw. Ground goes to the green screw.">
41 <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">
42 <rect x="230" y="40" width="140" height="220" rx="16" className="soft" stroke="currentColor" strokeWidth="2" />
43 <rect x="275" y="80" width="50" height="50" rx="10" fill="none" stroke="currentColor" strokeWidth="2" />
44 <rect x="275" y="170" width="50" height="50" rx="10" fill="none" stroke="currentColor" strokeWidth="2" />
45 <circle cx="370" cy="105" r="10" fill="none" stroke="currentColor" strokeWidth="2" />
46 <circle cx="370" cy="195" r="10" fill="none" stroke="currentColor" strokeWidth="2" />
47 <circle cx="230" cy="105" r="10" fill="none" stroke="currentColor" strokeWidth="2" />
48 <circle cx="230" cy="195" r="10" fill="none" stroke="currentColor" strokeWidth="2" />
49 <circle cx="300" cy="250" r="9" fill="none" stroke="currentColor" strokeWidth="2" />
50 <line x1="540" y1="105" x2="382" y2="105" stroke="currentColor" strokeWidth="3" />
51 <text x="470" y="92" fontSize="15" textAnchor="middle" fill="currentColor">Hot (black)</text>
52 <text x="470" y="128" fontSize="14" textAnchor="middle" fill="currentColor">to brass screw</text>
53 <line x1="60" y1="105" x2="218" y2="105" stroke="currentColor" strokeWidth="2" strokeDasharray="10 6" />
54 <text x="130" y="92" fontSize="15" textAnchor="middle" fill="currentColor">Neutral (white)</text>
55 <text x="130" y="128" fontSize="14" textAnchor="middle" fill="currentColor">to silver screw</text>
56 <line x1="300" y1="290" x2="300" y2="261" stroke="currentColor" strokeWidth="1.5" />
57 <text x="400" y="285" fontSize="14" textAnchor="middle" fill="currentColor">Ground to green screw</text>
58 <text x="300" y="30" fontSize="16" textAnchor="middle" fill="currentColor">Outlet, back view</text>
59 </svg>
60</Diagram>
61
62A handy memory aid: "white to light" means white goes to the light-colored (silver) screw.
63
64## Replacing an outlet
65
66<Steps>
67 <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>
68 <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>
69 <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>
70 <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>
71 <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>
72 <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>
73 <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>
74 <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>
75</Steps>
76
77<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>
78
79## Replacing a single-pole switch
80
81A single-pole switch controls a light from one place. It has two brass screws and a green ground screw.
82
831. Kill and verify power as above.
842. 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.
853. Move each wire to the matching screw on the new switch and connect the ground.
864. 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.
87
88If 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.
89
90## Common mistakes
91
92- Trusting the wall switch instead of the breaker.
93- Testing only one pair of wires in a box with two cables.
94- Using the backstab holes, which loosen over time.
95- Wrapping a wire counterclockwise, so it squeezes out as you tighten.
96- Leaving bare copper showing past the screw. Strip only what the strip gauge on the device shows.
97- Skipping the GFCI or AFCI upgrade where code now asks for it.
98
99<Resources>
100 <Resource title="Electrical safety" href="https://www.osha.gov/electrical" source="OSHA" kind="Guide">The core hazards and safe practices for working near electricity.</Resource>
101 <Resource title="NFPA 70, National Electrical Code" href="https://www.nfpa.org/codes-and-standards/nfpa-70-standard-development/70" source="NFPA" kind="Standard">The code that sets rules for replacement receptacles, GFCI and AFCI protection.</Resource>
102 <Resource title="GFCI and AFCI fact sheets" href="https://www.esfi.org/" source="Electrical Safety Foundation International" kind="Guide">How these devices work and how to test them monthly.</Resource>
103 <Resource title="Electrical safety at home" href="https://www.cpsc.gov/Safety-Education/Safety-Education-Centers/Electrical-Safety" source="U.S. Consumer Product Safety Commission" kind="Guide">Warning signs of electrical hazards in homes.</Resource>
104</Resources>