The Feast

Home cooking recipes for everyday dinners and easy entertaining

How Long to Cook Garlic Cloves in Oil

· 4 min read · Dinners

The answer depends on what you're making: whole garlic cloves in oil need 20–30 minutes at a gentle simmer (around 200°F/93°C) to become soft and sweet, while sliced or minced garlic needs only 1–3 minutes over medium heat to turn fragrant and golden. This guide covers both methods, so you can confidently infuse oil, roast garlic, or sauté without burning. The key is low heat and patience—garlic burns quickly and turns bitter, so precise timing matters.

Ingredients

  • 1 cup (240 ml) olive oil or neutral oil (like canola or grapeseed)
  • 1 head of garlic (about 10–12 cloves), peeled
  • Optional: 1–2 sprigs fresh thyme, rosemary, or a pinch of red pepper flakes

Instructions

  1. Prep the garlic: Separate the cloves and peel them. For whole cloves, leave them whole; for sliced or minced, cut as needed.
  2. Choose your pan: Use a small saucepan or skillet that fits the cloves in a single layer. This ensures even cooking.
  3. Add oil and garlic: Place the garlic cloves in the pan and pour in the oil. The oil should just cover the cloves—add a little more if needed.
  4. Heat gently for whole cloves (20–30 minutes): Place the pan over low heat. The oil should barely bubble—if it sizzles aggressively, lower the heat. Cook for 20–30 minutes, turning the cloves occasionally, until they are golden and easily pierced with a fork.
  5. For sliced or minced garlic (1–3 minutes): If using sliced or minced garlic, heat the oil over medium heat. Add the garlic and cook, stirring constantly, for 1–3 minutes until fragrant and just turning golden. Remove immediately—it continues cooking off the heat.
  6. Cool and use: Remove the pan from the heat. Let the garlic cool in the oil for at least 10 minutes. Use immediately or store as directed below.

Tips

  • Low heat is non-negotiable: Garlic burns quickly. If the oil smokes, the garlic will turn bitter and dark—start over if that happens.
  • Use a thermometer for precision: If you have one, keep the oil between 180°F and 200°F (82–93°C) for whole cloves. This gentle heat slowly breaks down the garlic's sharpness.
  • Peel cloves easily: Smash each clove with the flat side of a knife to loosen the skin, then slip it off. For a whole head, cut off the top and roast it in oil at 400°F (200°C) for 40 minutes—that's a different method but equally delicious.
  • Don't overcrowd: If you're making more than 1 cup of garlic, cook in batches. Overcrowding lowers the oil temperature and leads to uneven cooking.

Serving Suggestions

Use the garlic-infused oil and soft cloves as a base for pasta sauces, salad dressings, or marinades. Spread the whole cloves on crusty bread, or mash them into mashed potatoes. The oil itself is excellent for sautéing vegetables or drizzling over pizza. For a quick appetizer, serve the cloves with toothpicks alongside olives and cheese.

Variations

  • Herb-infused oil: Add a few sprigs of thyme, rosemary, or oregano during the last 5 minutes of cooking for extra flavor.
  • Spicy garlic oil: Add 1–2 dried red chilies or a pinch of red pepper flakes with the garlic.
  • Lemon-garlic oil: Add a strip of lemon zest (no white pith) during cooking, then remove it before storing.
  • Roasted garlic cloves: Instead of simmering, roast whole unpeeled cloves in a baking dish with oil at 350°F (175°C) for 30–40 minutes until soft and caramelized.

Storage and Reheating

Store garlic and oil in an airtight container in the refrigerator for up to 1 week. The oil will solidify when cold—that's normal. To reheat, scoop out what you need and warm gently in a skillet over low heat. Do not leave garlic oil at room temperature for more than 2 hours, as it can support bacterial growth. For longer storage, freeze the garlic and oil in an ice cube tray for up to 3 months; thaw in the refrigerator before use.

Frequently Asked Questions

Can I use extra-virgin olive oil?

Yes, extra-virgin olive oil works well, but it has a lower smoke point than regular olive oil or neutral oils. Keep the heat low to avoid burning the oil and garlic.

Why did my garlic turn blue or green?

This is a harmless reaction caused by sulfur compounds in garlic reacting with copper or iron in the pan or water. It's safe to eat, though the color may be unappealing. To avoid it, use a stainless steel or nonstick pan and avoid adding acidic ingredients like lemon juice until after cooking.

Can I reuse the garlic oil?

Yes, you can reuse the oil for cooking, but it will have a strong garlic flavor. Use it within a week and always refrigerate. Do not reuse oil that has been used for frying raw meat or fish.

How do I know when whole cloves are done?

They should be golden brown and soft enough to mash with a fork. If they're still firm, cook for another 5–10 minutes.

Is it safe to can garlic in oil at home?

No, home canning of garlic in oil is not recommended by the USDA because garlic is a low-acid food and can support botulism bacteria. Always refrigerate garlic oil and use it within a week, or freeze for longer storage.

Can I use this method to make garlic confit?

Yes, this is exactly the method for garlic confit. The low, slow cooking in oil softens the cloves and mellows their flavor. Just ensure the oil stays below 200°F (93°C) and refrigerate the finished product.

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions