Short Answer
Air fryer roasted garlic takes 15 to 20 minutes at 380°F, and the foil-wrapped cloves come out soft, golden and spreadable.
- Tight foil traps steam, which keeps the cloves soft.
- A knife tip should slide in with no resistance.
- Leftovers keep 4 days in the refrigerator, or longer frozen.
Four garlic heads, a little olive oil and foil make this one of the simpler air fryer recipes, and the heat swaps the sharp raw bite for a soft, sweet paste.
A tight wrap keeps the cloves soft and a knife tip tells you when to stop, and the olive oil on the cloves changes how long the leftovers keep.
1 What Do You Need and Why?
Large, firm heads with tight skins give you the most cloves per packet, and America's Test Kitchen advises unsprouted cloves when you want a mellow garlic flavor.
Soft spots and mold rule a head out, and America's Test Kitchen adds that an unopened head with a strong garlic smell points to damaged cells and a higher chance of spoilage.
Food Network puts a typical supermarket head at 10 to 12 cloves, which makes the four heads on the card roughly 40 to 48 cloves in all.
Elephant garlic is a different plant, and America's Test Kitchen says it is not true garlic and holds no more than about six cloves. The 15 to 20 minute timing fits regular heads, not elephant garlic.
A ¼ inch slice off the top exposes every clove so the oil can seep in, and the papery outer skin stays on to hold the head together. Across four heads, 2 tablespoons of olive oil works out to about 1 ½ teaspoons per head, enough to coat the cut tops and run between the cloves.
Three small choices change how your heads cook in the basket:
- Foil cut large enough to fold up and crimp over the top holds in the steam, and an open top dries and darkens the exposed cloves.
- Heads sit cut side up in one layer, which keeps the oil on the cloves.
- Your air fryer's manual has the final word on whether foil may go in the basket.
Foil, Parchment or Neither?
Your wrap decides how much steam and oil stay with the cloves, and the card uses foil for that reason. Three other wraps behave differently:
| Wrap | What It Does |
|---|---|
| Parchment layered inside the foil | Keeps the cloves off bare metal, per Running to the Kitchen |
| Parchment alone | Needs kitchen twine to stay shut and may leak more oil than foil, per the same page |
| Loose cloves on open parchment | No steam trap, and Eating by Elaine flips them halfway and checks often to avoid burning |
- Oil that finds a loose seam pools in the basket, and Running to the Kitchen lines the bottom of the air fryer with foil to catch drips, while a tight crimp keeps most of it on the cloves.
- Project Meal Plan advises keeping foil below the max fill line. It also advises against covering the whole basket floor, which can block airflow.
How Many Heads Fit at Once?
The card sets four heads in a single layer, and Slow Roasted Italian says crowded heads cook unevenly and take longer because hot air needs room to circulate.
Project Meal Plan fits up to five heads in its 5.8-quart basket and checks small heads at 15 minutes. A smaller basket takes the four heads in two rounds, and eight heads would take two rounds of four even in a large one.
A single head needs only the card's 1 ½ teaspoons of oil.
2 How Do You Get It Right?
The packets go into a basket preheated to 380°F, and the 15 to 20 minute range exists because head size and each air fryer's real temperature move the finish line.
Recipes disagree on the dial: Running to the Kitchen uses 400°F and Live Eat Learn uses 375°F, and the card's 380°F sits between them.
You will know a head is done when a paring knife slides into a clove with no resistance and the exposed tops look golden to tan.
America's Test Kitchen reports that garlic roasted at hotter temperatures cooks unevenly and the inner cloves sometimes never color, which makes a knife test on a center clove a better judge than color.
A failed batch usually shows up in one of two ways:
| What You See | Likely Cause | Fix |
|---|---|---|
| Pale, firm cloves | Pulled early, or a basket that runs cool | A few more minutes in a closed packet, then another knife test |
| Dark brown, bitter tops | Foil opened early, or heads left past golden | Checks that start at 15 minutes through a quick fold-back of the foil, with the foil open only for the final 5 |
For deeper caramelization, you can open the foil for the last 5 minutes, and the cut tops brown further once the cloves are already soft.
America's Test Kitchen says garlic browned at very high heat tastes bitter, and the exposed cut tops are the likeliest place for it to start.
The packet rests at least 5 minutes before it opens, and the foil folds back away from your face because steam builds up inside, as Running to the Kitchen notes.
Once the head is cool enough to handle, a press from the root end pushes the cloves out through the cut top, and tongs or oven mitts keep your hands off the hot foil.
America's Test Kitchen notes that some roasted garlic always stays behind in the skins. A knife tip scrapes out what the squeeze misses.
3 How Do You Use Roasted Garlic?
A fork turns the soft cloves into a paste that you can use wherever raw garlic would taste harsh.
Project Meal Plan estimates 3 to 4 roasted cloves for each raw minced clove, which is a loose starting point because clove size and your own taste move the number.
On Bread and Potatoes
- Garlic butter turns milder when mashed roasted garlic replaces the raw minced cloves in garlic bread.
- On baked russets, a spoonful stirred into the butter or sour cream adds garlic with no raw bite.
- Mashed cloves can replace the raw ones that cook with the potatoes in an Instant Pot mash, folded in after the mashing.
In Pots and Recipes
- In stews and dips, mashed roasted garlic works as a garlic paste swap when a recipe calls for paste.
- In a puréed zucchini soup, one whole roasted head supplies the mellow garlic base.
- For garlic Alfredo, a spoonful of mashed roasted garlic stirred in at the end brings a mellower flavor than minced cloves sautéed at the start.
In Dips, Dressings and Pizza
- Mayonnaise or sour cream stirred with mashed roasted garlic turns into a sandwich spread or a dip for raw vegetables.
- A spoonful of mashed cloves in a vinaigrette or a thin layer under pizza toppings adds a mellow garlic note.
4 What Can You Add Before Roasting?
Extras go into the packet before you wrap it:
- 1 to 2 sprigs of rosemary, thyme or oregano tucked into the foil scent the cloves as they steam.
- A pinch of red pepper flakes, about ⅛ to ¼ teaspoon per head, adds mild heat.
- Fresh lemon zest sprinkled on before wrapping adds a citrus note.
5 Can You Roast Just a Few Cloves?
Loose peeled cloves are a method the card does not cover, and Live Eat Learn wraps 12 to 15 peeled cloves in a foil pouch with oil and salt at the same time and temperature as whole heads, with a first check near the 12-minute mark.
Slow Roasted Italian says to reduce the cooking time for loose cloves when you want them slightly firm. For a soft clove, a knife tip still tells you when it is done.
6 How Do You Store Roasted Garlic Safely?
Roasted garlic coated in olive oil should be treated as garlic in oil, and Oregon State Extension explains that low-acid vegetables and herbs in oil create an oxygen-free environment where Clostridium botulinum bacteria grow.
Warning
Oregon State's refrigeration guide says garlic stored in oil must be used within 4 days or frozen, and Health Canada says vegetables and herbs in oil are never kept at room temperature.
Oregon State does not name roasted garlic, and since its guide makes no exception for cooked garlic, the safe move is to apply the same rule to the cloves and any oil from the foil. Packets left on the table go into the refrigerator within 2 hours of cooking, according to USDA's leftovers guidance.
A small, clean container with a lid holds the cloves, and a label showing the date four days after roasting tells you the last day to use them. Herb sprigs and lemon zest in the packet change nothing about that limit.
Cloves in oil keep up to a month in the fridge at Running to the Kitchen and 2 weeks at Live Eat Learn, but a jar does not change Oregon State's 4-day limit for garlic in oil. Its only room-temperature exceptions are commercial acidified products and home recipes made to its PNW664 directions exactly.
For longer storage, Oregon State says crushed vegetables and herbs in oil can be frozen in ice cube trays and moved to airtight containers, and the frozen portions work as seasonings. USDA's FoodKeeper lists garlic at 1 month in the freezer for best quality, an entry for whole garlic and not roasted cloves.
Slow Roasted Italian says up to 3 months in the freezer and Project Meal Plan up to 6 months, both well past that FoodKeeper figure.
- Portioning: Mashed cloves fill an ice cube tray.
- Freezing and packing: The solid cubes move into an airtight container, which keeps the garlic aroma away from other freezer foods, as Oregon State notes for flavored oils.
- Thawing: Cubes thaw overnight in the refrigerator, the method Live Eat Learn gives for roasted cloves, or go straight from the freezer into a pot that is already cooking.
Cloves from the refrigerator can go straight onto toast within the 4 days. Cloves that are warmed again, on their own or inside a leftover dish, need 165°F on a food thermometer, the FSIS number for leftovers.
Frequently Asked Questions
Yes. America's Test Kitchen says garlic's flavor-making enzymes are destroyed above about 140°F, which means no new sharpness forms, and it describes roasted whole heads as very mild, sweet and caramel-like.
Yes. Project Meal Plan roasts whole heads at 400°F for about 40 minutes after a 7 to 10 minute preheat, and Slow Roasted Italian roasts loose cloves at 375°F for 40 to 45 minutes. Both are far longer than the 15 to 20 minutes on the air fryer card.
Cook's Illustrated says the blue color comes from a reaction between enzymes and sulfur-containing amino acids, usually set off by a mild acid, and that the garlic is safe and tastes fine. Its article covers blue garlic, and cloves with mold, slime or a sour smell are a different problem and go in the trash.
No. America's Test Kitchen says not to bother taking sprouts out, since in its revised testing the sprouts tasted herbal and grassy, though cloves from sprouted heads tasted sharper than unsprouted ones. For a mellow paste, an unsprouted head is the better pick.
Not as far as the sources show: every recipe here uses oil, and none tests a dry batch. The card's 2 tablespoons coat the cut tops and run between the cloves.
Easy Air Fryer Roasted Garlic
Equipment
- Air-fryer
- Knife
- Aluminum Foil
- Cutting board
- Measuring spoons
- Pastry brush
Ingredients
- 4 large garlic heads
- 2 tablespoons olive oil
- ½ teaspoon salt
- ¼ teaspoon black pepper
- Optional: fresh herbs like rosemary or thyme
Instructions
- Preheat your air fryer to 380°F.
- Cut the top ¼ inch off of each garlic head to expose the cloves.
- Drizzle each garlic head with olive oil, making sure it seeps into the cloves.
- Sprinkle with salt, pepper, and add a sprig of fresh herbs if desired.
- Wrap each garlic head tightly in a piece of aluminum foil.
- Place the wrapped garlic heads in the air fryer basket in a single layer.
- Air fry for 15-20 minutes until the garlic is tender and golden brown.
- Remove from the air fryer and let cool slightly before squeezing the cloves out of their skins.
- Serve immediately, or store the cloves in a covered container in the refrigerator for up to 4 days, or freeze them.
Notes
- If you prefer more caramelization, open the foil during the last 5 minutes of cooking.
- Roasted garlic can be frozen for up to a month. Store in a freezer-safe container.
- For a milder flavor, roast until a knife slides into the cloves with no resistance.
Nutrition
Sources
- Oregon State Extension, Herbs and Vegetables in Oil (SP 50-701)
- Oregon State Extension, Guidelines for Refrigeration of Foods (SP 50-677)
- Health Canada, Food Safety Tips for Vegetables and Herbs in Oil
- America's Test Kitchen, Our Essential Guide to Garlic
- USDA FSIS, Leftovers and Food Safety
- USDA FoodKeeper
- Food Network, What Is a Clove of Garlic?
- Cook's Illustrated, Why Acid Turns Garlic Blue
- Running to the Kitchen, Easy Air Fryer Roasted Garlic
- Eating by Elaine, Air Fryer Roasted Garlic
- Project Meal Plan, Roast Garlic in an Air Fryer
- Live Eat Learn, How to Air Fry Garlic
- Slow Roasted Italian, How to Make Roast Garlic in the Air Fryer

Andrew Gray is a seasoned food writer and blogger with a wealth of experience in the restaurant and catering industries. With a passion for all things delicious, Andrew has honed his culinary expertise through his work as a personal chef and caterer.
His love for food led him to venture into food writing, where he has contributed to various online publications, sharing his knowledge and insights on the culinary world. As the proud owner of CooksCrafter.com, Andrew covers a wide range of topics, including recipes, restaurant reviews, product recommendations, and culinary tips.
Through his website, he aims to inspire and educate fellow food enthusiasts, offering a comprehensive resource for all things food-related.









