Licensed & Insured · MD License 7788 · Family-Owned Since 2005

AFCI vs GFCI: what each one does and where the code requires it

An AFCI watches for the arcing that starts electrical fires. A GFCI watches for current leaking through a person. Here is how each works, where the 2023 NEC requires them, and what Harford County changed.
Electrician testing a GFCI outlet on a kitchen backsplash

On this page

Short answer · 11 min read

An AFCI (arc-fault circuit interrupter) shuts off a circuit when it detects dangerous arcing in wiring or cords, which helps prevent electrical fires. A GFCI (ground-fault circuit interrupter) shuts off power when current leaks to ground, such as through a person, which prevents shock. AFCIs protect living areas and bedrooms; GFCIs protect wet areas. Kitchens and laundry areas need both.

Key takeaways

AFCI and GFCI devices both have test buttons and both cut power, so they get mixed up constantly, but they guard against two different hazards. Every home electrical safety guide should start with this distinction: an AFCI is fire protection for your wiring, and a GFCI is shock protection for people.

This post explains how each device senses trouble, what each one does not protect against, where the 2023 National Electrical Code requires them in Maryland homes, the specific changes Harford County made when it adopted that code, what older homes need when outlets are replaced, and why these devices sometimes trip. You will also find a simple monthly test routine for both.

What is the difference between an AFCI and a GFCI?

The difference is the hazard: an AFCI detects electrical arcing that can start a fire, and a GFCI detects current leaking out of the circuit, usually through water or a person, that can cause a deadly shock. Each device ignores the problem the other one is built for, which is why some rooms need both.

AFCI vs GFCI at a glance

AFCI (arc-fault)GFCI (ground-fault)
Protects againstFires from arcing in wiring, cords and connectionsElectric shock and electrocution
What it sensesThe electrical signature of arcs between or along conductorsA difference between current going out on the hot wire and returning on the neutral
Trip levelArcing patterns, judged by the device’s electronicsAbout 4 to 6 milliamps of imbalance
Where the 2023 NEC requires itKitchens, bedrooms, living, family and dining rooms, dens, sunrooms, rec rooms, closets, hallways, laundry areasBathrooms, kitchens, garages, outdoors, basements, crawl spaces, laundry areas, near sinks, tubs and showers, boathouses
Usual formsBreaker in the panel, or an outlet-type AFCI receptacleReceptacle with test/reset buttons, or a breaker
Does it replace a standard breaker?An AFCI breaker also gives normal overload and short-circuit protectionA GFCI breaker does too; a GFCI receptacle does not
Neither device is a substitute for a correctly sized standard breaker, and neither stops a lightning surge. Surge protection is a third, separate layer that lives at the panel or the outlet.

How does a GFCI protect you from shock?

A GFCI protects you by comparing the current flowing out on the hot conductor with the current returning on the neutral, and cutting power in a fraction of a second if they differ by about 4 to 6 milliamps. That difference means current is escaping by another path, such as through water, a damaged tool or your body to ground.

Those numbers matter because a standard 15-amp or 20-amp breaker will not trip at a few milliamps, or even at a few hundred. A current far too small to bother a breaker can still stop a heart. A GFCI reacts to the leak itself, long before the circuit is overloaded.
  • What it catches: a hair dryer dropped in a sink, a frayed extension cord on wet grass, a sump pump with a failing motor, a dock light with water in the fixture.
  • What it does not catch: a shock across hot and neutral with no path to ground, such as touching both wires while standing on a dry insulated surface. The current is balanced, so the GFCI sees nothing wrong.
  • No ground wire needed: a GFCI works by sensing imbalance, not by using the ground wire. That is why the NEC lets a GFCI receptacle replace a two-prong outlet on an ungrounded circuit, marked “No Equipment Ground.”
That last point is one of the most common upgrades in older Baltimore County and Harford County homes. Our post on ungrounded two-prong outlets explains when a GFCI is the right fix and when the circuit needs a ground run instead. For GFCIs around docks and boat lifts, where shock risk extends into the water, see dock and boat lift electrical safety.

How does an AFCI prevent electrical fires?

An AFCI prevents fires by recognizing the irregular current pattern of an electrical arc and opening the circuit before the arc’s heat can ignite insulation, wood or dust. Arcs reach very high temperatures in a tiny spot, and an ordinary breaker usually cannot tell a dangerous arc from normal current.

Arcs come in two kinds. A series arc happens along one conductor, at a loose screw terminal, a cracked wire or a worn plug, and the current may be well below the breaker rating. A parallel arc jumps between conductors, such as a lamp cord pinched under a dresser leg or a picture nail driven through a cable. Today’s combination-type AFCIs are designed to detect both.

