Skip to Content

How to Make Garlic Oil

We make garlic oil 2 ways and both are delicious. A wonderful way to infuse olive oil for cooking in recipes throughout the week. From roasting Cloves to Minced Garlic or leaving them raw and making this, we will explore both and why we make each one.

How to Make Garlic Oil

How to make garlic oil is quite easy but needs to be done safely. This typically refers to whole or sliced cloves that have been submerged and preserved in oil. This process infuses it with the flavor you love, creating a versatile ingredient that can be used in various recipes. (affiliate links present)

How to Make Garlic in Olive Oil

There are 2 ways to do this. You can start with whole cloves of garlic or slice them. If you just want the oil to be flavored then there is not really a need to roast them. However, if you want to dice tender contents and use in your recipes AND use the infused oil then you would want to bake on a sheet pan or make Roasted Air Fryer Garlic first. We will share both.

  1. Peel the cloves and slice them thinly or leave them whole, depending on your preference.
  2. Place in a clean, sterilized dry mason jar or container with an airtight lid.
  3. Pour enough olive oil or neutral oil over it to completely submerge.
  4. Seal the jar tightly with the lid and shake it gently to ensure that they are evenly coated.
  5. Store the jar in the refrigerator for at least 24 hours to allow the flavors to meld together.
  6. This can be kept in the refrigerator for up to several weeks if tightly sealed every time it’s opened.

When using, be cautious about food safety. Homemade garlic oil should always be stored in the refrigerator and used within a few weeks to prevent the risk of bacterial growth.

Garlic in Olive Oil

How to Make Homemade Garlic Oil

We show you How to Make Garlic Confit here a number of different ways. When done it’s essential to ensure that the garlic cloves are completely submerged to prevent the growth of harmful bacteria. Any that show any signs of spoilage, such as a cloudy appearance or off odor should be discarded immediately and not used.

If you do choose to roast it first you need to store in oil in an airtight container in the refrigerator at or below 40°F to prevent/slow down bacterial growth to extend it’s shelf life. Even when refrigerated, if it had been cooked, it should be used within a week or two. Discard any leftovers after this time.

Always check for signs of spoilage before using such an off smell, strange texture, or mold, discard it immediately. Do not taste it if you see or smell any of these may pose a risk of botulism which is in fact tasteless and odorless but can be deadly.

Roasted Garlic in Olive Oil

Roasted Garlic in Olive Oil

I like to make this if I am making a batch of Garlic Cowboy Butter to use and know I will be dicing it for dinner dishes that week as well. I will plan my meals accordingly if I know I have them already tender and ready to be used in the fridge. I can pull a few out, mince and throw right into the pan with a bit of the liquid in that jar to add a TON of flavor.

How to make garlic oil safely

If you want to cook in the extra virgin olive oil itself that is referred to as Garlic confit and garlic oil. This is a cooking technique where raw garlic cloves are slowly cooked in oil until they become soft, sweet, and flavorful. It’s a simple yet versatile way to prepare that can be used in various dishes to add depth and richness.

  1. Peel or use pre peeled garlic cloves from the store, sold in bags, and trim off any tough ends.
  2. Place in a small saucepan or ovenproof dish in a single layer.
  3. Pour enough olive oil or neutral variety to completely cover them.
  4. Sprinkle in chili flakes for heat or fresh herbs of your choice for added flavor.
  5. You can bake in the oven or on the stovetop at barely a simmer, not boiling, until they are very soft and tender.
    • Roast in oven at 375 for 20 minutes or until soft. If it is not soft enough, roast for another 5-10 minutes.
  6. They should be lightly golden but not browned.
  7. Remove them from the oil using a slotted spoon and transfer them to a clean, airtight container.

Pour oil to fill rest of jar. Set on counter to cool completely to room temperature before sealing and transferring to fridge.

Homemade Garlic Oil

Garlic Infused Olive Oil

