Skip to main content

How Long Roasted Garlic Lasts in the Refrigerator and How to Store It Properly

Roasted garlic keeps for three to ten days in the refrigerator, depending on how you store it and whether the cloves are still in the skin

Whole roasted garlic bulbs (cloves still attached to the papery skin) last about ten days when stored in an airtight container on a shelf, not in the crisper drawer. Once you squeeze the soft cloves out of their skins, they last only three to five days because the exposed flesh oxidizes and dries out faster. The difference matters: if you roast a whole bulb and plan to use it gradually, leave the cloves in the skin until you need them. If you've already separated them, eat them sooner or store them in a way that slows air exposure.

Temperature and moisture are the two factors that control how long roasted garlic stays good. A refrigerator set to 40°F or below slows the growth of bacteria and mold. Moisture—either too much or too little—shortens shelf life. Roasted garlic that sits in condensation will mold within days. Roasted garlic that dries out becomes hard and bitter, though it's still safe to eat.

Key Takeaways

  • Whole roasted garlic bulbs in their skin last about ten days in an airtight container on a refrigerator shelf.
  • Separated roasted garlic cloves last three to five days because the exposed flesh oxidizes quickly.
  • Store roasted garlic in a glass or plastic container with a tight-fitting lid to prevent moisture loss and mold growth.
  • Roasted garlic stored in oil should be eaten within three days or frozen to prevent botulism risk.
  • Frozen roasted garlic keeps for up to three months and works well in soups, spreads, and sauces.

The best container for roasted garlic in the refrigerator

Use a glass or plastic container with a tight-fitting lid—not plastic wrap or a paper bag. Glass is better than plastic because it doesn't absorb odors and lets you see what's inside without opening it. The lid must seal well enough to prevent air from drying out the garlic, but the container should not trap condensation. If moisture beads up on the inside of the lid, the garlic will mold.

If condensation forms, wipe the inside of the lid dry before closing it, or leave the container slightly ajar for a few minutes to let excess moisture escape. Some people place a paper towel inside the container to absorb moisture without sealing the garlic in dampness. This works well for whole bulbs but is less effective for separated cloves, which dry out faster anyway.

Storing whole bulbs versus separated cloves

Whole roasted bulbs (cloves still in the papery skin) are the best choice if you want maximum shelf life. The skin acts as a barrier against air and moisture. Store them in a sealed container on a refrigerator shelf—not in the crisper, which is designed to hold moisture and will speed up mold growth. Check them every few days. If you see soft spots, dark patches, or smell ammonia, throw the bulb out.

Separated cloves should go into a container as soon as they cool. Squeeze them out of the skin only when you're ready to use them, if possible. If you've already separated them, store them in a shallow container so you can see them all at once and spot mold early. Eat them within three to five days. They're best used in spreads, mashed into butter, stirred into soups at the end of cooking, or spread on bread.

Why roasted garlic in oil is riskier than you might think

Roasted garlic stored in oil is convenient but carries a real food safety risk. Oil creates an oxygen-free environment, which is exactly what Clostridium botulinum bacteria need to grow and produce toxins. Botulism is rare but serious—it causes paralysis and can be fatal. The risk is highest when garlic is stored at room temperature, but it exists in the refrigerator too, especially if the oil is not acidic.

If you want roasted garlic in oil, eat it within three days and keep it refrigerated at 40°F or below. A safer option is to add acid: store roasted garlic in oil mixed with vinegar or lemon juice (at least one part acid to four parts oil). Even better, freeze roasted garlic cloves on a tray, then transfer them to a freezer bag or container. You can add oil later when you use them, or use them straight from the freezer in cooked dishes.

Freezing roasted garlic for longer storage

Frozen roasted garlic keeps for up to three months and is the best option if you roast a large batch. Spread cooled cloves on a baking sheet in a single layer and freeze for two to three hours until solid, then transfer them to a freezer bag or airtight container. This prevents them from clumping together, so you can grab a few cloves at a time without thawing the whole batch.

Frozen roasted garlic works well in soups, stews, sauces, mashed potatoes, and roasted vegetables. It will be softer than fresh roasted garlic when thawed, but the flavor is still strong. You don't need to thaw it before cooking—just add it directly to hot dishes. If you're making a spread or using it raw, thaw it in the refrigerator first and drain off any liquid that collects.

Signs that roasted garlic has gone bad

Throw out roasted garlic if you see dark patches or fuzzy mold, smell ammonia or sour vinegar, or notice a slimy texture. These are signs of bacterial or mold growth. Roasted garlic that has simply dried out is still safe to eat—it will taste bitter and hard, but it won't make you sick. If you're unsure, the safest choice is to discard it.

Roasted garlic that has been stored in oil for more than three days should also be discarded, even if it looks and smells fine. Botulism toxins are invisible and odorless, so you cannot tell by sight or smell whether the garlic is safe.

How to use roasted garlic before it spoils

Roasted garlic is most useful in dishes where its soft texture and mild, sweet flavor shine. Spread it on bread or crackers, stir it into cream cheese or butter, fold it into mashed potatoes, or blend it into soups and sauces. You can also mash it into a paste and freeze it in ice cube trays for easy portioning. One roasted clove is roughly equivalent to one raw garlic clove in flavor, though milder.

If you find yourself with roasted garlic you won't eat in time, freeze it now rather than waiting until it goes bad. Frozen roasted garlic is more useful than spoiled garlic, and you'll have it on hand for the next time you make soup or roasted vegetables.

Frequently Asked Questions

Can I store roasted garlic at room temperature?

No. Roasted garlic should be refrigerated within two hours of cooking. Room temperature allows bacteria and mold to grow quickly. If you've left roasted garlic out for more than two hours, discard it.

Does roasted garlic smell bad when it goes bad?

Yes. Bad roasted garlic smells sour, ammonia-like, or vinegary. A mild garlic smell is normal, but a sharp or unpleasant odor means it's time to throw it out. Trust your nose.

Can I reheat roasted garlic?

Yes, but it's not necessary. Roasted garlic is already cooked and soft. You can eat it cold straight from the container, warm it gently in a pan with a little oil, or add it directly to hot dishes. Reheating won't extend its shelf life.

What's the difference between roasted garlic and garlic confit?

Roasted garlic is cooked dry in the oven until soft. Garlic confit is cooked slowly in oil. Confit lasts longer in the refrigerator (up to two weeks) because the oil preserves it, but it carries the botulism risk mentioned above if stored longer than three days without acid.

Can I freeze roasted garlic in oil?

Yes. Freezing roasted garlic in oil is safe and convenient. Thaw it in the refrigerator before using, or add it frozen directly to hot dishes. This method avoids the botulism risk of refrigerated garlic in oil.