Infusing Olive Oil With Herbs, Safely
A bottle of oil infused with rosemary, garlic or chilli looks lovely and tastes wonderful. It is also one of the few kitchen projects with a serious safety catch: fresh aromatics in oil can breed the botulism bacterium. The good news — a few simple rules make it safe.

This is not internet scaremongering. Clostridium botulinum — the bacterium behind botulism — thrives in exactly the conditions a jar of herb oil provides, and garlic-in-oil has caused documented, dangerous poisonings. The toxin it makes is invisible, odourless and tasteless, so your senses give no warning at all. The whole of safe infusing comes down to controlling two things: moisture and time.
Where the danger is
Botulism spores live harmlessly on plants and in soil. The trouble starts when you seal them away from oxygen in a low-acid, moist, room-temperature environment — which is precisely a bottle of fresh garlic or herbs submerged in oil. The oil forms a barrier that blocks air, and any spores present can grow and produce toxin. Researchers have found that as few as one to five spores can be enough. The risk comes specifically from the moisture fresh ingredients bring and the time they sit warm; remove one or both and you remove the danger.
Two safe methods
There are two reliable routes, and they map onto the two levers above. The dry route: use thoroughly dried herbs and aromatics, because botulism needs water — properly dried rosemary, chilli or dried garlic add almost no moisture, so an oil made this way is far safer and keeps for weeks. The fresh-but-fast route: infuse with fresh herbs if you like, but treat the oil as perishable — keep it refrigerated and use it within a few days. Never leave fresh garlic or herbs in oil on a warm counter for weeks. When in doubt, small batches, cold storage, and the bin for anything you have held too long.
| Approach | Ingredients | Store | Use within | Risk |
|---|---|---|---|---|
| Dry route | Dried herbs, dried garlic, chilli | Cool, dark cupboard | 2–4 weeks | Low |
| Fresh-but-fast | Fresh herbs / garlic | Refrigerated, always | A few days | Managed |
| The bad habit | Fresh garlic on a warm shelf | Room temperature, sealed | — never | Dangerous |
The decoration trap
Here is the part the pretty-bottle photos never mention. That herb branch standing in a clear bottle on a sunlit shelf is a decoration, not a food — do not cook from it, however handsome it looks. If you want oil you will actually eat, use dried aromatics or make a small fresh batch, keep it cold, and finish it within days. Label the jar with the date. Because the toxin carries no warning taste, the calendar is your only real defence.
Rules that keep it safe
- For a keeping oil, use dried herbs, chilli and garlic — no added moisture, far less risk.
- For fresh aromatics, refrigerate the oil and use it within a few days, like any perishable.
- Never store fresh garlic or herbs in oil at room temperature for weeks.
- Label the date and throw away anything held too long — there is no taste cue for the toxin.
- Make small batches you will finish quickly rather than a big jar that lingers.
Infused oil safety: common questions
Is homemade garlic or herb oil really dangerous?
It can be. Fresh garlic or herbs sealed in oil at room temperature can allow Clostridium botulinum to grow and produce a toxin. It is a documented, real risk — not a myth.
How do I make infused oil safely?
Two ways: use thoroughly dried aromatics, which add no moisture; or use fresh ones but keep the oil refrigerated and use it within a few days.
Can I tell if infused oil has gone dangerous?
No. The botulism toxin is invisible, odourless and tasteless. You cannot see, smell or taste it, which is exactly why the storage rules and the date label matter so much.
How long does fresh-herb infused oil keep?
Only a few days, refrigerated, treated as a perishable. Dried-ingredient oils, made without added moisture, keep for a couple of weeks in a cool, dark place.
What about the herb branch standing in a clear bottle?
Treat it as decoration, not food. Do not cook with it. For oil you will eat, use dried aromatics or a small, cold, quickly-finished fresh batch.
If you want the look of a herb branch standing in a clear bottle on the shelf, treat it as decoration, not food, and don’t cook from it. For oil you will actually eat, use dried aromatics or make a small fresh batch, keep it in the fridge, and finish it within days. Label the jar with the date. Botulism produces no warning taste — your only defence is the calendar.
Based on standard food-safety guidance on infused oils (US Cooperative Extension and equivalents); not medical advice.