How to Roast Garlic Whole Until It's Spreadable
Quick answer
To roast garlic, peel off the loose papery skin, cut ¼ inch off the top of the head to expose the cloves, drizzle with olive oil and a pinch of salt, and wrap it in foil. Roast at 375–400°F for 40–45 minutes, until the cloves are soft and golden, as Oregon State and NDSU Extension describe. Cool, then squeeze the cloves out.

Handy for this: Boiling times chart · Cups to tablespoons
At a glance
- Heat the oven to 375–400°F.
- Remove loose papery outer skin; keep the head whole.
- Cut ¼–½ inch off the top to expose the cloves.
- Drizzle with olive oil and sprinkle with salt.
- Wrap in foil or cover in a small baking dish.
- Roast 40–45 minutes until soft and golden.
- Cool, then squeeze out the cloves; chill leftovers within 2 hours.
The short version
Roasting turns sharp raw garlic sweet, soft and spreadable. Oregon State's Food Hero recipe roasts a whole head at 375°F for about 40 minutes; NDSU Extension roasts it about 45 minutes until it has a light caramel color. Either way, the cloves are ready when a knife slides in with no resistance.
“The edges of the cloves are turning dark brown. Take the garlic out now.”
Roasted garlic times
| Method | Heat | Time |
|---|---|---|
| Whole head in foil | 375°F | 40–45 min |
| Whole head in foil | 400°F | 35–40 min |
| Peeled cloves in a covered dish | 375°F | 25–30 min |
| Air fryer, head in foil | 380°F | 20–25 min |
Big heads and elephant garlic take longer. Check at the low end.
Storing roasted garlic safely
Garlic can carry botulism spores from the soil, and NDSU warns never to store garlic in oil at room temperature. Oregon State says to refrigerate or freeze roasted garlic within 2 hours. Keep it in the fridge and use it within a few days, or freeze recipe-size portions for months. For garlic kept under oil, follow the stricter rules in our garlic confit guide.
Ways to use it
- Spread it on crostini or toast.
- Mash it into mashed potatoes.
- Blend it into soups, hummus or salad dressing.
- Stir it into softened butter for roasted garlic butter.
A worked example
You peel the loose skin from two heads of garlic, slice the tops off so every clove shows, drizzle each with a teaspoon of olive oil and wrap them in foil. They go into a 375°F oven next to your roasting vegetables. At 40 minutes you open one: the cloves are golden and a knife slides through. After 10 minutes of cooling, you squeeze them out from the bottom into a small jar and refrigerate what you don't use tonight.
Common mistakes
- Not cutting enough off the top. The cloves are hard to squeeze out.
- Pulling it early. Firm cloves taste sharp. Roast until soft.
- Leaving it in oil on the counter. That's a botulism risk. Refrigerate.
- Too high a heat. The cloves burn and turn bitter.
Keep going
Next up: How to Make Garlic Confit and Store It Safely, How to Make Mashed Potatoes and How to Make Crostini in the Oven, Crisp but Not Hard.
Want raw garlic's punch instead? See how to mince garlic.
Blending roasted garlic into hummus? See what tahini is and how to use it.
Mash a few roasted cloves into mayonnaise for a mellow aioli.
Roast it with a sprig of rosemary or thyme; see substitute for rosemary.
Roasted garlic freezes; see can you freeze garlic, including the oil safety rule.
Pan watches it for you
Pan watches garlic so it doesn't burn
Garlic turns from golden to bitter fast. Pan watches through your phone camera and tells you out loud when it's ready, on the stove or in the pan.
- Top cut off
- Oil, salt, foil
- Soft and golden at 40 minutes
- Squeeze out; chill leftovers
Pan AI is on iPhone • Android.
Common questions
How long does it take to roast garlic?
About 40–45 minutes at 375°F, or 35–40 minutes at 400°F.
Do you have to wrap garlic in foil to roast it?
No. A small covered baking dish works the same way.
How long does roasted garlic last?
A few days in the fridge, or several months frozen. Never keep it in oil at room temperature.
Can you roast garlic in the air fryer?
Yes. Wrap the head in foil and air fry at 380°F for 20–25 minutes.
Can you roast garlic cloves without the head?
Yes. Toss peeled cloves in oil in a small dish, cover with foil, and roast at 375°F for 25–30 minutes until soft and golden.
How do you use roasted garlic?
Spread it on bread, mash it into potatoes, stir it into soups, sauces, hummus or dressings, or mix it into butter.
Can you freeze roasted garlic?
Yes. Squeeze out the cloves and freeze them in small portions or ice cube trays. Keep them frozen until you use them.
Sources
- USDA FSIS: Leftovers and Food Safety
- FoodSafety.gov: Safe Minimum Internal Temperatures
- Oregon State University Extension Food Hero: Roasted Garlic
- North Dakota State University Extension: All About Garlic! Pocket Guide
- Oregon State University Extension: Herbs and Vegetables in Oil
Reviewed against USDA FSIS, FoodSafety.gov and Oregon State University Extension guidance. How we choose sources and fix mistakes: editorial policy.
Keep cooking
- Vegetables & fruitHow to Make Garlic Confit and Store It SafelyHow to make garlic confit: peeled cloves covered in oil, cooked low at 250°F for 1½–2 hours until soft. Refrigerate and use within 4 days, or freeze it.
- Vegetables & fruitHow to Make Mashed PotatoesHow to make mashed potatoes: boil Yukon Gold chunks in salted water 15–20 minutes until fork-tender, then mash with warm butter and milk. Ratios and fixes.
- Vegetables & fruitHow to Make Crostini in the Oven, Crisp but Not HardHow to make crostini: slice a baguette ¼–½ inch thick, brush with olive oil and bake at 400°F for 6–10 minutes until golden. Skillet method and toppings.
- Vegetables & fruitHow to Roast VegetablesHow to roast vegetables: toss in oil, spread on a sheet pan and roast at 425°F for 15–45 minutes. Times by cut size for roots, crucifers, squash and peppers.
- Free toolInternal temperature chartSafe internal temperatures for steak, chicken, salmon, pork and more, plus a printable PDF.