How to Make Roasted Garlic Olive Oil at Home
That jar of roasted garlic olive oil can turn a plain bowl of pasta, a leftover chicken breast, or a piece of warm sourdough into something people lean over the counter to taste. If you are searching for “how to roast garlic olive oil,” the delicious answer is to roast whole garlic slowly in good olive oil until the cloves are soft, sweet, and spreadable – then treat that fragrant oil like the weeknight flavor shortcut it is.
The big question: can you make it safely at home? Absolutely, as long as you refrigerate it promptly and do not leave garlic-infused oil sitting on the counter. This easy roasted garlic in olive oil recipe gives you golden, jammy cloves plus a savory oil for dipping, drizzling, and finishing.
Recipe description
Whole heads of garlic roast gently in extra-virgin olive oil until their sharp bite becomes mellow, buttery, and almost caramel-like. The cloves are delicious mashed into potatoes, folded into salad dressing, or spread onto crostini, while the infused olive oil adds deep roasted flavor to vegetables, pasta, soups, and grilled meats. It is a small-batch recipe that feels special enough for a dinner party but easy enough for a Sunday afternoon.
Photo direction
Image prompt: A small ceramic baking dish holding golden roasted garlic bulbs submerged in olive oil, scattered rosemary and flaky sea salt, torn sourdough on a rustic wood table, cinematic window lighting, RAW food photography, 35mm lens, f/1.8, landscape 3:2, high detail, sharp focus, authentic textures.
Alt text: Roasted garlic olive oil with soft golden garlic cloves, rosemary, and sourdough bread.
Image title: Homemade Roasted Garlic Olive Oil
Caption: Sweet roasted garlic and fragrant olive oil make an easy finishing touch for bread, pasta, and vegetables.
Image description: A close landscape food photograph of whole roasted garlic bulbs in olive oil, styled with herbs, sea salt, and rustic bread in warm cinematic light.
Why roasted garlic and olive oil taste so good together
Garlic roasted in oil is closely related to garlic confit, a French-style technique that gently cooks an ingredient in fat until tender. Home cooks have been roasting garlic for generations, though, often by wrapping a whole head in foil and letting the oven do the work. Adding olive oil gives you two useful results instead of one: creamy roasted cloves and a flavorful cooking oil.
Raw garlic tastes hot and punchy because of its sulfur compounds. Heat changes that personality completely. As the garlic cooks, its natural sugars become more noticeable, the texture turns silky, and the flavor shifts from sharp to mellow and nutty. Extra-virgin olive oil picks up that flavor, but it still keeps its own grassy, fruity character.
For the best roasted garlic olive oil, use an olive oil you would happily drizzle over food. This is not the moment for your most expensive finishing oil, but a bland oil will make a bland final dish. A medium-bodied extra-virgin olive oil is the sweet spot.
Ingredients for roasted garlic olive oil
You need just a few ingredients for this small batch:
- 2 whole garlic heads
- 3/4 cup extra-virgin olive oil
- 2 small rosemary sprigs, optional
- 1/2 teaspoon kosher salt
- Freshly ground black pepper, optional
Choose firm garlic heads with tight, papery skins and no green sprouts pushing through the cloves. Rosemary is optional, but it gives the oil a woodsy, cozy flavor that is especially good with roasted potatoes and steak. Thyme works well too, while chili flakes add gentle heat.
Tools you will need
Use a small oven-safe baking dish with high sides, such as a loaf pan, mini casserole dish, or small ceramic gratin dish. You will also need a sharp knife, a cutting board, aluminum foil or an oven-safe lid, and a clean airtight container for storage. A spoon is helpful for lifting the warm garlic cloves from their skins.
How to roast garlic olive oil in the oven
1. Prep the garlic
Heat your oven to 325°F. Slice about 1/4 inch from the pointed top of each garlic head so the tips of the cloves are exposed. Leave the roots and most of the papery skin intact. They hold the bulbs together while roasting and make the cloves easier to squeeze out later.
Set the garlic heads cut-side up in your baking dish. Tuck the rosemary around the sides if you are using it. Sprinkle the exposed cloves with kosher salt and a few grinds of black pepper.
2. Add the olive oil
Pour the olive oil around and over the garlic. You do not need to fully submerge the bulbs, but the oil should come about halfway up their sides. Spoon a little oil over the cut tops so the exposed cloves stay moist.
Cover the dish snugly with foil. This matters because it traps moisture and keeps the garlic from becoming dry or bitter before it has a chance to soften.
3. Roast slowly until soft and golden
Roast for 55 to 70 minutes. Start checking at 55 minutes by carefully pressing one exposed clove with the tip of a knife. It should feel very soft, and the top should be a light golden brown. If it is still firm, cover it again and roast in 10-minute increments.
Do not chase dark color here. Garlic can go from golden and sweet to bitter surprisingly fast. If your oven runs hot, the foil cover is your best friend. The oil may bubble gently around the bulbs, which is exactly what you want.
4. Cool, then separate the cloves and oil
Let the baking dish cool for 20 to 30 minutes. Once it is safe to handle, squeeze individual cloves from their skins into a clean jar or small container. Pour the roasted garlic olive oil over them, including any rosemary if you plan to use it quickly.
For a smoother garlic spread, mash a few cloves with a fork and stir in a spoonful of the warm oil. For a clear infused oil, keep the cloves separate and strain the cooled oil through a fine-mesh strainer before storing.
How to serve and finish it
A warm platter is the easiest way to make this recipe feel a little magical. Set out the roasted garlic cloves in a shallow bowl with a spoonful of their oil, then finish with flaky sea salt, cracked black pepper, and a few fresh rosemary leaves. Add grilled or toasted bread for spreading.
The cloves can also disappear into dinner without any fuss. Mash them into baked potatoes, whisk them into a vinaigrette, stir them into creamy soup, or blend them into softened butter. Drizzle the oil over pizza, pasta, roasted carrots, fried eggs, or a simple white bean salad. A little goes a long way, so start with a teaspoon and taste.
Extra tips, storage, and flavorful variations
Listen, I get it: you may want to keep this on the counter because it looks gorgeous and smells incredible. Do not do it. Garlic in oil can create conditions where harmful bacteria may grow at room temperature. Cool the garlic and oil, transfer it to a clean covered container, and refrigerate it within two hours.
Use refrigerated roasted garlic olive oil within 3 to 4 days. If you want a longer-lasting option, freeze the roasted cloves in small portions and freeze the oil in an ice cube tray. Pop out only what you need for sauces, soups, or sautéed vegetables.
Want a bolder flavor? Add a strip of lemon zest while roasting, then remove it before storing. For heat, use one small dried chile instead of fresh peppers. Fresh herbs are lovely, but they also add moisture, so use the oil promptly and keep it cold. If you only want roasted garlic cloves without infused oil, roast the heads with just a light drizzle of olive oil instead.
Roasted Garlic Olive Oil FAQ
Can I use peeled garlic cloves instead of whole heads?
Yes, but check them earlier. Peeled cloves roast faster and can brown unevenly. Bake them covered at 300°F for about 35 to 45 minutes, until soft and pale golden.
Is roasted garlic olive oil the same as garlic confit?
They are very similar. Garlic confit usually means garlic cloves are gently cooked while fully submerged in oil. This recipe roasts whole heads with enough oil to create tender garlic and a flavorful infused oil.
Why did my roasted garlic turn bitter?
The oven may have been too hot, or the garlic roasted too long uncovered. Keep the dish covered for most of the cooking time and remove it when the cloves are soft and lightly golden, not dark brown.
Can I roast garlic in olive oil without foil?
You can use an oven-safe lid instead. Roasting uncovered is possible, but the exposed cloves may dry out before the centers become creamy. Covered roasting gives more reliable results.
What can I do with leftover roasted garlic cloves?
Mash them into mayonnaise for an instant sandwich spread, add them to mashed potatoes, stir them into pasta sauce, or smear them over toast with a pinch of salt. They are also excellent blended into hummus or whipped ricotta.
Make a batch before your next pasta night, then let that little jar in the refrigerator rescue dinner when the usual olive oil and garlic routine feels tired.
