Electrical

GFCI (Ground-Fault Interrupter)

Catches a few milliamps leaking to ground and cuts power before a shock can kill

A GFCI continuously compares the current flowing out on the hot wire against the current returning on neutral. The instant they differ by about 5 mA — current leaking to ground through a person — it trips the circuit in under 30 milliseconds, before the shock can stop a heart. Required in bathrooms, kitchens, outdoors, and near pools, and known in IEC countries as the residual-current device (RCD).

  • SensesHot vs neutral imbalance
  • Trip threshold (Class A)4 to 6 mA
  • Trip time~20 to 30 ms at fault
  • StandardUL 943 (US), IEC 61008 (RCD)
  • Needs ground wire?No
  • ProtectsPeople, not wiring

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

How a GFCI works

In a healthy circuit, every electron that leaves on the hot wire comes back on the neutral wire. The two currents are equal and opposite at all times — out and back, perfectly balanced. A GFCI is built around one deceptively simple idea: thread both conductors through the same magnetic core and let their magnetic fields cancel. As long as the currents match, the net field in the core is zero. The moment some current finds another way home — through a person, through wet concrete, through a frayed appliance casing to ground — hot and neutral no longer match, and a tiny residual field appears in the core.

That core is a differential current transformer (a toroid). Both the hot and neutral wires pass straight through the hole as a single-turn "primary," carrying current in opposite directions. A fine sensing winding of hundreds of turns wraps the toroid as the secondary. When the two primary currents are balanced, their ampere-turns cancel and the secondary sees nothing. When they differ by a fault current IΔ, the toroid develops a net magneto-motive force and induces a small voltage in the sensing winding.

That signal — corresponding to milliamps of imbalance — is far too weak to throw a mechanical latch by itself. So a GFCI contains a small amplifier IC (the classic part is the LM1851 or the RV4145 ground-fault detector) that watches the sensing winding. When the imbalance crosses the threshold, the IC fires a silicon-controlled rectifier (SCR). The SCR dumps a burst of current into a solenoid, which yanks a spring-loaded latch open and physically separates the contacts. Power is gone — typically within 20 to 30 milliseconds of the fault appearing.

Signal chain inside a GFCI:

  hot + neutral through toroid  →  net ampere-turns ∝ I_Δ
  sensing winding (N turns)     →  induced voltage  ~ mV
  detector IC (LM1851/RV4145)   →  compares to ~5 mA reference
  SCR gate fires                →  dumps current into solenoid
  solenoid + spring latch       →  contacts open, circuit dead

The Test and Reset buttons you see on the faceplate aren't decoration. Pressing Test routes a deliberate, current-limited leak (through a resistor) from the load side of one conductor back around the toroid, creating a known imbalance of roughly 6 to 8 mA. If the device is healthy it trips. Reset re-latches the mechanism. UL requires the device to render itself unable to reset if the sensing electronics have failed — a feature called end-of-life lockout, mandatory on UL 943 devices since 2015.

The governing physics

The toroid obeys Ampère's law. The net magneto-motive force driving flux around the core is the algebraic sum of the enclosed currents:

Net MMF through the toroid:

  Σ N·I = I_hot − I_neutral = I_Δ        (single-turn primaries, opposite sense)

Balanced load:   I_hot = I_neutral   →   I_Δ = 0   →   no secondary signal
Ground fault:    I_hot = I_neutral + I_Δ            →   I_Δ flows to earth

Trip condition (UL 943 Class A):
  4 mA  ≤  I_trip  ≤  6 mA

Why those numbers? Because the GFCI's real job is keeping current through a human heart below the fibrillation threshold. Treat a wet adult as a resistive path and apply Ohm's law:

Hand-to-hand body resistance (dry):   ~ 1,000 to 100,000 Ω
Hand-to-hand body resistance (wet):   ~ 500 to 1,500 Ω

