Oven error code troubleshooting

Samsung Oven C-21 Code

Direct answer: A Samsung oven C-21 code usually means the oven thinks it is overheating or it is not cooling itself properly after use. The first things to check are whether the oven is still hot from a recent cycle, whether the cooling fan is running, and whether the vent area is blocked.

Most likely: The most common real-world cause is a cooling problem: the oven cooling fan is not running, is running weak, or the vent path is blocked with grease, foil, or debris. A bad oven temperature sensor is the next likely part failure if the oven is not actually overheating.

Treat this one like an overheating warning, not just a random code. If the oven was just used hard on bake, broil, or self-clean, give it time to cool and see whether the code clears. If it comes back on a cool oven, or the fan never ramps up, you are usually looking at a cooling fan or oven temperature sensor issue. Reality check: some ovens keep the cooling fan running well after cooking, and that is normal. Common wrong move: killing power over and over without checking whether the fan ever runs.

Don’t start with: Do not start by ordering an oven control board. Controls can set this code, but fan and temperature-sensing problems are more common and easier to confirm.

If the oven is still hotLet it cool fully with the door closed, then restore power and retest.
If the oven is cool but the code returns fastListen for the cooling fan and move to the fan and sensor checks before blaming the control.
Last reviewed: 2026-04-17

What the C-21 code looks like in the field

Code appears right after cooking

The oven was recently hot, the cabinet area feels warm, and the fan may still be running.

Start here: Start with a full cool-down and a power reset after the oven reaches room temperature.

Code appears on a cold oven

The oven has not been used recently, but the code shows up soon after power-up or when preheating starts.

Start here: Start with the cooling fan check and then the oven temperature sensor branch.

Fan noise is missing or weak

You do not hear the usual airflow from the vent area, or the fan sounds rough, slow, or intermittent.

Start here: Focus on blocked airflow or a failing oven cooling fan motor.

Code started after self-clean

The oven may have overheated during a high-heat cycle, and the code now returns even after cooling.

Start here: Let it cool completely first, then check for a damaged oven temperature sensor or a cooling fan that no longer runs properly.

Most likely causes

1. Oven cooling fan not running or running weak

This code often shows up when heat builds up around the oven cavity and controls because the cooling fan is not moving enough air.

Quick check: Start a bake cycle on a cool oven and listen near the vent area for the cooling fan within the first several minutes.

2. Blocked oven vent or restricted airflow

Foil, grease buildup, stored pans, or debris around the vent can trap heat and make the oven read as overheated.

Quick check: Check the vent openings and the area around the control panel or door trim for anything blocking airflow.

3. Bad oven temperature sensor

If the oven is not actually too hot but the code returns on a cool unit, the sensor may be reading high or erratic.

Quick check: Notice whether the oven temperature seems obviously wrong, such as shutting down early or showing the code before it gets hot.

4. Oven control problem after a true overheat event

A control can misread temperature or fail to drive the cooling fan correctly, especially after repeated overheating.

Quick check: Only suspect this after the fan and sensor checks do not fit, because control replacement is higher cost and less certain.

Step-by-step fix

Step 1: Let the oven cool completely, then reset power once

A real overheat event can leave the code active until the oven and control area cool down. You want to separate a one-time hot soak from a repeat fault.

  1. Turn the oven off.
  2. If it was recently used, leave the door closed and let it cool all the way to room temperature.
  3. Shut power off at the breaker for about 5 minutes, then restore power.
  4. Start a normal bake cycle, not self-clean or broil, and watch for when the code returns.

Next move: If the code stays gone and the oven heats normally, the oven likely tripped the warning from a recent high-heat cycle or poor airflow that has now cleared. If the code comes back quickly on a cool oven, move on to airflow and fan checks.

What to conclude: A code that clears after a full cool-down points more toward a real heat buildup event than an immediate electronic failure.

Stop if:
  • The oven smells burnt or electrical when power is restored.
  • The breaker trips again.
  • The display is dead or erratic along with the code.

Step 2: Check the vent area and anything trapping heat

Restricted airflow is common, easy to miss, and can make a good oven act like it is overheating.

  1. Look at the oven vent area and remove any foil, liners, crumbs, grease buildup, or cookware blocking airflow.
  2. Make sure towels, cutting boards, or stored pans are not covering the vent or crowding the control area.
  3. If the vent trim is greasy, clean only the accessible surfaces with a soft cloth, warm water, and mild soap, then dry them.
  4. Run the oven again and see whether airflow from the vent feels stronger and the code stays away.

