Roasting garlic in olive oil transforms sharp, pungent cloves into sweet, nutty, spreadable morsels that add depth to sauces, mashed potatoes, bread, and more. The oil itself becomes infused with garlic flavor, making it a bonus ingredient for dressings or drizzling. This guide covers the whole-head method (the most common and versatile), plus a quick peeled-clove variation. You only need a few basic items and about 45 minutes of oven time.
What You'll Need
- Whole garlic bulbs (or pre-peeled cloves for the quick method)
- Olive oil (extra virgin for flavor, or a neutral olive oil for a milder taste)
- Aluminum foil
- Sharp knife
- Baking dish or small oven-safe skillet (just large enough to hold the garlic)
- Optional: salt, pepper, fresh herbs like thyme or rosemary
Step-by-Step
- Preheat your oven to 400°F (200°C). This temperature caramelizes the garlic’s natural sugars without burning the oil.
- Prepare the garlic bulbs. Peel away the loose, papery outer skin from each bulb, but leave the cloves intact and attached at the root end. Do not separate the cloves yet.
- Slice off the top. Using a sharp knife, cut about ¼ to ½ inch off the top of each bulb, exposing the individual cloves. You want the tips of the cloves visible.
- Place in a baking dish. Set the bulbs cut-side up in a small baking dish or on a piece of foil. If using a dish, make sure it’s snug so the bulbs don’t tip over.
- Drizzle with olive oil. Pour about 1 to 2 teaspoons of olive oil over each exposed bulb, letting it seep down between the cloves. Use your fingers to rub the oil over the cut surfaces.
- Season (optional). Sprinkle with a pinch of salt and pepper, and add a sprig of thyme or rosemary on top if you like.
- Cover with foil. If using a dish, cover it tightly with aluminum foil. If you’re not using a dish, wrap each bulb individually in a foil packet, leaving a little room for steam.
- Roast for 35–45 minutes. Place the dish in the preheated oven. Roast until the cloves are soft and golden brown. To test, pierce a clove with a knife or fork—it should slide in easily with no resistance.
- Cool slightly. Remove from the oven and let the garlic sit until cool enough to handle, about 5–10 minutes. Keep the foil on to retain moisture.
- Extract the roasted garlic. Squeeze the bottom of each bulb gently, and the soft roasted cloves will pop out. Alternatively, use a small fork or knife to scoop them out.
- Use or store. Mash the cloves with a fork for a paste, or leave them whole. Store in a sealed container in the fridge for up to 1 week, or freeze for up to 3 months.
Quick method for peeled cloves: If you have pre-peeled cloves, toss them in a small baking dish with enough olive oil to coat (about 2 tablespoons per cup of cloves). Cover with foil and roast at 400°F for 25–30 minutes, stirring once halfway, until soft and golden. This method is faster and works well for making garlic confit.
Common Mistakes
- Not cutting off enough of the top. If you only shave off a thin layer, the oil won’t penetrate and the cloves won’t roast evenly. Cut at least ¼ inch off.
- Using too little oil. The oil is what carries heat and flavor. If you skimp, the garlic will dry out and burn rather than soften.
- Skipping the foil. Without foil, the garlic will dry out and the tops can burn before the inside is tender. Always cover.
- Overcrowding the dish. If bulbs are packed too tightly, they may not roast evenly. Use a dish just large enough to hold them in a single layer.
- Roasting at too high a temperature. Above 425°F, the garlic can burn and turn bitter. Stick to 400°F.
Tips
- Use extra virgin olive oil for the best flavor. It adds a fruity, peppery note that complements the sweet garlic. If you prefer a milder taste, use a lighter olive oil.
- Save the infused oil. After roasting, strain the oil from the dish and store it separately. It’s fantastic for salad dressings, dipping bread, or roasting vegetables.
- Make a big batch. Roast several bulbs at once—they keep well and save time later. Store the roasted cloves in a jar covered with olive oil in the fridge for up to 2 weeks.
- Add herbs. Thyme, rosemary, or bay leaves placed in the dish infuse the oil and garlic with extra aroma.
- Use a garlic roaster. If you have a ceramic garlic roaster, follow the manufacturer’s instructions—it works similarly but often produces a slightly more even roast.
Troubleshooting
- Garlic is still hard after roasting. Return it to the oven, covered, for another 10–15 minutes. The cloves may be larger or the oven may run cool. Check again.
- Garlic is burnt or bitter. If the tops are dark brown or black, the garlic is over-roasted. Unfortunately, burnt garlic tastes bitter and cannot be fixed—discard the burnt parts. To avoid this next time, lower the oven to 375°F or check earlier (at 30 minutes).
- Garlic is too oily. If you used too much oil, drain the excess before storing. The oil can be saved for cooking, but the garlic itself should not be swimming in oil for long-term storage (unless refrigerated and used within 2 weeks).
- Cloves are hard to squeeze out. Let the garlic cool a bit more—hot garlic is too soft and sticks. If still stubborn, use a small spoon to scoop them out.
- Oil smoked in the oven. This happens if the oil dripped onto the oven floor or if the temperature was too high. Wipe up any spills before roasting, and always use a rimmed baking sheet to catch drips.
Frequently Asked Questions
Can I roast garlic without foil?
Yes, but you’ll need to cover the dish with a lid or use a covered oven-safe pot. The foil traps steam, which keeps the garlic moist. Without any cover, the garlic will dry out and burn.
How long does roasted garlic last?
Roasted garlic cloves stored in an airtight container in the refrigerator will keep for up to 1 week. If covered with olive oil, they can last up to 2 weeks. You can also freeze them for up to 3 months—either whole or mashed, in an ice cube tray.
Can I use roasted garlic oil for cooking?
Absolutely. The oil left in the dish is infused with garlic flavor. Use it within a few days for sautéing, roasting vegetables, or making vinaigrettes. Store it in the fridge if you won’t use it immediately.
Is roasted garlic as strong as raw garlic?
No. Roasting mellows the sharpness and brings out sweetness. The flavor becomes nutty and buttery, much milder than raw garlic. You can use more of it without overpowering a dish.
Can I roast garlic in a microwave?
Yes, but the texture will be softer and less caramelized. Place a garlic bulb cut-side up in a microwave-safe dish, add oil, cover with a damp paper towel, and microwave on high for 2–3 minutes, then check and add time in 30-second bursts until soft. It’s quicker but not quite the same flavor.
What if I don’t have olive oil?
You can use other oils like avocado, canola, or grapeseed oil. They have higher smoke points and neutral flavors, so the garlic will still roast well, though you’ll lose the fruity olive oil taste.