Aromatics, Mushrooms & Foraged Foods

How to Cook Garlic on the Stove

Learn how to saute, slow-cook, and pan-roast garlic on the stove, with timing, heat tips, ways to avoid bitterness, and safe storage of garlic in oil.

On this page
  1. Quick Answer
  2. Prep: Peeling and Cutting
  3. Sauteing Garlic
  4. Slow-Cooking Cloves in Oil (Confit-Style)
  5. Dry Skillet or Pan-Roasted Garlic
  6. How Long to Simmer Garlic
  7. Avoiding Bitter or Burnt Garlic
  8. Storing Garlic Cooked in Oil
  9. Ways to Use It
  10. FAQ

Quick Answer

There are three common ways to cook garlic on the stove. For flavor in a dish, saute it briefly over medium to medium-low heat, usually 30 seconds to about a minute for minced garlic. For soft, mellow, spreadable cloves, simmer whole peeled cloves in oil over low heat for about 30 to 45 minutes. For a quick, nutty roasted taste, toast cloves in a dry or lightly oiled skillet until golden in spots.

Garlic goes from fragrant to bitter quickly, so the most important rule is to keep the heat moderate and watch it closely.

Prep: Peeling and Cutting

Yes, peel garlic before cooking in almost all cases. The papery skin is not pleasant to eat. A few ways to make it easier:

  • Smash a clove with the flat of a knife and the skin slips off.
  • Trim the root end, and the skin often loosens.
  • For many cloves, shake them hard in a lidded jar or container for 20 to 30 seconds and the skins loosen.

How you cut the garlic affects both flavor and cooking speed:

  • Whole or smashed cloves: mild, sweet flavor, and slow to burn. Good for infusing oil.
  • Sliced: gentle flavor and a bit of crispness if cooked until pale gold.
  • Minced or grated: strongest flavor and fastest to burn. Smaller pieces mean less time in the pan.

Sauteing Garlic

This is the everyday method for sauces, vegetables, pasta, and greens.

  1. Warm oil or butter in a skillet over medium to medium-low heat.
  2. Add the garlic once the fat is warm, not smoking.
  3. Stir constantly. Minced garlic needs roughly 30 to 60 seconds; sliced garlic may need a minute or two.
  4. Stop when the garlic smells fragrant and is just barely turning pale gold.
  5. Add the next ingredient, such as vegetables, tomatoes, wine, or stock. The added moisture cools the pan and stops the garlic cooking too far.

If the recipe also starts with onions, carrots, and celery, add the garlic near the end, after they have softened. Our guide on how long to cook mirepoix covers that stage.

Slow-Cooking Cloves in Oil (Confit-Style)

This method turns whole cloves soft, sweet, and spreadable, and gives you garlic-flavored oil as a bonus.

  1. Peel the cloves. You can use a couple of heads’ worth, depending on the pan.
  2. Place them in a small saucepan and add enough olive oil, or another mild oil, to cover or nearly cover them.
  3. Heat over medium-low until tiny bubbles form around the cloves, then lower the heat so the oil stays at a very gentle simmer, not a fry.
  4. Cook for roughly 30 to 45 minutes, stirring occasionally, until the cloves are tender enough to mash with a fork and lightly golden.
  5. Cool before handling or storing.

Using less oil, so the cloves are only partly submerged, is sometimes called pan-roasting. It is quicker, and you turn the cloves as they cook.

Dry Skillet or Pan-Roasted Garlic

For a smoky, toasty flavor without much oil:

  1. Leave the cloves unpeeled or peel them, depending on preference.
  2. Place them in a dry skillet over medium-low heat.
  3. Turn occasionally until the skins are charred in spots and the cloves yield when pressed, often around 10 to 15 minutes.
  4. Cool, then squeeze or peel the soft cloves out.

Because the heat is dry and direct, this takes more attention than the oil methods.

How Long to Simmer Garlic

When garlic simmers in a sauce, soup, or broth, it mellows as it cooks. A few minutes gives a clear garlic flavor. Longer simmering, such as 20 to 30 minutes or more, gives a softer, sweeter, less pungent taste. In a liquid, garlic is much less likely to burn than in a dry pan, so it’s safe to add it earlier.

Avoiding Bitter or Burnt Garlic

  • Keep the heat at medium or lower.
  • Add garlic after the other aromatics, not before.
  • Keep minced garlic moving in the pan.
  • Have your next ingredient ready so you can add it as soon as the garlic is fragrant.
  • If it turns dark brown and smells acrid, start again. Burnt garlic does not recover.

Storing Garlic Cooked in Oil

This part matters for safety. Garlic stored in oil can create conditions where the bacterium that causes botulism can grow, because there is little oxygen and the garlic is low in acid. Treat cooked garlic and garlic oil with care:

  • Cool it, then refrigerate promptly.
  • Use refrigerated garlic in oil within a few days. Many food-safety sources recommend not keeping it longer than about a week.
  • Freezing is considered the safer way to keep it for longer. Freeze in small portions.
  • Don’t leave it at room temperature for storage.

If you’re unsure, check guidance from your local food-safety authority and discard anything you’re doubtful about.

Ways to Use It

  • Mash soft cloves onto toast or into mashed potatoes, or spread them over a pork roast before it goes in the oven.
  • Stir them into pasta, sauteed vegetables, or soups.
  • Use the infused oil to saute vegetables or finish dishes, following the storage guidance above.
  • Add sauteed garlic to mushrooms. Our guides to cooking wild oyster mushrooms and hen of the woods both use garlic near the end of cooking.

FAQ

What’s the best way to cook garlic? It depends on the dish. Sauteing is best for most recipes, while slow cooking in oil gives a soft, sweet result.

How much raw garlic is safe to eat in a day? There’s no single agreed number. Garlic is generally safe in food amounts, but large amounts of raw garlic can upset the stomach for some people, and people who take blood-thinning medication or have a medical condition should check with a doctor or pharmacist.

Do I need to peel garlic before cooking? Yes, for most methods. Roasting whole heads is the exception, as the skin protects the cloves.

Is a garlic press fine for sauteing? Yes, but pressed garlic is very fine and burns quickly, so cook it for less time.

The complete guide to aromatics, mushrooms & foraged foods

How Long to Cook Mirepoix
Read the guide

Keep exploring

Guides from other topics

All topics →

How to Cook a Pork Roast

Learn how to roast a pork loin or bone-in rack so it stays juicy: choosing the cut, seasoning, oven timing, internal temperature, resting and common mistakes.

Pork & Lamb 5 min read

How to Fry Haddock in a Pan

Learn how to fry haddock in a pan with a light flour dusting or crumb coating, how long to cook each side, how to check doneness, and fixes for common problems.

Fish Fillets 5 min read