mypros+
Error code reference

Maytag 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 Maytag dishwasher has detected that the door latch switch is acting like the door is always closed, even when you open it. The dishwasher will not start because it is confused about the door's real position. Try opening and closing the door firmly and pressing Start to see if that clears the issue.

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. Instruct customer. 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. 1Stuck or welded door switch contacts
  2. 2Mechanical binding in the latch assembly
  3. 3Door not fully opened between cycles
  4. 4Faulty door switch
  5. 5Control board misreading the switch signal

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 Maytag dishwasher?
Error code 5-2 means the control board has detected the door switch appearing to be stuck in the closed position. The control monitors the door switch between cycles and expects to see it open when the door is opened. If that transition never occurs, the dishwasher locks out and displays 5-2 to prevent unsafe operation.
Is it safe to use my Maytag dishwasher when it shows error code 5-2?
The dishwasher is designed to refuse starting when it detects this condition, so it will not run a cycle while the error is active. This is a protective measure, not a sign of immediate danger. Do not attempt to bypass the door switch, as the switch is part of the safety interlock system.
How much does it cost to repair error code 5-2 on a Maytag dishwasher?
If only the door switch needs replacement, parts typically run in the range of $15 to $50 depending on the model, and the repair is relatively straightforward. If the full latch assembly requires replacement, parts costs generally range from $30 to $80. Adding professional labor will bring total repair costs to roughly $100 to $200 depending on your location and the technician's rates.
Can I fix error code 5-2 myself?
The first step is something any homeowner can try: open the door fully, close it firmly, and press Start/Resume. If the code persists, the repair moves into testing the door switch resistance with a multimeter and inspecting the latch assembly, which is within reach of a confident DIYer comfortable working with electrical components after disconnecting power.
Will resetting my Maytag dishwasher clear error code 5-2?
Simply resetting or unplugging the dishwasher is unlikely to permanently clear code 5-2 because the control will re-detect the stuck switch condition as soon as it checks the door switch state again. The underlying cause, whether a failed switch, binding latch, or wiring issue, needs to be corrected for the error to stay cleared.

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

Get Started

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