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
The picture accompanying the recipe shows sprigs of fresh rosemary in the cooking pan. But rosemary is not included in the recipe ingredient list. Which is correct, with rosemary or without?
What your heart desires my dear! You simply cannot go wrong.
Love it
Thank you so much, Lisa!
Does the recipe mean to say cover not over?
Amazing!
Thank you so much, Joanna!
Can you freeze the garlic confit in small quantities?
I haven’t but I believe you can! You have to make sure to remove all air to prevent from oxidization!
Can you freeze the garlic confit, I freeze my roasted garlic I can’t see why not
Did you save the olive oil??
always!
Hey! I never have so I am not sure but I agree with you, I don’t see why not! Just make sure you do your due diligence before.
Recipe sounds good. But I wanted to know why you use a slotted spoon? Don’t you want the oil?
to remove the garlic and place it into the jar first.. you want the oil but there will be excess as mentioned.
I see rosemary in the picture, but not in the ingredients. Can you clarify please?
you can do with or without! it’ll be perfect with the herbs of your choice!
i am loving on this recipe. what more can I confit???
so luscious and it adds a great depth of flavour to any dish!
im excited to see how many different ways I can use this in my cooking