Skip to main content

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

Garlic confit lasts three to four weeks in the refrigerator when stored correctly in an airtight container, though the garlic cloves themselves stay good for up to two months if fully submerged in oil.

The difference matters because garlic confit is two things at once: soft, cooked garlic cloves and the oil they're preserved in. The cloves deteriorate faster than the oil does. Once you open the jar and start using cloves, air exposure speeds up spoilage. If you leave cloves exposed above the oil line, they can develop mold or off-flavors within a week. Keeping them fully submerged extends their life significantly.

Homemade garlic confit is more perishable than store-bought versions because commercial products use pasteurization or added preservatives. If you made it yourself, treat it as a three-to-four-week ingredient. If you bought it sealed, check the label—many last four to six weeks unopened, then two to three weeks after opening.

Key Takeaways

  • Garlic cloves in confit last longest when fully submerged in oil and stored in an airtight container at a steady refrigerator temperature.
  • Homemade garlic confit keeps for three to four weeks; store-bought versions vary by brand and whether the jar has been opened.
  • Once you remove cloves from the oil, use them within a few days because air exposure causes them to soften further and develop off-flavors.
  • The oil itself lasts longer than the garlic and can be reused for cooking, but only if the cloves it contained were fresh and properly stored.

Why Garlic Confit Spoils Faster Than Raw Garlic

Raw garlic lasts weeks or months in a cool, dry pantry because its papery skin and dense structure protect it from moisture and microbes. Garlic confit removes that protection. The cooking process softens the cloves, and the oil creates a moist environment. That combination makes the garlic vulnerable to bacterial growth if temperature or storage conditions slip.

The oil itself is a preservative—it blocks oxygen from reaching the garlic. But once you open the jar and remove cloves, you break that seal. Each time you dip a spoon in, you introduce air and potentially bacteria from your utensil. This is why restaurant kitchens and food safety guidelines emphasize using a clean spoon every time and keeping the container sealed between uses.

The Right Container and Storage Method

Use a glass jar with a tight-fitting lid, not plastic. Glass doesn't absorb oils or flavors the way plastic does, and it's easier to see whether cloves are still fully submerged. A mason jar works well. Make sure the lid seals completely—a loose lid lets air in and causes the garlic to oxidize and develop a stale taste within days.

Store the jar on a shelf in the coldest part of your refrigerator, usually the back of the middle shelf or the bottom shelf. Avoid the door, where temperature fluctuates every time you open it. Fluctuation speeds up spoilage because it encourages condensation inside the jar, which can introduce water and promote mold growth.

Before storing, make sure the garlic is fully submerged in oil. If cloves poke above the surface, push them down gently or add a small amount of neutral oil (vegetable, canola, or light olive oil work). The oil layer acts as a barrier against air and bacteria.

Signs Your Garlic Confit Has Gone Bad

Mold is the most obvious sign—any white, green, or dark fuzzy growth means the batch is unsafe to eat and should be discarded. Mold can penetrate deeper into soft garlic than it does into firm vegetables, so you can't simply cut it away.

A sour or fermented smell is another red flag. Fresh garlic confit smells rich and savory, almost sweet. If it smells vinegary or off, bacteria have begun to multiply. Discard it. Similarly, if the garlic cloves have turned dark brown or black (beyond the light tan they naturally develop during cooking), or if they feel slimy or mushy to the touch, they've begun to break down and should not be used.

Cloudiness in the oil is usually harmless—it's often just solidified oil or sediment—but if the oil smells rancid or tastes bitter, the batch has oxidized and should be replaced. Trust your senses. If something seems off, it probably is.

How to Use Garlic Confit Without Shortening Its Life

Always use a clean spoon or small fork to remove cloves. Never dip a used utensil directly into the jar. This prevents bacteria from your food or mouth from contaminating the remaining garlic. If you're scooping multiple cloves at once, use a small strainer or slotted spoon so excess oil drains back into the jar.

Remove only what you need for one meal or recipe. The more times you open the jar, the more air enters and the faster the remaining garlic deteriorates. If you use confit regularly, consider dividing it into two smaller jars—use one actively and keep the other sealed until the first is nearly empty.

Once you've removed cloves from the jar, use them within two to three days. They continue to soften and absorb flavors from the air. They're still safe to eat longer than that, but the texture and taste decline noticeably.

Reusing the Oil and When to Discard It

The oil left behind after you've used the garlic cloves is flavorful and can be used for cooking—drizzle it over bread, toss it with pasta, or use it as a base for vinaigrettes. The oil lasts as long as the garlic did, roughly three to four weeks for homemade confit.

However, only reuse the oil if the garlic cloves that were in it were fresh and properly stored throughout. If you noticed any signs of spoilage in the garlic, discard both the cloves and the oil. Don't take the risk of spreading bacteria or mold spores to other foods.

Once the jar is empty, wash it thoroughly with hot soapy water before making a new batch. Residual oil or garlic particles can harbor bacteria and shorten the shelf life of your next batch.

Making Garlic Confit Last Longer

If you make large batches and want them to last longer than four weeks, freeze portions. Garlic confit freezes well for up to three months. Spoon individual cloves or small amounts into ice cube trays, freeze solid, then transfer the cubes to a freezer bag. Thaw in the refrigerator before using, or add frozen cubes directly to warm dishes.

Freezing stops bacterial growth entirely, but it does change the texture slightly—the garlic becomes softer and loses some of its firm-tender quality. It's perfect for soups, sauces, and spreads, but less ideal if you want to serve the cloves whole on a cheese board or as a garnish.

Another option is to store confit in smaller jars and refrigerate only what you'll use in the next two weeks, keeping the rest frozen. This way you always have fresh confit on hand without waste.

Frequently Asked Questions

Can I store garlic confit at room temperature?

No. Garlic confit must be refrigerated because the soft, cooked garlic and moist oil environment create ideal conditions for bacterial growth at room temperature. Botulism risk is real with improperly stored garlic in oil. Always refrigerate homemade confit immediately after it cools.

What's the difference between garlic confit and garlic in oil from the store?

Store-bought garlic in oil is usually pasteurized or treated to prevent bacterial growth, which extends shelf life to four to six weeks unopened. Homemade confit lacks these treatments, so it lasts only three to four weeks. Always check the label on store-bought versions for specific storage instructions and expiration dates.

Can I add more garlic to an existing jar of confit?

No. Adding fresh garlic to an open jar introduces new bacteria and disrupts the preservation balance. Make a new batch instead. Mixing old and new garlic also makes it harder to track how long the older cloves have been stored.

Is it safe to eat garlic confit that's been in the fridge for two months?

If the garlic has been fully submerged in oil the entire time and shows no signs of mold, cloudiness, or off-smells, it may be safe, but quality declines significantly after four weeks. The garlic becomes mushy and develops stale flavors. Use your judgment—if it looks and smells fine, it's likely okay, but fresher confit tastes better.

Why did my homemade garlic confit get cloudy after a few days?

Cloudiness is usually harmless and occurs when oil cools and solidifies slightly, or when garlic releases moisture into the oil. Stir gently and it often clears. However, if the cloudiness is accompanied by a sour smell or slimy garlic, bacteria have grown and the batch should be discarded.