Whirlpool Dishwasher 5-2 — What It Means & How to Fix It

Also shown as F5 E2 on some models.

By Callum Griffin · Researched and verified against manufacturer and repair documentation · Reviewed June 2026

The machine expected the door to be opened and closed between one cycle and the next, did not see it happen, and is refusing to start again — usually fixed in seconds by opening the door and shutting it.

What this code means

5-2 (F5 E2 on display models) appears when you try to start a new cycle without the control having registered the door opening since the last one. It is a deliberate check — the machine wants confirmation a person was there between runs — so it most often shows up when you start a second back-to-back wash. Only if opening the door does not clear it does the door switch come into question.

Mirror image of 5-1, which is about the door not being seen as closed. Here the control is waiting to see it open. Light-only models flash five, pause, two.

Most likely causes

CauseHow likelyDIY-fixable?
Starting a second cycle without opening the door in between Very common Yes — no tools
Door switch not registering the door opening Occasional Partly — reset and retest
Worn or misaligned latch blurring open/closed sensing Occasional Partly — inspect
Failed door switch or latch assembly Less common No — technician job

What you can try yourself

  1. Press Cancel, fully open the door, wait a second, then close it and start the cycle again — this alone clears most 5-2s.
  2. If it will not clear, cut power at the breaker for two minutes; restoring power can reset the between-cycles check.
  3. Open and close the door a couple of times deliberately, listening for a clean latch click each time, so the switch sees a clear open-then-shut.
  4. Check the latch and strike are not bent or gummed up, which can blur the switch's read of open versus closed.
  5. If the code returns on every start despite a genuine open-and-close, the door switch is not registering the motion — a technician's repair.

When to call a technician

Typical professional repair cost: Door latch/switch assembly replacement typically runs $120–$220 including labor.

Frequently asked questions

Why does my dishwasher want the door opened between cycles?

It is a built-in sanity check: the control expects a person to load or unload between runs, so it looks for the door to open at least once. Trying to run two cycles back-to-back without opening it trips 5-2 — opening and shutting the door satisfies the check.

I did open the door and still get 5-2 — now what?

Then the door switch may not be registering the motion. Try a two-minute power-off at the breaker, which resets the check, and open and close the door firmly a couple of times. If it still returns, the switch or latch assembly likely needs replacing.

Is 5-2 a serious fault?

Usually not — it is the most user-fixable code in the door family and often just a quirk of starting cycles back-to-back. It only becomes a real repair if the door switch has genuinely failed, which you will know because opening the door never clears it.

Related Whirlpool codes

More: all Whirlpool dishwasher codes · all Whirlpool codes · search by symptom