This garlic confit recipe is about to become your new favorite way to enjoy garlic! Whole garlic cloves are gently cooked in olive oil on the stovetop until they’re sweet, mellow, and perfectly buttery. The best part? You get soft, spreadable garlic AND delicious garlic-infused olive oil to use in your favorite dishes. Spread it on toast, mash it into potatoes, or toss it into pasta. Seriously, the possibilities are endless!

Why You’ll Love Garlic Confit
- Versatile: Garlic confit is a staple in my household! Spread it on toast, mash it into potatoes, swirl it into pasta, or add it to sauces, soups, and veggies. You can use it in SO many ways.
- Incredible Flavor: Slow-cooking garlic in olive oil transforms those sharp, punchy cloves into something sweet, mellow, and buttery. It’s all that delicious garlic flavor without the harsh bite.
- Two Delicious Ingredients in One: Not only do you get soft, spreadable garlic cloves, but you also get flavorful garlic-infused olive oil. Drizzle it over your favorite dishes or use it to add extra garlic goodness to your cooking.
Ingredients
You don’t need a ton of ingredients to make this delicious garlic confit recipe. Just garlic, olive oil, and a few simple herbs and spices!
- Garlic: The star of the show! You’ll need 10 heads of garlic, peeled. I highly recommend buying pre-peeled garlic to save yourself some time. Whole cloves become beautifully soft and buttery as they cook.
- Olive Oil: This recipe uses pure olive oil to gently cook the garlic. Don’t throw that oil away! It becomes infused with all that delicious garlic flavor.
- Fresh Thyme: Adds a lovely herby flavor. Thyme is what I use in the recipe, but rosemary is another option if you want to switch things up.
- Bay Leaves & Black Peppercorns: These add extra depth and a subtle aromatic flavor to the oil.
- Red Chili Flakes: Optional, but perfect if you like a little heat!

How to Make Garlic Confit
Making garlic confit is SO easy, and the result is seriously delicious. God, I love garlic!
The secret is low-and-slow cooking. Add your peeled garlic cloves, olive oil, herbs, and spices to a saucepan and cook over low heat for approximately 30 minutes. You want the garlic to cook gently in the oil, not boil or fry. Keep the cloves covered in oil as they cook.
You’ll know the garlic is ready when the cloves are soft, buttery, and creamy.
Use a slotted spoon to transfer the garlic cloves into a jar first, then add the garlic-infused oil. You may have some extra oil, and that’s okay!
Tips and Tricks
- Keep the Heat Low: The secret to buttery garlic confit is cooking it gently. Keep your stovetop on low and don’t let the oil boil. You want soft, creamy garlic, not fried garlic.
- Cover the Cloves in Oil: Make sure the garlic stays submerged in olive oil while cooking so the cloves cook gently and evenly.
- Use Whole Garlic Cloves: Whole cloves are perfect for this recipe. Save yourself some prep time by buying pre-peeled garlic!
- Get Creative With Herbs: I love using fresh thyme, bay leaves, and peppercorns, but rosemary is another delicious option.
- Save That Garlic-Infused Oil: The oil is just as useful as the garlic itself! Use it in dressings, sauces, or drizzled over your favorite dishes.
Variations
Garlic confit is basically a flavor playground. Once you’ve nailed the base, you can make so many variations. Here are some fun, delicious variations to try:
Herb Garlic Confit
Add fresh thyme, rosemary, sage, or bay leaves for a classic, aromatic vibe. Perfect for spreading on bread or tossing into roasted veggies.
Chilli Garlic Confit
Throw in dried chili flakes, Calabrian chilis, or a whole dried chili for gentle heat. Great for pasta, pizza, eggs, or anything that needs a little kick.
Lemon Garlic Confit
Add strips of lemon peel (no white pith!) for a bright, fresh twist. This one’s amazing with fish, chicken, and springy dishes.
Shallot or Onion Confit Blend
Mix in peeled shallots or pearl onions with the garlic for extra sweetness and depth.
Smoky Garlic Confit
Add smoked paprika or a lightly crushed smoked chili to give it that cozy, smoky undertone — unreal in mashed potatoes or stirred into beans.
Spiced Garlic Confit
Think coriander seeds, peppercorns, fennel seeds, or even a touch of star anise. Subtle spice, big payoff.
How to Use Garlic Confit
The best part about this garlic confit recipe? You can use it in SO many different ways. Both the buttery garlic cloves and the infused olive oil are packed with flavor, so don’t let either go to waste!
Ways to Use the Garlic Cloves
- Spread on Toast: Mash the soft cloves onto toasted bread for the easiest, most delicious garlic toast.
- Mix Into Potatoes: Add a few cloves to mashed potatoes for a rich, garlicky flavor.
- Toss Into Pasta: Mash the cloves into your favorite pasta dishes, like my White Wine Spaghetti Sauce.
- Add to Dips: Blend the cloves into your favorite dips, like my Feta Dip, for an extra burst of flavor.
- Make Garlic Butter: Mash some of the soft garlic into butter and spread it on warm bread.
Ways to Use the Garlic-Infused Olive Oil
- Drizzle Over Bread: Serve with crusty bread for dipping.
- Add to Pasta: Use a little of the infused oil to bring extra garlic flavor to your favorite pasta dishes.
- Finish Roasted Vegetables: Drizzle over your favorite roasted veggies.
- Serve With Burrata: Try it with my Burrata Cheese with Hot Lemon + Garlic Oil.
Just remember to refrigerate both the garlic and infused oil at 40°F (4°C) or below and use within four days, or freeze for longer storage.
How to Store Leftovers
Garlic confit is one of those ingredients you’ll want to have on hand for everything! However, because garlic is stored in oil, proper storage is SO important.
In the Fridge: Refrigerate homemade garlic confit promptly in a covered container at 40°F (4°C) or below. Use within a couple of weeks and discard any refrigerated leftovers after that.
In the Freezer: Want to save your garlic confit for longer? Freeze it! Transfer it into freezer-safe containers, leaving ½ inch of headspace. Label and date your containers before freezing. Garlic-in-oil can be frozen for up to several months.
Important Food Safety Tip: Never store homemade garlic confit or garlic-infused oil at room temperature. Garlic stored in oil can create conditions that allow the bacteria responsible for botulism to produce toxin. You cannot see, smell, or taste this toxin, so don’t rely on appearance or smell to decide whether your confit is safe to eat.
Common Questions
Homemade garlic confit should be refrigerated promptly at 40°F (4°C) or below and used within 2-3 weeks. If you won’t use it within that time, freeze it for longer storage. Discard refrigerated leftovers after four days.
No. Homemade garlic confit and garlic-infused olive oil should never be stored at room temperature because of the risk of botulism. Always refrigerate promptly or freeze for longer storage.
The most important precautions are proper storage and following the recommended four-day refrigeration limit. Keep homemade garlic confit at 40°F (4°C) or below, or freeze it for longer storage. Never store it at room temperature. Botulinum toxin cannot be seen, smelled, or tasted, so don’t rely on sensory checks to determine whether it’s safe.
Yes! You can freeze garlic confit and its infused oil for longer storage. Package them in freezer-safe containers with ½ inch of headspace, label and date them, and freeze for up to several months.
Save this recipe for later

