mypros+
Error code reference

Whirlpool Washer Error Code E:21

Excessive foam-wrong or too much detergent used.

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 E:21 error code actually means

Your Whirlpool washer detected too many soap suds inside the drum and stopped to protect itself. This almost always happens because regular detergent was used instead of HE detergent, or because too much detergent was added. Switching to a low-suds HE detergent and using the correct amount for your load size will fix the problem.

Diagnostic procedure

The full E:21 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
Educate customer on HE detergent use; reduce detergent amount.
More steps, wiring diagram references, and verified part numbers
Includes expected resistance and voltage values, connector pinouts, and supersession notes for replacement parts.
Unlock E:21 procedure $9.95

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

Most common causes of E:21

Ranked by how often they cause this code
  1. 1Non-HE detergent used
  2. 2Too much HE detergent
  3. 3Detergent residue buildup in drum or dispenser
  4. 4Use of additives or fabric softener in excess
  5. 5Washing heavily soiled or greasy items

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 E:21

What does E:21 mean on a Whirlpool washer?
E:21 means the washer detected excessive foam inside the drum. The control board monitors suds levels and triggers this code when foam exceeds a safe threshold. It is not a mechanical failure but a signal that the wrong type or too much detergent is being used. The machine may pause or run extra rinse cycles to clear the suds before proceeding.
Is the E:21 error code dangerous or will it damage my washer?
The E:21 error is not dangerous and is unlikely to cause permanent damage if addressed promptly. The washer pauses or extends the cycle as a protective measure to prevent suds from overflowing or interfering with the pump and drain system. Repeatedly ignoring the error and continuing to overuse detergent could eventually cause soap deposits to clog the dispenser or internal hoses over time.
How much will it cost to fix an E:21 error on a Whirlpool washer?
In most cases, fixing E:21 costs nothing beyond switching to the correct detergent. HE detergent is widely available and typically costs between $8 and $20 per container. If a service technician is called out to diagnose the issue before the detergent cause is identified, expect to pay a diagnostic fee in the range of $75 to $150, though no parts replacement should be needed for a standard foam-related fault.
How do I fix the E:21 error on my Whirlpool washer?
Start by switching to an HE-formulated detergent if you are not already using one, and reduce the amount used per load. If the error persists, run a drum-cleaning cycle to remove detergent residue that may have built up inside the tub and dispenser. Avoid adding extra fabric softener or laundry boosters until the issue is resolved.
Will resetting my Whirlpool washer clear the E:21 code?
Resetting the washer may clear the code temporarily, but the error will return on the next cycle if the detergent issue is not corrected. The code is triggered by a real condition inside the drum, so the underlying cause must be addressed before a reset provides any lasting result. Correct the detergent type and quantity first, then restart the cycle.

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

Get Started

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