Straight to it
This code says the oven door latch assembly or the door switch and the wiring between them never confirmed the position the control drove it to. You can use it once the code clears, but nothing that needs the door proven shut will run while it stands.
The code table for this reading
Reference| Code | Documented meaning |
|---|---|
| 9d31 | There may be a problem with the Oven Door Latch Assembly, the Door Switch, or the associated wiring. |
What an owner observes
- The cycle refuses to start with the door visibly shut — Visibly shut and electrically shut are different things, and only the second one counts.
- The code arrives at the end of a cycle rather than the start — A lock that releases badly reports the same disagreement as one that engages badly.
- NEAR MISS - the door is locked and the display is dark — A dark display with a locked door is a power fault, and the release for it is a different procedure.
The likely causes in order
- Something in the way of the door or the strike — Ranked first because it needs no tools: a packed load, a rack proud of its rail or a bent strike stops the door short of the position the switch reports.
- The lock motor or its cam — Third: a motor that stalls part-way leaves the cam short of the switch, which reads from the control's side as a switch that never closed.
What to check first, second and third
- Open the door and look along the strike and the seal — Free, and it finds the obstruction that causes most of these.
- Shut the door firmly and watch whether the lock completes its travel — Listening tells you whether the motor is running at all.
What to try before calling
- Clear the door line and try again — Move the load back from the opening, push each rack fully home, and shut the door in one firm movement.
About 5 min
- Test the door seal with a strip of paper at each corner — Even resistance all round means the door is meeting the seal.
About 10 min
- STOP HERE if the lock assembly has to come out — Leave the door switch and its wiring exactly as the manufacturer fitted them: they are what keeps the machine from running with the door open.
Where the risk actually is
Safety
Before any panel comes off: unplug the appliance or switch off its breaker, because a capacitor can hold a charge after the power is off. Nothing on this page asks you to work on a live circuit, and nothing on it asks you to alter a switch or an interlock - those are what keep the appliance safe when it is running.
When this is a service call
The line is straightforward. Call when the door still will not lock with a clear opening, or when the code returns after a power-down: a lock motor and its switch are a single service assembly on most of these machines. Separately and more urgently: call before using it if the door can be opened while a cycle is running.
Other codes on the same appliance
What this page does not cover
This reading is written for the model lines that lock the door under control rather than by hand, and it stays with the code in its title. What is deliberately not here: the resistance tables, wiring colours and part numbers that differ between model lines, all of which belong to the service documentation for a specific unit rather than to a page about a code. If a page exists for your exact family or model, that page is the more specific answer and it should be read first; the code index linked below is where those pages are listed.
The code index and nearby reading
Lead Appliance Repair Technician · 12 years experience
Experienced technician with 12 years specializing in washing machine and dryer repairs across all major brands.