Watch the Video
Ingredients
- 10 heads of garlic, cloves peeled, around 2 3/4 cups (I highly suggest buying pre-peeled garlic)
- 8-10 sprigs of fresh thyme
- 1 tbsp. black peppercorns
- 1 tsp red chili flakes – optional
- 2 small bay leaves
- 2 ½ cups pure olive oil
Instructions
Start Cooking- To a medium-large saucepan or pot, add all the ingredients and cook over low heat (do not boil) for around 30 minutes, or until the garlic is perfectly buttery and creamy. Keep the garlic cloves covered in oil as they cook.
- Use a slotted spoon to transfer the garlic cloves to a large jar first, then add the garlic-infused olive oil. There may be some excess oil. Refrigerate promptly at 40°F (4°C) or below and use within 3 weeks, or freeze for longer storage.


253 people are discussing this recipe. Join in
Thank you for the recipe. If my oven does not have ventilated function what is needed to change?
I am not sure, Ericka! I would just turn on a fan but you should be ok!
Yum, always reading my mind. This is exactly what is missing in my kitchen!
it will honestly change the game in all of your recipes
Looks super easy and very useful. Can’t wait to put this on barbequed bread!
yesss you’re going to love this
After cooking do I need to let it cool down before putting it in the fridge? Also, can I make it in larger batches as well as add other herbs to the cooking process? Looks amazing BTW
yes!! always let it cool down! yes of course! add whatever your heart desires! You really can’t go wrong here! I also have a recipe for confit tomatoes too!
I’m not sure the purpose of this exactly, like could I be using this garlic after to cook with other roasts? or is this essentially just to be putting on top of already cooked meals?
on toasts, in salad dressings, in sandwiches! You name it! This is your new best friend!
If salted, would it keep longer? Would I be able to make a batch of this recipe, I use a lot of garlic!!!
I wouldn’t recommend salting it too much! It won’t make a difference from what I know!
I see this a lot at restaurants, I really like it when they offer infused oil with garlic! Super coo!
its sooo good!
The picture doesn’t match the recipe. It’s pictured with Rosemary and not Thyme.
And that’s ok! You can have fun with the recipes as stated in the notes!
I’m a bit confused. When you put the garlic in a jar after simmering it, do I put it in a jar with the oil I cooked it in or do I put new oil in?
We absolutely loved this one. We store in the fridge and it solidifies but it is amazing for making garlic bread or adding to hummus.
YUMMMY!!! Isn’t it the best!