How long can I store homemade garlic-infused olive oil?

Night before last, I made an olive oil/garlic infusion. I didn't need half of it and am wondering if it is safe to store for a few days. I seem to remember something abut infused oils and bacteria. Thanks in advance.

Bob Y
  • Posted by: Bob Y
  • May 10, 2011
  • 212255 views
  • 35 Comments

35 Comments

Tel September 16, 2021
So I’ve put the garlic in olive oil and stuck it in the fridge if I chop the garlic tomorrow and freeze it in ice cube trays will this work to prevent this
 
Karen July 30, 2021
I'm so glad that I decided to research this. I thought that putting garlic in olive oil was fine and would last a while. Now I'm wondering if I should throw out the bottle. I had a nice decorative bottle and not sure how to disinfect it and the cute little spout with 3 little rubber flaps in it to stop spillage. Would bleach do it, oxyclean, vinegar?
 
Mary G. April 7, 2020
How am I not dead? Nor is any of my family 😯
 
sheridan March 29, 2018
I am curious if using prepackaged garlic can be used. I know that it is stored with lemon juice in it as well. Would this help in the prevention of bacteria growth in the oil?
 
NLaurista December 30, 2017
Wow, I came here for an answer, but now I'm confused more than ever.
 
JasonK December 30, 2017
Okay, so here's what I did:
1.33 Tbsp of 190 proof grain alcohol
Added a mix of 3:1 Cottonseed oil/sesame oil to make 9oz (i.e a soluton with 6% alcohol)
Pre-packaged acidified minced garlic
Pre-packaged acidified minced ginger
dehydrated Chiles de arbol .

This way the oil solution is ≥6% grain alcohol by volume, AND the garlic and ginger are acidified to start with.

This by no means is something I expect to keep long term, but I feel like I can be pretty confident about this being safe for 3-5 days in the fridge.

Any thoughts or concerns?
 
JasonK December 30, 2017
https://www.ncbi.nlm.nih.gov/pubmed/12696684
 
John B. December 29, 2017
Here is some important information about this topic.
Clostridium botulinum is a gram-positive, motile, anaerobic rod. C. botulinum produces spores which themselves produce a toxin that causes paralytic disease which may be fatal. About 145 cases per year are reported in the US.
The spores are produced by the bacteria when they are in conditions where they cannot grow. The spores are an "alternative life form" for the bacteria - a way for the bacteria to go into a dormant state that is resistant to many environmental assaults.

The spores are incredibly resistant to a large number of conditions. Viable spores have been recovered from ceramic pots that are thousands of years old. For a very interesting story about another closely related spore, Bacillus anthracis, causative agent of anthrax, do a web search for "Gruinard Island".

Spores can survive 5 hours in boiling water, but can be inactivated in 4 minutes in an autoclave which provides pressurized steam (121°C, 15 psi). Yes, acid and radiation affect spores and in combination can inactivate them, but the conditions required are very stringent.
 
Chele M. July 12, 2020
Are you saying an olive oil mixture can be kept longer if I preserve it in pressure cooker? Sorry, I’m really confused. I just want to make a garlic & basil infused. olive oil. I want to make it as far in advance as possible so the flavor permeates the oil. & leftovers last bit longer for leftover homemade Italian bread.
 
John B. July 12, 2020
To be safe I would pressure cook the garlic for the 4 mins to sterilize. Then I believe it would be safe to add it to your oil.
 
Chele M. July 13, 2020
Thank you!
 
ChefOno February 20, 2013

I missed one very important point: Just because something smells and tastes okay does not mean it is safe! There are two classes of bacteria: Spoilage bacteria which can make food taste bad, and pathogenic bacteria which very seldom do. A single taste, just touching your tongue to food contaminated with c. botulinum can be lethal. If we could smell poisoned food, there would be very few cases of food poisoning yet 1 out of every 6 Americans become sick from their food every year.

 
ChefOno February 20, 2013

To expand on John's post above:

Jefferson, you mention soaking ingredients in vinegar (acidification / pickling), fermentation, and cooking (Pasteurization) -- these are all accepted methods of food preparation and preservation. Mayonnaise is another example of acidification being used to prevent bacterial growth. A simple infusion of oil with garlic is potentially lethal as it creates the perfect environment for growth of clostridium botulinum, the bacterium which causes botulism.

