The short answer
A Maytag oven showing 4d51 has flagged the door latch and switch. The table below carries the manufacturer wording for it, and the ranked causes under that put the likely ones first. Leave the function that needs the door locked alone until the latch works.
The documented code and its meaning
Reference| Code | Meaning |
|---|---|
| 4d51 | There may be a problem with the Oven Door Latch Assembly, the Door Switch, or the associated wiring. |
What you actually observe
- The door will not lock when the cycle asks it to — You can usually hear the attempt and hear it stop short.
- The oven refuses to start with the door apparently shut — The control is being told the door is open.
- The latch releases eventually but takes far longer than it used to — A mechanism slowing down is one that will shortly stop.
- NEAR MISS — the door closes and locks normally and the code still shows — Then the switch is reporting incorrectly and the mechanism is fine.
Causes, most likely first on this oven
- A latch motor or cam not completing its travel — The switch closes only at the very end of the stroke, so a latch that stops just short reports as one that never arrived at all.
- A door switch that no longer changes state — These contacts stick closed as readily as they fail open, which lets the control believe a door is shut when it is standing open.
- The door and the frame out of alignment — A door that has dropped or a strike that has shifted stops the latch reaching its seat, and nothing electrical is wrong at all.
- The wiring between the latch assembly and the control — On many designs the loom crosses the hinge line, which is the one part of the appliance that flexes every single day.
Check in this order, and why
- Work the door slowly and listen to the latch — A latch that hesitates or buzzes is telling you the answer before any panel comes off.
- Check that the door sits square against the frame all the way round — An even gap all the way round rules out the mechanical half of this family for nothing.
- Look for anything trapped in the latch path — Foil, a rack, packaging or a dropped screw in the latch path is a routine finding.
- Leave the latch assembly itself until the alignment is confirmed — Put a latch on a door that is out of line and the code is back the same afternoon.
What an owner can safely check
- Take the power off, then work the door by hand and watch the latch — This is a mechanical look, not an electrical one: watch whether the latch reaches its seat cleanly.
Tools: flashlightAbout 8 min
- Clear anything trapped around the latch or the strike plate — Baked-on spill around the strike is enough on its own to stop the last few millimetres of travel.
Tools: soft clothAbout 10 min
- Power the unit back up and try one short cycle with the door closed firmly — If a deliberate firm close clears it, the fault is alignment and not electronics.
About 5 min
Before anything is opened
Safety
Isolate first. Unplug the appliance or switch off its breaker before removing any panel, because a capacitor can hold a charge after the power is off. A built-in oven is normally hard-wired, so the breaker is the isolation point rather than a plug. The cavity and the door glass stay hot for a long time after a bake cycle ends. Nothing on the door circuit should be re-routed or held closed. It interrupts power by design.
When this stops being an owner job
Get it looked at if the latch does not complete its travel, or the code stays after the door path is clear. At that point the next step is a meter or a panel off, and a wall oven has to be unseated from its cabinet before the rear connections are reachable. Whatever the timing above, a burning smell, visible scorching or a tripping breaker means the appliance goes off at the breaker and the call goes in today.
Nearest error-code pages
What this page does not cover
The 4d51 reading set out here is the shared-platform one for Maytag oven models, not a single-model one. It does not cover older generations that reuse the same characters for something else, and it deliberately carries no wiring colours, no connector pin numbers, no torque figures and no part numbers, because every one of those differs by family. Where a page exists for your specific family or model, that page is the more specific answer and it is the one to follow; the code index linked below is where those pages are listed.
Other Maytag oven codes
Lead Appliance Repair Technician · 12 years experience
Experienced technician with 12 years specializing in washing machine and dryer repairs across all major brands.