I'm the kind of chef who chops up whatever the local bazaar has that week, adds a random amount of seasonings until the color suits my fancy and then cooks it. Somehow. Most days I don't go hungry.

The other day, fresh garlic was really cheap so I bought a bunch. The housewares shop had some little jugs with corks, so I picked one up. Back at home I chopped up a few heads of garlic, stuffed it the jug, then filled the jug with olive oil. Bread for the next two days had had a great dipping sauce! However dipping bread in oil uses up a lot of oil and not very much garlic, so on the second evening when it was about half empty I topped off the jug with fresh oil. I corked it, wiped off the drips from around the top with a paper towel and left it on the table.

This is what I found in the morning. (click for larger)

Garlic overflow

I am certain when I corked it the level of oil was below the bottom of the cork because I tipped it to see how the garlic was getting an and remember the air moving around in the jug. I am also certain the top was clean having wiped it off, and of course there was no puddle. Even stranger, as I have left it there today it has continued to drip.

The only clew seems to be garlic mixture seems to be producing periodic bubbles that float up through the oil. This does not explain to me how the oil got out, but it does seem like it must be producing

I see three fields for questioning:

  • Casual kitchen tinkerer: How should I safely store my garlic and olive oil? Is there danger to storing this in something that seals better than a plastic cork? Is it safe to eat?
  • Amateur chemist: Is there a chemical reaction going on between the garlic and the oil? Would it ever explode?
  • Wannabe physicist: How did the oil get out? This seems like a gravity defying stunt. Note the current oil level is about ½" below the cork.

Somebody please tell me why my day's adventure at the bazaar made this much mess and how to make yummy things with garlic and olive oil safely!

  • 17
    This is actually a terrible idea because of botulism. See, for example, cooking.stackexchange.com/a/9465/6317 I don't know if botulism causes bubbling or overflowing like that, but I wouldn't eat that anymore Commented Feb 21, 2014 at 20:47
  • 1
    Seasoned Advice has a lot of content relating to botulism in various contexts. You may also be interested in this answer, in addition to Yami's link.
    – Kareen
    Commented Feb 21, 2014 at 21:10
  • Garlic will overwhelm the flavors of olive oil. Don't spoil quality olive oil with anything. Commented Feb 21, 2014 at 22:33
  • 2
    @Optionparty You underestimate how much olive oil I have at my disposal. (Have you checked the location in my profile?) Sometimes I want garlic. I have barrels of oil to work from when I want other flavors.
    – Caleb
    Commented Feb 21, 2014 at 22:41
  • 5
    As many answers have stated already: It's too risky to take chances here. Throw it away. However, why not make aioli instead? It's simplest form uses only garlic and olive oil and you don't need to wait before you can eat it. It is also very creamy (similar to mayonaise), which makes it perfect as a dib. Takes only a couple of minutes to make too and you get to securely avoid the nasty "paralysis and death"-part.
    – Anpan
    Commented Feb 24, 2014 at 7:43

3 Answers 3


I agree that fermentation from bacteria is the most likely explanation. So, to tackle your questions point by point:

  1. It is unsafe, as the other posts already mentioned, due to botulism danger. Plant matter without access to oxygen is not shelf stable, unless it has been pickled with sufficient acid.

  2. There will be some chemistry going on between garlic and oil, but not much of it. Most of it will be solubility stuff; some reactions will probably happen too, but nothing you will notice. Most important, there will be no oil-garlic explosions.

    The results you are seeing are most likely caused by some microorganism (bacteria or yeast) gorging itself on the sugars in your garlic and burping out some gas, probably CO2. There is nothing strange about the gas building enough pressure to get a bit of oil out. Brewers can tell you that you never stopper a bottle or carboy in which something is undergoing primary fermentation, else your cork blows out or the whole vessel shatters. If you ever popped a champagne bottle, you know how much force you can get in there.

  3. The gas from the fermentation could not dissolve in the oil (the way it would had happened with CO2 in a watery medium). It built up pressure against the cork. I suspect that the cork was not perfectly tight, else it'd have shot out. Instead, the foam probably pushed it up a bit until it could flow around it, and got out. The pressure fell, and the remaining oil stayed in the bottle.

As to making yummy oil with garlic safely, TonyArra already told you: you can keep it in the fridge and eat it up within a few days. Don't top it up with new oil! It is perishable just like mayonnaise or milk, but the ugly part about it is that you won't notice anything if there is a lively botulinum colony in there. No off smells, color changes or similar. Most bacteria which live in food don't survive without oxygen (c. botulinum is an exception) and the ones which make food smell bad will not be present even if you have botulinum in your oil.

