The Feast

Home cooking recipes for everyday dinners and easy entertaining

How to Cook Garlic Cloves in Oil – Step‑by‑Step Guide

· 6 min read · Dinners

Cooking garlic cloves in oil creates a fragrant, golden‑brown infusion that can be used as a base for sauces, dressings, sautés, and marinades. The gentle heat draws out the sweet, mellow flavor of garlic while the oil captures that essence, giving you a versatile pantry staple that elevates many dishes. Follow the steps below to achieve perfectly softened garlic without burning, store it safely, and avoid the food‑safety pitfalls that can arise when oil‑based preparations sit at room temperature.

What You’ll Need

  • Fresh garlic cloves – about 10 to 12 medium cloves (roughly 50 g)
  • Neutral‑tasting oil – olive oil, grapeseed, or sunflower work well (½ cup or 120 ml)
  • Small saucepan or skillet with a tight‑fitting lid (8‑inch diameter is ideal)
  • Heat‑proof spatula or wooden spoon
  • Kitchen timer or clock
  • Fine‑mesh strainer (optional, for a clear oil)
  • Clean glass jar with a screw‑top lid for storage
  • Paper towels for drying garlic and wiping spills

Step‑by‑Step

  1. Prepare the garlic. Peel the cloves by gently crushing each with the flat side of a knife; the skin should slip off easily. Trim the root end if it feels woody, but keep the cloves whole to prevent them from breaking apart during cooking.
  2. Dry the cloves. Pat each peeled clove dry with a paper towel. Moisture on the surface can cause the oil to splatter when heated and can also promote bacterial growth if the finished product is stored.
  3. Measure the oil. Pour ½ cup (120 ml) of your chosen oil into the saucepan. Using a measured amount ensures consistent heat transfer and helps you gauge when the oil is hot enough without reaching its smoke point.
  4. Heat the oil gently. Place the saucepan over low to medium‑low heat. Allow the oil to warm until it shimmers, which is typically around 90‑100 °F (32‑38 °C). Do not let it smoke; if you see a faint wisp of smoke, the temperature is too high and the garlic will burn.
  5. Add the garlic cloves. Gently lower the whole cloves into the warmed oil. The oil should surround the cloves completely; if it looks thin, add a splash more oil to keep the cloves submerged.
  6. Simmer, not fry. Adjust the heat so that the oil maintains a gentle bubble—just enough to hear a soft hissing sound. Aim for a temperature of 190‑210 °F (88‑99 °C). This range is hot enough to coax out flavor but low enough to avoid the Maillard reaction that turns garlic bitter.
  7. Cook for 10‑12 minutes. Set a timer for 10 minutes, then check the cloves. They should be pale gold, slightly translucent, and tender when pierced with a fork. If they are still white or firm, continue cooking in 1‑minute increments, checking each time.
  8. Test for doneness. Insert a thin knife or fork into the thickest part of a clove; it should slide in with little resistance. The oil should have taken on a light amber hue, indicating the garlic’s flavor has been extracted.
  9. Remove from heat. Turn off the burner and let the pan sit for another minute to allow residual heat to finish any last bits of cooking. This prevents over‑cooking once the pan is removed from the stove.
  10. Strain (optional). If you prefer a clear oil for dressing, pour the mixture through a fine‑mesh strainer into a heat‑proof bowl, pressing gently to release any remaining oil from the cloves. Otherwise, you can transfer the whole cloves and oil together into a storage jar.
  11. Cool quickly. Place the jar or bowl in an ice‑water bath for 5‑7 minutes, stirring occasionally. Rapid cooling reduces the time the garlic spends in the temperature danger zone (40‑140 °F or 4‑60 °C) where bacteria can multiply.
  12. Seal and refrigerate. Once the oil reaches room temperature, seal the jar tightly and store it in the refrigerator. USDA guidelines recommend keeping oil‑based garlic products at ≤40 °F (4 °C) and using them within 1 week for optimal safety. If you need longer storage, freeze the oil in a sealed container for up to 3 months.

Common Mistakes

Burning the garlic. High heat creates a bitter, acrid flavor and can produce harmful compounds. Keep the temperature low enough that only a gentle hissing is heard.

Leaving the mixture at room temperature too long. Garlic‑infused oil is a low‑acid environment that supports Clostridium botulinum growth if left unrefrigerated for more than two hours. Always refrigerate promptly.

Using too much oil. Excess oil dilutes the flavor and makes it harder to gauge doneness. Stick to the recommended ½ cup for a standard 8‑inch pan.

Cooking the cloves whole for too short a time. Undercooked garlic remains raw‑tasting and may not release its oils fully. The 10‑12‑minute window is essential for a mellow, sweet result.

Tips

  • For a deeper flavor, lightly crush the cloves before cooking; this increases surface area without breaking them apart.
  • If you prefer a toasted note, finish the garlic with a quick 30‑second burst at medium‑high heat after it is soft, then remove immediately to prevent bitterness.
  • Add a pinch of sea salt to the oil while cooking; salt helps draw out moisture from the garlic and enhances the final taste.
  • Combine herbs such as thyme, rosemary, or bay leaf with the garlic for an herb‑infused oil. Add them at the start and remove before storage.
  • Use a thermometer for precision. A candy or instant‑read thermometer clipped to the side of the pan gives a reliable reading of oil temperature.

Troubleshooting

Garlic turned brown or black. This indicates overheating. Reduce the heat immediately, discard the burnt cloves, and start a new batch with fresh oil.

Oil smells sour or off after refrigeration. A sour odor can signal early spoilage. Discard the batch and clean the jar thoroughly before making a new batch.

Cloves are still hard after 12 minutes. Your oil may not have reached the target temperature. Increase the heat slightly, but watch closely to avoid burning. Alternatively, cut the cloves in half to reduce cooking time.

Oil becomes cloudy after cooling. This is normal if the oil contains tiny particles of garlic. Strain through a fine mesh or cheesecloth before storage to achieve a clear product.

Oil separates from the garlic after a few days. Separation is natural; simply shake the jar before each use to re‑emulsify.

Frequently Asked Questions

Can I use extra‑virgin olive oil?

Yes, but extra‑virgin olive oil has a lower smoke point (around 375 °F/190 °C). Keep the temperature well below that limit to avoid a bitter taste.

Is it safe to store garlic‑infused oil at room temperature?

No. Because the mixture is low‑acid, it can support botulism spores if left out for more than two hours. Refrigerate promptly and discard after one week.

How long can I keep the infused oil in the freezer?

Up to three months. Use a freezer‑safe glass jar or a BPA‑free plastic container, leaving headspace for expansion.

Do I need to sterilize the storage jar?

While not strictly required for a week‑long refrigerated batch, washing the jar in hot, soapy water and rinsing well reduces the risk of contamination.

Can I add peppercorns or chili flakes?

Absolutely. Add them at the start of cooking; they will infuse the oil along with the garlic, giving you a spicy or peppery kick.

What temperature should I reheat the oil for cooking?

Warm the oil gently over medium heat until it shimmers (around 300 °F/150 °C) before adding other ingredients. Do not let it smoke.

In this article
  1. What You’ll Need
  2. Step‑by‑Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions