mypros+
Error code reference

Maytag Washer Error Code d21

Overflow condition

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 Maytag washer is detecting that water inside the tub has risen too high and stayed that way for too long. This usually means the valves that let water into the machine are not shutting off properly, or the part that monitors the water level is sending a bad signal. The washer stops as a safety measure to prevent flooding.

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
Clear error code, unplug washer or disconnect power, remove electrical connections for cold and hot inlet valves.
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. 1Faulty inlet valve (hot or cold)
  2. 2Failed or stuck pressure switch
  3. 3Clogged or kinked pressure switch hose
  4. 4Control 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 Maytag washer?
The d21 code means the washer has detected an overflow condition. Specifically, the overflow contact on the pressure switch has been closed for more than 60 seconds, which tells the control board that water has risen above the safe fill level and is not receding. The washer stops operation to prevent flooding.
Is it safe to use my Maytag washer when the d21 code is displayed?
No, you should not continue running the washer with an active d21 error. The code indicates a potential uncontrolled water overflow, which can lead to water damage inside the machine or on your floor. Disconnect power and address the underlying cause before operating the washer again.
Will resetting my Maytag washer clear the d21 error code?
Clearing or resetting the error code may allow the washer to restart temporarily, but the d21 fault will return if the underlying cause has not been fixed. Resetting is a useful first step in the diagnostic process, not a repair. Until the faulty inlet valve, pressure switch, or related component is corrected, the overflow condition will persist.
How do I fix the d21 error on my Maytag washer?
Start by clearing the error code, then unplug the washer and disconnect the electrical connectors from both the hot and cold water inlet valves. This isolates the valves and helps determine if one is allowing water to enter when it should not. You should also inspect the pressure switch air hose for kinks or blockages. If a faulty inlet valve or pressure switch is confirmed, that component will need to be replaced.
How much does it cost to repair a d21 error on a Maytag washer?
Repair costs vary depending on the failed component. A water inlet valve typically costs between $20 and $80 for the part, while a pressure switch generally falls in the $15 to $60 range. If you hire a technician, expect to add labor costs on top of parts. A control board replacement, if needed, is significantly more expensive.

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

Get Started

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