mypros+
Error code reference

Whirlpool Washer Error Code d21

Overflow condition (AccuTrac display equivalent for F27).

Avg. service call
$285
National average. Trip fee plus diagnostic plus labor. Before parts.
MyPros+ 3-day pass
$9.95
Same diagnostic steps, on your phone. Start now.
You keep in your pocket
~$275
Even before you buy the part.
Skip the service call. Fix it yourself.
Full procedure unlocks instantly.
Get Started

What the d21 error code actually means

Your Whirlpool washer detected that water inside the tub rose higher than it should, which could cause a flood if left unchecked. The machine stopped itself automatically to protect your home. You should turn off the water supply to the washer and unplug it right away before investigating further.

Diagnostic procedure

The full d21 procedure

Step 1 is visible so you can confirm you are on the right page. The remaining steps, the ones that tell you whether to actually replace a part, unlock with any pass.

MyPros+ · DiagnosticsStep 1 preview
1
First diagnostic step
Check the drain hose; turn off water faucets and unplug unit.
More steps, wiring diagram references, and verified part numbers
Includes expected resistance and voltage values, connector pinouts, and supersession notes for replacement parts.
Unlock d21 procedure $9.95

Or subscribe: $29/month for unlimited access to all codes plus Max AI diagnostics.

Most common causes of d21

Ranked by how often they cause this code
  1. 1Kinked or blocked drain hose
  2. 2Faulty water inlet valve
  3. 3Defective water level pressure switch
  4. 4Blocked or pinched pressure switch hose
  5. 5Control board malfunction

Most DIYers save hundreds by diagnosing before ordering parts.

Get Started

$29/month · Cancel anytime · Or $9.95 3-day pass

Questions people ask about d21

What does d21 mean on a Whirlpool washer?
The d21 code is the AccuTrac display equivalent of the F27 fault and indicates an overflow condition, meaning the washer detected water rising above the safe maximum level in the tub. The machine stops operation automatically to prevent water damage. Common causes include a blocked drain hose, a faulty water inlet valve, or a defective water level pressure switch.
Is it safe to use my washer when it shows a d21 error?
No, you should not continue using the washer while d21 is active. The code indicates the tub water level exceeded a safe limit, which creates a real risk of water overflowing onto the floor and causing damage. Shut off the water supply and unplug the machine until the underlying cause is diagnosed and corrected.
How much does it cost to repair a d21 error on a Whirlpool washer?
Repair costs depend on which component is at fault. A replacement water inlet valve typically costs between $25 and $80 for the part, while a water level pressure switch generally runs between $15 and $50. Adding professional labor, total repair costs can range from $100 to $250 or more depending on your location and the technician's rates. If the drain hose is simply kinked, the fix may cost nothing at all.
How do I fix a d21 error on my Whirlpool washer?
Start by turning off the water supply faucets connected to the washer and unplugging the unit from the outlet. Next, inspect the drain hose for kinks, clogs, or improper positioning. If the drain hose is clear, the next step is to test the water inlet valve and the water level pressure switch, along with its connecting hose, for faults. Replacing the defective component should resolve the overflow condition.
Will resetting my Whirlpool washer clear the d21 error code?
Unplugging the washer and restoring power may temporarily clear the code, but d21 will return if the root cause has not been fixed. If the inlet valve is not closing properly or the drain hose remains blocked, the overflow condition will repeat during the next wash cycle. A reset should only be used after the actual fault has been identified and repaired.

78,000+ service manuals · 160,000+ error codes · 55+ brands

Get Started

$29/month · Cancel anytime · Or $9.95 3-day pass