mypros+
Error code reference

Maytag Range Error Code 9d31

Latch state unknown

Latch state unknown – both locked and unlocked switches closed simultaneously; disables Clean and Lockout functions (requires power-on reset).

First step from the service manual

Check autolatch assembly and both lock/unlock switches; LOCK flashes on display.

The complete diagnostic procedure includes additional test steps, resistance specifications, wiring diagram references, and component test points.

MyPros+ Max

Get the full diagnostic procedure for 9d31.

  • 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
Get the full procedure

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

What 9d31 means on a Maytag range

Error code 9d31 indicates the control board has detected a conflict in the door latch assembly on the upper or single oven cavity. Specifically, both the lock switch and the unlock switch are reading as closed at the same time. These two switches are designed to be mutually exclusive, meaning only one should be active at any given moment depending on the latch position. When both report a closed state simultaneously, the control board flags this as a fault condition because the latch position is physically ambiguous.

For homeowners, here is what this means in practical terms: your oven door latch has a small assembly with two switches that tell the oven's brain whether the door is locked or unlocked. Under normal operation, only one of those switches is active at a time. When both switches send a 'closed' signal simultaneously, the oven cannot determine the actual state of the door, so it stops operation and displays this code. This most commonly happens due to a damaged or shorted wiring harness, a failed latch switch, or debris interfering with the latch mechanism.

A Power On Reset, performed by unplugging the range or shutting off the circuit breaker for one to two minutes, is the recommended first step. If the code returns after power is restored, the latch switches and their wiring harness connections need physical inspection and testing with a multimeter.

Source: manufacturer service documentation.

Common causes of 9d31

  1. 01

    Shorted or damaged wiring harness to door latch switches

    Part replacement

    A short circuit in the wiring harness connecting the door latch switches to the control board can cause both switches to read as closed simultaneously. This is frequently caused by wires rubbing against the oven frame during repeated door cycles, melting from heat exposure, or pinched insulation.

  2. 02

    Failed door latch switch (lock or unlock switch internally shorted)

    Part replacement

    One or both of the individual switches within the door latch assembly can fail internally, causing them to report a closed state regardless of the actual latch position. When the faulty switch outputs a closed signal while the opposing switch is legitimately closed, the control board receives both signals at once and triggers 9d31.

  3. 03

    Door latch mechanism physically stuck or obstructed

    Wiring / connection

    If the latch mechanism is partially engaged due to debris, food residue, or mechanical binding, it can hold both switches in a closed state at the same time. Inspecting and cleaning the latch assembly may resolve this without replacing parts.

  4. 04

    Faulty electronic control board

    Part replacement

    If the wiring harness and both latch switches test correctly with a multimeter but the error code persists, the control board itself may be misreading the switch inputs due to an internal component failure. This is the least common cause and should only be considered after all other components have been verified.

See the test procedure for each cause

Frequently asked questions about 9d31

What does error code 9d31 mean on a Maytag range?
Error code 9d31 means the control board detected that both the lock switch and the unlock switch on the upper or single oven door latch are closed at the same time. These two switches should never be closed simultaneously, so the control board flags it as a fault. The most likely causes are a shorted wiring harness, a failed latch switch, or a jammed latch mechanism.
How do I fix error code 9d31 on my Maytag range?
Start with a Power On Reset by unplugging the range or switching off the circuit breaker for one to two minutes, then restoring power. If 9d31 returns, inspect the door latch assembly and the wiring harness running to the lock and unlock switches for visible damage, pinched wires, or debris. Use a multimeter to test each switch for proper continuity relative to latch position. If a switch or harness segment is faulty, replace the affected part. If all components test correctly, the control board may need replacement.
Is it safe to use my Maytag range with error code 9d31 active?
You should not use the oven with code 9d31 active. Because the control board cannot confirm the actual state of the door latch, it cannot safely manage self-clean cycles or verify the door is properly secured. Surface burners on a gas or electric range may still function, but operating the oven cavity in this condition is not advisable until the latch fault is resolved.
How much does it cost to fix error code 9d31 on a Maytag oven?
If the fix is a Power On Reset, the cost is nothing. Replacing a door latch switch assembly typically costs between $30 and $80 for the part, and it is a repair many homeowners can complete with basic tools and a multimeter. A replacement wiring harness runs roughly $20 to $60. If the control board is the root cause, expect parts costs of $150 to $350 or more depending on the model, which makes professional diagnosis worthwhile before purchasing that component.
Can a stuck or dirty door latch cause the 9d31 error code?
Yes. If the door latch mechanism is physically obstructed by food debris or is mechanically bound in a mid-travel position, it can simultaneously trigger both the lock switch and the unlock switch. Cleaning the latch area thoroughly and manually cycling the latch to verify it moves freely is a worthwhile step before replacing any electrical components.

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

Get Started

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