top of page

How to Make Garlic-Infused Olive Oil Safely at Home

4 days ago
5 min read

Updated: 17 hours ago

Updated November 2026 · By Andalucian Olives, a UK olive oil business in Lytham St Annes


Quick answer: To make garlic-infused olive oil safely, warm sliced garlic gently in extra virgin olive oil, let it cool, then keep the oil in the fridge and use it within 4 days, or freeze it. Never leave homemade garlic oil at room temperature, because fresh garlic in oil can carry a risk of botulism.


Is homemade garlic oil safe?


It is safe if you keep it cold and use it quickly. Fresh garlic covered in oil sits in a low-acid, airless environment, which is exactly where Clostridium botulinum, the bacterium behind botulism, can grow.

The UK Food Standards Agency lists foods preserved in oil among the foods linked to botulism, and warns that bottling herbs or garlic in oil at home can be risky. That's why homemade garlic oil belongs in the fridge, not in a pretty bottle on the worktop.

US university extension services do publish a tested method that soaks chopped garlic in a citric acid solution before it goes into the oil. Penn State Extension warns that weaker solutions or shorter soaking times can make the oil unsafe. Unless you follow a tested method like that to the letter, treat homemade garlic oil as a fridge-only food.


How do you make garlic-infused olive oil?


Warm sliced garlic very gently in extra virgin olive oil, let it cool, then jar it and chill it straight away. It takes about 20 minutes, plus cooling.

You need: 250ml extra virgin olive oil, 4 to 6 garlic cloves, a small pan and a clean jar or bottle with a lid.

  1. Peel the garlic and slice it thinly. Slices give more flavour than whole cloves.

  2. Put the garlic and oil in a small pan over the lowest heat.

  3. Warm gently for 10 to 15 minutes, until the garlic smells sweet and turns pale gold. Don't let it brown, or the oil will taste bitter.

  4. Take the pan off the heat and leave the oil to cool completely.

  5. Strain out the garlic if you like, then pour the oil into the clean jar and seal it.

  6. Label the jar with today's date, put it straight in the fridge and use it within 4 days.

Warming gives a softer, sweeter garlic flavour and speeds the infusion up. It doesn't change the storage rule. Pick a mild, fruity everyday oil so the garlic leads; our extra virgin olive oil guide explains how the grades and styles differ.


How long does homemade garlic oil last?


Homemade garlic oil made with fresh garlic lasts 4 days in the fridge. After that, throw it away, even if it looks and smells fine. Freezing keeps it for longer.


How it's made and kept

How long it lasts

Source

Fresh garlic, kept in the fridge (below 5°C)

Use within 4 days

University of Georgia Extension; FSA (fridge temperature)

Fresh garlic, frozen

Keep frozen until you need it

University of Georgia Extension

Fresh garlic, at room temperature

Not safe: don't do it

University of Georgia Extension; FSA

Commercially dried garlic, cool dark cupboard

Up to 3 months

University of Maine Extension

Shop-bought garlic olive oil

Follow the label

The producer


The Food Standards Agency advises keeping your fridge below 5°C, which stops or slows the growth of bacteria. If you're ever unsure whether something was stored properly, its advice is simple: throw it out. Plain olive oil is a different story, and keeps for months; see does olive oil go bad?.


Can you freeze garlic oil?


Yes. Freezing is the best way to keep homemade garlic oil for longer. Pour the cooled oil into an ice cube tray, freeze it, then tip the cubes into a labelled freezer bag. Drop a cube straight into a hot pan, or thaw one in the fridge to drizzle.


Is garlic oil made with dried garlic safer?


Yes. Dried garlic has almost no moisture, so bacteria can't grow in the oil. The University of Maine calls commercially dried garlic and herbs the safest way to make infused oils at home. Keep the oil in a cool, dark place and use it within 3 months. Expect a milder flavour, closer to garlic powder than fresh garlic.


Can you give homemade garlic oil as a Christmas present?


It's not a good idea. Homemade garlic oil made with fresh garlic has to live in the fridge and be used within 4 days, which doesn't suit a gift that might sit under the tree for a week.

If you want to give garlic oil, give a bottle made to be kept in the cupboard. Our organic garlic flavoured extra virgin olive oil keeps in a cool, dark cupboard with the cap closed. You can also pick it as one of the three bottles in our olive oil gift set (£31.50), on pre-order for delivery by 11 December.


Key points

  • Fresh garlic in oil: keep it in the fridge and use it within 4 days, or freeze it.

  • Never store homemade garlic oil at room temperature.

  • Oil made with commercially dried garlic: cool, dark cupboard, up to 3 months.

  • If in doubt, throw it out.


How do you use garlic olive oil?


Use it where you can taste it, and keep the heat gentle, because high heat fades the garlic flavour.

  • Brush it over sliced bread and toast it for quick garlic bread.

  • Toss it through hot pasta with chilli flakes and parsley.

  • Brush it over roast potatoes for the last few minutes in the oven.

  • Use it as the base of a marinade for chicken, lamb or fish.

  • Spoon it over prawns, in the style of gambas pil pil.

For more ideas, see how to use flavoured olive oils, or make a proper Spanish allioli with extra virgin olive oil.


Frequently asked questions

Can garlic oil give you botulism?

Homemade garlic oil made with fresh garlic can, if it is kept at room temperature. Keep it in the fridge and use it within 4 days, or freeze it.

Does heating garlic oil make it safe to keep?

No. Warming helps the garlic flavour infuse faster, but homemade garlic oil still needs to go in the fridge and be used within 4 days.

Should you strain the garlic out of garlic oil?

It's up to you. Straining makes the oil easier to pour and stops pieces burning when you cook with it, but the storage rule stays the same.

What olive oil is best for garlic oil?

A mild, fruity everyday extra virgin olive oil works best, so the garlic leads. Very peppery early harvest oils are better kept for drizzling on their own.


Bottle of organic garlic flavoured extra virgin olive oil on a rustic table with fresh garlic cloves

Comments


bottom of page