Garlic Confit in Olive Oil
Garlic confit is one of the great cheap luxuries of the kitchen: whole cloves cooked gently in olive oil until they turn soft, sweet and golden, leaving you with both a spreadable garlic and an infused oil. It is easy — but garlic in oil carries a genuine food-safety rule worth taking seriously.

Few things give back as much as garlic confit for as little effort. You get two ingredients from one pan — sweet, spreadable cloves and a deeply fragrant oil — and both improve almost anything you own. It is genuinely easy. The one thing you must not do casually is store it, and that is where this piece earns its keep.
How to make it
Peel a generous quantity of garlic cloves — a couple of whole heads — and put them in a small saucepan. Pour in enough olive oil to cover them completely. You do not need your most expensive bottle here; a sound, decent extra virgin or a milder oil both work, since gentle heat will mute the rawest pepper anyway. Cook very low — the oil should barely shiver, never fry — for around 30–45 minutes, until the cloves are soft enough to crush with a spoon and pale gold. Do not let them brown hard, or the garlic turns bitter. You end up with melting cloves and a fragrant oil, both ready to use.
Using it — and storing it safely
Smear the soft cloves on toast, stir them into mash, whisk them into dressings; drizzle the garlic oil over roasted vegetables or soup. Here is the caution, and it matters: garlic in oil can, in the wrong conditions, allow growth of Clostridium botulinum, the bacterium behind botulism, which is dangerous. The oil starves it of oxygen, and raw garlic can carry the spores. Do not keep garlic confit at room temperature. Refrigerate it as soon as it cools, keep it submerged in the oil, use it within about a week, and freeze any surplus.
The rule most recipes skate over
Plenty of blogs will tell you to make a big jar of garlic confit and keep it on the counter for the week. Do not. That is precisely the low-oxygen, room-temperature condition the bacterium likes, and you cannot see, smell or taste the toxin. Refrigeration slows it, freezing stops it. This is not fussiness — it is the single rule that turns a lovely staple into a safe one. When in doubt, throw it out. This is general food-safety information, not medical advice.
| Step | Do | Never |
|---|---|---|
| Cooking | Very low, oil barely shivering, 30-45 min | Let it fry or brown hard — the garlic turns bitter |
| Oil | A sound extra virgin or a milder oil | Waste your finest bottle — heat mutes it anyway |
| Storing | Refrigerate as soon as it cools, cloves submerged | Leave it at room temperature |
| Keeping | Use within about a week; freeze any surplus | Bottle it as a shelf-stable gift |
| Doubt | When in doubt, throw it out | Rely on smell or taste to judge safety |
The safety rule, plainly
- Never store homemade garlic-in-oil at room temperature, and do not bottle it as a gift to sit on a shelf.
- Refrigerate as soon as it cools, keep the cloves under the oil, use within roughly a week.
- Freeze the rest — freezing stops the risk entirely.
- Expect the oil to cloud and firm in the fridge; that is normal, and it clears at room temperature. When in doubt, throw it out.
Garlic confit: common questions
Is garlic confit safe to make at home?
Yes, if you store it correctly. The risk is botulism from garlic in oil kept warm and low in oxygen, so refrigerate it as soon as it cools, keep cloves submerged, use within about a week and freeze the rest. This is general food-safety information, not medical advice.
How long does garlic confit keep?
About a week in the fridge, kept submerged in the oil. Freeze any surplus — freezing stops the botulism risk entirely.
Can I store garlic confit at room temperature?
No. Room temperature plus the low-oxygen oil is exactly the condition that can allow botulism. Always refrigerate, and never bottle it as a shelf-stable gift.
What olive oil should I use?
A sound, decent extra virgin or a milder oil — not your most expensive bottle, since gentle heat mutes the rawest pepper anyway.
Why has my garlic confit gone cloudy and solid?
That is just the oil firming in the cold — perfectly normal. It clears and loosens again at room temperature.
Never store homemade garlic-in-oil at room temperature, and do not bottle it as a gift to sit on a shelf — that is precisely the low-oxygen, warm condition botulism likes, and you cannot see, smell or taste it. Refrigerate, keep the cloves under the oil, use within roughly a week, freeze the rest. The oil will cloud and firm in the fridge ; that is normal, and it clears at room temperature. When in doubt, throw it out. This is general food-safety information, not medical advice.
Method from general home cooking; food-safety guidance per standard advice on garlic-in-oil — not medical advice.