Guide
Garlic in Oil and Botulism: The Real Risk and the Safe Method
The short answer
Garlic in oil is dangerous for a specific reason: oil provides an anaerobic (no-oxygen) environment, and combined with a low-acid food like garlic that can carry Clostridium botulinum spores, that is the ideal condition for the bacterium to germinate, multiply, and produce a deadly neurotoxin. The oil is not preserving the garlic; it is protecting the bacterium.
Because untreated garlic-in-oil is not acidified, it is not shelf-stable. UGA extension guidance is explicit: infused oils made with fresh garlic and no acidification must be kept in the refrigerator and discarded 4 days after being made. Never leave homemade garlic oil on the counter, and do not can it.
The only way to store garlic in oil longer is to acidify the garlic first with a tested method. The University of Idaho method soaks chopped garlic in a 3% citric acid solution for 24 hours before it goes in oil. Commercial garlic-in-oil is made safe with added acidifiers under controlled conditions, which is why store products are shelf-stable and your kitchen version is not.
Why oil plus garlic is a botulism trap
The danger comes from combining three things garlic-in-oil naturally provides. Oils create an anaerobic environment; garlic (and herbs) are low-acid; and spores of C. botulinum may already be present on garlic and herbs. As UGA extension puts it, when those spores meet an ideal environment of no oxygen, low acid content, and ambient temperatures, they can germinate, multiply, and produce a deadly neurotoxin.
Crucially, you cannot see, smell, or taste the toxin, and the garlic can look and smell perfectly fine. That is what makes it so hazardous: nothing warns you. Refrigeration slows the bacterium but does not make untreated garlic-in-oil indefinitely safe, which is why there is a hard time limit.
The rules for homemade garlic oil
- Untreated (not acidified) garlic-in-oil must be refrigerated and discarded 4 days after being made.
- Never store homemade garlic-in-oil at room temperature, and never can or vacuum-seal it for shelf storage.
- The same anaerobic rule applies to oil-packed herbs, dried tomatoes in oil, and roasted-garlic confit stored in fat.
- To keep garlic in oil longer, the garlic must be acidified first using a tested method (below).
โ Homemade garlic-in-oil made without acidification must be refrigerated and thrown out 4 days after it is made. Botulinum toxin is odorless and tasteless; do not rely on how the oil looks or smells.
The tested acidification method, and commercial products
Research at the University of Idaho established a safe home method: acidify the garlic before infusing. Their procedure mixes 1 tablespoon of citric acid into 2 cups of water and soaks the chopped garlic, cut into 1/4-inch or slightly smaller pieces, submerged for 24 hours at room temperature. The ratio is critical: 1 part garlic to 3 parts citric acid solution (about 2/3 cup chopped garlic to the 2 cups of solution). Extension is emphatic that you do not replace the citric acid solution with vinegar or lemon juice, because those have not been tested and may result in an unsafe product.
Commercially bottled garlic-in-oil is a different animal: manufacturers add tested acidifiers and control the process, which is why those products are shelf-stable. That safety does not transfer to a jar you make at home by eye. If you want the flavor without the risk management, buy the commercial product, or make small amounts of untreated garlic oil and honor the 4-day refrigerated limit.
Sources
Reviewed 2026-07-18. We cite university Extension, government, and established horticultural sources โ and never invent pesticide rates or dangerous treatments.
- UGA CAES Field Report - How to Safely Make Infused Oils โ Oils provide an anaerobic environment, and combined with low-acid food matrices such as garlic and herbs create perfect conditions for bacteria; spores of C. botulinum may already be present in garlic and herbs and, given no oxygen, low acid, and ambient temperatures, can germinate, multiply, and produce a deadly neurotoxin; untreated infused oils must be kept in the refrigerator and discarded 4 days after being made; University of Idaho method mixes 1 tablespoon citric acid into 2 cups water, uses 1 part garlic to 3 parts citric acid solution (about 2/3 cup chopped garlic in 1/4-inch pieces), soaked submerged 24 hr at room temperature; do not replace the citric acid solution with vinegar or lemon juice as they have not been tested and may be unsafe.