Worst-case wet contact at 120 V:
  I = V / R = 120 / 1000 = 120 mA

Human current thresholds (60 Hz, hand-to-hand):
  ~1 mA      perception (tingle)
  10–20 mA   "let-go" threshold — muscles lock, can't release
  30–50 mA   ventricular fibrillation becomes likely
  100+ mA    fibrillation, likely fatal across the chest

A 120 mA shock from a wet contact is squarely in the lethal band. A 5 mA trip point sits a comfortable margin below the 10 mA let-go threshold, so the circuit dies before your muscles can even clamp onto the conductor. The trip speed matters as much as the threshold, because the heart is only vulnerable to fibrillation during a narrow window of each beat. UL 943 specifies the maximum allowable trip time as an inverse function of fault current:

UL 943 maximum trip time:

  T = (20 / I)^1.43   seconds,  I in milliamps

  I = 6 mA    →  T ≤ ~5.6 s      (just above threshold, slow allowed)
  I = 20 mA   →  T ≤ ~1.0 s
  I = 100 mA  →  T ≤ ~0.10 s  (100 ms)
  I = 250 mA  →  T ≤ ~0.027 s (27 ms)

A real fault through a person is hundreds of mA → trip in tens of ms.

Worked example: hair dryer in the sink

The textbook GFCI scenario. A plugged-in hair dryer falls into a sink of water with a person's hand still on it. Trace the current:

Normal operation (dryer drawing 1,500 W at 120 V):
  I_hot = 1500 / 120 = 12.5 A
  I_neutral = 12.5 A
  I_Δ = 0           →  GFCI stays closed, dryer runs

Dryer hits water, person bridges water-to-earth:
  Most current still returns via neutral, but a fault
  path opens to ground through the wet hand:
    I_hot     = 12.5 A + I_Δ
    I_neutral = 12.5 A
    I_Δ       = current leaking through the person ≈ 30+ mA

  GFCI sees I_Δ > 6 mA, detector fires SCR,
  solenoid trips latch  →  power off in ~25 ms.

Without the GFCI, that 30+ mA flows through the body until the breaker eventually decides 12.5 A is fine and never trips — the person is electrocuted while the 20 A breaker sits perfectly happy. The breaker protects the wire; only the GFCI protects the person. The imbalance the GFCI catches — tens of milliamps against a 12.5 A working current — is an imbalance of about a quarter of one percent, which is exactly why you need a sensitive differential transformer and an amplifier rather than two ordinary ammeters.

Device types and where they live

Form factorWhere it goesProtectsNotes
GFCI receptacleAt the outletThat outlet + downstream "LOAD" outletsMost common; has Test/Reset; can protect a whole branch from the first box
GFCI circuit breakerIn the panelEntire branch circuitCombines overcurrent + ground-fault; pricier; needs panel neutral pigtail
Portable / inline GFCIOn a cord or plugWhatever is downstream of itConstruction tools, RVs, hair-dryer cord modules (the bulky plug)
Dead-front GFCIFirst box in a runDownstream only (no face outlet)Used where the receptacle face isn't wanted
Dual-function (DF) deviceOutlet or breakerGround fault + arc faultGFCI + AFCI in one; increasingly code-required in kitchens/laundry
RCD / RCBO (IEC)In the consumer unitOne or more circuitsEuropean equivalent; common trip ratings 10/30/100/300 mA

A subtlety that trips up DIY wiring: GFCI receptacles have LINE terminals (power in) and LOAD terminals (downstream outlets). Wire the incoming feed to LOAD by mistake and the device won't reset and won't protect anything — a wiring error that accounts for a large share of "dead GFCI" service calls.

Trip ratings: people vs equipment