If you want something which keeps, look into recipes which require pickling or freezing. You won't be able to get a garlic oil with them, but maybe a garlic spread will work for your bread too.


I would throw it away quickly. Making garlic oil is a huge risk for botulism (botulism is a bacteria that thrives in food when there's a lack of oxygen, as is the case with garlic submerged in olive oil).

You CAN make garlic-infused olive oil, but it's best to keep it in the fridge to prevent the botulism from growing. They say that it's difficult to tell when botulism has developed in food, but the air bubbles could very well be caused by the bacteria (anaerobic bacteria usually expel CO2). Edit: it's true that this is most likely not botulinum bacteria, but even if it IS fermentation, this means that you've have thriving anaerobic bacteria inside your oil, and thus botulism is a sincere threat here.

Botulism CAN cause paralysis and even death, so if you haven't been properly refrigerating your garlic oil, it's not worth the risk. It should be stored at or below 36F/2C. At this temperature, the oil may start to solidify, so it might be necessary to take the oil out a little in advance before using it. It should never be kept out for more than 4 hours at room temperature.

  • Are you trying to tell me that a little bit of bacteria gave off enough CO2 to eject several tablespoons of oil through a closed cork? That's some energetic bacteria. That makes me want to turn my kitchen into a biology lab. On the other hand, do you think fermentation might be a more likely candidate?
    – Caleb
    Commented Feb 21, 2014 at 21:39
  • 2
    @Caleb I can't account for the fact that you lost so much oil, just that bacteria could lead to air bubbles. Fermentation is basically caused by bacteria in a low-oxygen environment...so we'd still be talking about energetic, anaerobic bacteria.
    – TonyArra
    Commented Feb 21, 2014 at 21:46
  • 1
    @Caleb the reason you could get away with fermentation and not get botulism is because it's typically done in an acidic environment, which the botulinum can't thrive in. This, however, is not an acidic environment. So the fact that ANYTHING is going on that could hint at bacterial growth is troublesome.
    – TonyArra
    Commented Feb 21, 2014 at 21:53
  • 8
    @Caleb: Yes, he is trying to tell you that. In fact, the USDA, FDA, etc. all very specifically tell you not to go anywhere near a can (or other container) that's bulging or cracked, because that's exactly what happens when bacteria breed. You don't need actually need a huge amount of gas if the container is almost full - enough to build up more pressure than the container can handle will make it "explode". I suspected contamination as soon as I saw your question title, and the fact that you can actually see bubbles serves as confirmation; olive oil doesn't bubble by itself.
    – Aaronut
    Commented Feb 21, 2014 at 22:41

First of all: I am not very familiar with fermentation. Therefore I cannot give you any advice as to whether your oil is still edible or not.

Could it be capillary action that caused the oil overflow? If I remember rightly PC enthusiasts who submerge a whole PC into an aquarium with cooking oil (for cooling) always have the problem that oil "climbs" the cables.

  • Welcome to Seasoned Advice, and thanks for the answer. Your English really was fine, but I went ahead and edited a little anyway. (I also think this sounds like a plausible explanation!)
    – Cascabel
    Commented Feb 22, 2014 at 1:06
  • @ChiChiChan This may explain how the oil seeps through the opening of the jug with the cork in the way; however, I don't think that it would explain the air bubbles. It's most likely part of the puzzle here: the oil bubbled up to the top of the jug and was sucked through the tiny space between the cork and lip.
    – TonyArra
    Commented Feb 22, 2014 at 1:09
  • @TonyArra At the same time, the bubbles probably don't have anything to do with the oil getting out. This isn't a big bubble eruption; a few little bubbles can't push oil up that far. And the "sucked through the tiny space" you mention is capillary action.
    – Cascabel
    Commented Feb 22, 2014 at 1:30
  • @Jefromi umm that's exactly what I meant. The bubbles getting sucked through the tiny space is capillary action. I was referring to the point in time when the jug was completely full (unsure whether the bubbles would have expedited this or not. Pressure building from CO2 in the jug COULD cause a forceful explulsion of the liquids. )
    – TonyArra
    Commented Feb 22, 2014 at 2:46
  • Slight pressure build up assists. Commented Feb 16, 2018 at 23:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.