Place unpeeled garlic cloves in a heat-safe ovenproof dish with enough olive oil to cover, then cook in the air fryer at 250°F (120°C) for 60–75 minutes until soft and golden. This method takes about 1 hour 15 minutes total and requires an air fryer, ovenproof dish that fits inside, and enough oil to submerge the garlic. Garlic confit adds rich, mellow flavor to mashed potatoes, bread, or roasted meats.
Why the Usual Air Fryer Method Fails
Most air fryers circulate hot air rapidly, which is great for crisping but too harsh for gentle poaching. Cooking garlic directly in oil in the air fryer basket risks oil splatter, uneven heat, and potential smoke if oil drips onto the heating element. Without a stable, covered container, the garlic can dry out or brown too quickly on the edges.
The better method uses a small, ovenproof ramekin or ceramic dish placed inside the air fryer basket. This contains the oil safely and mimics the slow, even heat of oven confit. Keeping the garlic submerged and covered prevents oxidation and retains moisture.
How to Prevent Botulism in Garlic Confit
Garlic in oil creates a low-oxygen environment where Clostridium botulinum spores can grow, especially at room temperature. This risk applies to all forms of garlic confit, regardless of cooking method.
Refrigerate garlic confit immediately after cooling and use within 4 days. Never store garlic in oil at room temperature, even if cooked. Discard any batch left out longer than 2 hours.
Symptom / Cause / Fix Table
| Symptom | Likely Cause | Fix |
|---|---|---|
| Garlic browns too fast or burns | Air fryer too hot, no cover on dish | Cook at 250°F (120°C), cover dish with foil |
| Oil smokes during cooking | Oil level too high, spills into basket | Fill dish only ¾ full, ensure it fits securely |
| Garlic remains firm after cooking | Undercooked, cloves too large | Extend time in 10-minute increments, test with fork |
| Off smell or mold after storage | Stored too long or at wrong temperature | Discard immediately, store only 4 days max in fridge |
Before You Start: What You Need
- Air fryer with at least 5-quart capacity
- Small ovenproof dish or ramekin (4–6 oz, 120–180 ml), oven-safe to 300°F (150°C)
- Foil or oven-safe lid to cover the dish
- Enough olive oil to cover garlic by ½ inch (1 cm)
- 12–16 unpeeled garlic cloves (about ½ cup, 85 g)
- Optional: 1–2 sprigs fresh thyme, 1 small dried chili, 1 tsp (5 ml) lemon juice
- Tongs or heat-safe spoon for handling hot dish
Ensure the dish fits inside the air fryer basket with at least 1 inch (2.5 cm) clearance on all sides. Use light olive oil or regular olive oil, not extra virgin, to avoid low smoke point issues. Do not overcrowd the basket.
How to Make Garlic Confit in Air Fryer
Ingredients
- 12–16 unpeeled garlic cloves (about ½ cup, 85 g)
- ¾ cup (180 ml) light olive oil (enough to cover garlic by ½ inch)
- Optional: 1–2 sprigs fresh thyme, 1 small dried chili (e.g., arbol), 1 tsp (5 ml) lemon juice
Instructions
- Preheat the air fryer to 250°F (120°C) for 5 minutes.
- Place unpeeled garlic cloves in a small ovenproof ramekin or ceramic dish.
- Pour olive oil over the garlic until it covers the cloves by at least ½ inch (1 cm).
- Add optional thyme, chili, or lemon juice if using.
- Cover the dish tightly with aluminum foil or an oven-safe lid.
- Place the covered dish into the air fryer basket, ensuring it sits level and has space around it.
- Air fry at 250°F (120°C) for 60 minutes.
- After 60 minutes, carefully remove the dish using tongs or a heat-safe spoon—oil will be hot.
- Uncover and check garlic: it should be soft when pierced with a fork and golden, not browned.
- If garlic is still firm, re-cover and return to air fryer for 10–15 more minutes.
- Once done, let the dish cool at room temperature for 20 minutes.
- Transfer garlic and oil to a clean glass jar, seal, and refrigerate.
How Long Does Garlic Confit Keep?
Refrigerated garlic confit keeps for up to 4 days. Always store it in a sealed container with the garlic fully submerged in oil. Check before use: if the oil smells rancid, sour, or fermented, or if there is any mold, discard the entire batch.
Do not freeze garlic confit. Freezing changes the texture of both garlic and oil, making the garlic grainy and the oil cloudy. Use fresh within the 4-day window for best quality and safety.
How to Use Garlic Confit
Squeeze soft garlic flesh from the peel and mash into mashed potatoes, spread on toast, or stir into soups and sauces. Use the flavored oil for roasting vegetables, drizzling over grilled meats, or as a base for salad dressings. One clove of confit garlic equals about 1 tsp (4 g) of minced raw garlic in flavor impact, but much milder.
Do not use garlic confit oil for frying or high-heat cooking—it has a lower smoke point due to infused compounds. Use it only for finishing or cold applications.
Related
- How to Make Garlic Mushrooms in an Air Fryer
- Cheesy Garlic Focaccia: What It Is and How to Make It
- How Long to Cook Garlic Mushrooms in Air Fryer
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).