How to Make Garlic Olive Oil: The Complete Infused Oil Guide

Making garlic-infused olive oil at home requires proper food safety to prevent botulism. Here's the evidence-based guide to safely making and storing garlic olive oil.

Homemade garlic-infused olive oil is a common kitchen project and a genuinely useful ingredient — the flavor of garlic infuses the oil over days or weeks, producing a ready-to-use cooking oil for Mediterranean, Italian, and Middle Eastern dishes. For a complete overview, see our Olive Oil Gastronomy: Cooking, Baking & Culinary Uses guide.For a complete overview, see our Cooking Properties guide.But it requires proper food safety handling to prevent Clostridium botulinum growth, which can produce thebotulinum toxin in anaerobic (oxygen-free) environments like an oil-filled jar.

This guide covers both the food safety requirements and the technique for making a high-quality product.

C. botulinum spores are common in soil and can be present on garlic grown in or near contaminated soil. When garlic is submerged in oil in an anaerobic (oxygen-free) environment at room temperature, any C. botulinum spores present can germinate, multiply, and producebotulinum toxin — which is one of the most toxic substances known.

The conditions for growth: C. botulinum requires:

  1. Anaerobic environment (no oxygen)
  2. Low-acid environment (pH above 4.6)
  3. Room temperature storage (15–50°C / 60–120°F)

Garlic-infused olive oil at room temperature meets all three conditions. This is not theoretical — documented cases of foodborne botulism from homemade garlic-in-oil preparations have been reported.

The prevention methods:

  1. Refrigeration: Store infused oil refrigerated at 4°C (39°F) or below. This prevents C. botulinum growth even if spores are present.
  2. Acidification: Adding lemon juice or vinegar to lower pH below 4.6 inhibits C. botulinum growth even at room temperature.
  3. Heat treatment: Heating the oil to 100°C (212°F) or above before or after adding garlic inactivates spores.

For short-term use (days to weeks refrigerated), refrigeration alone is sufficient. For shelf-stable storage, acidification + heat treatment is required.

This is the safest method for home use:

Ingredients:

  • 1 cup extra virgin olive oil
  • 6–8 garlic cloves, peeled and smashed (not minced)

Method:

  1. Combine olive oil and garlic in a small saucepan over very low heat
  2. Warm to 82°C (180°F) for 45 minutes — this temperature is below the smoke point but above the germination temperature for C. botulinum spores
  3. Alternatively, bake at 82°C (180°F) for 45 minutes in an oven-safe dish
  4. Cool completely
  5. Transfer to a clean, dry glass jar or bottle
  6. Refrigerate and use within 2–3 weeks
  7. Shake or swirl before each use to redistribute any settled garlic particles

The low-heat treatment kills any C. botulinum spores present in the garlic before they can germinate. The refrigeration then prevents any spores that survived (or were introduced after heating) from growing.

For longer shelf storage without refrigeration:

Ingredients:

  • 1 cup extra virgin olive oil
  • 6–8 garlic cloves, peeled and smashed
  • 2 tablespoons lemon juice or white wine vinegar

Method:

  1. Combine garlic, lemon juice, and vinegar in a bowl. Let sit 5 minutes.
  2. Add olive oil and transfer to a clean, dry glass jar
  3. The acidification (pH below 4.6) prevents C. botulinum growth even in anaerobic conditions at room temperature
  4. Store in refrigerator or in a cool, dark place
  5. Use within 3–4 months

The acid acts as a failsafe against botulism, but acidification alone without the initial heat treatment is less reliable for long-term room-temperature storage.

For the freshest, most garlic-flavored oil with minimal processing:

Method:

  1. Peel and thinly slice 6–8 garlic cloves
  2. Add to 1 cup extra virgin olive oil in a small jar
  3. Refrigerate immediately
  4. Use within 5–7 days
  5. Strain before use to remove garlic particles

This method produces the most intense garlic flavor because the garlic doesn't undergo any heat treatment. The short shelf life and refrigeration requirement are the trade-offs.

Even with proper handling, watch for:

  • Cloudiness or off smell: Discard immediately
  • Bubbles in the oil: May indicate fermentation
  • Any bulging lid: Possible gas production from microbial growth — discard
  • Mold: Any visible mold means the product is unsafe — discard

Once you have made garlic-infused olive oil, the uses are the same as any garlic-oil preparation:

  • Finishing pasta dishes
  • Bread dipping
  • Roasting vegetables
  • Pan-frying chicken, fish, or proteins
  • dressings and marinades
  • Finishing grilled meats

The oil carries both the garlic flavor and the olive oil character — use it in applications where you want both to come through.

Homemade garlic olive oil is safe if you handle it properly: either heat-treat and refrigerate, or acidify and use quickly. Plain garlic submerged in oil at room temperature is a documented botulism risk. The safety methods are not complicated — low heat treatment followed by refrigeration is sufficient for most home use.

Garlic olive oil is a flavored oil used for sautéing vegetables, making dressings, pasta dishes, and as a finishing oil where the garlic flavor registers directly. The garlic is typically infused in the olive oil at low temperature (200–250°F) for 10–20 minutes to extract flavor without burning. Common applications: roasted vegetables, garlic bread, pasta aglio e olio, salad dressings, and as a dipping oil for bread. The infused oil picks up both the garlic flavor and any antimicrobial compounds from the garlic.1

Homemade garlic-infused olive oil requires careful handling due to the risk of botulism from the low-acid garlic in the anaerobic environment of the oil. The Critical safety steps: use fresh garlic, refrigerate after 2–3 days, use within 1 week, and never leave at room temperature for more than 2 hours. The concern is specifically with the combination of garlic (low-acid) + oil (anaerobic environment) + room temperature storage — not with commercially produced garlic olive oils that have been properly processed and packaged. For homemade, always refrigerate and use within a week.1

Garlic contains allicin and other sulfur compounds with documented antimicrobial and cardiovascular benefits. When infused in olive oil, some of these compounds transfer to the oil. The olive oil's polyphenol fraction provides additional anti-inflammatory benefits. However, the heat of infusion degrades some of the more temperature-sensitive garlic compounds. The combination of garlic's cardiovascular benefits (allicin, aged garlic extract studies) and olive oil's polyphenols creates a flavored oil that is more nutritionally valuable than plain olive oil — but neither is a concentrated therapeutic.1


References

  1. https://www.internationaloliveoil.org/our-products/olives/