Understanding how to make garlic confit safely is key. Whilst you may have seen beautiful photos of these soft, golden cloves cooking in oil they’re actually very easy to cook. However, if you leave your homemade garlic in oil on the counter or in the fridge, there is a risk of botulism. This guide will help!
Relax! You can enjoy this delicious garlic spread without risking your health. In this guide you’ll learn why you need to be careful with garlic in oil, what ingredients to choose and how to cook it in the oven, slow cooker or on the hob. You’ll also find out how to store it properly and how to freeze it. Plus some ideas to ensure you use up all of your garlic cloves!
Why Garlic Confit Safety Matters

Garlic can grow in soil, but soil can also have spores of Clostridium botulinum. Spores on their own aren’t really an issue but when garlic is left in oil it becomes an anaerobic environment and isn’t very acidic. This allows the bacteria to grow and produce toxins which cause botulism. The issue with this is you won’t be able to see, smell or taste it so it cannot be guessed.
The good news is botulism caused by garlic confit can be prevented. The main ways to do this is to use clean and dry garlic, keep the jar cool once made and consume within the safe time frame. If any of these aren’t followed then your safety margin decreases. Each step will be explained below.
What You Need to Make Garlic Confit Safely

There are a few ingredients needed to create garlic confit safely. To keep things simple there aren’t too many. The ingredients needed are garlic, a mild oil, and a pinch of salt (if you want). You will also need a thermometer, clean glass jar and a spoon that hasn’t had any contact with any wet items. When preparing your ingredients you can avoid rushing and making mistakes by getting them all ready.
Garlic and Oil Choices
Choose tight, firm looking heads of garlic. Avoid any that are squishy, have started to sprout or are mouldy. A mild olive oil works well but avocado or other neutral oils also work well. The cloves should be fully covered in oil. Any parts that aren’t will cook unevenly and become dry. Ensure the oil is fresh as old oil can become bitter when cooked.
Pre-Peeled vs. Freshly Peeled Garlic
Pre-peeled garlic will save you time, although the cloves can often be dryer and slightly bland. Fresh garlic takes just a few seconds to peel once you have cut off the root end and gently crushed. They are also sweeter and creamier. Ensure that whatever kind of garlic you use they are totally dry before adding to the oil.
How to Make Garlic Confit Safely: Three Methods
All of these methods work by using a low heat and ensuring that the garlic is completely submerged in oil. You are poaching the garlic, so you want to see small bubbles forming. Don’t let it get too noisy. The garlic should be pale gold and soft. Choose whichever method you prefer and ensure the jar is cooled quickly. Cooking will not mean that it can be stored at room temperature.
Oven Method

The easiest way is to roast them. Peel 2-3 heads of garlic and dry them well. Place them in a small oven safe dish and pour over some oil so they are covered. Pop into an oven at 250 degrees and cook for around 45-60 mins. They will be ready when fork can easily insert into the garlic. Take out of the oven and leave to cool slightly. Spoon into a clean jar.
Slow Cooker Method
This is ideal for doing in a slow cooker instead of having to monitor the oven. Pop the peeled garlic cloves into the slow cooker, cover with oil and cook on a low heat. Cook for around two hours (depending on how strong your cooker is). Once the garlic is soft and pale golden, they are cooked. This will take around 2-3 hours. Don’t cook on a high heat as it can cause the oil to get too hot. When cool place into jars.
Stovetop Method

If you are short on time, place the peeled cloves into a small saucepan together with enough oil to cover and cook on your lowest hob. You want to see very small gentle bubbles so reduce the heat if the oil is starting to spit. Cook for around 30-40 minutes until they are soft and pale golden. Give them an occasional gentle stir and if you have a thermometer attach it to the pan as stoves can vary.
Temperature and Time Rules for Safe Garlic Confit

