A three-gang metal electrical box pulled from the wall, showing two toggle switches and a GFCI outlet with the black, white, and bare copper ground wires connected inside
|

How to Replace an Electrical Outlet: A Step-by-Step DIY Guide

⚠ Safety note: I am not a licensed electrician. This post shares my own DIY experience for general information only. Home electrical work is hazardous and is governed by local code. Always shut off power at the breaker and confirm it is off before touching any wires, follow the codes that apply where you live, and when in doubt, hire a licensed electrician.

Replacing an electrical outlet is a very common home repair. A worn-out receptacle that no longer grips a plug, or one you just want to swap for a fresh one, is a straightforward job once the power is off and you know which wire lands where. Here is the whole process, with the safety steps that matter.

A quick, honest note first: I am a homeowner who has done a lot of my own wiring over the years, not a licensed electrician. This is what I have learned on my own house, shared the way I would explain it to a neighbor. It is not professional instruction, and electrical work carries a real risk of shock and fire. Always kill the power, follow your local codes, and call a licensed electrician when anything feels over your head. There is a fuller note at the bottom.

Tools and materials

  • The replacement receptacle (a standard 15-amp duplex receptacle is rated for both 15- and 20-amp circuits)
  • A non-contact voltage tester
  • Wire strippers, a screwdriver, and needle-nose pliers
  • A receptacle tester for checking your work at the end

Safety first

  1. Switch off the breaker for that outlet at the panel.
  2. Verify the outlet is dead with your non-contact tester, top and bottom, before you touch anything. Outlets are sometimes split or fed from more than one circuit.
  3. Confirm the tester works on a known-live outlet first.
Illustration of a hand switching off one breaker in an open home electrical panel
Start at the panel: switch off the breaker for that outlet.
Illustration of a hand holding a non-contact voltage tester at an outlet slot, with the tester light off
Then prove it is dead with a non-contact tester, top and bottom.

How to replace an outlet, step by step

Illustration of a screwdriver removing the center screw of an outlet cover plate
Remove the cover plate first.
  1. Remove the cover and the old outlet. Take off the faceplate, unscrew the receptacle from the box, and gently pull it out so you can see the wires. Take a quick phone photo of how it is wired before you change anything.
  2. Note the connections, then disconnect. The black hot wire is on a brass (gold) screw, the white neutral is on a silver screw, and the bare or green ground is on the green screw. Loosen the screws to free the wires. If the old wires were pushed into the small holes in the back (back-stabbed), release them and plan to use the screw terminals instead, which hold far better.
  3. Move the wires to the new outlet, matching colors. This is the part to get exactly right:
    • Black (hot) to the brass screw
    • White (neutral) to the silver screw
    • Bare or green (ground) to the green screw
    Strip about five eighths of an inch if you need fresh wire, hook each one clockwise around its screw, and tighten firmly. Mixing up hot and neutral reverses the polarity, which is unsafe, so double-check the colors.
  4. Reinstall and test. Fold the wires neatly back into the box, screw the receptacle in, attach the faceplate, restore power, and check it with a receptacle tester or by plugging something in.
Illustration of an outlet pulled out of a blue electrical box, with the white wire on a silver screw, the black wire on a brass screw and the bare ground on the green screw
With the outlet pulled out you can see all three connections: white on silver, black on brass, ground on green.
Outlet wiring diagram: black hot wire to the brass screw, white neutral to the silver screw, bare or green ground to the green screw
Which wire goes where on a standard outlet. The narrow slot is the hot side, the wide slot is the neutral side.
Illustration of a stripped black wire hooked clockwise around a brass outlet screw while a screwdriver tightens it
Hook the wire clockwise, the same direction the screw tightens, so tightening pulls it in instead of pushing it out.

A couple of things worth knowing. On amperage, a standard 15-amp duplex receptacle is actually rated for use on both 15-amp and 20-amp circuits, so for an ordinary outlet you are fine using a 15-amp receptacle on either one. The thing to avoid is putting a 20-amp receptacle on a 15-amp circuit.

Illustration of a plug-in receptacle tester in an outlet showing the two-light pattern for correct wiring
Last step: a cheap plug-in tester confirms the outlet is wired correctly. Check the light chart on yours.

If your outlet has four wires (two cables)

