How to Not Burn Garlic (and What to Do If You Did)

By the Pan AI team · Updated · 4 min read

Quick answer

Cook minced garlic over medium-low heat for 30–60 seconds, stirring, until it smells fragrant and turns pale gold, then add the next ingredient. If the recipe starts with onions, add the garlic after they've softened, not at the start. Golden is the limit: once garlic turns brown it tastes bitter, and the only fix is to throw it out and start that step again.

Handy for this: Smoke points of oils · How to mince garlic

At a glance

  1. Mince or slice the garlic evenly so the pieces cook at the same speed.
  2. Have the next ingredient ready next to the stove.
  3. Heat the oil over medium-low, not high.
  4. Add the garlic and stir constantly.
  5. Cook 30–60 seconds until fragrant and pale gold at the edges.
  6. Add tomatoes, liquid, vegetables or onions right away to stop the cooking.
  7. If it browns or smells sharp and acrid, discard it and start again.

The short version

Garlic is small, full of sugar and cut into tiny pieces, so it goes from raw to burnt in well under a minute. It's done the moment it smells sweet and nutty and the edges turn pale gold. Anything darker than light gold tastes bitter and spreads that taste through the whole dish.

The fix is order and heat: lower heat, garlic late, and the next ingredient ready to go in.

What Pan would say

“It smells sweet and the edges are just turning gold. Add the tomatoes now.”

How long to cook garlic

CutHeatTimeReady when
Minced or gratedMedium-low30–45 secFragrant, barely colored
Thinly slicedMedium-low1–2 minPale gold edges
Whole cloves, smashedLow to medium-low3–5 minLight golden, soft
Garlic chipsLow, starting in cold oil5–8 minEven pale gold; lift out before they darken

When to add garlic

  • With onions: soften the onions first, 5–8 minutes, then add the garlic for the last 30–60 seconds.
  • In a stir-fry: add it with or just before the vegetables, so their moisture protects it.
  • In pasta sauce: warm it in oil just until fragrant, then add the tomatoes.
  • With meat or steak: add it at the end with butter, off the highest heat.

Signs it's about to burn

  • Color: pale gold is done. Light brown edges mean seconds left. Dark brown is burnt.
  • Smell: sweet and nutty is right. Sharp, acrid or smoky means it has gone too far.
  • Sound: a loud, fast sizzle means the oil is too hot for garlic. Turn the heat down before adding it.

What to do with burnt garlic

Throw it out. Bitter, burnt garlic doesn't cook out, and sugar or acid only hides it a little. Wipe the pan, add fresh oil and start that step again; it costs a minute and one more clove. If the garlic was already in with other ingredients, taste the dish: lightly toasted is fine, but a sharp, bitter taste won't fade.

Keep going

Next up: How to Mince Garlic Quickly, Plus How to Peel It, How to Roast Garlic Whole Until It's Spreadable and How to Make Garlic Butter With Fresh Garlic.

Pan watches it for you

Pan watches the color so the garlic stays golden

Pan watches the pan through your phone camera, sees the garlic start to color, and tells you out loud when to add the next ingredient or pull the pan off the heat.

  • Oil shimmering hard: turn the heat down before the garlic
  • Fragrant and pale gold: add the next ingredient now
  • Edges browning: pull the pan off the heat
  • Dark and smoking: start this step again

Pan AI is on iPhone • Android.

Common questions

How long does it take to cook garlic?

Minced garlic takes about 30–45 seconds over medium-low heat, sliced garlic 1–2 minutes. It's ready when it smells fragrant and the edges are pale gold.

Why does my garlic always burn?

Usually the heat is too high, the garlic went in at the start with onions, or the next ingredient wasn't ready. Lower the heat, add the garlic later, and have the next ingredient next to the stove.

Is burnt garlic bad for you?

It isn't a safety problem, but it tastes bitter and that bitterness spreads through the dish, so it's best to discard it and start again.

Should you add garlic before or after onions?

After. Onions need 5–8 minutes to soften and garlic burns in about a minute, so add the garlic for the last 30–60 seconds.

Keep cooking