What Is a GFCI Outlet, and Where Does Code Call for One?

Updated By ElectricianMatch

The bottom line

A GFCI outlet is an outlet with a built-in shock guard that cuts power in a fraction of a second when current leaks to ground. It compares the current going out with the current coming back, since missing current may be flowing through a person. Code calls for GFCI protection in wet spots like bathrooms, kitchens, garages, laundry areas, basements and outdoors.

On this page (10)
  1. What a GFCI outlet does
  2. How it senses a leak
  3. What the TEST and RESET buttons do
  4. Where GFCI outlets are required
  5. GFCI outlets in the bathroom
  6. GFCI vs regular outlet
  7. GFCI vs GFI
  8. Who should install one
  9. Related services
  10. Frequently asked questions

What a GFCI outlet does

A GFCI outlet is a ground-fault circuit interrupter built into an outlet. It shuts off power in a fraction of a second when it senses current leaking to ground. That leak could be going through a person, which is why these outlets go where water and power meet.

You’ll know one by the two buttons in the middle, TEST and RESET. Many also have a small status light. When a GFCI trips, RESET pops out and the outlet goes dead until you push it back in.

A GFCI is a shock guard. It isn’t built to stop overloads or wiring fires, which is the job of the breaker and the AFCI (arc-fault) breaker or outlet. Our page on AFCI vs GFCI outlets shows how those two differ.

How it senses a leak

A GFCI compares the current going out on the hot wire with the current coming back on the neutral. In normal use they match. If even a tiny amount goes missing, the GFCI trips.

The trip point is very small, about 5 thousandths of an amp. That’s far less than a hair dryer draws, and it’s set that low to cut power before a shock turns dangerous. Inside, a small coil reads both wires at once, and a latch snaps the contacts open.

Balanced Leak HotNeutral Coil In equals out Stays on LatchopensCoil Leak Less back In and out differ Trips
Both wires run through one sensing coil. If the current coming back on the neutral is less than what went out on the hot, some is leaking to ground, and the latch cuts power.

A GFCI doesn’t need a ground wire to do this. It only watches hot and neutral. That’s why code allows one in place of an old two-prong outlet, as long as it’s labeled no equipment ground.

It won’t protect you from everything. If you touch the hot and the neutral at once, with nothing leaking to ground, the current in and out still matches. That’s one more reason to treat every wire in a box as live.

What the TEST and RESET buttons do

TEST trips the outlet on purpose, so you can see it still works. RESET turns the power back on after a trip. Press TEST about once a month with a lamp plugged in, and the lamp should go off.

If RESET won’t stay in, the outlet may have no power, a fault on the circuit or a failed part. Our guide to a GFCI outlet that won’t reset walks through each one. For the plain button steps, see how to reset a GFCI outlet.

Where GFCI outlets are required

Code calls for GFCI protection where water and electricity can meet. Bathrooms, kitchen counters, garages, laundry areas, basements, crawl spaces and outdoor outlets are the main spots. Outlets near a sink often need it too. Towns adopt different code editions, so ask your local building office which spots apply.

Protection doesn’t have to come from a GFCI outlet at each spot. One GFCI outlet can cover the regular outlets wired after it. A GFCI breaker in the panel can cover a whole circuit. Our GFCI breaker vs GFCI outlet page compares those two setups.

Older homes often have regular outlets in these rooms, and they’re worth having an electrician upgrade.

GFCI outlets in the bathroom

Every bathroom outlet needs GFCI protection under current code. That protection can come from a GFCI outlet by the sink, a GFCI in another room that feeds it, or a GFCI breaker.

That’s why a dead bathroom outlet with no buttons isn’t always broken. In some homes, one GFCI in one bathroom feeds the outlets in another. Press RESET on every GFCI in the house before you call anyone.

Keep cords and hair tools away from the sink and tub even with a GFCI in place. It cuts the power fast, but it can’t stop a shock from starting.

GFCI vs regular outlet

A regular outlet passes power through and does nothing when current leaks. A GFCI outlet watches for leaks and cuts power when it finds one. Both fit the same wall box, though a GFCI is deeper and needs more room.

Regular outlet GFCI outlet
Shock protection from ground faults No Yes
Buttons None TEST and RESET
Protects outlets after it No Yes, when wired to its LOAD screws, the pair that feeds outlets after it
Replacing a two-prong outlet with no ground Only another two-prong, unless a ground is added Allowed in many cases, labeled no equipment ground
Where it’s used Rooms where code doesn’t ask for GFCI Bathrooms, kitchens, garages, outdoors and other wet spots

Having an electrician put in a GFCI outlet costs $125 to $250 per outlet nationally, about $210 typical. For regular outlet prices, see our outlet installation guide.

GFCI vs GFI

GFCI and GFI are the same thing. Both stand for a ground-fault circuit interrupter. GFI is a common shorter name, and you’ll see it on store shelves and in manuals.

Who should install one

Swapping in a GFCI means working inside the wall box on wires that can be live. The LINE and LOAD screws are easy to get wrong, too. LINE takes the incoming power. Leave the swap to a licensed electrician. Your part is TEST and RESET, and never open the panel.

Our page on how to install a GFCI outlet explains what the work involves. Get two or three written quotes, and check that each electrician’s license is current with your state or local office.

Related services

Frequently asked questions

What is the difference between a GFCI and a GFI outlet?

Nothing. GFI is a shorter name for the same thing, a ground-fault circuit interrupter. You'll see both on boxes and in hardware stores.

Does a bathroom need a GFCI outlet?

Yes. Current code calls for GFCI protection on bathroom outlets. It can come from a GFCI outlet in the room, one wired ahead of it, or a GFCI breaker.

Can a GFCI outlet replace a two-prong outlet?

In many cases, yes, if it's labeled no equipment ground. It adds shock protection but doesn't add a ground, so ask an electrician what fits your wiring.

Does a GFCI outlet need a ground wire to work?

No. It senses a mismatch between the hot and neutral wires, so it trips without a ground. A ground is still better for appliances that need one.

How much does a GFCI outlet cost?

Installed by an electrician, $125 to $250 per outlet nationally, about $210 typical. Ask what each quote includes.

More about this service