AFCI requirements grew out of U.S. Consumer Product Safety Commission concern about residential fires that started in branch-circuit wiring. The NEC first required them in the 1999 edition for bedroom receptacle circuits, then kept expanding the list until it covered most living areas of a house.
Lamp cord pinched under a dresser leg, a common cause of arcing that AFCI breakers detect
A damaged lamp cord behind furniture, the kind of hidden arcing hazard an AFCI is built to detect.

When a trip means stop

If an AFCI trips and you smell burning, see scorch marks on an outlet or cover plate, or feel a warm wall plate, leave the breaker off and call an electrician. If there is smoke or flame, get out and call 911 first. An AFCI that trips once after a cord got pinched has done its job; one that keeps tripping is telling you something on that circuit is arcing.

Want a second set of eyes on your home’s wiring?

Text a photo or short video to 410-808-4215 and we’ll reply within 24 hours with what we see and what it means. Burning smell, sparks or a hot panel? Call now, day or night.

Where does the 2023 NEC require AFCI and GFCI protection?

The 2023 NEC requires AFCI protection for 120-volt, single-phase 10-, 15- and 20-amp branch circuits in most rooms where people live and sleep, under Section 210.12(B), and GFCI protection for receptacles in wet and damp areas, under Section 210.8(A). Harford and Baltimore counties enforce the 2023 NEC, and Cecil County has enforced it for permits since August 2, 2025.

Dwelling locations under the 2023 NEC (check local amendments)

LocationAFCI (210.12)GFCI (210.8)
KitchenYesYes, all receptacles
Laundry areaYesYes
Bedrooms, living, family and dining rooms, dens, sunrooms, rec roomsYesOnly near a sink
Hallways and closetsYesNo
BathroomsNoYes
Garages and accessory buildingsNoYes
OutdoorsNoYes
Basements and crawl spacesFinished living areas, yesYes
Within 6 feet of a sink, tub or showerDepends on the roomYes
BoathousesNoYes
Receptacle with test and reset buttons in a laundry room above a washer
A laundry-area receptacle behind a washer, one of the two places the 2023 NEC requires both AFCI and GFCI protection.
Kitchens and laundry areas are where the two lists overlap. A dual-function AFCI/GFCI breaker, or a dual-function receptacle at the first outlet, covers both requirements in one device and frees up panel space.

What Harford County changed in the 2023 NEC

Harford County adopted the 2023 NEC in 2024 with local amendments. Among them: a single receptacle for a submersible pump (such as a sump pump) or for refrigeration may be installed without GFCI protection, and receptacles for refrigeration and submersible pumps may skip AFCI protection when a single receptacle serves each appliance. The county also raised the minimum number of kitchen small-appliance circuits from two to three, and gave the Department of Inspections, Licenses and Permits authority to adjust the outdoor-outlet GFCI rule in 210.8(F) by regulation. Your county inspector has the final word on how these apply.

Those exemptions exist so a nuisance trip cannot quietly shut off a sump pump during a storm or spoil a freezer of food. They apply only to a single dedicated receptacle, not a duplex outlet that someone could also plug a tool into. Our Harford County electrical permit guide covers how the permit and inspection work.

Do older homes have to add AFCI and GFCI protection?

Older homes generally do not have to add AFCI or GFCI protection everywhere just because the code changed, but the protection becomes required when you replace receptacles, extend or modify circuits, or do permitted remodel work in the covered areas. The code applies to the work being done, not retroactively to the whole house.
  • Replacing a receptacle: Section 406.4(D) requires the replacement to have GFCI protection where GFCI is now required, and AFCI protection where AFCI is now required. That can be done with an AFCI or GFCI receptacle, a protected upstream outlet, or a breaker.
  • Extending a circuit: adding outlets or extending branch-circuit wiring in an AFCI area brings AFCI protection with it. Very short extensions with no new outlets are an exception.
  • Remodels and basements: a kitchen remodel or basement finish is new work, so the 2023 rules apply to it in full.
  • Home sales: home inspectors routinely flag missing GFCIs in kitchens, baths, garages and outdoors, even when the house met the code of its day.
Adding GFCI protection to an older kitchen, bath, garage and exterior is one of the most worthwhile safety upgrades in a 1950s to 1970s house. AFCI breakers are a sensible add when circuits are being reworked, though older wiring with shared neutrals or loose connections can cause trips that need sorting out first. We install AFCI breakers and GFCI outlets across Harford County and nearby, and we pull the permit when the job requires one.

Why does an AFCI or GFCI keep tripping?

An AFCI or GFCI that keeps tripping is usually reacting to a real problem, such as moisture, a damaged cord, a failing appliance or a loose connection, though older devices and some motor loads cause nuisance trips. The pattern of the trips tells you where to look.

