Learn how to roast garlic in the oven or in an air fryer with this simple, reliable method. Roasted garlic is mellow, sweet and richly flavored—perfect for sauces, mashed potatoes, crostini, garlic bread and more.

Table of contents
- How to roast garlic in the oven
- How to roast garlic in an air fryer
- Tips and tricks
- Storage options
- Ways to use roasted garlic
- Recipe: Roasted Garlic
Roasting garlic softens its sharp raw bite and concentrates its natural sugars, resulting in a sweet, caramelized flavor and a silky texture. It takes very little hands-on time and requires only a head of garlic, a little olive oil and either an oven or an air fryer. Once roasted, the cloves squeeze out easily and can be stirred into sauces, mashed into potatoes, blended into spreads or simply spread onto warm bread.




How to roast garlic in the oven
Whole head method
- Preheat the oven to 400°F (200°C).
- Remove the loose papery outer layers from a head of garlic, leaving the bulb intact.
- Slice about 1/4 inch from the top to expose the tops of the cloves.
- Place the head on a piece of aluminum foil. Drizzle about 1 teaspoon olive oil over the exposed cloves, ensuring the oil covers the cut surfaces.
- Wrap the garlic tightly in foil and place it on a baking sheet or directly on the oven rack.
- Roast for 35–45 minutes, depending on the size of the bulb. The cloves are done when they are soft, jammy and lightly browned.
- Let the garlic cool briefly, then squeeze each clove from its skin and use as desired.
Peeled cloves method
- Place 6–12 peeled cloves on a small piece of foil. Drizzle with about 1/2 teaspoon olive oil and toss to coat.
- Wrap the foil into a small packet and roast at 400°F for 30–35 minutes, until the cloves are tender and golden.
- Unwrap and use the cloves immediately, or cool and store.


How to roast garlic in an air fryer
- Peel and trim the outer papery layers from a head of garlic. Slice about 1/4 inch from the top to expose the cloves.
- Place the head on a sheet of foil, drizzle with about 1 teaspoon olive oil so the cut surfaces are coated, and wrap tightly.
- Place the foil packet in the air fryer basket and roast at 400°F (200°C) for about 25 minutes.
- Check for softness—cloves should be golden and spreadable. Allow to cool slightly, then squeeze out the roasted cloves.


Tips and tricks
- Roast a crowd’s worth: To roast multiple heads at once, nest each head in a muffin tin, drizzle with oil and cover the pan with foil or a baking sheet. Roast at 400°F for 40–45 minutes. A standard muffin tin can hold up to about 12 heads, depending on size.
- Parchment instead of foil: If you prefer parchment, wrap the garlic tightly and tuck the edges underneath so the head is fully enclosed. Parchment works well in the oven but avoid using it in direct contact with heating elements.
- Flavor variations: Keep the garlic neutral with olive oil so it’s versatile, or sprinkle a little salt, pepper or herbs (rosemary, thyme) before roasting if you know how you’ll use it. A pinch of smoked paprika or cayenne adds a warm kick.
- Watch the cook time: Bulb size matters. Smaller heads finish faster; larger ones need more time. Check after the minimum time and add 5-minute increments until the cloves are golden and tender.
- Safety: Let roasted garlic cool sufficiently before opening foil or squeezing cloves—steam can be very hot.
Storage options
Store roasted garlic in an airtight container in the refrigerator for up to 14 days. For longer storage, freeze roasted cloves in an ice cube tray or small airtight containers. Freeze single-purpose portions so you can thaw only what you need for sauces, soups or dressings.
Ways to use roasted garlic
- Garlic butter: Mash 1 head (about 15–20 cloves) into 1/2 cup softened butter for an irresistible compound butter for bread, steak or vegetables.
- On pizza: Scatter roasted cloves over pizza before or after baking for a mellow garlic boost.
- As a spread: Mash roasted garlic onto toasted baguette slices for easy crostini topped with cheese or roasted tomatoes.
- Garlic bread: Mix a head of roasted garlic with softened butter, grated Parmesan and parsley. Spread on a loaf, bake until golden and enjoy.
- Mashed potatoes: Stir roasted garlic into mashed potatoes for a silky, savory depth.
- In sauces: Blend into tomato sauces, cream sauces or pestos to add sweet, savory complexity.
- With cheese: Combine roasted garlic with baked brie, goat cheese or ricotta for a crowd-pleasing appetizer.
- Dips and spreads: Fold into hummus, yogurt dips or mayonnaise-based spreads.
- Sandwiches: Spread cloves on grilled cheese or cold-cut sandwiches for a rich garlic flavor.
- Pasta: Toss roasted garlic with olive oil or butter and fresh herbs to coat pasta for a simple, flavorful dish.

Recipe: Roasted Garlic
Roasted Garlic
Servings: About 20 roasted cloves (from 1 large head)
Prep time: 5 minutes • Cook time: 25–45 minutes • Total time: 30–50 minutes
Ingredients
- 1 head garlic
- 1 teaspoon olive oil (for whole head)
- Optional for peeled cloves: 6–12 peeled cloves and 1/2 teaspoon olive oil
Oven Instructions
- Preheat the oven to 400°F (200°C).
- Remove loose outer layers and slice about 1/4 inch from the top of the head to expose the cloves.
- Place on foil, drizzle with olive oil, wrap and roast for 35–45 minutes until golden and soft. Cool slightly and squeeze cloves from the skins.
Air Fryer Instructions
- Prepare the head the same way, wrap in foil and roast at 400°F for about 25 minutes until soft and lightly browned. Allow to cool and squeeze out cloves.
Notes
- For peeled cloves: toss 6–12 peeled cloves with 1/2 teaspoon oil, wrap and roast at 400°F for 30–35 minutes (oven) or about 20 minutes in an air fryer.
- Roast several heads at once by placing each in a muffin tin, drizzling oil and covering the pan; roast 40–45 minutes at 400°F.
- Refrigerate roasted garlic in an airtight container up to 14 days. Freeze portions in an ice cube tray for longer storage.
Nutrition (per roasted clove, approximate)
Calories: 4 kcal • Carbohydrates: 0.5 g • Protein: 0.1 g • Fat: 0.2 g
More kitchen tutorials
Explore practical kitchen techniques like peeling garlic, cooking bacon in the oven, different ways to cook sweet potatoes, caramelizing onions and hard boiling eggs to expand your everyday cooking skills.