How Long Does Garlic Last?
A whole, unbroken head of garlic lasts 3–5 months in a cool, dry, dark pantry. Peeled cloves last about 1 week in the fridge. Homemade garlic in oil must be refrigerated and used within 4 days.
Garlic — whole
shelf life- Cut: 1 week in the fridge
- Homemade, in oil: 4 days in the fridge
Fridge at 40°F (4°C) or below · freezer at 0°F (−18°C). Freezer times are for best quality; frozen food stays safe longer.
Garlic is a cured bulb whose papery wrapper lets a whole head keep for months at room temperature. Each step of breaking it down shortens that: a separated clove lasts weeks, a peeled clove about a week. Garlic is also a low-acid vegetable that can carry botulism spores from the soil, which matters when it is stored in oil.
How to store garlic
- Keep whole heads in a mesh bag, basket or ventilated garlic keeper in a dark cupboard. Avoid plastic bags and sealed containers, which trap moisture and cause mold.
- Do not refrigerate whole heads; the cold, humid air triggers sprouting and then mold once the garlic comes back out.
- Leave the head intact and break off cloves as needed, since the wrapper is what gives garlic its long life.
- Freeze peeled cloves, or chopped garlic in teaspoon portions, in a freezer bag. If you freeze chopped garlic covered in oil, put it in the freezer immediately and thaw it only in the fridge.
- Make garlic-infused oil in small amounts, refrigerate it right away and discard it after 4 days, or buy commercial versions, which are acidified for safety.
How to tell if garlic has gone bad
- Cloves that are soft, mushy or hollow when squeezed; good garlic is hard.
- Brown or yellow-tan spots on the peeled clove, or cloves that have turned translucent and sticky.
- Blue-green or black powdery mold between the cloves or under the wrapper.
- A sour or sharp off smell instead of the clean pungent garlic scent.
- Garlic in oil gives no warning at all: botulism toxin has no smell, taste or visible sign, so go by time and temperature only.
Bacteria that cause food poisoning usually do not change the look, smell or taste of food. Go by the time limits first, and the signs above second.
Garlic shelf life chart
| State | Fridge | Freezer | Pantry |
|---|---|---|---|
| Whole | Not recommended | Not recommended | 3–5 months |
| Unbroken head. Once cloves are separated from the head, use them within about 10 days to 3 weeks. | |||
| Cut | 1 week | 3–6 months | Not safe |
| Peeled cloves. Chopped or minced fresh garlic is best within 1–2 days. | |||
| Homemade, in oil | 4 days | 3–4 months | Not safe |
| Botulism risk. Never keep homemade garlic oil or garlic confit at room temperature. | |||
Not safe = perishable: no more than 2 hours at room temperature (1 hour above 90°F / 32°C). Not recommended = possible, but quality suffers or it serves no purpose.
Frequently asked questions
Why is homemade garlic in oil dangerous?
Garlic in oil can cause botulism. Garlic is a low-acid vegetable that may carry Clostridium botulinum spores from soil, and covering it in oil removes the oxygen, which is exactly what those spores need to grow and make toxin at room temperature. The oil will look, smell and taste normal. Keep homemade versions refrigerated at 40°F (4°C) or colder and use them within 4 days, or freeze them.
Is sprouted garlic safe to eat?
Yes, garlic with a green sprout is safe. The sprout itself can taste sharp and bitter, especially raw, so many cooks split the clove and pull it out. Sprouting does mean the garlic is old, so use it soon, and discard cloves that are also soft, shriveled or moldy.
Why did my garlic turn blue or green when I cooked or pickled it?
Blue or green garlic is safe to eat. Sulfur compounds in garlic react with acids such as vinegar or lemon juice, or with trace minerals in water and cookware, and form blue-green pigments. It happens more with young garlic. The color change is harmless and does not affect flavor.
How long does jarred minced garlic last after opening?
Opened jarred minced garlic keeps in the fridge for the period stated on its label, commonly a few months. Commercial products are acidified, usually with citric or phosphoric acid, which is what makes them safe; this is not true of garlic you chop and jar at home. Always refrigerate after opening and use a clean spoon.
Can you freeze garlic?
Yes. Peeled whole cloves, chopped garlic and garlic purée all freeze well and hold good quality for 3–6 months at 0°F (−18°C). The texture softens, but the flavor holds up in cooking. Freezing is also the safe way to keep garlic in oil longer than 4 days.
Related foods
| Food | Fridge | Freezer | Pantry |
|---|---|---|---|
| Onions Whole |
Not recommended | Not recommended | 1–2 months |
| Ginger Whole |
3–4 weeks | 6 months | 1 week |
| Green Onions Whole |
7–10 days | 3–4 months | Not recommended |
| Leeks Whole |
1–2 weeks | 3–6 months | Not recommended |
| Garlic Powder Opened |
Not recommended | Not recommended | 2–3 years |
| Olive Oil Opened |
Not recommended | Not recommended | 3–6 months |
Reviewed 2026-09-20. Times follow published USDA FoodKeeper / FSIS, FDA and CDC storage guidance; where sources differ we use the shorter time. How we compile this data.