Whirlpool Oven 9d31 Error Code
Possible problem with the oven door latch assembly, the door switch, or the associated wiring.
Also shown on Maytag and KitchenAid and Amana and Jenn-Air ovens.
Also used on Kenmore models built by Whirlpool (model numbers starting 154. or 664. or 665. or 666.).
Applies to: Ranges and wall ovens (Whirlpool family).
What's going on
Error code 9d31 on a Whirlpool, Maytag, KitchenAid, Amana, or Jenn-Air oven points to a possible problem with the door latch assembly, the door switch, or the wiring between them. The oven's control can't confirm whether the door is closed or locked, so it may stop or refuse certain functions like self-clean. A few simple checks are safe to try, but the actual repair needs a qualified appliance technician.
Your oven uses a door switch and a latch assembly to tell the control board whether the door is shut and, during self-clean, whether it is locked. The control watches these signals before and during cooking and cleaning.
If the signal from the latch or switch doesn't make sense, such as the latch reporting locked when it shouldn't, the control shows 9d31. This matters because the oven locks the door during self-clean to keep you away from very high heat. If the oven can't trust the lock signal, it may shut down that cycle to stay safe.
This code applies to ranges and wall ovens from the Whirlpool family of brands. Codes can mean different things on different model generations, so confirm with your model number, usually found on a label around the door frame or behind the storage drawer.
Likely causes
- Oven Door Latch Assembly — The latch has a small motor and switches that move and report the lock position. If the motor sticks or a switch inside wears out, the control gets the wrong lock status.
- Door Switch — This switch tells the control whether the door is open or closed. A worn or stuck switch can send a false signal and trigger the code.
- associated wiring — Wires and connectors near the latch and switch sit close to heat and can loosen, burn, or break over time. A bad connection can make the signal drop out or look wrong.
The same code can mean different things on different model generations. Check the model number on your oven's rating plate before ordering parts.
Can you fix it yourself?
Not a DIY repair. This one needs a technician with the right tools and parts.
Safe things to check first
- Power-cycle the oven: turn off its breaker for about one minute, then turn it back on and see if the code clears.
- Open and close the door firmly and look for anything keeping it from shutting fully, such as a bent rack, foil, or a pan handle.
- Look around the door edge and frame for food buildup or debris near the latch area, and gently wipe away anything obvious with the oven off and cool.
- If the code showed up during or right after self-clean, let the oven cool completely before trying again, since the latch may not release until it is cool.
When to call a technician
If the code comes back after a power-cycle, or the door stays locked or won't lock, call a qualified appliance technician. Fixing the latch, switch, or wiring means taking off panels and testing electrical parts, which is not a job for homeowners.
What the manufacturer suggests
From Whirlpool's help page for 9d31, summarized. Steps can differ by model, so check the original page for yours.
Turn off the circuit breaker(s) for one minute, then turn them back on. Monitor the oven for one minute to ensure the code does not return. Verify oven operation.
Unplug the appliance or switch off its breaker before any check. If a video shows removing panels or parts and you're not comfortable doing that, stop and call a qualified appliance technician.
Read Whirlpool's help page → FixBridge is independent and not affiliated with Whirlpool.
What the repair usually costs
This is not a quote. Prices vary by region and by model. About this repair cost →
Repair or replace?
Repair usually makes sense. Even the high end of this repair stays under $480, about half the price of a typical new oven.
A typical new oven costs about $600–$1,300. Check with your own quote and age → What to check before buying a new one →
Answer a few questions to see the likely cause and cost for your oven.
Check your oven — free, 2 minutesCommon questions
- What does 9d31 mean on a Whirlpool / Maytag / KitchenAid / Amana / Jenn-Air oven?
- 9d31 means: Possible problem with the oven door latch assembly, the door switch, or the associated wiring.. The most likely parts involved are Oven Door Latch Assembly, Door Switch, associated wiring.
- How much does it cost to fix 9d31?
- A typical door / door lock repair costs about $100–$250 nationally, parts and labor included. This is a reference range, not a quote — local prices vary.
- Should I repair or replace my oven?
- Repair usually makes sense. Even the high end of this repair stays under $480, about half the price of a typical new oven.
- Can I fix 9d31 myself?
- Not a DIY repair. This one needs a technician with the right tools and parts.
- Can I still use my oven with code 9d31?
- Sometimes regular baking still works, but self-clean and other features may be blocked. If the code keeps showing or the door won't unlock, turn off the breaker and leave the repair to a technician.
- My oven door is stuck locked with code 9d31. How do I open it?
- First let the oven cool fully, then turn off the breaker for a minute and turn it back on, which may release the lock. Don't force the door or pry the latch, because that can damage it. If it stays locked, call a qualified appliance technician.
Other Whirlpool oven codes
- 1c31There may be a problem with the oven control or the associated wiring.
- 1d11Possible problem with the oven temperature sensor, the control, or the associated wiring.
- 4d11Possible problem with the oven door latch assembly, door switch, or associated wiring.
- 9d51Possible problem with the oven door latch assembly, door switch, or associated wiring.
- F0 E0Electronic oven control cannot recognize what type of problem has occurred; possible issue with oven control system component, electronic control, or wiring.
- F1-APossible problem with the oven door latch, door lock switch, or associated wiring.
Sources
- producthelp.whirlpool.com/Cooking/Wall_Ovens_and_Ranges/Ranges/Error_Codes/Starts_with_a_Number_(1%2C_3%2C_4%2C_or_9)/Starts_with_9d/9d31_-_Error_Code_-_Range
- producthelp.whirlpool.com/Cooking/Wall_Ovens_and_Ranges/Wall_Ovens_new/Error_Code_or_Message/Starts_with_9d/9d31_-_Wall_Oven
- producthelp.maytag.com/Cooking/Wall_Ovens_and_Ranges/Ranges/Error_Codes/Starts_with_a_Number_(1%2C_3%2C_4%2C_or_9)/Starts_with_9d/9d31_-_Error_Code_-_Range
- producthelp.maytag.com/Cooking/Wall_Ovens_and_Ranges/Wall_Ovens_new/Error_Code_or_Message/Starts_with_9d/9d31_-_Wall_Oven
- producthelp.kitchenaid.com/Cooking/Wall_Ovens_and_Ranges/Ranges/Error_Codes/Starts_with_a_Number_(1%2C_3%2C_4%2C_or_9)/Starts_with_9d/9d31_-_Error_Code_-_Range
- producthelp.kitchenaid.com/Cooking/Wall_Ovens_and_Ranges/Wall_Ovens_new/Error_Code_or_Message/Starts_with_9d/9d31_-_Wall_Oven
- searspartsdirect.com/diy/error-codes/range-repair/1234574/kenmore-665-model-freestanding-range/0582
- fixr.com/costs/oven-repair
- homeguide.com/costs/oven-repair-cost
- homeguide.com/costs/appliances-prices