Class A GFCIClass C / equipment GFPERCD Type AC (IEC)RCD Type A (IEC)RCD Type B (IEC)
Typical trip current4 to 6 mA20 mA30 mA30 mA30 mA
ProtectsPeople (shock)Equipment / firePeople + firePeople + firePeople + fire
Fault waveform sensedAC sinusoidalACAC sinusoidal onlyAC + pulsating DCAC + pulsating + smooth DC
StandardUL 943UL 1053IEC 61008IEC 61008IEC 62423
RegionNorth AmericaNorth AmericaEurope (legacy)Europe (default)EV chargers, VFDs
Trip speed at rated fault~25 ms (high I)~25 ms≤ 300 ms≤ 300 ms≤ 300 ms
Catches DC leakage?No (AC only)NoNoPulsating DC yes, smooth DC noYes, including smooth DC

The 5 mA U.S. number and the 30 mA European number both deliver life safety — Europe pairs the higher residual threshold with faster mandatory disconnection and ubiquitous equipment grounding. The Type A/Type B distinction matters more every year: an electric-vehicle charger or a variable-frequency drive can leak smooth DC that magnetically saturates an ordinary AC-sensing toroid and blinds it, which is why EV circuits demand a Type B RCD or a charger with built-in DC fault detection (a 6 mA DC-RDD).

Real systems and real numbers

  • Lives saved. The U.S. Consumer Product Safety Commission credits GFCIs with cutting consumer-product electrocution deaths by roughly 80% since the 1970s — from over 1,000 per year down to a few hundred — as code expanded GFCI requirements room by room.
  • Code creep. The U.S. National Electrical Code first required GFCIs at pool equipment (1971), then outdoor outlets (1973), bathrooms (1975), garages, kitchens, basements, laundry, and by the 2020 NEC essentially all 125 V receptacles in dwellings within reach of water or earth.
  • Pools and spas. Pool pump motors and underwater lighting are GFCI-protected at 5 mA; a pool circuit that nuisance-trips is a genuine warning of a failing underwater fixture, not a device to bypass.
  • Construction sites. OSHA mandates GFCI protection (or an assured equipment grounding program) on all 120 V tool circuits — wet ground, damaged cords, and metal tools make a job site the highest-shock-risk environment there is.
  • Hair dryers. Since 1991, U.S. handheld hair dryers must include an immersion-protection device in the plug — the bulky rectangular block on the cord is a miniature GFCI (technically an ALCI/IDCI) that trips on water immersion.
  • Cost. A 20 A GFCI receptacle runs about US$15 to $25; a GFCI breaker $40 to $60; a dual-function (GFCI+AFCI) breaker $45 to $70. The differential transformer, detector IC, and SCR add only a few dollars of bill-of-materials to an ordinary receptacle.

Failure modes and pitfalls

  • Silent end-of-life. Older GFCIs (pre-2015 UL revision) could lose their sensing electronics — often from a nearby lightning surge — and still pass power while no longer protecting. They looked fine and felt fine but were dead inside. Modern UL 943 devices self-test and lock out if they can no longer trip. This is why you press Test monthly.
  • Nuisance tripping. Accumulated normal leakage from several appliances on a shared circuit, long cable runs with capacitive coupling, or moisture can sum past 5 mA and trip a perfectly healthy device. The fix is splitting loads onto separate circuits, not removing protection.
  • Shared neutral / multi-wire branch circuits. If a neutral is shared between two hot legs and routed through only one GFCI's toroid, the return current won't balance and the device trips instantly. Multi-wire branch circuits need both hots through the same device or a two-pole GFCI breaker.
  • LINE/LOAD reversal. The single most common installation error — feed wired to LOAD. The device can't reset and offers no protection. Always land the incoming hot/neutral on LINE.
  • DC blindness. An AC-sensing toroid can be saturated by smooth DC leakage (EV chargers, solar inverters, VFDs), masking a real fault. EV and DC-coupled circuits require Type B RCDs or dedicated DC residual-current monitoring.
  • It is not surge or overload protection. A GFCI does nothing against a short between hot and neutral (the breaker handles that), against overvoltage, or against an arc fault. Pairing it with overcurrent and arc-fault protection — or using a dual-function device — is what gives full coverage.

