How to make garlic confit (and garlic oil) at home with just 5 minutes of prep. These slow-roasted garlic cloves are cooked and stored with oil and used in tons of ways as a caramelized, tender, smooth addition to any meal!
I’m no stranger to trying to make the most out of garlic. I’ve already posted recipes/DIYs for garlic powder and garlic flakes. Now, it’s time for garlic confit. For anyone who’s even slightly a fan of garlic, this slow-roasted garlic dish will be your new best friend.
I have also shared my process for a tomato confit (with some garlic thrown in), but garlic confit obviously deserves its own post too. If you want to learn a little more about what confit is, then head over to that post; otherwise, I’ll keep things nice and brief here.
What Is Garlic Confit?
Let me preface this by saying that confit garlic is one of the best things in my kitchen. If you’re already a garlic lover – then you’ll be spreading the roasted softened garlic, smooth like butter, over everything!
Like tomato confit, garlic confit consists of roasting garlic in generous amounts of fat (extra virgin olive oil) at low heats until it’s tender and lightly browned.
Once ready, the garlic is soft, sweet, rich, and flavorful without raw garlic bitterness. In fact, in many ways, confit garlic is very similar to roasted garlic cloves. However, traditional roasted garlic can lead to uneven cooking and can take longer to achieve similar results.
Best of all, you actually get TWO delicious products out of this method: the first is the tender, buttery garlic; the second is fragrant garlic oil (check the FAQs for suggested uses).
Is Garlic Confit Safe?
If you can’t begin to imagine why it wouldn’t be, you might be panicking right about now – but don’t. As long as you store your garlic confit correctly, just like any food product, you can avoid/reduce harmful bacteria growth and be fine.
The main concern with garlic confit (and the garlic oil) is botulism – a food-borne illness that you do NOT want. It grows in anaerobic (airless) conditions – such as garlic stored in oil… You see where I’m going.
While there have been debates about how big the actual risk is, it’s one not worth taking to find out, and I don’t want you to make any mistakes either. For that reason, make sure to follow my instructions for storage and shelf-life (in FAQs) and NEVER store your garlic confit/garlic oil at room temperature!
Top Tips/Notes for the best garlic confit
- ALWAYS store the garlic confit and oil in the refrigerator and pay close attention to the storage information (in FAQs) – to reduce the risk of botulism!
- For this particular recipe, I did a nice low, long roast of 2 hours. However, when preparing this recipe, feel free to remove a clove at 1 hour, then 1hr 30… to test the tenderness and flavor.
- The oil may solidify slightly in the fridge, but you can easily spoon out the garlic cloves/oil and it will quickly come to room temperature.
The Ingredients
- Garlic: you can use as much or as little as you want – pre-peeled garlic will also work.
- Extra virgin olive oil: traditionally, most methods call on extra virgin olive oil for its flavor and health benefits but the process will work with other cooking oils – vegetable oil, grape seed, canola, avocado oil, etc. Though, obviously, it will affect the flavor and health benefits.
- Herbs: I used rosmary. However, you can experiment with others, including oregano, chili flakes, thyme, peppercorns, fennel, bay leaves, etc.
The Step-By-Step Instructions
Step 1: Prepare the garlic by separating cloves from the heads and peeling the cloves.
TOP TIP: to peel the garlic in seconds, then simply break the garlic head/s up into cloves by bashing lightly with the palm of your hand and then add them to a Tupperware container or mason jar with a lid (or between two metal bowls) and shake VIGOROUSLY for 20-30 seconds. DONE! Even the ones that aren’t fully peeled will be loose enough to peel off super easily.
Step 2: Add the items to a deep baking tray or casserole dish. I placed the rosemary first, then added the garlic cloves and poured enough oil over to submerge the garlic entirely.
It’s best to use a smaller dish here with high sides, so you need less oil than for a large oven-tray.
Step 3: Slow roast the garlic in the oven for around 2 hours at 195ºF/90ºC (fan-assisted). When ready the roasted garlic cloves will be tender and lightly golden but not too browned.
I prefer a slower, low-temperature cook for better flavor – but feel free to check on the garlic after an hour as it may already be good enough for you.
Step 4: Allow the garlic confit to cool enough to remove any herbs (if you want to). To speed up the cooldown time, place your container of garlic confit within an ice bath. When cooled, transfer to a sterilized glass jar and move to the refrigerator immediately.
How To Use Garlic Confit
I wouldn’t really be exaggerating if I said that I use this garlic confit (roasted garlic cloves) on everything I can think of that makes sense. Here are a few top garlic confit uses:
- Mash with homemade butter – for a tasty garlic butter spread.
- Spread over toast or crackers (seeded, or general)- alone, or with homemade cream cheese and other spreads.
- As part of a cheese board – with veggies, antipasti, and lots of cheese – like this Goat Cheese or dairy-free options like this Simple Vegan Cashew Cheese or Smoky Vegan Cheddar Cheese.
- Add to sandwiches and wraps – like this falafel wrap or burrito.
- Add to roasted vegetables or mash into dishes like this Creamy Mashed Potatoes or Super Crispy Smashed Potatoes.
- Smash over this Burrata Caprese salad or other salad bowls – like this Vegan Kale, Butternut Squash + Quinoa Salad
- Withing Pasta dishes and bakes – like this Vegetarian One-Pot Pasta bake, Roasted Red Pepper Pasta or Homemade Potato Gnocchi.
- To top burgers – like this Sweet Potato Burger With Portobello Mushroom Bun
- Within or to top large dishes of dip like creamy hummus, Muhammara Dip (Roasted Red Pepper Dip), or baba ganoush.
You can also use the garlic confit or garlic oil within dips, sauces, spreads, vinaigrettes/dressings, etc. I love to use garlic oil as a dipping oil for bread too or when sauteeing, in place of vegetable oil.
FAQs
It’s important to note that garlic is an ingredient that can be at risk of botulism if not stored correctly. For this reason, it’s important to always refrigerate the garlic confit and use it within TWO WEEKS. Several sources suggest longer would be fine – but I err on the side of caution.
To reduce the risk further, you can move your newly-cooked garlic confit to a new, heat-proof bowl and allow it to sit in an ice-bath, stirring, to allow it to cool faster. Then store it in a covered container in the coldest part of your refrigerator.
DO NOT attempt canning or any other ‘anaerobic’ (airless) storage method.
Yes, you can. You can freeze the confit garlic with the oil or puree the garlic and freeze separately for up to 2 months. I like to freeze them into a covered ice-cube tray and remove however much I need. You can add the oil/garlic straight into a pan (or cooking dish) from frozen.
Just remember that oil doesn’t freeze solid, so keep it somewhere where it won’t get knocked over.
This largely depends on the pan that you’re using for the method. It’s best to use a pan with a smaller surface area and tall sides – that way you’ll need less oil. For 1 head I’d use around 1/2 cup of oil or more in a small-ish pan.
Related Recipes
If you try this garlic confit recipe (+ garlic oil), then let me know your thoughts and questions in the comments. I’d also really appreciate a recipe rating and would love to see your recreations – just tag @AlphaFoodie.
How To Make Garlic Confit and Garlic Oil
Ingredients
- 3 garlic heads you can use pre-peeled too
- few sprigs rosemary or any other herb of your choice
- 1.5 cups extra virgin olive oil or neutral vegetable oil (canola, avocado, etc.)
These ingredients yield about 3 cups of confit.
Instructions
- Prepare the garlic by separating it and peel the cloves.TOP TIP: to peel the garlic in seconds, then simply break the garlic head/s up into cloves by bashing lightly with the palm of your hand and then add them to a Tupperware container or mason jar with a lid (or between two metal bowls) and shake VIGOROUSLY for 20-30 seconds. DONE! Even the ones that aren't fully peeled will be loose enough to peel off super easily.
- Add the items to a deep baking tray or casserole dish. I placed the rosemary first, then added the garlic cloves and poured enough oil over to submerge the garlic entirely.It's best to use a smaller dish here with high sides, so you need less oil than a large oven-tray.
- Slow roast the garlic in the oven for around 2 hours at 195ºF/90ºC (fan-assisted). When ready the garlic will be tender and lightly golden but not too browned.I prefer a slower, low-temperature cook for better flavor but feel free to check on the garlic after an hour as it may already be good enough for you.
- Allow the garlic confit to cool enough to remove any herbs (if you want to). To speed up the cooldown time, place your container of garlic confit within an ice bath. When cooled, transfer to a sterilized glass jar and move to the refrigerator immediately.
Darleen
Hi, I made this today just like you instructed. I put it in a baking dish and put it in my air fry on 120 for 20 mins. Came out perfect.
Support @ Alphafoodie
Thank you for your comment, Darleen. So happy you enjoyed the confit!
Ian
Can I use dried herbs instead?
Support @ Alphafoodie
Hi Ian,
I recommend using fresh herbs – they will infuse the oil better and won’t burn while cooking. If you don’t want to use rosemary, you can use thyme, bay leaves, parsley, or your favorites.
sheri lagorio
So do I take the garlic out of the oil when I store it, or do I put all of it in the refrigerator to store and use within 2 weeks?
Support @ Alphafoodie
Hi Sheri,
You leave the garlic in the oil (the garlic is the main ingredient here). Yes, put everything in the fridge and use it within 2 weeks. Please refer to the FAQS section of this recipe for more details. I hope this helps. 🙂
VICKI
I tried your recipe yesterday. Very tasty.
I used a mini dutch oven, avocado oil, 2 sprigs of thyme, 1 stem of fresh basil, I added a tsp of black peppercorns and 1 tsp of kosher salt. I cooked it on 250degrees f for 2 hours. I had just bought a loaf of fresh sourdough bread. Toasted it and smeared this delicious garlic goodness on. Handed a piece to the son and hubby. Just love that reaction. OMG….mmmmmm! That makes me happy 🙂
My hubby is a huge fan of spaghetti I make using this confit. I just take a spoonful of this confit and add it to a pan making sure you grab some of the oil too. I add fresh lemon zest, fresh lemon juice, a pinch of pepper flakes and shrimp. Toss in your cooked spaghetti and garnish with fresh parsley and parmesan cheese. Easy but yummy. Thanks for sharing your recipe. And…yes, I do keep mine in the refrigerator.
Thank you for the recipe.
Support @ Alphafoodie
Thank you for the lovely feedback, Vicky! that sounds delicious! I’m glad you and your family like it. 🙂
Emma
What kind of container did you use to store it?? Thanks
Support @ Alphafoodie
Hi Emma,
I stored it in a sterilized glass jar. Keep it in the fridge.
Jaime
Incredibly well detailed including safety details.
Congratulations.
Support @ Alphafoodie
Thank you so much, Jaime! 🙂
K
Could I use a small oven safe soup bowl to roast?
Support @ Alphafoodie
Hi there,
Yes, that should work if there is enough space.
Joleen
I am wondering if there is a reason I couldn’t just put the garlic and olive oil in a mason jar and roast it IN the jar? The jars are heat safe and it would be one less dish to wash.
Support @ Alphafoodie
Hi Joleen,
Mason jars are not designed for oven use and there is a high probability that your jar will break during or after roasting. It’s also probably best to use a flat pan for the garlic to get roasted evenly. I hope this answers your question.
MaxS
This sounds yummy! Could I make this with minced garlic, instead of whole cloves?
Support @ Alphafoodie
Hi Max,
Yes, you can make garlic confit with minced garlic, but the resulting confit may not have the same texture and flavor as traditional garlic confit made with whole garlic cloves. I recommend sticking to cloves.
Mana
Hi!!! I made this 3-4 days ago and forgot to put it in fridge, it was in the closet. is it still safe to put in fridge or should I toss it?
Support @ Alphafoodie
Hi Mana,
It’s best that the garlic confit is refrigerated as soon as possible (as soon as it’s cooled to room temperature). When stored improperly and at room temperature, there is a risk of botulism.
Saul
Thank you for the recipie. I have two questions: first, if my oven does not have ventilated function what is needed to change? Second, if I separate oil from cloves will i need special care for the oil regarding botulism or can I treat the oil like new oil?
Thank you for your answers.
Support @ Alphafoodie
Hi Saul,
If your oven doesn’t have the fan/ventilator function, you can roast the garlic confit at 230ºF/110ºC. Slow-roast for about 2 hours. You can check earlier if the garlic is tender and lightly golden but not too browned.
The garlic confit and infused oil should be refrigerated and used within 2 weeks. I hope this helps.
Wendy
Hello. Once the peeled garlic and oil mixture is ready to roast, is it okay to leave it out for 12 to 15 hours before roasting? I guess I’m trying to ask is will the eventual roasting process prevent the risk of botulism that may have been created by leaving it out before roasting as long as it is refrigerated within an hour or so of roasting?
Support @ Alphafoodie
Hi Wendy,
12 to 15 hours should still be safe, it usually starts growing around 2 weeks.
Ann
Cannot wait to try this! I want garlic on everything. Do you roast it covered or uncovered in the oven? Thanks.
Support @ Alphafoodie
Hi Ann,
The garlic is roasted uncovered. I hope you give this recipe a try.
Jenice
Alpha Foodie always has the best recipes and this one does not disappoint!
Elisavet
Great recipe. I am from Greece and here we have a very similar mixture/sauce which we call ‘skordalia’ (garlic sauce) and it has pretty much the same ingredients with the addition of bread or potatoes and also I think that vinegar is used instead of lemon. Also I’ve eaten in a tavern and made it myself the above ‘skordalia’ with bread, vinegar and pistachios which is an amazing version. Love your blog and instagram account 🙂
Support @ Alphafoodie
Thank you for your comment, Elisavet. These recipes sound delicious. 🙂
Nilay
Do we do it with dry or fresh garlic?
Support @ Alphafoodie
Hi Nilay,
Fresh garlic 🙂
Sue R
I’d love to make it but it still worries me with the health risks. Any idea if the freezing method might make it even more safer?
Support @ Alphafoodie
Hi Sue,
As long as you store it in the refrigerator or freezer, that reduces the health risks.
Mayra
It looks like you used rosemary, not thyme. They look very different from each other.
Samira @ Alphafoodie
Hi Mayra,
thanks ever so much for pointing that out, you’re right of course, it was a typo. I fixed it now. thanks again 🙂