How to Make Infused Olive Oil: A Complete Safety Guide

Infused olive oils are easy to make and incredibly useful in the kitchen. Here's the safe, correct method for making garlic, herb, chili, and other infused olive oils.

Infused olive oils are one of the most practical preparations in Mediterranean cooking — a way to concentrate and combine flavors in an oil that can be used for dressings, finishing, cooking, and direct consumption. For a complete overview, see our Olive Oil Gastronomy: Cooking, Baking & Culinary Uses guide.For a complete overview, see our Cooking Properties guide.Done correctly, they are safe and delicious. Done incorrectly, they can be a vehicle for food-borne illness. The difference is entirely in the method.

This guide covers the correct, food-safety-compliant method for making infused olive oils at home.

Infused olive oils support the growth of Clostridium botulinum — the bacteria that causes botulism — when certain conditions are present:

  1. Low-acid environment: Garlic, herbs, and vegetables have pH values in the 5.5–7.0 range, which is not acidic enough to inhibit C. botulinum spore germination
  2. Anaerobic environment: Oil creates an oxygen-free environment at the bottom of the bottle where the herb/garlic sits
  3. Room temperature storage: At room temperature, C. botulinum spores can germinate and produce botulinum toxin in as little as 3–4 days

The standard homemade infused oil recipe — heating garlic and herbs in oil, then bottling and storing at room temperature — creates exactly these conditions. This is why food safety authorities specifically warn against this method.

This is the method that eliminates the botulism risk while still producing excellent infused oil:

Ingredients:

  • 250ml extra virgin olive oil
  • 4–5 garlic cloves, smashed (not minced)
  • 4–5 sprigs fresh herbs (rosemary, thyme, oregano, sage)
  • Optional: 1 small red chili, sliced

Method:

  1. Combine oil and aromatics in a small saucepan
  2. Heat gently to 80–85°C (175–185°F) — do not exceed 85°C
  3. Hold at this temperature for 5 minutes (not sufficient to develop Maillard browning but enough to destroy surface bacteria)
  4. Remove from heat, let cool to room temperature
  5. Transfer to a clean glass jar or bottle
  6. Refrigerate immediately
  7. Use within 2 weeks

The key: keep refrigerated, use within 2 weeks. The cold temperature inhibits C. botulinum growth throughout the storage period.

For longer storage at room temperature, you must acidify the infused product before bottling:

Method:

  1. Prepare the infusion by combining oil with acidified aromatics (garlic that has been stored in vinegar or lemon juice for 24 hours before infusion)
  2. Add 2–3 tablespoons of lemon juice or wine vinegar to the finished infusion
  3. Verify pH is below 4.5 (use pH strips — this is Critical)
  4. Bottle in clean, dry bottles
  5. Can be stored at room temperature for up to 3 months

This method is used by commercial producers and is food-safe when the pH is correctly verified.

The traditional Italian method — heating garlic and herbs in olive oil over low heat, then bottling — was developed before the botulism risk was understood. In rural Italy, the oil would have been used within days of preparation, which reduced risk. But in modern homes with longer storage times, the risk is real.

The key insight from food safety research: the risk is in the combination of garlic (or other vegetables) + oil + anaerobic storage + time. Eliminate any one of these four factors and the risk is controlled. For home cooks, refrigeration is the simplest control.

Once made safely, infused olive oil has many uses:

Garlic infused oil: Pasta, bread, grilled meats, salad dressings. The garlic flavor is mellow and integrated, different from raw garlic.

Rosemary and thyme oil: Roasted potatoes, grilled bread, fish, chicken. The herbal notes are subtle and complement rather than dominate.

Chili oil: Stir-fries, dumplings, noodle dishes, anything that benefits from heat. The oil carries the chili flavor more evenly than dried chili flakes.

Citrus oil: Orange or lemon zest infused in oil — particularly good for seafood finishing, salads, or pasta.

Safe homemade infused olive oil = heat the aromatics gently, refrigerate, use within 2 weeks. This is not complicated and it produces excellent results without the food safety risk.

The traditional stovetop method without refrigeration is not safe for storage beyond immediate use. Do not use it.

Homemade garlic, herb, or chili-infused olive oil requires careful handling due to the risk of botulism. The concern is specifically with low-acid ingredients (garlic, fresh herbs) in an anaerobic (airless) oil environment at room temperature. Safe practices: refrigerate after 2 hours at room temperature, use within 1–2 weeks, keep submerged (no garlic or herb pieces above the oil line), and discard if any off-smell or clouding occurs. Commercially produced infused olive oils are manufactured under controlled conditions that eliminate botulism risk. For homemade, safe handling is critical.1

Common infusions: garlic (classic for pasta, sautéing), rosemary (pairs with roasted vegetables, bread dipping), chili (for spicy dishes), lemon or orange zest (for dressings, fish), basil (for Mediterranean dishes), sun-dried tomato. The extraction method is either heat infusion (low temperature for 10–30 minutes, then strain) or cold infusion (herbs steeped in oil for 2–4 weeks refrigerated). Heat infusion is faster but requires temperature control to avoid degrading the oil; cold infusion preserves more flavor compounds but takes longer.1

Properly made and refrigerated infused olive oil lasts 2–4 weeks. The limiting factor is the fresh ingredients (garlic, herbs), not the olive oil itself — olive oil is stable at room temperature, but the added aromatics introduce moisture and bacteria risk. Always refrigerate, keep the herbs fully submerged below the oil line, and discard if you see any bubbles (indicating microbial activity) or smell anything off. Mark the date on the jar so you remember to use it within the safe window.1


References

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