Next move: If the code stops after clearing the vent area, trapped heat was likely the trigger. If airflow still seems weak or absent, the cooling fan becomes the main suspect.

What to conclude: When the oven cannot shed heat, the control sees temperatures climb where they should not.

Step 3: Listen for the oven cooling fan during a bake cycle

The cooling fan is the most useful separator on this code. If it never starts, starts late, or sounds rough, you have a strong direction.

  1. Start bake on a cool oven at a moderate temperature.
  2. Stand near the vent or control area and listen for the cooling fan within the first several minutes.
  3. Feel for steady airflow at the vent opening.
  4. Note whether the fan is silent, weak, surging, scraping, or shuts off while the oven is still heating.

Next move: If the fan comes on normally and airflow is steady, the fan branch gets weaker and the temperature sensor branch moves up. If the fan never runs or sounds rough and weak, a failing oven cooling fan is the most likely repair.

Step 4: Decide whether the oven temperature reading makes sense

If the fan seems normal but the oven reports overheating on a cool or only mildly warm oven, the sensor is the next best fit.

  1. Think about the last few cooking cycles and whether food was burning early or the oven seemed much hotter than the set temperature.
  2. Watch whether the code appears before the oven has had time to get truly hot.
  3. If you have safe access and are comfortable with appliance disassembly, inspect the visible oven temperature sensor inside the oven cavity for damage or a loose mounting screw.
  4. If the sensor looks intact but the oven behavior is clearly off, treat the oven temperature sensor as the likely part before the control.

Next move: If the symptoms line up with false high temperature readings, replacing the oven temperature sensor is the most reasonable next repair. If the oven truly overheats and the fan is not right, go back to the cooling fan path. If both fan and sensor seem to check out, professional diagnosis is the safer next move.

Step 5: Replace the confirmed part or stop at the control-level diagnosis

By this point you should have narrowed the problem to a real cooling fan issue, a likely sensor issue, or a less-common control problem.

  1. If the cooling fan never runs, runs weak, or sounds rough, replace the oven cooling fan.
  2. If the oven acts overheated when it is not and the fan behavior is normal, replace the oven temperature sensor.
  3. After replacement, restore power and run a normal bake cycle long enough to confirm the code does not return.
  4. If both branches are inconclusive, stop before ordering an oven control board and have the oven professionally diagnosed.

A good result: If the oven completes preheat and a normal cooking cycle without the code, the repair path was correct.

If not: If the code returns after a confirmed fan or sensor replacement, the remaining likely issue is wiring or the oven control, which is a better pro-level diagnosis on this symptom.

What to conclude: This keeps you from throwing the most expensive part at the oven before the simpler, more common failures are ruled in or out.

Replacement Parts

Repair Riot may earn a commission from qualifying purchases, at no extra cost to you.

FAQ

What does a Samsung oven C-21 code usually mean?

In plain terms, it usually means the oven thinks it is overheating or it is not cooling itself properly. The most common causes are a cooling fan problem, blocked airflow, or a bad oven temperature sensor.

Can I just reset the oven and keep using it?

You can try one reset after the oven has fully cooled, and sometimes that clears a one-time overheat event. If the code comes back on a cool oven, do not keep forcing it to run. Find out whether the cooling fan is working and whether the oven is reading temperature correctly.

Is the cooling fan supposed to run after cooking?

Yes. Many ovens keep the cooling fan running after the heating cycle ends to pull heat away from the cavity and controls. That is normal. What is not normal is no fan at all, very weak airflow, or a rough noisy fan when the oven is heating.

Could a bad oven temperature sensor cause this code even if the oven is not hot?

Yes. If the sensor is drifting high or reading erratically, the control can think the oven is overheating when it really is not. That is why a C-21 code on a cold oven often points toward the oven temperature sensor after the fan check.

Should I replace the oven control board for a C-21 code?

Not first. Control boards are less common than fan and sensor problems on this symptom, and they cost more. Only move to a control-level diagnosis after the cooling fan, airflow, and oven temperature sensor paths no longer fit.

Can a bad door gasket cause an overheat code?

It can contribute, but it is usually not the main cause by itself. A torn or badly flattened oven door gasket can let heat escape in the wrong places and make the oven work harder, so it is worth fixing if it is obviously damaged.