Overview
People mix these two up constantly, and it is easy to see why: both are protection devices, both can show up as a breaker or an outlet, and both have a test button. But they solve completely different problems. A GFCI, a Ground-Fault Circuit Interrupter, protects people from shock and electrocution. An AFCI, an Arc-Fault Circuit Interrupter, protects the building from fire. One is about your body. The other is about your house.
A GFCI watches for current leaking to ground, the kind of leak that happens when electricity finds a path through a person instead of staying in the wire. When it sees that imbalance, it trips in a fraction of a second, fast enough to keep a shock from becoming a fatal one. An AFCI watches for the electrical signature of a dangerous arc, the sputtering, sparking discharge you get from a damaged or loose wire, and it cuts the circuit before that arc can start a fire.
Modern code requires both, in different locations and sometimes the same one. You will find them as breakers in the panel, as receptacles in the wall, and as dual-function (DF) devices that combine both jobs in one unit. Knowing which protects what is the whole game.
GFCI: Shock Protection
A GFCI works by comparing the current going out on the hot conductor against the current coming back on the neutral. In a healthy circuit those two match. When some of that current goes missing, because it found another path to ground, often through a person standing on a wet floor, the GFCI sees the imbalance and trips. We are talking milliseconds and a leak as small as a few milliamps. That speed is what stops a shock from stopping your heart.
That is why code puts GFCIs where water and electricity meet. Kitchen counter receptacles, bathrooms, garages, unfinished basements, crawlspaces, laundry areas, outdoor receptacles, and anything near sinks or pools. Wet skin and wet surfaces drop your body's resistance and make a shock far more dangerous, so those are exactly the spots that demand this protection.
You get GFCI protection two ways. A GFCI receptacle protects itself plus everything wired downstream of it, which is why one well-placed outlet can cover several. A GFCI breaker protects the entire circuit from the panel. Both have TEST and RESET buttons; press TEST monthly and the device should trip. If it will not reset, that is the device doing its job, telling you about a real ground fault worth chasing down. The GFCI protects the person standing at the outlet.
AFCI: Fire Protection
An AFCI is listening for something subtler than a ground fault. It watches the waveform on the circuit for the chaotic electrical signature of a dangerous arc: the rapid, sputtering discharge that jumps across a gap in a damaged conductor. That arc throws enough heat to ignite wood framing, insulation, or dust. The AFCI is built to tell a genuine fault arc apart from the harmless arcing a motor or a switch makes, and when it sees the dangerous kind, it kills the circuit before a fire can start.
Where do those arcs come from? Cracked or aged insulation, a connection that worked loose over the years, a wire nicked by a drywall screw, a cable pinched under a staple or behind a nail. All things you cannot see inside a finished wall. That hidden risk is why code put AFCI protection across most living areas: bedrooms, living rooms, dens, hallways, kitchens, and at this point the large majority of 120V branch circuits in a dwelling.
The AFCI is usually a breaker in the panel, though outlet versions exist. Early AFCIs earned a reputation for nuisance tripping, cutting power when nothing was actually wrong, and the gripe was fair at the time. The technology has improved a lot since. A modern AFCI that trips is usually pointing at a real wiring problem. The AFCI protects the building.
Where Code Requires Each
The split is cleaner than people expect once you anchor it to the problem each device solves. GFCI protection lands in the wet, damp, and shock-prone spots: bathrooms, kitchen counter receptacles, garages, outdoor receptacles, unfinished basements, crawlspaces, laundry areas, and anything near sinks or pools. AFCI protection lands in the living spaces where hidden wiring runs through framing: bedrooms, living rooms, dens, hallways, and by now most 120V branch circuits in a dwelling.
Some rooms need both. A kitchen has counter receptacles that demand GFCI for shock and circuits that demand AFCI for fire. A laundry area is the same story. In those spots a dual-function (DF) breaker, sometimes labeled AFCI/GFCI, does both jobs in one device so you are not stacking two protections awkwardly.
The requirements have expanded across successive NEC cycles, which is why a code-current home carries far more protection than one wired in the 1990s. That expansion also means the rules depend entirely on which NEC edition your jurisdiction has adopted, and editions vary by state and even by town. The same logic governs how the circuit itself is run, which is the territory of romex vs conduit. Always check your local code and your local inspector for what applies to your specific job. This is general education, not a substitute for a licensed electrician.
FAQ
What is the actual difference between GFCI and AFCI? A GFCI protects people from shock by tripping when current leaks to ground, like through a person. An AFCI protects the building from fire by tripping when it detects a dangerous arc from damaged or loose wiring. Shock versus fire. They watch for different faults and are not interchangeable.
Can one device do both jobs? Yes. A dual-function (DF) breaker, often labeled AFCI/GFCI, combines both protections in a single device. Code requires both in some areas, like kitchens and laundry rooms, and a dual-function breaker covers them without needing two separate devices on the circuit.
Why does my AFCI keep tripping? Often because it is catching a real problem: a loose connection, damaged insulation, or a nicked wire somewhere on the circuit. Early AFCIs did nuisance-trip, but modern ones are much better at telling real faults from harmless arcing. A repeated trip is worth having an electrician investigate, not ignore.
Do older homes need to be upgraded to current GFCI and AFCI rules? Generally a home is wired to the code in force when it was built or last permitted, so an older house is not automatically forced to retrofit everything. But when you remodel, replace devices, or add circuits, current rules usually kick in for that work. Your local inspector and the NEC edition your area has adopted decide the specifics.