You can read more about the danger here: http://www.fsis.usda.gov/FACTSheets/Clostridium_botulinum/index.asp

 
JasonK December 29, 2017
I hope this isn't too repetitive. I'm curious if anyone knows whether adding grain alcohol to the mix would mitigate the bacteria risk. And obviously some notion of how much would help, too.
 
John B. February 20, 2013
Vinegar is much different than oil. Vinegar has a very low Ph and therefore inhibits the growth of pathogens.
 
JasonK December 29, 2017
John, I'm curious what you think about adding grain alcohol to the mix. Would that be sufficient to prevent bacteria growth?
 
Jefferson F. February 20, 2013
really? bacteria? not sure about that.... all our life we have had ginger,garlic,onions with a bit of salt and peppercorn seeds soaked in vinegar till it ferments and use them as dipping sauce without refrigeration and it still is fine... and i just made a garlic sauce or toum a week back and a few days ago and kept it for two weeks now and taste just fine which mainly use raw materials... i also did kimchi which mostly is raw and kept it in the fridge and it's just fine... i from time to time also make stir fried garlic and chili in oil and keep it in a room temperature and they just do fine... i guess some people think too much... our family could have all died with some bacteria or disease if that were the case... nature has its way of saving itself...should we throw out a mayo as soon as we open those jars when it's main ingredient is raw egg and vinegar??? BUT MAYBE...just maybe, some of you DO NOT use a serving spoon... we all grow up using a serving spoon from viands to sauces to prevent food or any sauce to turn sour or bad
 
Jefferson F. February 20, 2013
really? bacteria? not sure about that.... all our life we have had ginger,garlic,onions with a bit of salt and peppercorn seeds soaked on vinegar till it ferments and use them as dipping sauce without refrigeration and it still is fine... and i just made a week back a garlic sauce or toum and kept it for two weeks and taste just fine which mainly use raw materials... i also did kimchi which mostly is raw and kept it in the fridge and it's just fine... i from time to time also make stir fried garlic and chili in oil and kept it in room temperature and they just do fine... i guess some people think too much... our family could have all died with some bacteria or disease if that were the case... nature has its way of saving itself...should we throw out a mayo as soon as we those jars when it's main ingredient is raw egg and vinegar??? BUT MAYBE...just maybe, some of you do not use a serving spoon... we all grow up using a serving spoon from viands to sauces to prevent food or any sauce to turn sour or bad
 
LoraA February 10, 2013
ChefOno, the link was extremely helpful. I'm one of those people who wants to know the "why" of things. The link provided me with that part of the picture. It also made me rethink several other things like the fact that I am using olive oil and fresh garlic in tabouli salad. I was going to make some today, and now realize I'm going to only make half the recipe so it's consumed within the 3-5 day time frame you suggested. It also appears that fresh herbs can create a similar scenario, which is making me more conscious about things like addition of fresh basil, thyme and parsley. I used to make salad dressing with dried herbs only, and then I thought use of fresh would make it so much better. It obviously did, but does give one a few things to think about and take into account!
 
ChefOno February 10, 2013

Heat is not the way to go if you want fresh garlic flavor. That's one reason why commercial preparations are acidified (see post above).

Don't let your dressing sit out > 40F for more than two hours. Time under refrigeration should be limited to no more than one week (3-5 days would be better).

You can read more about the subject here:

http://umaine.edu/publications/4385e/

 
LoraA February 10, 2013
I agree; I love the taste of fresh garlic and wouldn't want to saute it first. I actually thought about two approaches: making in much smaller batches so it would be used up quickly, and eliminating the garlic in the dressing and adding the minced garlic directly into the salad as I use it. I will check out the link you mentioned.
 
LoraA February 10, 2013
This got me thinking about buttermilk ranch salad dressing which I make. The recipe calls for fresh garlic, olive oil, basil, etc. I don't heat the dressing and have -- in the past -- stored it in the frig. I'm assuming thee could be a botulism danger here based upon the info in the thread?
 
ChefOno July 29, 2012

