Air Fryer Roasted Garlic
What I like about this air fryer method is that the foil shields the garlic from direct airflow, but I still rely more on the visual cue than the clock because air fryers vary. The part I pay attention to is whether the cloves feel soft through the foil and look lightly golden on the cut surface.
This version keeps it simple: trim whole heads, add a little oil, wrap, and roast until the cloves are mellow, soft, and easy to mash. It is a good way to make roasted garlic for bread, sauces, soups, dressings, hummus, pizza, or roasted vegetables without heating up the oven.
Ingredients for Air Fryer Roasted Garlic

- 1 to 4 whole garlic heads (about 150g total for 4 small heads)
- 1 to 2 teaspoons olive oil per head
- Pinch of salt per head, optional
- Small pinch of black pepper per head, optional
- Aluminum foil, enough to wrap each head
If your garlic heads are very small, start checking on the early side. Larger heads usually need longer.
You can use avocado oil or another neutral oil instead of olive oil.
How to Make Roasted Garlic in the Air Fryer

- Trim the garlic: Slice off the top of each garlic head so the tops of the cloves are exposed. Leave the root end intact so the head stays together while it roasts.
- Oil and wrap: Set each head on a piece of foil. Drizzle or brush the exposed cloves with 1 to 2 teaspoons oil per head, then add salt and pepper if using. Wrap each head loosely and seal the foil so the garlic is protected but not packed tightly.
- Preheat the air fryer: Preheat to 370°F (188°C) if your model benefits from it. This helps the garlic start roasting right away.
- Air fry: Place the foil-wrapped heads in the basket in a single layer with a little space around them. Cook at 370°F (188°C) for 20 to 30 minutes. You usually do not need to flip them, but if your air fryer browns unevenly, rotate the packets or swap their positions partway through.
- Check for doneness: Carefully open one packet and test a clove. The garlic is ready when the cloves are very soft, the cut tops are golden to lightly caramelized, and a clove squeezes out easily from the skin. If the center still feels firm or looks pale, rewrap and cook for 2 to 5 minutes more.
- Cool slightly: Let the garlic cool in the foil or basket for 10 to 15 minutes, until it is safe to handle. The cloves release more easily once they have cooled a bit.
- Squeeze and use: Squeeze the softened cloves out of the skins, or peel them out one by one. Use them whole, mash them into a paste, or stir them into other dishes.
Air Fryer Time and Temperature for Roasted Garlic
370°F (188°C) is a solid starting point for air fryer roasted garlic. Start checking around 20 minutes, especially if the heads are small or your air fryer runs hot. Larger heads may need closer to 30 minutes.
I usually look for softness first, then color. The garlic should smell sweet and roasted, not sharp or burnt.
Why Foil Matters for Air Fryer Roasted Garlic
Foil helps the garlic turn tender instead of drying out under strong circulating heat. A loosely sealed packet protects the cloves while still letting the cut surface brown lightly.
This is where the texture can go wrong: if the packet is wrapped too tightly, the garlic can steam more than roast. If it is too exposed, the tops can darken before the center softens. Open the foil carefully when checking because the trapped steam is hot.
Easy Variations for Roasted Garlic
Butter-Roasted Garlic
Add about 1 teaspoon butter per head along with the olive oil before wrapping. This works especially well if you plan to spread the garlic on bread or mash it into potatoes.
Herbed Roasted Garlic
Add a small sprig of thyme or rosemary to each foil packet for a subtle herbal note.
Spicy Roasted Garlic
Add a pinch of red pepper flakes to the oil before wrapping if you want a little heat for pasta, dips, or sauces.
How to Use Roasted Garlic
- Spread it on crusty bread or toast
- Mash it into butter for garlic bread
- Stir it into hummus or white bean dip
- Blend it into dressings or aioli
- Mix it into mashed potatoes, pasta sauce, or soup
- Toss it with roasted vegetables or spoon it onto pizza
Roasted garlic also works well with corn, like Air Fryer Corn on the Cob.
For another flavorful side, see Air Fryer Mexican Street Corn (Esquites).
If you want another easy vegetable side, try Air Fryer Frozen Okra.
How to Store and Reheat Roasted Garlic
Cool the roasted garlic completely before storing. Keep the cloves or whole roasted heads in an airtight container in the refrigerator for up to 4 to 5 days.
For longer storage, freeze the squeezed cloves in small portions so you can use only what you need. The texture is best fresh, but frozen roasted garlic is still very useful in sauces, spreads, and cooked dishes.
If you want to warm it, reheat it briefly in the air fryer at low heat just until warmed through. I find it is usually better folded into another dish than cooked again for long, since reheating too much can dry it out.
Nutrition
Approximate nutrition, based on 4 servings and using 4 garlic heads with 1 teaspoon olive oil per head. Actual values will vary with head size and oil amount.
- Serving size: about 1 roasted garlic head
- Calories: about 55
- Protein: about 2g
- Fat: about 5g
- Carbohydrates: about 3g
- Per 100g: about 145 calories, 5g protein, 13g fat, 8g carbohydrates
Air Fryer Roasted Garlic
Equipment
- air fryer
- aluminum foil
- knife
Ingredients
For the roasted garlic
- 1 to 4 whole garlic heads (about 150g total for 4 small heads)
- 1 to 2 teaspoons olive oil per head
- Pinch of salt per head (optional)
- Small pinch of black pepper per head (optional)
- Aluminum foil, enough to wrap each head
Instructions
- Slice off the top of each garlic head so the tops of the cloves are exposed, leaving the root end intact.
- Place each head on a piece of foil, drizzle or brush the exposed cloves with 1 to 2 teaspoons oil per head, add salt and pepper if using, then wrap each head loosely and seal the foil so the garlic is protected but not packed tightly.
- Preheat the air fryer to 370°F (188°C) if your model benefits from preheating.
- Place the foil-wrapped heads in the basket in a single layer with a little space around them and cook at 370°F (188°C) for 20 to 30 minutes.
- If your air fryer browns unevenly, rotate the packets or swap their positions partway through cooking.
- Carefully open one packet and test a clove; the garlic is ready when the cloves are very soft, the cut tops are golden to lightly caramelized, and a clove squeezes out easily—if the center is still firm, rewrap and cook 2 to 5 minutes more.
- Let the garlic cool in the foil or basket for 10 to 15 minutes until safe to handle.
- Squeeze the softened cloves out of the skins or peel them out one by one and use whole, mashed, or stirred into other dishes.
Tips
- Start checking at 20 minutes for very small heads or hot-running air fryers.
- Rely on softness and color rather than exact time to judge doneness.
- Wrap the foil loosely—too-tight wraps can make the garlic steam instead of roast.
- Open foil carefully; trapped steam will be hot.
- Rotate packets if you notice uneven browning in your air fryer.
Variations
- Butter-Roasted Garlic: Add about 1 teaspoon butter per head along with the oil before wrapping for a richer spreadable garlic.
- Herbed Roasted Garlic: Add a small sprig of thyme or rosemary to each foil packet for a subtle herbal note.
- Spicy Roasted Garlic: Add a pinch of red pepper flakes to the oil before wrapping for a touch of heat.

