A GFCI outlet replaces a standard outlet in the same wall box and protects against electrical shock from water

A GFCI outlet (ground fault circuit interrupter) detects when electricity leaks to ground—usually through water or a wet hand—and cuts power in milliseconds. You install it exactly where a standard outlet sits, using the same wires and the same wall box. The main difference is that a GFCI has a test button and a reset button on its face, and it's thicker than a standard outlet, so you may need to adjust how far it sits in the box.

This is a straightforward replacement if you're comfortable turning off power at the breaker and working with live wires (which you will do safely). If you've never worked inside a wall box before, the steps are the same as replacing any outlet—the GFCI just goes in the same spot.

Key Takeaways

  • Turn off power at the breaker, test the outlet with a voltage tester to confirm power is off, then remove the old outlet by unscrewing the two terminal screws.
  • Connect the black (hot) wire to the brass terminal, the white (neutral) wire to the silver terminal, and the bare copper (ground) wire to the green terminal on the GFCI.
  • A GFCI outlet is thicker than a standard outlet, so you may need to loosen the box ears or adjust the outlet's position to fit it flush with the wall plate.
  • Test the GFCI by pressing the test button—power should cut when ready—then press reset to restore it.
  • If the GFCI trips repeatedly or won't reset, the outlet may be wired incorrectly or the circuit may have a real ground fault that needs professional inspection.

Turn off power and confirm the outlet is dead

Locate the breaker that controls the outlet you're replacing. If the breaker isn't labeled, turn off breakers one at a time and have someone test the outlet until it goes dark. Once you've found the right breaker, switch it off and leave it off while you work.

Use a non-contact voltage tester or a multimeter to confirm the outlet is truly dead. Touch the tester to the outlet slots—it should show no power. This is the single most important safety step. Even if you're sure the breaker is off, test anyway. A voltage tester costs $10 to $20 and takes two seconds to use.

Remove the old outlet

Unscrew and remove the cover plate. Then unscrew the two terminal screws on the sides of the outlet—one brass, one silver. These hold the wires in place. Pull the outlet straight out of the box. You'll see three wires connected to it: black (hot), white (neutral), and bare copper (ground).

Loosen each terminal screw just enough to slide the wire out. Don't force it. If a wire is stuck, loosen the screw a bit more. Once all three wires are free, set the old outlet aside. The wires should still be in the box, held by the box itself or by a small amount of slack.

Connect the wires to the GFCI outlet

A GFCI outlet has the same three terminals as a standard outlet: brass (hot), silver (neutral), and green (ground). The connections are identical. Strip about half an inch of insulation from the end of each wire if the old outlet removed any insulation. The wire should be clean and shiny, not corroded.

Insert the black wire into the brass terminal screw and tighten it firmly—not so hard that you strip the wire, but hard enough that it doesn't move when you tug gently. Repeat with the white wire in the silver terminal and the bare copper wire in the green terminal. Double-check each connection by tugging the wire; it should not slide.

Some GFCI outlets have two sets of terminals—one labeled "LINE" and one labeled "LOAD". Use the LINE terminals (the ones closer to the test and reset buttons). The LOAD terminals protect other outlets downstream on the same circuit, which is useful in some setups, but for a straightforward replacement use LINE.

Fit the outlet into the wall box

A GFCI outlet is thicker than a standard outlet because of the electronics inside. When you push it into the box, it may not sit flush, or the wires may bunch up behind it. Gently push the outlet straight in. If it won't go, don't force it—something is in the way.

Check whether the box ears (the metal tabs on the sides of the outlet that hold the cover plate) are hitting the edge of the box. If they are, loosen the screws that hold the ears to the outlet body, slide the ears outward slightly, and retighten. Alternatively, you can remove the ears entirely if your cover plate doesn't need them. Once the outlet sits flush or nearly flush with the front of the box, screw it in place using the two terminal screws.

Attach the cover plate and test

Screw the cover plate onto the outlet. The GFCI's test and reset buttons should be clearly visible and straightforward to press. Turn the breaker back on.

Press the test button on the GFCI. Power should cut when ready—you may hear a click inside the outlet. If nothing happens, the outlet may not be wired correctly; turn the breaker off and check your connections. Once you've confirmed the test button works, press reset to restore power. The outlet is now ready to use.

What to do if the GFCI won't work or keeps tripping

If the test button doesn't cut power, the outlet is not wired correctly. Turn off the breaker and check that the black wire is on brass, white is on silver, and bare copper is on green. Confirm each wire is fully inserted and the terminal screw is tight. If the wiring looks correct and the outlet still doesn't respond to the test button, the outlet itself may be defective—replace it with a new GFCI.

If the GFCI trips on its own (the reset button pops out without you pressing test), there is a real ground fault somewhere on the circuit—water is reaching a live wire, or an appliance is leaking current to ground. This is actually the GFCI doing its job, but it means you have a problem to find. Unplug everything on that circuit and press reset. If it holds, plug items back in one at a time until it trips again—that item is the culprit. If it trips even with nothing plugged in, the fault is in the wiring itself, and you need a licensed electrician to locate it.

Frequently Asked Questions

Do I need to replace every outlet in my bathroom with a GFCI?

No. You can install one GFCI outlet and wire other outlets downstream from it using the LOAD terminals, and they'll all be protected. Or you can install a GFCI breaker in the panel, which protects the entire circuit. Most people install one GFCI at the first outlet in the bathroom and leave the rest standard. Check your local code—some areas require GFCI protection on all bathroom outlets.

What's the difference between a GFCI outlet and a GFCI breaker?

A GFCI outlet protects only that outlet and anything plugged into it (or downstream outlets if you use the LOAD terminals). A GFCI breaker in the electrical panel protects the entire circuit. A breaker is more expensive to install but protects everything on that circuit automatically. An outlet is cheaper and easier to replace if it fails.

Can I use a GFCI outlet in a regular outlet box, or do I need a special box?

A regular outlet box works fine. The GFCI is thicker, so it may sit slightly proud of the wall (not perfectly flush), but that's normal and the cover plate will hide it. If the outlet won't fit at all, the box may be too shallow—measure the depth from the back of the box to the front. A standard box is 1.5 inches deep; a GFCI outlet needs at least that much space.

What if the wires in my outlet box are too short to reach the GFCI terminals?

This is rare but possible in old houses. You can extend the wires using wire connectors (wire nuts) and short pieces of new wire, but this adds bulk to the box and makes it harder to fit the outlet. A better solution is to call an electrician—extending wires inside a wall box requires care to avoid creating a fire hazard, and it's worth paying for the job to be done safely.

Do I need to turn off the breaker if I'm just replacing an outlet?

Yes, always. Even if you're confident you won't touch the terminals, turning off the breaker eliminates the risk entirely. It takes 30 seconds and costs nothing. Never work on a live outlet.