What This Error Means

F21 on a GE oven means door lock / latch fault.

The control can’t tell if the door is really locked or unlocked (often right after a self-clean), so it shuts the heat off and flashes F21 for safety.

Official Fix

Here’s what GE wants you to do before anyone grabs a screwdriver:

  • Press Clear/Off to cancel whatever the oven was doing and see if F21 clears.
  • Check the door. Make sure it’s fully closed, not hung up on a rack, and that the latch hook at the top isn’t bent or blocked.
  • Do a power reset:
    • Flip the range/oven breaker OFF for at least 1 minute.
    • Turn it back ON and wait 30 seconds for the control to boot.
    • If F21 is gone, run a short Bake cycle and watch it.
  • If F21 pops back up immediately or as soon as the latch tries to move, GE’s manual says: stop using the oven and schedule service.
  • For the tech, the official flow is:
    • Kill power at the breaker.
    • Pull the oven out or open the back panel.
    • Check the door lock motor and switches for proper resistance/continuity.
    • Inspect the wiring harness and connectors between the lock and the control board.
    • Replace the door lock assembly if it’s open, shorted, or jammed.
    • If the lock hardware checks good but F21 stays, replace the main control board.

Reminder: this is a 240V appliance. If you’re pulling it out of the wall or opening metal panels, shut the breaker off first.

The Technician’s Trick

What I try before ordering parts, because it fixes a lot of F21 calls fast:

  • Do a real power drain, not just a quick flip.
    Kill the breaker for 10–15 minutes. This lets the control board discharge fully. Turn it back on, wait a minute, and test Bake. If F21 was just a glitched latch reading, it’ll usually stay gone.
  • Re-seat the lock wiring. (Breaker OFF.)
    Pull the oven enough to reach the back or top panel. Find the door lock motor assembly and follow its wires up to the control board. Unplug and firmly re-plug those connectors. A loose plug or half-melted connector will throw F21 long before the motor actually dies.
  • Check for a physically jammed latch from the front.
    With power OFF and the door open, look at the latch hook at the top of the opening. If it’s stuck halfway, lightly work it back and forth by hand. You’re just freeing crud or a tiny bend, not bending it like a crowbar. Once it moves freely, restore power and try a normal Bake (skip self-clean for now).
  • Retire self-clean if it triggered this.
    If F21 showed up right after a self-clean but the oven still bakes fine after a reset, do yourself a favor: stop running self-clean. It bakes the lock and wiring every time and is a common starter for F-codes.

If any step makes the latch buzz, grind, or the code comes back fast, you’re past tricks. Time for parts.

Is It Worth Fixing? (The Financial Verdict)

  • **✅ Fix**: Oven under ~10–12 years old, everything else works, and you only need a door lock assembly (typically cheaper than a new range by a long shot), especially for a built-in wall oven or high-end GE Profile/Café model.
  • **⚠️ Debatable**: Oven 10–15 years old or a basic freestanding range that needs both a lock assembly and a main control board; add up parts + possible labor and compare to a new mid-range unit.
  • **❌ Replace**: Oven 15+ years old, badly rusted, multiple issues (burners, display, temp problems) or quoted repair parts are over ~50% of the price of a new comparable oven.

Parts You Might Need

As an Amazon Associate we earn from qualifying purchases.

See also

F-codes showing up on more than just your oven? These breakdowns might save you another service call: