mypros+
Error code reference

KitchenAid Dishwasher Error Code 5-2

Door switch stuck closed

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

Your KitchenAid dishwasher thinks the door latch switch is stuck in the closed position, which is preventing it from starting a new cycle. This can happen simply because the door was never opened between back-to-back loads, or it can mean the door latch switch itself has failed. Try opening the door fully, closing it again, and pressing Start to see if the error clears.

Diagnostic procedure

The full 5-2 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
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.
More steps, wiring diagram references, and verified part numbers
Includes expected resistance and voltage values, connector pinouts, and supersession notes for replacement parts.
Unlock 5-2 procedure $9.95

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

Most common causes of 5-2

Ranked by how often they cause this code
  1. 1Door not opened between cycles
  2. 2Door switch contacts stuck closed
  3. 3Latch assembly mechanical failure
  4. 4Wiring or connector issue at the door switch

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 5-2

What does 5-2 mean on a KitchenAid dishwasher?
Error code 5-2 means the control board has detected that the door switch appears to be stuck in the closed position. The control is programmed to block the start of a new cycle when it suspects this condition. It can result from simply not opening the door between cycles, or from an actual failed door switch or latch assembly. Opening the door, closing it, and pressing Start is the first step to determine if the issue is operational or mechanical.
Will resetting the dishwasher clear the 5-2 error code?
A reset may temporarily clear the code, but if the underlying cause is a physically stuck door switch or damaged latch assembly, the error will return as soon as the dishwasher attempts to start. A reset is only a lasting fix if the original trigger was the operational issue of not opening the door between cycles. Always address the mechanical or electrical root cause before relying on a reset.
How much does it cost to repair a KitchenAid dishwasher door switch causing error 5-2?
If only the door switch needs replacement, parts typically cost in the range of $15 to $50 depending on the specific model. If the full latch assembly requires replacement, parts can range from $30 to $100 or more. Adding professional labor, total repair costs commonly fall between $100 and $250, though prices vary by region and service provider.
Can I fix error code 5-2 myself?
If the cause is just back-to-back cycles without opening the door, yes, you can resolve it yourself by opening the door and pressing Start/Resume. If the door switch or latch assembly has failed, a repair requires disconnecting power, accessing the switch, and measuring resistance across the contacts to confirm the fault before replacing components. Replacing a door switch or latch assembly is a moderate-difficulty repair that many experienced DIYers can complete.
Is it safe to use my KitchenAid dishwasher when it shows error code 5-2?
The dishwasher is designed to not start when this code is active, so it will not run a cycle in this state. This is actually a protective feature, since a malfunctioning door switch could affect the control's ability to reliably detect whether the door is properly secured. Resolve the error before attempting to operate the unit.

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

Get Started

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