(813) 565-3059 Book a Repair
Whirlpool microwave error code

Whirlpool Microwave Code 9d31: Door Latch and Switch Circuit

9d31 on a Whirlpool built-in microwave or drawer means the control is not getting a correct door signal. The latch, the door switch or the wiring between them could be the source.

Needs attention soonChecked November 2026

What does Whirlpool microwave code 9d31 mean?

Built-in Whirlpool microwaves and microwave drawers, including model WMC50522AS, can display 9d31 when the door-sensing circuit does not report what the control expects. Three things sit in that circuit: the latch assembly, the door switch, and the harness that ties them to the control. The code describes the circuit as a whole, so it does not single out one part. Expect the code in the display and possibly no heating at all.

9d31 at a glance

Code
9d31
Appliance
Whirlpool microwave
Applies to
Whirlpool built-in microwaves and drawers, model WMC50522AS
Type
Needs attention soon
Can you clear it yourself?
Sometimes, after the safe checks below
Most likely cause
Latch assembly sending a door position the control does not expect

What you may notice with 9d31

  • 9d31 appears in the display of the built-in microwave or drawer.
  • The oven does not heat, or the cycle never gets going.
  • The door may look and feel normal while the code stays on screen.

How the microwave detects 9d31

A microwave will not send energy into the cavity unless it knows the door is shut. To learn that, the control reads a signal that passes through the door switch, which the latch assembly moves when the door seats. Wiring carries that signal back to the control.

On a Whirlpool built-in, 9d31 is the control saying the signal it received does not add up. It cannot tell whether the latch moved wrongly, the switch failed to make contact, or a connector near the door lost its grip. So it keeps the oven idle and shows the code rather than heat with the door state unknown.

Likely causes of 9d31

  • Latch assembly sending a door position the control does not expect
  • Door switch that is not making contact when the door closes
  • Loose harness connector near the door latch

Can you keep using the microwave with 9d31?

If one breaker reset clears 9d31 and the oven heats normally, you can carry on cooking while you watch for a repeat. If the code returns, the door feels loose, or you notice a burning smell, stop using the microwave and switch off its breaker. A door circuit that cannot confirm a closed door should not be trusted to run, so leave it off until it has been tested.

What you can safely check

  1. Stop whatever the oven is doing and take the dish out; if the microwave smells scorched or throws sparks, flip its breaker off and leave the door shut.
  2. Swing the door open once and shut it again, noticing any drag or stickiness in the latch.
  3. Cut power at the breaker for a minute, then restore it.
  4. Let the display sit for a minute and see whether 9d31 reappears.
  5. Heat a cup of water briefly. A returning code, or no heat, is the point to call us.

What our technician does for 9d31

  • Test the door switch for clean contact as the door opens and closes
  • Check how the latch assembly engages with the door
  • Inspect the harness and connectors between the latch, switch and control

How to keep 9d31 from coming back

  • Close the door with a normal push instead of letting it slam or swinging it shut with full hands.
  • Keep trays, bags and towels away from the latch openings so the door seats square every time.

Technical reference

Code
9d31
Appliance
Whirlpool microwave
Control family
Whirlpool built-in microwaves and drawers, model WMC50522AS
Checked
November 2026

Code meanings come from the maker’s documentation and our own repair work; we do not reprint the maker’s document. Confirm the full model number before acting on a code. We are an independent repair company, not affiliated with Whirlpool Corporation.

FAQ

9d31 questions

Does 9d31 mean the door switch has failed?

Not by itself. The code points to the whole door circuit, so a worn switch is only one possibility. A latch that moves wrongly or a loose connector can produce the same message.

Why would a microwave stop heating when 9d31 shows?

The control refuses to run the cooking energy until it receives a clean closed-door signal. With that signal missing or wrong, it holds the oven idle on purpose.

Can I get around 9d31 by holding the door shut with my hand?

No. Pressing the door does not repair the circuit, and working around a door signal is unsafe. The oven has to read a proper closed-door signal on its own before it heats.

Is 9d31 the same as a broken door?

Not necessarily. The code describes the electrical door circuit, and the door panel itself may be perfectly sound. A worn switch or a loose connector can trigger it just as well as a damaged latch, so the circuit gets tested rather than the door replaced.

Will 9d31 go away by itself?

It can disappear after a power reset if the cause was a one-time glitch. If a contact is marginal, the code can return later without warning. Note when it comes back, because that pattern helps narrow down which part is involved.

Need help with 9d31?

We trace the cause in your home first and write the price down before any part is swapped.

Call Book a Repair
Call (813) 565-3059 Book a Repair