Whirlpool Dishwasher Error Code 5-2
Door stuck closed
Door stuck closed - control detected door switch problem; control programmed to not start if it suspects the door switch is stuck closed. Control looks for the door switch to open between cycles.
First step from the service manual
1. Open and close door and then press Start/Resume key. If works now, instruct customer to open door between cycles. 2. Unplug dishwasher or disconnect power. 3. Measure resistance of door switch contacts while checking mechanical operation of latch assembly.
The complete diagnostic procedure includes additional test steps, resistance specifications, wiring diagram references, and component test points.
Get the full diagnostic procedure for 5-2.
- Step-by-step tests with expected resistance, voltage, and continuity values
- Wiring diagram references and connector pinouts from the OEM service manual
- Verified part numbers when replacement is required
$29/month · Cancel anytime · Or $9.95 3-day pass
What 5-2 means on a Whirlpool dishwasher
The 5-2 error code on a Whirlpool dishwasher indicates that the control board has detected the door switch is stuck in the closed position. The control board monitors the door switch to confirm the door is opened between wash cycles. If it never sees the switch transition to the open state, it logs this fault and prevents the next cycle from starting as a precautionary measure. This logic exists because a door switch that never opens could indicate a mechanical or electrical fault that might otherwise go undetected.
The door switch is part of the latch assembly and serves a critical safety function: it signals to the control board whether the door is open or closed. When the latch is engaged, the switch contacts close; when the door is opened, those contacts should open. If the contacts are welded together, mechanically jammed, or shorted due to wiring damage, the control board never sees the open-state signal. A failed switch that reads closed continuously will trigger this code every time the dishwasher tries to verify door status.
Diagnosis begins with a simple operational check: open and close the door, then press Start/Resume to see if normal operation resumes. If the code clears, the fix may be as simple as reminding the user to open the door between cycles. If the code persists, disconnect power and use a multimeter to measure resistance across the door switch contacts while manually operating the latch. The switch should show near-zero resistance when closed and open circuit when released. Any reading that fails to change indicates a defective switch or latch assembly.
Source: manufacturer service documentation.
Common causes of 5-2
- 01
Dishwasher not opened between cycles
Wiring / connectionIf the door was never opened after the last completed cycle, the control board never detected the switch transitioning to the open state and logged the fault. Opening the door and pressing Start/Resume often clears this immediately.
- 02
Failed door switch with welded or stuck contacts
Part replacementThe switch contacts can weld closed due to electrical arcing or wear, causing the switch to always read as closed regardless of door position. Resistance measurement across the switch contacts will show near-zero ohms even when the latch is released.
- 03
Faulty or misaligned latch assembly
Part replacementA bent, worn, or misaligned latch can prevent the switch actuator from physically releasing the contacts when the door opens. Inspect the latch mechanism for visible damage, misalignment, or debris blocking movement.
- 04
Wiring short between door switch and control board
Part replacementDamaged wiring in the door hinge area can short the switch signal wires together, making the control board see a constantly closed switch regardless of actual door position. Check the wire harness routing through the door hinge for pinching or insulation wear.
- 05
Control board fault
Part replacementIn rare cases, the control board itself may incorrectly interpret the door switch signal even when the switch and wiring test correctly. This is typically only considered after the switch, latch, and wiring have been confirmed to be functioning properly.
Frequently asked questions about 5-2
What does 5-2 mean on a Whirlpool dishwasher?
How do I fix the 5-2 error on my Whirlpool dishwasher?
Is it safe to use my dishwasher while it shows error code 5-2?
Will resetting my Whirlpool dishwasher clear the 5-2 error code?
How much does it cost to repair a Whirlpool dishwasher with error code 5-2?
78,000+ service manuals · 160,000+ error codes · 55+ brands
Get Started$29/month · Cancel anytime · Or $9.95 3-day pass