View All Posts Herbs Oil

How to Make Herb-Infused Olive Oil Safely

Ollie Cartwright
Published:
How to Make Herb-Infused Olive Oil Safely

Key Takeaways

  • Fresh herbs and garlic in oil can create the low-oxygen conditions Clostridium botulinum needs to grow, so refrigeration isn't optional.
  • Dried herbs lower the risk but don't eliminate it — home-dried herbs can still carry spores.
  • Fresh-herb infused oil should go straight into the fridge and be used within about 4 days, or frozen for later.
  • Never leave herb-infused olive oil at room temperature for looks or convenience, no matter how many times you've done it before.
  • Cloudiness from herb particles is normal; bubbling, fizzing, or an off smell means discard it without tasting.

Why Infused Olive Oil Needs a Real Safety Plan

I love a bottle of rosemary-flecked olive oil sitting by the stove as much as anyone. It looks gorgeous, it smells like a good kitchen, and it makes a plain piece of bread feel special.

The short answer is yes, you can make herb-infused olive oil safely at home — but only if you treat it like a perishable food, not a shelf-stable condiment.

Here’s the part that surprises people: oil isn’t the problem. The combination of raw herbs (or garlic) sitting in oil is what creates a low-oxygen environment that Clostridium botulinum spores can thrive in.

These spores live naturally in soil and can cling to fresh herbs, garlic, and other produce even after a rinse. The CDC’s overview of botulism explains why this bacterium is so dangerous: it doesn’t reliably change the smell, color, or taste of food, so you often can’t tell by looking.

Herb-infused olive oil in a glass bottle with rosemary sprig`

Before you even get to infusing, it helps to know how to handle the herbs themselves — I always recommend reading up on how to store fresh herbs so they last longer so you’re starting with clean, dry, fresh material instead of anything wilted or damp.

None of this means infused oil is off-limits. Home cooks have been making it for generations.

The difference between a safe batch and a risky one almost always comes down to two things: refrigeration and timing.

Dried Herbs vs Fresh Herbs: Which Is Safer for Infusing Oil

Moisture is really the thing to worry about. Bacteria need water to grow, so fully dried herbs carry a lower risk than fresh, water-rich sprigs.

That’s the reasoning behind the classic advice to use dried herbs for oils you want to keep around longer. If you’re not sure which form suits your recipe, this breakdown of dried herbs vs fresh herbs is a good place to start.

But ‘lower risk’ is not the same as ‘no risk.’ Home-dried herbs can still harbor spores if they weren’t dried thoroughly and evenly, which is why I always double-check moisture before I use anything from my own drying rack.

If you’re drying your own, a fast, even method matters — I’ve had good luck following the steps in how to dry herbs in the microwave for small batches that dry all the way through instead of going leathery on the outside and damp in the middle.

One important warning to understand: garlic is the ingredient most often linked to home-infused-oil botulism cases, according to Mayo Clinic’s overview of botulism causes. Garlic grows underground and has heavy soil contact, so treat garlic-in-oil mixtures with the same caution as fresh herbs — or more.

How to Make Herb-Infused Olive Oil Safely (Step by Step)

There are really two approaches here, and which one you pick depends on whether you want a fast-use fridge staple or something with a slightly longer window. If you’re deciding what to grow for this in the first place, this guide to the best herbs to grow on a kitchen windowsill is worth a look before you start.

Dried-Herb Method (Longer Fridge Life)

  1. Sanitize a glass jar or bottle in hot, soapy water and let it air dry completely — any leftover moisture defeats the purpose.
  2. Add fully dried herbs (rosemary, thyme, oregano, or a mix) to the clean container.
  3. Warm your olive oil gently over low heat until it’s just warm to the touch, not simmering, then pour it over the herbs. A gentle warm infusion pulls more flavor out than a cold one.
  4. Let the mixture cool, then cap it and refrigerate right away.
  5. Strain out the herbs after 1–2 weeks for the cleanest flavor, or leave them in and just watch the clock.

Even with dried herbs, I still keep this in the fridge and use it within about 3–4 weeks. Home kitchens can’t verify moisture content or spore load the way commercial producers do, so that shorter window is a smart safety margin, not overcaution.

Fresh-Herb Method (Refrigerate and Use Fast)

Wash fresh herbs, then dry them thoroughly — pat with towels and let them air-dry until there’s no visible moisture left. This step matters more than people think.

Fresh rosemary sprigs and green beans with purple flower on wooden surface`

Pack the dry herbs into a clean jar and cover them completely with oil so nothing is exposed to air.

Refrigerate the jar immediately. Don’t let it sit on the counter ‘just for an hour’ while you finish cooking — that’s exactly the kind of shortcut that turns a safe recipe risky.

