The short answer: how to roast garlic: cut about 1/4 inch off the top of each head, drizzle with olive oil and a pinch of salt, wrap in foil and roast at 400°F for about 45 minutes, until the cloves are soft and golden. Cool 10 minutes and squeeze them out. Four heads take 1 hour total (5 minutes hands-on) and make 8 servings.

  • Key amounts: 4 heads garlic · 4 tsp olive oil · 1/4 tsp salt.
  • Done when: a knife slides into the center clove with no resistance.
  • Storage rule: refrigerate and use within 4 days, or freeze. Never keep garlic in oil at room temperature.
Jump to recipe

Prep time: 5 minCook time: 45 minTotal time: 1 hrServings: 8 servingsTotal time includes 10 minutes of cooling so the cloves can be squeezed out by hand.

Roasted garlic turns sharp raw cloves sweet, mellow and spreadable. Below: ingredients, directions, a time and temperature chart, other methods (no foil, air fryer, peeled cloves), safe storage and 12 ways to use it.

Roasted garlic ingredients

This makes 4 roasted heads, 8 servings (half a head each).

Ingredient Amount
Garlic, whole medium heads 4 heads (200 g)
Extra-virgin olive oil 4 tsp
Salt 1/4 tsp
Black pepper 1/8 tsp
Roasted garlic ingredients: whole garlic heads, olive oil, salt and pepper

Roasted garlic directions

  1. Heat the oven. Heat the oven to 400°F with a rack in the center.
  2. Trim the heads. Peel away the loose, papery outer layers but keep the heads whole. Slice about 1/4 inch off the pointed top of each head to expose the cloves.
  3. Season. Set each head cut side up on a square of foil. Drizzle 1 tsp olive oil over each and sprinkle with the salt and pepper.
  4. Wrap. Bring the foil up and pinch it closed around each head. Set the packets in a small baking dish or muffin tin so they stay upright.
  5. Roast. Roast about 45 minutes, until a knife slides easily into the center clove and the tops are golden. Open one packet at 40 minutes to check.
  6. Cool and squeeze. Let the garlic cool 10 minutes, then squeeze the base of each head so the soft cloves slide out. Mash them with a fork for a smooth paste.

Nutrition (per serving, estimated)

Serving size: 1/2 head roasted garlic.

Calories60
Total fat2 g
Saturated fat0 g
Cholesterol0 mg
Sodium80 mg
Total carbohydrate8 g
Dietary fiber1 g
Total sugars0 g
Protein2 g

This is an estimate calculated from USDA FoodData Central data for the listed ingredients and amounts. Actual values vary with brands, portions and substitutions.

Garlic heads with the tops trimmed to expose the cloves
Oiled garlic heads being wrapped in foil for roasting

Rate this recipe

Time and temperature chart

Oven or method Time Result
350°F, foil About 60 to 70 min Very soft, pale, mild
375°F, foil About 55 min Soft and light golden
400°F, foil (this recipe) About 45 min Soft, golden, sweet
425°F, foil About 35 to 40 min Deeper color, check often
Air fryer 380°F, foil About 20 to 25 min Soft and golden
Peeled cloves, 400°F, covered dish About 20 to 25 min Soft cloves, easy to portion

Small heads or loose cloves cook faster. Always test with a knife instead of trusting the clock.

Newsletter

3 easy dinners a week

Get three emails a week, Mon/Wed/Fri, with easy dinner ideas from HomeBase.

Other ways to roast garlic

  • No foil: set the trimmed, oiled heads in a small baking dish, add 2 Tbsp water to the dish and cover tightly with a lid or a sheet pan.
  • Muffin tin: put one head in each cup, oil them and cover the tin with a baking sheet. Handy for a big batch.
  • Peeled cloves: toss peeled cloves with 1 to 2 Tbsp olive oil in a covered dish and stir once halfway.
  • Garlic confit: cover peeled cloves completely with olive oil in a small pan and bake at 250°F for about 1 1/2 hours. Same storage rule as below.
Garlic confit: peeled garlic cloves cooked in olive oil

Storing roasted garlic safely

Garlic is a low-acid vegetable, and oil cuts off oxygen. The National Center for Home Food Preservation found that garlic-in-oil mixtures stored at room temperature are at risk for botulism, and says to refrigerate them at 40°F or lower for no more than 4 days or freeze them for longer. Oregon State University Extension gives the same 4-day limit for garlic covered in oil in the refrigerator.

Affiliate links: we may earn a small commission. As an Amazon Associate we earn from qualifying purchases. Details.