Some dangerous confusion here I believe.

Botulism is caused by toxins produced by the bacterium Clostridium botulinum. The poison can be deactivated by heat, typically specified as 212F for 10 minutes, but the spores of C. botulinum can survive much higher temperatures (250F) which is why pressure canning is necessary for some foods.

Garlic, like anything that comes from the ground (especially) or is exposed to airborne dirt (fruits and vegetables), can harbor botulism spores which replicate in anaerobic (oxygen poor) environments even under refrigeration which is why homemade garlic oil = bad news. Commercial flavored oils and salad dressings are properly acidified to prevent the problem (pH < 4.6).

Oils, especially those low in saturation and without added preservatives (aka anti-oxidants) should be stored away from light and under refrigeration if possible. The evil is oxidization = rancidification = free radicals = cancer. Contrary to popular belief, rancidity is a process, not an absolute condition. In other words, the nasty compounds build up gradually until, at some point, you're compelled to turn your nose away. Unfortunately it would have been more healthful to have used the oil long before then. Better to go by date than by smell.

 
Mj89 March 7, 2024
Ok I want to make a big bottle for my father in law I actually like the guy so if I am understanding correctly if I put the garlic in the oven at 250 for like 10-15min the oil would be shelf stable? Or how do I make shelf stable garlic olive oil
 
Lance54 July 28, 2012
Chefdaddy, if I infuse my olive oil with garlic, dried tomatoes and basil and cook at 200F for 30min and strain out all residue of herbs does it have to refrigerated or can i leave it on my counter with my other oils?
 
boulangere July 28, 2012
It may or may not contain contaminants at that point, considering that garlic and tomatoes are both vehicles for botulism, but once you have heated any fat, it begins to oxidize quickly and will therefore rancidify much more rapidly than unheated and refrigerated oils.
 
ChefDaddy May 11, 2011
There seems to be a disconnect with what garlic oil is here. In no way can you get a great tasting oil by putting anything raw in it directly for flavor and is dangerous to do. Now, infused oils do not have anything residing in the oil and heat is used to infuse the oil with the flavors of what ever flavor your trying to acheive. Botulism that we speak of here in regard to garlic comes from the bacteria that is in the soil that the garlic is grown. It is a natural occurance. And it is anarobic, it thrives in lack of oxygen environs. When infusing oil with heat (if hot enough) the bacteria dies and doesn't have a chance to multiply. Keep your oil temp between 180-200F. And you will be fine!
 
ChefJune May 11, 2011
No matter how carefully you treat it, garlic stored in olive oil is very fragile, and can go bad very quickly. All oils that have herbs, etc added to them directly are extremely volatile, and have VERY short shelf lives, even when refrigerated. The garlic in oil seems to be especially affected.
 
dymnyno May 11, 2011
If you don't use it soon after you make it or buy it and open it, toss it. Even if it is not going to kill you, it won't taste good!
 
ChefDaddy May 11, 2011
If you infuse your oil with heat and bring it up at the end to 200F and remove all particulates from the oil by carefully straining and there is no garlic physically left in the oil there is no risk of botulism. The heat kills the bacteria. The lack of particulates is important over time.
 

Voted the Best Reply!

boulangere May 10, 2011
Refrigeration is effective if you refrigerate soon after preparation. If you've let it sit at room temp overnight, I'd suggest you toss it. Consider it cheap insurance. Next time, make it, use it, refrigerate it. The same goes for oils infused with fresh herbs. By all means, don't be afraid to experiment, just let refrigeration be your friend.
 
flgal May 10, 2011
To add to my previous answer. Do read this article. http://garlicster.blogspot.com/2008/10/how-to-make-garlic-infused-olive-oil.html
 
flgal May 10, 2011
I would never keep it for very long. You were right about the garlic and bacteria. The refrigeration will not help.
 
boulangere May 10, 2011
You'll need to store it in the refrigerator. Garlic carries the risk of botulism contamination. Before using it, remove it from the refrigerator to let the olive oil come to room temp. Was it good?
 
John B. January 19, 2013
Remember that botulism spores can vedetate at temperatures above 36 F. so make sure you store at or below this temperature
 
Recommended by Food52