mypros+
Error code reference

Whirlpool Dryer Error Code d21

Lower motor sensed running when it should be off; check for line noise or wiring harness problems; cycles disabled on lower dryer until manually…

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 dryer detected that the lower dryer's motor appeared to be running even though the dryer was supposed to be off, which caused the control system to shut down the lower dryer as a precaution. This is often caused by electrical interference or a loose wire rather than a broken motor. The dryer will not restart on its own and needs to be manually reset after the problem is found and corrected.

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 for line noise or wiring harness problems.
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. 1Electrical Line Noise
  2. 2Loose or Damaged Wiring Harness Connector
  3. 3Chafed or Shorted Wiring
  4. 4Faulty Motor Feedback Signal
  5. 5Defective Control Board

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 dryer?
The d21 code means the control board detected the lower motor running when it should have been off. This triggers an automatic shutdown of all cycles on the lower dryer unit as a safety measure. The fault is typically caused by electrical line noise or a problem in the wiring harness connecting the motor to the control board. The dryer will not resume operation until the code is manually cleared after the underlying issue is resolved.
Is it safe to use my dryer when d21 is displayed?
The d21 code automatically disables cycles on the lower dryer, so the appliance will not run in its normal operating mode while the fault is active. You should not attempt to bypass or override this lockout. Continuing to use the unit without addressing the root cause of the erroneous motor signal could point to a wiring problem that poses a potential risk if left uninspected.
How much does it cost to repair a d21 error on a Whirlpool dryer?
Repair costs vary depending on the root cause. If the fix involves reseating a connector or addressing grounding issues, costs may be limited to a service call fee, typically in the range of $75 to $150. If a wiring harness replacement is needed, parts and labor could bring the total to $150 to $300. A control board replacement, if required, is generally the most expensive repair, often ranging from $200 to $400 or more depending on the model and labor rates in your area.
Can I fix a d21 error myself?
Some causes of d21 are DIY-friendly, particularly checking for loose harness connectors, inspecting wiring for visible damage, and verifying the dryer is properly grounded. If the fault is caused by line noise, ensuring the dryer is on a dedicated, properly grounded circuit may resolve it without any parts. However, if the wiring harness needs replacement or the control board is faulty, a qualified technician is recommended to handle the repair safely.
Will resetting the power clear the d21 code on a Whirlpool dryer?
No, d21 is designed to require a manual reset and does not clear automatically when power is cycled. This is intentional, as the control system is designed to keep the lower dryer disabled until a technician has inspected and addressed the motor circuit fault. Simply unplugging and replugging the dryer will not restore normal operation.

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

Get Started

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