Pull the old outlet out and you may find two black wires and two white wires instead of one of each. That means two cables come into the box: one brings power in, and the other carries it on to the next outlet down the line. The new outlet goes in the same way the old one came out.

  • Put one black on each brass screw and one white on each silver screw. Never put two wires under the same screw.
  • The grounds are usually joined together with a short jumper (a pigtail) running to the green screw.
  • Another clean option is to pigtail the hots and neutrals too: join the two blacks plus a short black jumper under a wire nut, do the same with the whites, and put only the jumpers on the outlet. That way the outlets further down the line do not depend on this one.
Wiring diagram for an outlet with two cables: both black wires on the brass screws, both white wires on the silver screws, grounds pigtailed to the green screw
An outlet in the middle of a run: two cables, one wire per screw, and the brass tab left in place.

Check the little metal tab between the two brass screws before you start. On a normal outlet it is intact and ties the top and bottom halves together. If someone broke it off on the old outlet, that outlet was split on purpose, usually so one half is controlled by a wall switch or so the halves are on two different circuits. Break the same tab off the new outlet so it matches, and if you are not sure why it was split, that is a good point to stop and ask an electrician.

If there is no ground wire (old two-prong outlets)

Older homes often have outlets with no ground wire in the box at all. Do not just put a three-prong outlet on those wires, because the third hole would look grounded when it is not. Code gives you three honest options:

  1. Replace it with another two-prong (non-grounding) outlet.
  2. Install a GFCI outlet and label it “No Equipment Ground” with the sticker that comes in the box. It gives real shock protection without a ground. I cover that in How to Install a GFCI Outlet.
  3. Have a proper ground run to the box, which is usually a job for an electrician.

When the new outlet has to be a different kind

When you replace an outlet, the new one has to meet today’s code for that spot, even if the old one did not. In practice that means:

  • Tamper-resistant outlets in homes. They have shutters behind the slots that keep kids from pushing things in, and they are marked “TR” on the face. They cost about the same, so just buy TR.
  • GFCI protection where current code calls for it: bathrooms, kitchen countertops, garages, unfinished basements, laundry areas, outdoors and near sinks.
  • AFCI protection on circuits where current code requires it, which in many areas includes most living spaces.
Illustration of a tamper-resistant outlet with the shutter behind the slot blocking a toy key
A tamper-resistant outlet: shutters behind the slots stay closed unless both prongs of a plug push in together.

Local rules vary, so check what applies where you live. If you are tapping into a circuit to add a brand-new outlet rather than replacing one, start with How to Wire a Junction Box.

Frequently asked questions

Which wire goes to which screw on an outlet?

Black (hot) goes to the brass screw, white (neutral) goes to the silver screw, and the bare or green ground goes to the green screw. Getting hot and neutral reversed is unsafe, so match the colors carefully.

Can I replace an outlet myself?

It is a common DIY repair, as long as you turn off the breaker, confirm the outlet is dead, and wire the new one exactly as the old one was. If the box has no ground or anything looks unusual, bring in an electrician.

Should I use the screw terminals or the push-in holes?

Use the screw terminals. The push-in (back-stab) holes are convenient but tend to loosen over time, and a loose connection is a fire risk. Wrapping the wire under the screw makes a much more reliable connection.

Illustration of the back of an outlet: the push-in backstab holes crossed out, and a wire wrapped under a brass screw terminal checked
Skip the push-in holes on the back. Use the screw terminals.

What if my outlet has two black wires and two white wires?

That outlet is in the middle of a run. Put one black on each brass screw and one white on each silver screw, or pigtail each color to a single short jumper. Never put two wires under one screw.

Do I need a tamper-resistant outlet?

In a home, yes. Current code requires tamper-resistant (TR) outlets in most locations, and a replacement has to meet today’s rules. They cost about the same as standard ones.

Jamie Dolan
Neenah, WI


Full safety note and disclaimer: I am a homeowner sharing my own experience, not a licensed electrician, and this article is for general education, not step-by-step professional instruction. Always confirm the power is completely off before starting any electrical work. Electrical projects can carry the risk of serious injury, fire, or death. Codes, laws, and ordinances vary by area; verify your local rules and pull any required permits before you begin. If you are at all unsure that what you are doing is safe and correct, stop and contact a licensed electrician. Proceed at your own risk.

More home electrical DIY guides

Tackled something like this yourself? How did it go?

Your email address is never shown. If it's your first comment here, it'll show up as soon as I approve it.

Similar Posts