When you take this out after it has been tenderized you can spread it on bread, mash it into mashed potatoes or pasta sauces, blend it into salad dressings or dips, or use it to flavor roasted vegetables or meats. I mean cooked garlic is amazingly different than minced fresh garlic in it’s flavor I will say.

How do you store garlic cloves in olive oil?

For very short term you can make garlic infused oil and keep on the countertop in a sealed jar to use for a day or two. Kept in the fridge, submerged in olive oil they will stay well for 1-2 weeks. However for long term storage of garlic in oil you should pour into ice cube trays, freeze, and transfer to freezer bags. We explain all the methods here.

How do you Store Garlic in Oil?

I have explained how to do this in jars to keep fresh in the refrigerator below but there is an option to keep this safe for much longer. If you put 1-2 cloves in an ice cube tray per hole and pour oil to fill almost all the way to the top you can sit flat and freeze for longer!! I mean this will save for months this way.

To prolong that timing you can wait until they are hard, pop them out and put into a freezer bag. Suck the air out and keep in the freezer that way. Take one out at a time and set in a pan over low heat to defrost and use. Or transfer to a sealed jar and put into the fridge overnight to thaw and use the next day! Jump to recipe below and get started.

Before you go I want you to sign up for my free newsletter!! You will get all my new recipes emailed to you a few times a week that will help with meal planning for the week.

Want to see a few of my favorite things that I am totally obsessed with?? Take a peek and see how many you might already have…twinsies!

Looking for more easy family recipes and tips? LIKE The Typical Mom Facebook page because we share all our new creations there every single day. And follow me on Pinterest for more inspirations! 😉

***** If you LOVED this recipe give it 5 Stars below and let everyone know what you thought about it. 😉

the typical mom
garlic in oil
Print Pin
5 from 1 vote

Garlic Oil

This is how to make garlic oil. Garlic in olive oil is infused with great flavors to use in recipes. A cheap way to make it homemade.
Course Side Dish
Cuisine American
Keyword garlic, olive oil
Prep Time 15 minutes
Cook Time 0 minutes
Servings 12
Calories 166kcal
Author The Typical Mom



  • 2-3 heads garlic cloves removed from head
  • 1-2 c olive oil or enough to fill rest of jar and submerge cloves


  • Remove whole garlic cloves from the whole head and put into a clean and sterilized mason jar. Fill the rest of the jar so cloves are submerged and there is not much air left inside the jar. (choose a jar fit to size how much you want to make, there are small, medium and large out there)
  • * You can add herbs of your choice and/or red pepper flakes into the jar for heat if you would like now.
  • Seal the lid and place inside your refrigerator for at least 24 hours. When using, remove lid, stir once, use the amount of oil you'd like and ensure lid is tightly closed again. Store again in the fridge. It will stay fresh this way for 1-2 weeks.
  • * Always smell every time you open the lid to ensure there is not a rancid odor, if so discard. If you see any mold inside, discard.
  • If you want to roast cloves first, remove and set inside a baking dish. Cover with olive oil so they are submerged. Bake in a preheated oven at 375 for 20 minutes or until soft to your preference. ALWAYS make sure contents in jars are completely cooled to room temperature before sealing or bacteria will grow.
Nutrition Facts
Garlic Oil
Amount Per Serving (1 oz)
Calories 166 Calories from Fat 162
% Daily Value*
Fat 18g28%
Saturated Fat 2g13%
Polyunsaturated Fat 2g
Monounsaturated Fat 13g
Sodium 1mg0%
Potassium 19mg1%
Carbohydrates 2g1%
Fiber 0.1g0%
Sugar 0.05g0%
Protein 0.3g1%
Vitamin A 0.4IU0%
Vitamin C 1mg1%
Calcium 9mg1%
Iron 0.2mg1%
* Percent Daily Values are based on a 2000 calorie diet.
garlic in oil
Recipe Rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This site uses Akismet to reduce spam. Learn how your comment data is processed.