Common trip patterns

What you noticeLikely causeNext step
Outdoor or garage GFCI trips after rainWater in a cover, box or fixtureLet it dry; if it repeats, the box or fixture needs repair
GFCI trips when one appliance startsLeakage in that appliance’s motor, heater or cordTry the appliance elsewhere; repair or replace it
AFCI trips when a vacuum or treadmill runsBrush-motor noise or a damaged cordCheck the cord; an older AFCI may need updating
AFCI trips at random, often at nightLoose connection or arcing in the wiringCall an electrician to test the circuit
GFCI will not reset at allOngoing fault, no power to the GFCI, or a failed deviceSee our GFCI troubleshooting post
If a GFCI simply will not reset, our GFCI won’t reset post walks through the safe checks. Reset any AFCI or GFCI once. If it trips again right away with nothing plugged in, leave it off and call, because the fault is in the wiring.

How do you test AFCI and GFCI devices?

You test both by pressing the TEST button, confirming power goes off, and pressing RESET or switching the breaker back on. Manufacturers and safety groups recommend testing monthly, and a device that does not trip on test should be replaced.

1

Plug a lamp or night-light into the outlet

It gives you a visible sign that power cuts off.

2

Press TEST on the GFCI receptacle

The light should go out and the RESET button should pop out.

3

Press RESET

Power should return. If it does not reset, or never cut off, the device needs replacing.

4

Test AFCI and GFCI breakers at the panel

Press the breaker’s test button; the handle should move to the tripped position. Switch it fully off, then on. Do not open the panel cover.

5

Check downstream outlets

A GFCI receptacle often protects other outlets after it. Note which ones go dead on test so you know where to reset next time.
If you are adding new hardwired smoke alarms, their circuit generally falls under the AFCI rules too, which our post on hardwired vs battery smoke detectors covers. Families with young children should also read about tamper-resistant outlets, the third receptacle protection in the code.

Related reading

The NEC rule for childproof receptacles and where they belong.
Ground-fault protection and electric shock drowning risks on Maryland waterfront.
How the two compare, interconnection, and what Maryland requires.

FAQ

Questions homeowners ask

Yes. Dual-function AFCI/GFCI breakers and dual-function receptacles combine arc-fault and ground-fault protection in one device. They are the usual choice for kitchens and laundry areas, where the 2023 NEC requires both. A dual-function breaker protects the whole circuit from the panel, while a dual-function receptacle installed at the first outlet protects that outlet and the ones wired after it.
Neither is better in every case; they give the same shock protection. A GFCI breaker protects the whole circuit and keeps the reset in the panel, which suits hard-to-reach spots like a garage ceiling or a hot tub feed. A GFCI receptacle keeps the reset button where you are standing, which is handier in a kitchen or bath. Cost and panel space also factor in.
Under the 2023 NEC dwelling list in Section 210.12(B), bathrooms, garages and outdoor outlets are not on the AFCI list, but they do need GFCI protection. Some local jurisdictions amend these lists, so the county inspector has the final word. Bedrooms, living areas, hallways, closets, kitchens and laundry areas are where AFCI protection is required.
Bedrooms were the first AFCI location because of how fires start there: cords pinched under beds and furniture, lamps knocked over, space heaters and chargers left running, and people asleep when a fire begins. The 1999 NEC required AFCIs on bedroom receptacle circuits first, and later editions extended the requirement to most living areas, kitchens, hallways and laundry areas.
No. AFCIs detect arcing and GFCIs detect current leaking to ground; neither limits the voltage spikes that come from lightning, utility switching or large motors cycling. For surge protection, a whole-house surge protective device at the panel handles large surges, and point-of-use surge strips protect sensitive electronics. The three types of protection work together.

Sources

Codes, programs and fees change. We checked these sources in October 2026; confirm current details with the agency or utility.
Michael Cliffe, owner of Snapper Electric

Reviewed for accuracy

Michael Cliffe, Owner · Maryland State Licensed Contractor, License 7788

Written by the Snapper Electric team · Last updated October 25, 2026

Electrical work can be dangerous. The information on this page is general guidance for homeowners in Maryland and is not a substitute for an on-site assessment by a licensed electrician. Always turn off power at the breaker before touching any wiring, and call 911 if you smell burning, see sparks, or have an active electrical fire.

Keep reading

More guides like this

Ready when you are.

Call, text, or send the form. We’ll tell you what we see, what it means for your home, and what it costs before any work starts.
Office hours Mon–Sat 8 AM–5 PM · 24/7 for electrical emergencies
Snapper Electric turtle mascot