Airtight glass containers with lids keep leftovers fresh and can go from the fridge to the microwave.

Storage How long How
Refrigerator Up to 4 days Covered container, cloves or paste
Freezer Several months Cloves on a tray, or paste in ice cube trays with a little oil
Counter Never Don't leave garlic in oil out over 2 hours

12 ways to use roasted garlic

  1. Mash into softened butter for garlic bread.
  2. Stir 1 head into mashed potatoes with the butter.
  3. Blend into hummus in place of raw garlic.
  4. Whisk into mayonnaise for a quick garlic aioli.
  5. Spread straight onto toasted baguette slices with a little salt.
  6. Mash into a vinaigrette with Dijon, lemon and olive oil.
  7. Stir into pasta sauce or tomato soup for a sweeter, rounder flavor.
  8. Mix into softened cream cheese for a bagel spread.
  9. Rub under the skin of chicken before roasting.
  10. Swirl into gravy or pan sauce at the end.
  11. Toss with roasted vegetables right out of the oven.
  12. Mash onto pizza crust instead of red sauce.

Nutrition is estimated from USDA FoodData Central values for the listed ingredients, per half head, as a side or spread.

Save the recipe

Family Recipe Binder printable pages

Made this? Tell us how it went

Your notes help the next cook: what you changed, how long it took, how it turned out.

Your rating (optional)

No email needed. Comments are read by a person before they appear; links and ads are not published.

More side dishes you'll love

See all thanksgiving dinner ideas

Frequently asked questions

What temperature do you roast garlic at? Roast whole garlic heads at 400°F. At that heat the cloves turn soft, golden and sweet in about 45 minutes. At 375°F plan on about 55 minutes; at 425°F check at 35 minutes because the edges brown faster.

How long does it take to roast garlic? About 45 minutes at 400°F for medium to large heads wrapped in foil. Small heads can be done in 35 to 40 minutes. The garlic is ready when a knife slides into the center clove with no resistance and the tops are light golden.

Do you have to cut the top off garlic before roasting? It's not required, but trimming about 1/4 inch off the top exposes every clove, lets the oil soak in and makes the soft cloves easy to squeeze out after roasting.

Can you roast garlic without foil? Yes. Use a small covered baking dish, a muffin tin covered with a sheet pan, or a garlic roaster. The goal is to trap steam so the cloves soften before they brown.

Can you roast garlic in an air fryer? Yes. Wrap the trimmed, oiled heads in foil and air fry at 380°F for about 20 to 25 minutes, checking with a knife. Air fryers vary, so start checking at 18 minutes.

How do you store roasted garlic? Refrigerate roasted garlic in a covered container and use it within 4 days, or freeze it. Food-safety experts at the National Center for Home Food Preservation warn that garlic in oil kept at room temperature can grow botulism, so never leave it on the counter.

Can you freeze roasted garlic? Yes. Squeeze out the cloves, spread them on a parchment-lined tray or spoon them into an ice cube tray with a little oil, and freeze. Move the frozen portions to a freezer bag and use them within several months.

Is roasted garlic in oil safe? Only if it's kept cold and used quickly. Oregon State University Extension says garlic covered in oil can be refrigerated for up to 4 days, and longer storage should be frozen. Never store homemade garlic in oil at room temperature.

Does roasted garlic taste different from raw garlic? Yes. Roasting turns garlic sweet, mellow and nutty, with a soft, spreadable texture. Raw garlic is sharp and pungent. That's why you can use a whole head of roasted garlic where a recipe calls for 2 or 3 raw cloves.

How much roasted garlic equals one clove? Roasted garlic is much milder, so use about 2 roasted cloves for every raw clove a recipe calls for, then taste. One medium head usually has 10 to 14 cloves.

What is the difference between roasted garlic and garlic confit? Roasted garlic cooks as whole heads in a hot oven with a little oil. Garlic confit is peeled cloves poached slowly in plenty of oil at a low temperature, usually 250 to 275°F. Both follow the same storage rule: refrigerate and use within 4 days, or freeze.

Can you roast peeled garlic cloves? Yes. Put peeled cloves in a small baking dish, toss with 1 to 2 tablespoons of olive oil, cover with foil and roast at 400°F for about 20 to 25 minutes, stirring once, until soft and golden.

Sources

  1. National Center for Home Food Preservation (University of Georgia): Freezing Garlic-In-Oil nchfp.uga.edu
  2. Oregon State University Extension: Preserving garlic extension.oregonstate.edu