Plan to use fresh-herb infused oil within about 4 days, which lines up with general USDA guidance for perishable, low-acid mixtures held under refrigeration.

If you want it to last longer, freeze it instead. Pour the oil into ice cube trays, freeze solid, then pop the cubes into a freezer bag — you’ll have single-serve flavor bursts for soups, sautés, and roasted vegetables for months.

How to Make Herb-Infused Olive Oil Safely infographic

Storage, Shelf Life, and Signs It's Gone Bad

Here’s how the common approaches stack up once you factor in where they need to live and how long they realistically last.

Hand opening a glass mason jar containing herb-infused oil`

A few signs to watch for no matter which method you used: mild cloudiness from herb particles settling is normal, but bubbling, fizzing, a sour or ‘off’ smell, or any mold means the oil goes straight in the trash.

Never taste-test infused oil to check if it’s safe — botulinum toxin isn’t something you can detect by flavor, and a small taste can be enough to cause illness.

If you’re ever unsure, the safest move is to toss it and start a fresh batch. It’s an inexpensive mistake to fix compared to the alternative.

Storage and shelf life at a glance
Method Where to Store Typical Shelf Life Best For
Dried herbs in oil Refrigerator 3-4 weeks Cooking oils, dressings
Fresh herbs in oil Refrigerator About 4 days Quick-use finishing oil
Fresh herbs in oil, frozen Freezer (ice cube trays) Several months Soups, sautés, roasts
Store-bought infused oil Per label (often pantry until opened) Per label Commercially processed for stability

Common Mistakes That Make Infused Oil Risky

Most problems I’ve seen (and made myself, early on) trace back to a handful of habits.

  • Leaving fresh herb oil on the counter because the bottle looks nice by the stove — refrigerate it instead and keep a smaller decorative batch of dried-herb oil out if you want the visual.
  • Skipping the drying step for fresh herbs before they go into the oil, which adds exactly the moisture bacteria need.
  • Assuming a splash of vinegar or lemon juice ‘fixes’ the pH — without actually testing acidity, you can’t confirm it’s low enough to matter, so don’t rely on it as a safety measure.
  • Reusing oil that held garlic or fresh herbs for a second infusion instead of starting clean.
  • Not labeling the jar with a date, which makes it easy to lose track of that 4-day fresh-herb window.

Ways to Use Your Herb-Infused Olive Oil

Once you’ve got a safe, well-timed batch, it’s genuinely one of the easiest ways to upgrade weeknight cooking.

A rosemary or oregano oil is fantastic brushed over dough before baking — it pairs beautifully with the best herbs to put on homemade pizza for an extra layer of flavor.

Fresh rosemary sprigs with needle-like leaves in natural garden setting`

Basil or oregano-infused oil is also a shortcut worth keeping around if you make a lot of red sauce — it works well alongside the best herbs for tomato pasta sauce for a rounder, more fragrant finish.

Garlic-and-herb oil (made and stored with the same fridge caution as any fresh infusion) is the base I reach for in a vegan garlic bread recipe with herb butter.

If you like heat, the same low-and-slow warming technique shows up in how to make chili oil, though chili oil typically skips fresh herbs entirely, which is part of why it behaves a little differently in storage.

Herb oils also drizzle nicely over roasted chicken — pair them with the herbs that go with chicken for a simple finishing touch.

Not sure which herb blend to reach for? This comparison of herbes de provence vs Italian seasoning is a handy reference, and if you’re leaning into Italian flavors more broadly, the best herbs for Italian cooking guide rounds it out nicely.

Frequently Asked Questions

Can I leave herb-infused olive oil out on the counter?

No. Any oil infused with fresh herbs or garlic should go straight into the refrigerator, since room temperature allows the low-oxygen conditions where botulism-causing bacteria can grow.

How long does homemade herb-infused olive oil last in the fridge?

Oil infused with fresh herbs is best used within about 4 days of refrigerated storage; oil made with fully dried herbs can generally be kept refrigerated for 3 to 4 weeks.

Can I freeze herb-infused olive oil?

Yes, freezing is a great option for longer storage. Pour it into ice cube trays, freeze solid, then transfer the cubes to a freezer bag and thaw only what you need.

Is garlic-infused oil more dangerous than herb-infused oil?

Garlic-in-oil mixtures are among the most commonly cited home-infusion risks because garlic has heavy soil contact, so it deserves the same or greater caution as fresh herbs.

Does using dried herbs make infused oil shelf-stable at room temperature?

Not reliably. Dried herbs lower moisture and reduce risk, but home kitchens can't verify spore levels the way commercial processors can, so refrigeration is still the safer default.

Leave a Comment