Common misconceptions

  • "It needs a ground wire." No. It measures hot-versus-neutral imbalance and never touches the ground conductor, which is exactly why it can legally protect ungrounded two-wire outlets.
  • "A GFCI and a breaker do the same thing." No. The breaker trips at 15 to 20 A to save the wiring; the GFCI trips at 5 mA — three thousand times smaller — to save a life. Different thresholds, different physics, different job.
  • "If it keeps tripping, it's broken — just replace it with a normal outlet." Repeated tripping usually means real leakage current is present. Defeating it removes the only thing standing between a wet fault and a person.
  • "The Test button tests the wiring." It tests the device's own trip mechanism by injecting a known internal leak. It does not verify correct LINE/LOAD wiring or the ground connection — a plug-in tester does that.

Frequently asked questions

What is the difference between a GFCI and a circuit breaker?

A standard circuit breaker protects the wiring from overload and short circuit — it trips at 15 or 20 amps to stop the wire from overheating and starting a fire. A GFCI protects people. It watches for as little as 5 milliamperes of current leaking to ground and trips in milliseconds — a current 3,000 times smaller than the breaker ever notices. The two protect against completely different hazards, which is why a circuit can carry both a 20 A breaker in the panel and a 5 mA GFCI at the outlet.

Why does a GFCI trip at 5 milliamps specifically?

It is set by human physiology. Below about 5 mA most people feel only a tingle. Between 10 and 20 mA the muscles can clamp so you cannot let go of the conductor (the "let-go" threshold). Above roughly 30 to 50 mA across the chest, ventricular fibrillation becomes likely. UL 943 Class A devices are required to trip at 4 to 6 mA, with a fixed 6 mA upper bound, so the circuit opens well below the let-go and fibrillation thresholds. The trip point is deliberately set with a safety margin below the current that can stop a heart.

Does a GFCI need a ground wire to work?

No. This surprises people. A GFCI senses the imbalance between hot and neutral current; it never measures the ground wire at all. That is why the U.S. NEC explicitly allows a GFCI to replace an ungrounded two-prong receptacle in old wiring, labeled "No Equipment Ground." If you touch the hot wire and the leakage flows to earth through your body, the return path bypasses neutral, the hot-versus-neutral balance breaks, and the device trips — ground wire or not.

Why does my GFCI trip with nothing plugged in, or nuisance-trip in the rain?

Because it cannot tell the difference between a person and a wet path to earth. Moisture across the receptacle face, a long outdoor cable run with capacitive leakage, or a motor with a damp winding can all leak a few milliamps to ground. Once total leakage crosses the 4 to 6 mA window the device trips, exactly as designed. Class A units tolerate a small amount of standing leakage, but appliances with their own normal leakage (some heat pumps, large freezers) can push a shared circuit over the edge — which is why those loads often get a dedicated circuit.

What is the difference between a GFCI and an AFCI?

A GFCI looks for current going where it should not (to ground) to protect people from shock. An AFCI (arc-fault circuit interrupter) looks for the high-frequency electrical signature of an arcing fault — a loose terminal, a stapled-through cable, a damaged cord — to prevent fires. They solve different problems, and modern kitchens and bathrooms increasingly use dual-function (DF) devices that contain both circuits in one outlet or breaker.

How fast does a GFCI actually trip?

Fast enough to beat the heart. UL 943 sets the maximum trip time by an inverse-time curve: at 6 mA the device may take up to about 5.6 seconds, but at higher fault currents it must be far quicker. The standard formula is T = (20 / I)^1.43 seconds with I in milliamps, so at a 250 mA fault the limit is roughly 25 milliseconds. Most real devices trip in 20 to 30 ms at typical shock-current levels — faster than the most vulnerable window of the cardiac cycle.