Roasting Garlic in the Oven: Time and Easy Method

Updated November 4, 2026

Total time
50 min
prep 5 min · cook 45 min
Serves
8
portions as written

Jump to recipe

Roasting Garlic in the Oven: Time and Easy Method

Roasting garlic in the oven turns whole cloves soft, mellow, and easy to squeeze from their skins. A little olive oil and moderate heat are all you need; spread the finished garlic on bread, stir it into sauces, or mash it into potatoes.

Ingredients

  • 2 large whole garlic heads (about 120 g total)
  • 2 teaspoons olive oil (10 ml)
  • ⅛ teaspoon fine salt (about 0.75 g), optional
  • Freshly ground black pepper, optional

Instructions

  1. Heat the oven to 400°F (200°C). Set out a small oven-safe dish with a lid, or a piece of foil large enough to wrap the garlic securely. A muffin tin also works for a small batch.
  2. Remove any loose, papery outer layers from each garlic head, leaving the cloves attached at the base and covered by their individual skins. Use a sharp knife to slice about ¼ inch (6 mm) off the pointed top of each head, just enough to expose the tops of most cloves. Discard the trimmed pieces or save them for stock.
  3. Place the garlic cut-side up in the dish. Drizzle the exposed cloves with the olive oil and add salt and pepper, if using. Cover the dish with its lid, or wrap the heads snugly in foil with the cut sides facing up. The cover helps keep the garlic from drying before the centers soften.
  4. Roast for 40 to 50 minutes. Begin checking at 40 minutes: the exposed cloves should be deep golden in spots, very soft when pressed with a fork, and easy to pierce all the way through. Larger or especially dense heads may need closer to 55 minutes; smaller heads may finish sooner. If the cloves are still firm, cover again and roast in 5-minute increments.
  5. Remove the dish from the oven and let the heads cool until safe to handle, about 10 to 15 minutes. To use, squeeze the base of each clove so the soft garlic slips out of its skin. Mash it with a fork for a spread or leave the cloves whole for another recipe.

Tips

  • Choose heads that feel firm and heavy. Garlic with plump cloves and tight, dry skins roasts evenly. Avoid heads with soft spots, mold, or sprouting green shoots; a small green sprout is not necessarily harmful, but it can taste bitter.
  • Keep the cut shallow. Trim only enough to reveal the clove tips. Cutting too far down can make cloves detach and dry out; any loose cloves can still be roasted in a covered dish, but check them early.
  • Use a covered dish if you have one. Foil is a convenient substitute, but avoid letting it touch the heating element. If the garlic browns before it turns tender, lower the oven to 375°F (190°C) and continue roasting, covered.
  • Adjust the seasoning to its use. Salt is optional because roasted garlic may go into already-seasoned food. For a neutral batch to use in several dishes, roast it with oil alone and season when serving.

Serving Suggestions

Spread a warm clove on toast or stir mashed roasted garlic into butter for bread, vegetables, or corn. Fold it into mashed potatoes, hummus, white-bean dip, or softened cream cheese. It also adds rounded flavor to pasta sauces, soups, salad dressings, vinaigrettes, and pan sauces; mash a clove with a little cooking liquid or oil first so it blends smoothly.

For a quick topping, mix the cloves with olive oil and chopped parsley, then spoon them over roasted vegetables or grilled bread. The soft cloves are mild but still flavorful, so start with one or two and add more to taste. Do not use the oil left around garlic as a room-temperature infusion: refrigerate it promptly with the garlic or discard it.

Variations

Roast individual cloves: Separate and peel the cloves, place them in a small covered oven-safe dish, and add enough olive oil to lightly coat them. Roast at 375°F (190°C) for about 25 to 35 minutes, checking for tenderness. Loose cloves cook faster than whole heads, so begin checking early.

Add herbs: Tuck a small sprig of thyme or rosemary into the dish before covering. Remove the sprig before squeezing out the garlic; the herb will lend a gentle aroma without changing the basic method.

Make a larger batch: Roast several heads at once, spacing them in a baking dish. The time is usually similar, but crowded heads may need a few extra minutes. Keep any extra cloves refrigerated or freeze them in small portions rather than storing them in oil at room temperature.

Use another oil: A mild avocado oil can replace olive oil in the same quantity. It keeps the flavor relatively neutral; strongly flavored oils may compete with the sweet, mellow garlic.

Storage and Reheating

Let roasted garlic cool, then remove the cloves from their skins and place them in a clean, covered container. Refrigerate within 2 hours of roasting and use within 3 to 4 days. For food safety, store the cloves separately or covered with oil in the refrigerator; garlic submerged in oil must never be left at room temperature, because it can create conditions for botulism. Do not try to preserve roasted garlic by canning or keeping it in a cupboard.

To keep it longer, freeze peeled cloves in a sealed freezer-safe container for up to 3 months for best quality. Freeze them whole or mashed in small portions, then thaw in the refrigerator or add a frozen portion directly to a hot dish. Reheat only the amount needed until steaming hot; if reheating leftovers as a dish, bring them to 165°F (74°C). Roasted garlic is also good cold when spread or stirred into a dressing.

Frequently Asked Questions

How long does it take to roast garlic?
At 400°F (200°C), whole heads usually take 40 to 50 minutes, with larger heads sometimes needing about 55 minutes. Look for soft, easily pierced cloves rather than relying on the clock alone.

Can I roast garlic without foil?
Yes. Use a small oven-safe dish with a lid, or cover a baking dish tightly with an oven-safe lid. A muffin tin can hold the heads; cover the top with foil. The purpose is to trap enough moisture to soften the cloves.

Do I need to peel garlic before roasting it?
No. Keep the individual clove skins on and trim only the top of the whole head. Once roasted and cooled, squeeze the cloves out of their skins. Peeling first is useful only if you are following the separate-clove variation.

Why is my roasted garlic still hard?
It may need more time, especially if the heads are large, dense, or not well covered. Return it to the oven covered and check every 5 minutes. Make sure the oven is fully heated and that a fork can pierce a clove easily before removing it.

Can I roast garlic ahead of time?
Yes. Roast it, cool it, and refrigerate the cloves in a covered container within 2 hours. Use within 3 to 4 days or freeze in portions for up to 3 months. Keep garlic and garlic-infused oil refrigerated, never at room temperature.

Can I roast garlic in an air fryer?
Usually, yes, if the garlic is covered in an air-fryer-safe dish or securely wrapped in foil according to the appliance’s instructions. Try 375°F (190°C) for about 25 to 35 minutes, checking for tenderness; air-fryer models vary, so use softness as the final test.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).