Ofen

Oven cooking: roasting, baking and sheet-pan meals

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

How to Roast Garlic in the Oven: Whole & Cloves

· 6 min read · Roasting

Roasting garlic in the oven transforms sharp, pungent cloves into a sweet, buttery, and nutty spread that melts into anything it touches. It’s one of the simplest kitchen techniques: whole heads of garlic wrapped in foil or a covered dish, slow-roasted until soft and golden. The result is a mellow, caramelized paste that you can use in mashed potatoes, salad dressings, pasta, or simply spread on crusty bread. This guide covers the whole process from start to finish, including how to roast both whole heads and individual peeled cloves, so you can pick the method that fits your cooking.

What You'll Need

  • Fresh garlic heads (or pre-peeled cloves)
  • Aluminum foil or a small oven-safe dish with a lid
  • Olive oil (or another neutral oil like avocado or canola)
  • Salt (kosher or sea salt works best)
  • Sharp knife
  • Cutting board
  • Baking sheet (optional, for holding the garlic)

Step-by-Step

  1. Preheat your oven to 400°F (200°C). This temperature is hot enough to caramelize the sugars in the garlic without burning them. If you’re roasting a lot of garlic or prefer a deeper flavor, you can drop to 375°F (190°C) and extend the time slightly.
  2. Prepare the garlic heads. Using a sharp knife, slice off the top ¼ to ½ inch of each garlic head to expose the cloves. Don’t cut too much—you want the cloves to stay intact inside their papery skins. Leave the root end intact so the head holds together.
  3. Drizzle with oil. Place each garlic head on a piece of aluminum foil large enough to wrap it completely. Drizzle about 1 to 2 teaspoons of olive oil over the cut surface, letting it seep into the cloves. Sprinkle with a pinch of salt.
  4. Wrap tightly. Bring the foil up over the garlic and crimp the edges to seal it into a pouch. If you’re using a covered dish, place the garlic heads cut-side up in the dish, drizzle with oil, and cover with the lid.
  5. Roast. Place the wrapped garlic on a baking sheet (to catch any drips) and put it in the preheated oven. Roast for 40 to 60 minutes, depending on the size of the heads and your oven. The garlic is done when the cloves are soft and yield easily when squeezed, and the cut surface is golden brown. Start checking at 40 minutes.
  6. Cool and squeeze. Remove the garlic from the oven and let it cool until it’s comfortable to handle, about 10 minutes. Then unwrap the foil and use your fingers or a small fork to squeeze the roasted cloves out of their skins. They should slide out easily as a soft paste.
  7. Store or use immediately. Use the roasted garlic right away, or store it in an airtight container in the refrigerator for up to 1 week. You can also freeze it in ice cube trays with a little oil for up to 3 months.

For roasting individual peeled cloves: Toss peeled cloves in a bowl with enough olive oil to coat them evenly, then spread them in a single layer on a baking sheet lined with parchment paper. Sprinkle with salt and roast at 400°F (200°C) for 20 to 30 minutes, shaking the pan halfway through, until they’re golden and soft. These are great for adding to sauces or as a topping.

Common Mistakes

  • Cutting too much off the top. If you slice off too much, the cloves may dry out or fall apart during roasting. A thin slice is enough to expose the tops.
  • Using too little oil. Garlic needs oil to carry heat and prevent drying. If you skimp, the cloves can become tough or scorched.
  • Overcrowding the pan. If you’re roasting peeled cloves, they must be in a single layer with space between them. Overlapping causes steaming instead of roasting, leading to soggy garlic.
  • Roasting at too high a temperature. Above 425°F (220°C), the outside of the garlic can burn before the inside softens. Stick to 375–400°F.
  • Not checking early. Ovens vary, and a small head of garlic can be done in 35 minutes. Set a timer for 35–40 minutes and check; you can always roast longer, but you can’t un-roast burnt garlic.

Tips

  • Use fresh garlic. The fresher the garlic, the sweeter and more flavorful the result. Look for firm heads with no green sprouts.
  • Add herbs or spices. Tuck a sprig of thyme, rosemary, or a bay leaf into the foil pouch along with the garlic for extra aroma. A few black peppercorns also work nicely.
  • Save the oil. The oil that pools in the foil after roasting is infused with garlic flavor—use it for salad dressings or to brush on bread.
  • Make a big batch. Roast 4–6 heads at once and freeze the paste in small portions. It’s a huge time-saver for weeknight cooking.
  • For a milder flavor, roast at a lower temp. At 350°F (175°C) for 60–75 minutes, the garlic becomes very sweet and almost jammy, with less of the roasted edge.

Troubleshooting

  • Garlic is still hard after the recommended time. If your heads are large or your oven runs cool, simply rewrap and roast for another 10–15 minutes. Check every 5 minutes until soft.
  • Garlic is burnt or bitter. If the edges are dark brown or black, the oven was too hot or the garlic was left too long. The bitter taste comes from burned compounds. You can try to salvage the unburnt inner parts, but often it’s best to start over with a fresh head and lower the temperature.
  • Cloves are too oily or greasy. This usually means you used too much oil. Next time, use just enough to coat the cut surface. For the current batch, drain the excess oil before using the garlic.
  • Garlic sticks to the foil. Let it cool completely before unwrapping—the paste will release more easily. You can also use a silicone baking mat or parchment paper inside the foil to prevent sticking.
  • Roasted garlic tastes too strong or sharp. That happens when the garlic wasn’t roasted long enough. The sharpness fades with time, so pop it back in the oven for another 10 minutes. If it’s already soft but still strong, the variety of garlic might be more pungent; you can mix the roasted paste with a little butter or olive oil to mellow it.

Frequently Asked Questions

Can I roast garlic without foil? Yes. Place the cut heads in a small oven-safe dish, drizzle with oil, and cover with a lid or another baking dish. You can also roast them in a muffin tin with a little oil and no cover, but they’ll dry out more—check earlier and add a bit more oil if needed.

How long does roasted garlic last in the fridge? Stored in an airtight container with a thin layer of oil on top, roasted garlic keeps for about 1 week. Always use a clean spoon to scoop out what you need.

Can I roast garlic in a garlic roaster or air fryer? Yes. For an air fryer, wrap the garlic in foil as described and cook at 350°F (175°C) for 20–30 minutes, checking for softness. A dedicated garlic roaster (a ceramic dish with a lid) works exactly like the covered dish method.

Is roasted garlic as healthy as raw garlic? Roasting reduces some of the allicin (the compound responsible for garlic’s health benefits and pungency), but it still contains antioxidants and other beneficial compounds. It’s a delicious way to eat garlic, even if it’s slightly less potent than raw.

Can I use roasted garlic in place of raw garlic in recipes? Yes, but the flavor is much milder and sweeter, so you’ll need to use more. As a rule of thumb, use about 2–3 times the amount of roasted garlic as you would raw. Also, roasted garlic adds moisture, so adjust the liquid in your recipe if necessary.

What’s the best way to freeze roasted garlic? Mash the roasted cloves and pack them into an ice cube tray, then top with a little olive oil. Freeze until solid, then pop the cubes into a freezer bag. They’ll keep for up to 3 months and can be added directly to hot dishes.