mypros+
Error code reference

Whirlpool Dryer Error Code d4

Upper motor feedback circuit is sensing voltage with the door open or when the motor should not be on; the control cannot determine if the relay is…

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 d4 error code actually means

Your Whirlpool dryer detected that part of the motor circuit still has power when it should not, such as when the door is open. The dryer's control board cannot tell on its own whether the problem is a stuck relay, a wiring short, or a sensor issue, so it displays d4 to alert you that something is wrong with the motor control system. This fault should be diagnosed by a technician before continuing to use the dryer.

Diagnostic procedure

The full d4 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
Confirm the fault
Power cycle the unit: switch off the breaker for 60 seconds, then restore power. If the code returns, the fault is persistent and the procedure below isolates the cause.
More steps, wiring diagram references, and verified part numbers
Includes expected resistance and voltage values, connector pinouts, and supersession notes for replacement parts.
Unlock d4 procedure $9.95

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

Most common causes of d4

Ranked by how often they cause this code
  1. 1Relay stuck closed on control board
  2. 2Shorted relay drive circuit
  3. 3Faulty relay feedback circuit
  4. 4Damaged wiring harness
  5. 5Failed 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 d4

What does d4 mean on a Whirlpool dryer?
The d4 code means the dryer's control board is detecting voltage in the upper motor feedback circuit when no voltage should be present, such as when the door is open or the motor is not running. The control cannot self-identify whether the cause is a relay stuck closed, a shorted relay drive circuit, or a faulty feedback circuit. All three possibilities produce the same d4 code, so hands-on testing is required to find the specific fault.
Is it safe to keep using my dryer with a d4 error?
A d4 code indicates the motor relay or its associated circuitry may be malfunctioning in a way that keeps the motor circuit energized unexpectedly. Continuing to operate the dryer with this fault present is not recommended, as an improperly controlled motor relay can pose safety concerns. The dryer should be taken out of service until the fault is diagnosed and corrected.
Will resetting my Whirlpool dryer clear the d4 error code?
Power cycling or resetting the dryer may temporarily clear the d4 code, but it will return if the underlying hardware fault is still present. Because d4 is triggered by a real electrical condition in the motor relay circuit, a reset does not fix the problem. Persistent or recurring d4 codes require component-level diagnosis to resolve.
Can I fix a d4 error on my Whirlpool dryer myself?
Diagnosing d4 requires testing relay function, drive circuitry, and feedback wiring, which involves working with the control board and live circuit measurements. Technicians with experience in board-level diagnostics can often isolate the fault to a relay or harness issue. Homeowners without electrical troubleshooting experience are better served by a qualified appliance repair technician for this particular code.
How much does it cost to repair a d4 error on a Whirlpool dryer?
Repair costs depend on the root cause identified during diagnosis. Wiring harness repairs may fall in the range of $75 to $150 including labor. Control board replacement, which is needed if the relay or drive circuitry on the board is the source, typically ranges from $150 to $350 or more depending on the specific board and labor rates in your area.

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

Get Started

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