Garlic confit solves a familiar problem: raw garlic is sharp, yet garlic in a hot pan turns bitter in seconds. Confit takes the slow route. Whole peeled cloves are submerged in olive oil and held at a low, steady heat until they soften completely, turning mellow, sweet and spreadable, while the oil takes on their flavour. One jar gives two ingredients — soft cloves that mash like butter, and a garlic oil that seasons almost anything it touches.
Two details decide whether it works. The first is temperature: confit is poaching in oil, not frying, so the cloves must never brown. The second is storage. Garlic kept in oil needs strict refrigeration and a short life in the fridge, and that rule is not optional. This guide covers both in full, because a jar of confit is only useful if it is also safe to eat.
The oven method is the primary route because it holds a steady low temperature without attention. A stovetop alternative follows for smaller batches. Either way, allow about two hours from peeling to jar, most of it hands-off.
The photos in this post are AI-generated illustrations.
What Garlic Confit Is
Confit is an old technique in which food is cooked slowly while submerged in fat. Garlic confit applies that idea at a small scale: peeled cloves are covered with olive oil and cooked gently until the raw bite disappears. A finished clove holds its shape in the jar but mashes under a fork with almost no pressure, spreading the moment it meets warm toast.
Slow, gentle cooking softens the pungent compounds that give raw garlic its heat and lets the clove’s natural sugars come forward, so the flavour reads as sweet, savoury and rounded. Because the cloves stay whole and submerged, they cook evenly and never catch on a hot surface. Colour confirms the process: properly confited garlic is pale gold, never brown. Browning means the oil was too hot, and browned garlic turns bitter — the opposite of what confit is for.
Choosing the Garlic and the Oil
Start with firm, fresh heads. Four heads give about 200g of peeled cloves, roughly 40 cloves, which fills a 350ml jar once cooked. Choose heads that feel heavy and tight, with plump cloves and no soft spots, green shoots or musty smell; sprouting garlic can taste bitter even after slow cooking. Peeled cloves sold in tubs are convenient, but they should be firm and white, with no yellowing or sour smell.
Peeling takes about fifteen minutes by hand. A quicker approach is to separate the cloves, place them in a lidded jar or between two bowls, and shake firmly for twenty to thirty seconds so the skins loosen. Trim brown root ends, discard any bruised or discoloured clove, and keep the cloves whole so they cook evenly and keep their shape.
Extra-virgin olive oil is the standard choice: 350–400ml covers 200g of cloves in a small, deep dish with about 1cm of oil above them. The oil becomes a flavoured ingredient in its own right, so use one with a flavour worth keeping — a mild, fruity extra-virgin oil suits confit well, while a very peppery oil can dominate. Aromatics are optional and should stay restrained: 3–4 sprigs of thyme or 2 sprigs of rosemary, 1 bay leaf, ½ teaspoon of chilli flakes and a pinch of fine salt. Add them at the start and remove woody stems before jarring. Do not treat lemon juice or vinegar as a preservative; the storage section explains why.
The Oven Method, Step by Step
Heat the oven to 120°C (250°F). The low temperature poaches the cloves without frying them and is forgiving over a long cook. A hotter oven risks browning and bitterness, which defeats the purpose.
Place the peeled cloves in a small, deep ovenproof dish — a small casserole, a deep ceramic dish or a small cast-iron pot. A narrow dish keeps the cloves in a close layer, so less oil is needed to keep them submerged. Add the aromatics if using them, then pour over 350–400ml of olive oil until the cloves are covered by about 1cm. Every clove should sit below the surface; an exposed clove cooks unevenly and can darken.
Cover the dish loosely with foil or a lid and cook for 1½ to 2 hours. Begin checking at 1 hour 15 minutes: lift out one clove and press it with a fork. It is ready when it mashes easily and is pale gold throughout. If it still feels firm or tastes raw, return the dish for another fifteen to twenty minutes. When the cloves are soft, let the dish stand briefly until the oil stops bubbling, then move promptly to jarring — do not leave the confit on the counter for hours, because the safety rules begin as soon as cooking ends.
The Stovetop Alternative
The stovetop method suits a smaller batch. Put the cloves and aromatics in the smallest saucepan available, cover with oil, and set the pan over the smallest burner on its lowest heat. The goal is a bare simmer: tiny bubbles rising only occasionally. The oil should never fry, sizzle vigorously or boil.
Cook for 45 to 60 minutes, swirling the pan gently now and then. Watch the first ten minutes closely, because burners vary. If bubbles stream steadily or the cloves colour beyond pale gold, lift the pan off the heat briefly and lower the flame further, or use a heat diffuser. The finish is judged as in the oven method — a clove that mashes under a fork with no raw bite and no browning. The stovetop route needs more attention, which is why the oven remains the primary method for a full batch.
How to Tell It Is Done, and What Can Go Wrong
Three cues should agree. Texture first: a finished clove yields completely under a fork. Colour second: pale gold throughout, with no brown edges. Flavour third: mellow and sweet, with no raw heat. If a clove resists the fork or still bites, it needs more time; judge by the largest clove in the dish.
The cloves have browned. The oil was too hot, and browning brings bitterness that extra cooking cannot remove. Use 120°C (250°F) in the oven, or a lower flame and diffuser on the stovetop, and check earlier. Mildly golden cloves are fine; dark brown ones will taste harsh and are best discarded.
The cloves are still firm. The dish may have been too wide, the cloves unusually large, or the oven cool. Return the dish for fifteen to twenty minutes at a time and test again.
The oil is bubbling hard. On the stovetop this means frying, not poaching. Take the pan off the heat, reduce the flame to its minimum, and let the bubbling settle to occasional tiny bubbles. In the oven, vigorous bubbling suggests the temperature is too high.
The flavour is flat. The garlic may have been old, or the oil too neutral. Fresh, firm garlic, a flavourful extra-virgin olive oil and a pinch of salt give the best result; thyme or chilli flakes add depth without masking the garlic.
Some cloves floated above the oil. Top up the oil so every clove stays submerged, and choose a narrower, deeper dish next time.
Safe Storage: The Rules That Matter Most
Garlic confit must be stored with care, because garlic in oil creates exactly the conditions in which Clostridium botulinum can grow: a low-acid food in a low-oxygen environment. The bacteria can produce a dangerous toxin without changing the smell, taste or appearance of the food, so safety depends on temperature and time, not on how the jar looks. Cooking does not destroy botulinum spores, so refrigeration or freezing — not the cooking itself — is what keeps confit safe. This follows USDA guidance on garlic-in-oil preparations.
Never store garlic confit at room temperature — not on the counter, in a cupboard, or in a decorative bottle. Transfer the cloves and oil to a clean jar (washed in hot soapy water, rinsed and dried), keeping the cloves submerged in oil. Refrigerate promptly: within two hours of cooking, and sooner once the jar can go into the fridge. Keep it at or below 4°C (40°F), mark the jar with the date, and use it within seven days, discarding it after that even if it looks and smells fine. Use a clean spoon or fork every time, and never return a used utensil to the jar.
Freeze it for longer storage. Freeze the confit in small portions — ice-cube trays for single servings, small jars for larger amounts — where it keeps for several months. Thaw portions in the fridge, not on the counter, and use them promptly within a few days. Freezing pauses bacterial growth; it does not reset the clock once thawed.
Do not rely on acid. Adding lemon juice or vinegar at home does not make garlic in oil shelf-stable. Commercial products are acidified under controlled conditions with measured acidity; a splash of acid in a home jar does not achieve the same result. The safe home methods are refrigeration for up to seven days or freezing.
Olive oil often clouds or solidifies in the fridge; that is normal and harmless. Spoon out what is needed, let that portion warm briefly if necessary, and return the jar to the fridge straight away rather than leaving it out to liquefy. A jar left at room temperature for more than two hours should be discarded.
Ways to Use Garlic Confit
The simplest use is the most direct: spread soft cloves over toast or crostini with a little oil and a pinch of salt. The cloves behave like a savoury butter, suiting grilled bread and sandwiches where raw garlic would be too harsh. Mash a few into softened butter for garlic butter that spreads evenly and tastes rounded rather than sharp.
Pasta is where confit earns its keep. Warm the oil gently with mashed cloves and chilli flakes, toss through hot pasta with a splash of cooking water, and finish with herbs or cheese for a mellow aglio e olio. Fresh homemade pasta carries the oil especially well. The same oil makes an instant dressing whisked with lemon juice or vinegar, salt and a little mustard — remembering that a dressing containing confit follows the same refrigeration rules.
Roasted vegetables take the oil gladly: toss potatoes, carrots or oven-roasted asparagus with confit oil before roasting, or spoon mashed cloves over them as they leave the oven. Rub the oil over a roast whole chicken before roasting, or stir cloves into the pan juices for a quick sauce. Add cloves to soups in the final minutes, spread them as a base on pizza or flatbread, and fold them through eggs at the end of cooking. Use oil and cloves together rather than treating one as a by-product — and keeping the cloves submerged is also part of safe storage, so draw from both as the jar empties.
Questions, Answered
What is garlic confit?
Whole peeled garlic cloves cooked slowly while submerged in olive oil until soft, pale gold and spreadable. The gentle heat removes the raw bite and brings out a mellow sweetness, while the oil becomes infused with garlic flavour.
How long does garlic confit take to make?
In the oven at 120°C (250°F), 1½ to 2 hours, checking from 1 hour 15 minutes. On the stovetop at the lowest heat, 45 to 60 minutes. With about fifteen minutes of peeling, the total is roughly two hours, mostly hands-off. Judge by texture — a clove that mashes easily — rather than the clock alone.
How long does garlic confit last in the fridge?
Up to seven days at or below 4°C (40°F), in a clean jar with the cloves submerged in oil. Refrigerate within two hours of cooking, mark the date, and discard after seven days even if it looks fine. For longer storage, freeze in small portions for several months and thaw in the fridge.
Can garlic confit be stored at room temperature?
No. Garlic in oil is a low-acid, low-oxygen environment where Clostridium botulinum can grow, and cooking does not destroy its spores. Confit must always be refrigerated or frozen; lemon juice or vinegar added at home does not make it shelf-stable.
Why did my garlic confit turn brown and bitter?
The oil was too hot. Confit is poaching, not frying: 120°C (250°F) in the oven, or only tiny, occasional bubbles on the stovetop. Browned garlic tastes bitter and cannot be corrected; finished cloves stay pale gold and mash easily.
Why has the oil gone cloudy or solid in the fridge?
That is normal for olive oil at fridge temperatures, and it liquefies again as it warms. Spoon out what is needed and return the jar to the fridge immediately rather than leaving it out, and discard any jar left at room temperature for more than two hours.
What can garlic confit be used for?
Spread cloves on toast, mash them into butter, toss oil and cloves through pasta, whisk the oil into dressings, roast vegetables in it, stir cloves into soups, spread them on pizza or flatbread, and fold them through eggs — mellow garlic flavour without raw sharpness.
A Jar Worth Planning Around
Garlic confit asks for patience in two places: a low oven that turns sharp cloves sweet and spreadable, and a fridge rule that keeps the jar safe for seven days. Respect both and the return is generous — soft cloves for toast, butter, pasta and eggs, and a flavoured oil that lifts vegetables, dressings and pan sauces with almost no effort. Make the batch, date the jar, freeze what will not be used within the week, and let the confit do the quiet work of making ordinary meals taste considered.
Recipe Card
Recipe Card
Garlic Confit
Description
Soft, mellow garlic cloves poached in olive oil, plus a flavoured garlic oil. Makes about a 350ml jar of cloves plus oil. Refrigerate and use within 7 days, or freeze in small portions.
Ingredients
Instructions
-
Peel the garlic cloves, trimming any brown root ends and discarding any bruised or discoloured cloves. Keep the cloves whole.
-
Heat the oven to 120°C (250°F). Place the cloves in a small, deep ovenproof dish with the thyme or rosemary, bay leaf, chilli flakes and salt if using them. Pour over the olive oil until the cloves are submerged by about 1cm.
-
Cover the dish loosely with foil or a lid and cook for 1½ to 2 hours, checking from 1 hour 15 minutes. The confit is ready when a clove mashes easily with a fork and is pale gold throughout, with no browning. Stovetop alternative: cook in the smallest saucepan over the smallest burner on the lowest heat for 45 to 60 minutes, keeping the oil at a bare simmer with tiny, occasional bubbles and swirling the pan occasionally.
-
Remove any woody herb stems. Transfer the cloves and oil to a clean jar, keeping the cloves submerged in oil, and refrigerate promptly — within 2 hours of cooking.
-
Use the cloves spread on toast, mashed into butter or stirred through pasta, soups and vegetables, and use the oil for dressings, roasting and pan sauces. Always use a clean utensil and return the jar to the fridge straight away.
Note
Makes about a 350ml jar of cloves plus infused oil; servings are given as 8 as a condiment. FOOD SAFETY: garlic in oil can support Clostridium botulinum growth, and cooking does not destroy its spores. Never store garlic confit at room temperature. Refrigerate promptly at or below 4°C (40°F), keep the cloves submerged in oil, and use within 7 days, discarding after that. For longer storage, freeze in small portions (ice-cube trays or small jars) for several months; thaw in the fridge and use promptly within a few days. Adding lemon juice or vinegar at home does not make it shelf-stable. Olive oil may cloud or solidify in the fridge, which is normal; spoon out what is needed and return the jar to the fridge. Pale gold is the correct colour — browning means the heat was too high and the garlic will taste bitter.



