Roasting garlic in the air fryer is the quickest way to get sweet, spreadable, caramelized cloves for sauces, dressings, or straight onto crusty bread. The hot circulating air does in about 20 minutes what takes 40–60 minutes in a conventional oven. You only need a whole head of garlic, a little oil, and foil. The result is mellow, nutty, and far less pungent than raw garlic.
What You'll Need
- Whole heads of garlic (as many as fit in your basket without crowding)
- Olive oil or other neutral oil
- Aluminum foil (heavy-duty works best)
- A sharp knife to slice off the top of the head
- Optional: salt, pepper, fresh herbs (thyme or rosemary)
Step-by-Step
- Preheat your air fryer to 400°F (200°C). Most air fryers heat up in 3–5 minutes. If yours doesn't have a preheat setting, just run it empty for 3 minutes.
- Prepare the garlic. Peel away the loose, papery outer layers from the head, but keep the cloves intact and attached at the base. Do not separate the cloves.
- Slice off the top. Using a sharp knife, cut about ¼ to ½ inch off the top of the head, exposing the tops of the cloves. Don't cut too low or you'll lose most of the clove.
- Drizzle with oil. Place the garlic head on a piece of foil (large enough to wrap it completely). Drizzle about 1 teaspoon of oil over the cut surface, letting it seep between the cloves. Use your fingers or a brush to coat the exposed tops evenly.
- Season (optional). Sprinkle with a pinch of salt and pepper, or lay a sprig of thyme or rosemary on top.
- Wrap in foil. Bring the foil up and seal it loosely around the garlic, leaving a little space for air to circulate. You want a pouch, not a tight bundle.
- Air fry. Place the foil packet in the air fryer basket. Cook at 400°F (200°C) for 20–25 minutes. Start checking at 20 minutes: the cloves should feel soft when squeezed through the foil, and the exposed tops should be golden brown.
- Cool and squeeze. Remove the packet from the air fryer and let it cool for 5–10 minutes. When cool enough to handle, squeeze the head from the bottom – the roasted cloves will slide out easily. Or use a small fork to lift them out.
- Store or use. Use immediately, or store the roasted cloves in an airtight container in the fridge for up to 1 week. To freeze, place cloves in a single layer on a baking sheet, freeze until solid, then transfer to a zip-top bag for up to 3 months.
Common Mistakes
- Skipping the foil. Without foil, the garlic dries out and burns on the outside before the inside softens. The foil traps steam and ensures even cooking.
- Cutting off too much of the top. Slicing too low exposes the cloves but also cuts into the meat, which can cause them to dry and shrink. Keep the cut just above the clove tips.
- Using too little oil. Oil helps conduct heat and prevents the cut surface from scorching. If you skip it, the tops will turn dark and bitter.
- Overcrowding the basket. If you roast multiple heads, leave space between them so air can circulate. Crowding extends cooking time and can lead to uneven results.
- Checking too early. At 15 minutes, the garlic may still be firm. Give it the full 20 minutes before you judge.
Tips
- Use fresh garlic. Older heads with shriveled cloves won't become as creamy. Look for firm, plump heads with tight skins.
- Adjust time for size. Large heads need closer to 25–30 minutes; small ones may be done at 18 minutes. Start checking at 15 minutes for small heads.
- Save the oil. The oil left in the foil is garlic-infused and perfect for drizzling over salads or bread.
- Make a paste. Mash the roasted cloves with a fork and mix with a little olive oil for a quick spread.
- Double batch. Roast extra heads and freeze the cloves – they're a great time-saver for future recipes.
Troubleshooting
- Garlic is still hard after 20 minutes. Return it to the air fryer for another 5–10 minutes. If the tops are browning too fast, lower the temperature to 375°F (190°C) and continue.
- Garlic is burnt on top. The cut surface is too close to the heating element. Next time, wrap the foil more loosely and make sure the packet is not touching the top of the basket. You can also reduce the temperature to 375°F.
- Cloves are dry or shriveled. This usually means the foil wasn't sealed well or the garlic was overdone. For the next batch, add a teaspoon of water to the foil packet to create more steam, and check earlier.
- Garlic has a bitter taste. Burnt garlic becomes bitter. If you see dark brown or black spots on the tops, trim them off before using. To avoid, use less oil and lower the temperature.
- Foil packet is leaking oil. Use a double layer of foil or a small oven-safe dish inside the basket to catch drips. This also makes cleanup easier.
Frequently Asked Questions
Can I roast peeled garlic cloves in the air fryer?
Yes, but they cook much faster and can burn easily. Toss peeled cloves in a little oil, place them in a foil packet, and air fry at 375°F (190°C) for 10–15 minutes, shaking halfway. Check often.
Do I need to preheat the air fryer?
Preheating helps achieve even browning and reduces total cooking time. If your air fryer doesn't have a preheat function, just add 2–3 minutes to the cooking time.
Can I use minced garlic from a jar?
Jarred minced garlic is already processed and won't roast the same way. It's best to use whole heads for this method. If you only have minced, sauté it in a pan instead.
How do I store roasted garlic?
Keep the cloves in an airtight container in the refrigerator for up to 1 week. You can also cover them with olive oil in a jar – this extends fridge life to about 2 weeks. For longer storage, freeze as described above.
Can I roast garlic without foil?
You can, but it's risky. Without foil, the garlic will dry out and the exposed tops may burn. If you try it, place the garlic cut-side up in a small oven-safe dish and add a splash of water to the bottom. Cook at 375°F (190°C) for 15–20 minutes.
What can I do with roasted garlic?
Spread it on bread, mash into mashed potatoes, whisk into salad dressings, stir into pasta, or mix with butter for a flavored spread. It's also great in hummus or as a topping for pizza.