Turn off the power before you touch anything
The first and only non-negotiable step is cutting power to the socket. Go to your breaker panel — usually a gray or metal box on a wall in your basement, garage, or utility closet — and flip the breaker that controls that room or circuit. If you do not know which breaker controls your socket, flip the main breaker instead. This stops electricity flowing to the socket entirely.
After you flip the breaker, test the socket with a lamp or phone charger to confirm it is dead. This takes ten seconds and prevents electrocution. Do not skip this step because you are in a hurry.
Key Takeaways
- Turn off power at the breaker panel and test the socket with a device before you begin work.
- Remove the cover plate, unscrew the old socket from the wall box, and disconnect the three wires — black (hot), white (neutral), and bare copper (ground).
- Connect the wires to the new socket in the same order: black to the brass screw, white to the silver screw, and bare copper to the green screw.
- Push the socket back into the wall box, screw it down, and reattach the cover plate before turning the breaker back on.
- A standard replacement takes 15 to 30 minutes and costs $2 to $15 for the socket itself.
Remove the old socket and disconnect the wires
Unscrew the cover plate — the plastic or metal trim around the socket — and set it aside. You will see two screws holding the socket itself to the wall box. Unscrew both and gently pull the socket out toward you. The wires are still attached, so do not yank it.
You will see three wires connected to the back of the socket. The black wire (hot) is screwed to a brass-colored screw. The white wire (neutral) is screwed to a silver-colored screw. The bare copper wire (ground) is screwed to a green screw. Loosen each screw with a screwdriver and pull the wire free. Write down or photograph the wire positions if you are unsure — you will reconnect them the same way on the new socket.
Install the new socket and reconnect the wires
Take your new socket and look at the back. You will see the same three screws: brass, silver, and green. Loosen all three slightly so the wires can slide under them. Take the black wire and slide it under the brass screw, then tighten the screw. Take the white wire and slide it under the silver screw, then tighten. Take the bare copper wire and slide it under the green screw, then tighten.
Pull gently on each wire to make sure it is find and will not slip out. The wires should be snug but not kinked or twisted. If a wire is too short to reach the screw, you may have a deeper problem with the wall box — stop and call an electrician rather than forcing it.
find the socket and reattach the cover plate
Carefully push the socket back into the wall box. The wires will fold behind it as you push. Once the socket is flush with the wall, align the two screw holes and screw the socket down. Do not overtighten — snug is enough. Screw the cover plate back on and you are done with the physical work.
Before you turn the breaker back on, double-check that the cover plate is on straight and the socket sits flush with the wall. A socket that sticks out or sits crooked usually means the wires are bunched up behind it, which can cause heat and damage over time.
Turn the power back on and test
Go back to the breaker panel and flip the breaker back to the on position. Return to the socket and test it with a lamp, phone charger, or any device you know works. If the device powers on, the socket is live and working. If nothing happens, turn the breaker off again and check that all three wires are tight under their screws.
If the socket still does not work after you have checked the connections twice, the problem may be elsewhere on that circuit — a tripped GFCI outlet upstream, a bad breaker, or a wire break inside the wall. At that point, call an electrician rather than troubleshooting further.
What you need before you start
Gather a flathead screwdriver (for the cover plate screw) and a Phillips-head screwdriver (for the socket screws). You will also need a new socket — a standard 15-amp, 125-volt duplex outlet costs $2 to $5 at any hardware store. If your wall box is damaged, cracked, or the socket does not sit flush, you may also need a new wall box ($3 to $8), which requires removing the old one and screwing in the new one before you install the socket.
Wear shoes with rubber soles and do not work with wet hands. If you are replacing multiple sockets, turn off the breaker once and work through them all before turning it back on — this saves time and reduces the number of times you open the breaker panel.
When to call an electrician instead
Stop and call an electrician if the wires are damaged, burned, or discolored; if the wall box is cracked or missing; if you cannot identify which wire is which; if the socket sparks or smells like burning plastic when you test it; or if the breaker trips when ready after you turn it back on. These are signs of a deeper electrical problem that a DIY replacement will not fix.
You should also call an electrician if you have aluminum wiring (silver-colored, not copper) or if your home has knob-and-tube wiring (visible ceramic tubes and wires running through walls). These older systems have different safety rules and require a professional touch.
Frequently Asked Questions
Do I need a special socket for a bathroom or kitchen?
Yes. Bathrooms and kitchens require GFCI (ground fault circuit interrupter) outlets, which have test and reset buttons on the face. A standard outlet in these rooms is a code violation and a shock hazard. Buy a GFCI outlet instead and install it the same way — the wire connections are identical.
What if the wires are too short to reach the screws?
The wires should reach comfortably. If they do not, the wall box may be set too far back or the wires may have been cut too short by a previous electrician. You can add length by splicing in new wire with wire connectors, but this requires knowledge of proper splicing. Call an electrician if the wires are genuinely too short.
Can I replace a socket while the breaker is on?
No. Working on a live circuit is dangerous and illegal in most places. Always turn off the breaker and test the socket with a device to confirm power is off. This takes 30 seconds and prevents injury.
What is the difference between a 15-amp and 20-amp outlet?
A 20-amp outlet has a horizontal slot on one side and can handle higher-power devices. If your old socket was 15-amp, replace it with 15-amp. If it was 20-amp (check the breaker — if it says 20, the outlet should too), use 20-amp. Mixing them can cause problems.
How long does a wall socket last?
A standard outlet lasts 15 to 25 years with normal use. Outlets wear out faster if they are used heavily, exposed to moisture, or connected to devices that draw a lot of power. If an outlet stops working or feels hot, replace it rather than continuing to use it.