When frying your garlic in oil you are heating the oil up to 250 degrees F which will make the garlic soft but won’t kill the botulism spores inside, which are very resilient. You cannot kill these with regular cooking at home. The cooling and storing part of the process is what will help keep your food safe.
Timing is also very important. Once your jar has cooled off (on the counter) for up to about 2 hours you should put it in the fridge. You can keep it at 40 degrees F or lower. Use your jar within 4 days. If you cannot use all of your batch within this time then a portion of it should be frozen immediately. Don’t forget to mark the date on your jar.
Common Garlic Confit Mistakes to Avoid
The most common issue when making garlic confit is wet garlic. This is because residual water will give bacteria a head start, make sure to dry each clove off. Adding fresh herbs causes the same issue so try to avoid adding these to the jar. Garlic can also be overheated, dark and crisp garlic can be bitter and does not make it any safer. Try to keep it soft and pale golden.
Common mistakes when storing include leaving the jar on the counter overnight. Another issue is using a used spoon to scoop some out of the jar as this will bring extra moisture and bacteria. It is also risky to leave the garlic in the jar for weeks just in case. Using a clean spoon, keeping it cold and within 4 days will avoid all of these issues.
How to Store Garlic Confit Safely
This is where you will determine how safe your garlic confit is. After cooking, you’ll have soft cloves but they are safe in the cold. Once your jar has cooled, then you need to make sure that you’ve got the container spot on, the temperature spot on and an exact date. Below are tips for storage in the fridge, freezer and signs to look out for. Following these will mean you can enjoy every spoonful without any doubt.
Refrigerator Rules
Put the oil and cooled garlic into a clean, dry glass jar with tight-fitting lid. Cover the cloves completely with oil and put into the fridge (40 degrees F or colder). Use within 4 days and note the date you made it on the lid. The consistency may change and become cloudy and thick in the fridge. This is perfectly normal. After a few minutes on the counter it should thin out again.
Can You Freeze Garlic Confit?
Freeze. As soon as it has cooled down, divide your cloves and oil into an ice cube tray. Pop into the freezer until they have formed firm cubes. Transfer to a freezer bag, and pop a note on the bag with the date. When you want some, only take what you need and defrost in the fridge. Confit should be eaten within 4 days of defrosting. Don’t re-freeze any leftovers.
Signs Your Confit Has Gone Bad
Botulism can’t be seen, smelt or tasted so just because your jar looks fine does not mean it is safe. However, there are certain signs that will mean you simply throw it away. These include a swollen lid, bubbles/fizzing, mould or a sour smell. Anything older than four days should also be thrown away. When in doubt always throw it away and never taste test.
Can You Can Garlic Confit?
Short answer: No. Although canning sounds like an ideal option for extending your garlic’s shelf life, it is not ideal for oil-cured garlic. There are no proven methods for making oil cured garlic at home. Therefore, you’re taking a risk by putting the garlic in jars and sealing them. Sealing the lid creates an anaerobic environment that the botulism bacteria love. It is best to stick to the fridge/freezer advice.
If you want to keep your garlic for longer, try another preserving method. Pickled garlic has enough acidic properties to alter the rules and there are proven recipes for pickling garlic. Garlic bought in jars from supermarkets will have been made differently with acid added and careful processing. To store your garlic in your pantry, make garlic powder. Or cook small amounts of confit more frequently.
How to Use Garlic Confit

Once they are soft it can be hard to stop eating them! A few smashed, mixed with a little salt and warm toast makes an easy snack. They can be added to mashed potatoes, pasta or scrambled eggs to give a mild garlic flavour. You can also add them to soups or sauces. They will melt so you won’t need to chop or sauté any raw garlic. Just use a small amount as they are quite strong tasting.
Don’t throw away that oil. It is lovely and sweet tasting and great for roasting vegetables, drizzling over your grilled bread or mixing into a dressing for your salads. Just make sure to store it in the fridge and use it within 4 days. If you have frozen any then just defrost what you need.
Garlic Confit Safety FAQs
How to Make Garlic Confit Safely at Home?
Use dried peeled garlic and ensure it is fully covered in oil. Cook slowly over a low heat until the cloves are tender and lightly golden. Place the jar in the fridge (40F or cooler) for a maximum of 2 hours. Store in the fridge at 40F or cooler for up to 4 days or freeze.
Is Garlic Confit Safe to Eat?
As long as you follow the guidelines it is safe! Garlic in oil can pose a risk of botulism if left warm or too long. So store your garlic in the fridge at 40F or cooler. Any extra should be frozen. You must not leave it out for longer than 4 days.
How Long Can I Keep Garlic Confit In The Fridge?
You can keep it in the fridge for up to 4 days. To make sure you know how long to keep it for, write the date on the lid. Even if it looks and smells okay it could still be unsafe. If you cannot keep it all, freeze some immediately after cooling.
Can I Leave Garlic Confit At Room Temperature?
No. Garlic in oil has a low acidity and low oxygen level which creates the perfect conditions for the botulism bacteria to grow. Only leave it to cool for up to 2 hours. After this, place in the fridge. When serving only take out as much as you need to eat.
Can You Freeze Garlic Confit?
Yes. The best way to safely store large amounts of garlic confit is to freeze it. Once cooled place into an ice cube tray. Once frozen, transfer the cubes into a labelled freezer bag. Only defrost as much as you need in the fridge and use within 4 days. Do not refreeze leftovers.
Will Cooking Garlic In Oil Kill Botulism Spores?
Not always. Whilst cooking will make the garlic tender the temperatures used in the oven or on the stove top will not always kill the hardy botulism spores. Therefore it is important to store your garlic safely. Cool the jar down quickly and place in the fridge. Keep for up to 4 days.
Final Thoughts on Making Garlic Confit Safely
Garlic confit is a great treat. Just dry out the cloves, gently cook them then rapidly cool and store. If you’re in the habit of doing this, you can easily turn your jar of garlic into a great way to elevate your meal on a busy day.
Choose your cooking method, and cook a small batch tonight. Label your jar with today’s date. Once you’ve made one batch you’ll soon get into the habit of making garlic confit safely. Let us know how you used your garlic confit in the comments below. Share this guide with a garlic lover!