Homemade Happy Hour

  • Cocktails
  • Mocktails
  • Recipes
  • My Book
  • Etsy Store
menu icon
go to homepage
  • Cocktails
  • Mocktails
  • Recipes
  • My Book
  • Etsy Store
    • Facebook
    • Instagram
    • Pinterest
  • search icon
    Homepage link
    • Cocktails
    • Mocktails
    • Recipes
    • My Book
    • Etsy Store
    • Facebook
    • Instagram
    • Pinterest
  • ×
    Home » Recipes » Appetizers & Snacks

    How to Roast Garlic in Olive Oil (Garlic Confit Recipe)

    Modified: Apr 10, 2025 · Published: Apr 11, 2023 by Katy McAvoy

    I love when you share my recipes!

    1514 shares

    This post contains affiliate links (paid links). Advertisements displayed on this website do not reflect endorsements or recommendations made by Mitten Girl LLC.

    Skip to Recipe
    How to Make Roasted Garlic in Oil (Garlic Confit)

    As a garlic lover, I'm a huge fan of soft, sweet roasted garlic cloves. And oven baking or roasting garlic submerged in olive oil - known as garlic confit - is my favorite way of preparing it.

    The roasting process brings out the natural sweetness and natural sugars in the garlic while completely removing any bitterness or sharp flavors in it.

    A jar full of roast garlic cloves.
    Jump to:
    • What's in Roasted Garlic Confit 
    • Garlic Bulbs vs Garlic Cloves
    • How to Roast Garlic in Oil (Making Garlic Confit) - Step by Step
    • Recipe Tips for Making Oven Roasted Garlic
    • How to Use This Roasted Garlic Recipe
    • Pasta Recipes to Enjoy with Roasted Garlic Confit
    • FAQs and Substitutions
    • More Delicious Recipes You'll Love
    • Print the Recipe Card
    • How to Roast Garlic (Without Foil)

    There are a lot of different ways to make roasted garlic. One easy way is to cut off the top of the bulb, drizzle it with a bit of olive oil, and make an aluminum foil packet out of the bulb. You then roast it in a muffin tin or on a baking sheet until the garlic is soft and tender.

    And while I've made a LOT of roasted garlic this way, my favorite is this roasted garlic confit recipe. If for no other reason than it's easier and less messy than the foil method of cooking garlic.

    Confit means that something has been cooked while being submerged in oil. When you cook garlic this way, you end up with roast garlic cloves that are soft and creamy, but maintain their shape and size. (Unlike roasting garlic in foil which for me always turns out to be a delicious, smushed mess once it's out of the foil packs. Plus I'm much more likely to burn it!)

    Confit garlic spreads like butter and leaves behind a delicious dish of garlic-infused olive oil, which is perfect to use in homemade salad dressings, toss with pasta, or brushed on your favorite homemade pizza crust.

    What's in Roasted Garlic Confit 

    Ingredients for roast garlic confit.
    • Fresh Garlic - Look for firm garlic bulbs with no visible growth coming out of them.
    • Extra-Virgin Olive Oil - Choose a good quality olive oil.

    Garlic Bulbs vs Garlic Cloves

    A quick reminder of the different between garlic bulbs and garlic cloves and what garlic looks like as you break it down and peel it. For this recipe, you're using peeled garlic cloves (a lot of them).

    Pictures of garlic bulbs and cloves.

    How to Roast Garlic in Oil (Making Garlic Confit) - Step by Step

    Hands separating out cloves of garlic.

    Break open each bulb of garlic. Pull out the individual garlic cloves. Peel the cloves using a small paring knife. 

    Peeled garlic in a baking dish.

    Place peeled garlic cloves into a small, ovenproof baking dish.

    Peeled garlic and olive oil in a baking dish.

    Pour in enough olive oil to cover all of the garlic cloves. (Make sure no part of the cloves are sticking up above the oil line.) 

    Roast garlic confit fresh from the oven.

    Bake at 350 degrees F for 15 minutes. Remove from the oven and let cool for 30 minutes. 

    Using a slotted spoon or small mesh strainer, remove the cooked garlic cloves from the oil. 

    A hand using a slotted spoon to place roasted garlic in a jar.

    Use immediately or place garlic cloves in a glass airtight container in the refrigerator for up to 7 days. 

    Strain the remaining garlic-flavored oil through a fine mesh strainer to remove any lingering bits of garlic. (Be sure it has COMPLETELY cooled before doing this step.)

    The oil from garlic confit being poured through a strainer into a bottle.

    Store the garlic oil in a small glass bottle in the refrigerator. Use within 7 days. 

    A jar of roasted garlic cloves next to a slice of bread and a spreader.

    Recipe Tips for Making Oven Roasted Garlic

    • The oil in the garlic confit will be EXTREMELY hot when you remove it from the oven. Be very careful and let the roast garlic cool for at least 30 minutes (longer is fine!) before handling. Make sure the oil has cooled COMPLETELY before you store it.
    • Garlic burns quickly. You want the garlic cloves to be fork tender but not at all brown in order to have the best texture and flavor.
    • Don't smash the garlic cloves when peeling them! The more smashed the raw clove, the faster and less evenly they'll cook leading to the edges getting too dark and overcooked or burned. (See the photo below from one of my test batches.) Take the time to peel the cloves without smashing them into pieces.
    A spoon holding a too-brown piece of garlic confit.

    How to Use This Roasted Garlic Recipe

    There are so many delicious ways to use this homemade garlic confit recipe.

    • Spread the cloves directly onto a slice of crusty bread with a pinch of salt and/or some parmesan cheese. 
    • Stir several cloves of smashed, roasted garlic into mashed potatoes, guacamole, and/or your favorite pasta dish. 
    • Make my Roasted Garlic and White Bean Spread.
    • Add to the top of your homemade pizza. 
    • Mash roasted garlic cloves into butter (about 1 clove for every 1 tablespoon of butter) for a delicious spread. Use this compound butter on baked potatoes, to top a grilled steak, or to make amazing garlic bread. 
    A hand spreading a clove of garlic confit on a slice of bread.

    Pasta Recipes to Enjoy with Roasted Garlic Confit

    Add several cloves of smashed, roasted garlic into my Shrimp and Lemon Pasta or Bacon Avocado Pasta. Or make my Roasted Garlic and White Bean Spread.

    Creamy Lemon Shrimp Pasta
    Shrimp and Lemon Pasta
    Bacon Avocado Pasta
    Bacon Avocado Pasta

    FAQs and Substitutions

    What kind of oil can I use besides olive oil? 

    I often make this recipe using canola oil or vegetable oil in place of much-more expensive olive oil. Both work great and give you the same roasted garlic results as olive oil. These two oils also don't thicken in the refrigerator the way olive oil can.

    Can I buy peeled garlic cloves? 

    Yes! Many large grocery stores will have containers of raw, pre-peeled garlic available near the deli or prepared fresh food area. This is a great time saver if you can find them!

    Can I get sick from eating garlic stored in oil? 

    The risk of botulism is from raw garlic cloves that have been stored in oil - especially if the mixture is left out at room temperature or saved for a long time. However, we’re cooking this garlic well beyond both the temperature and time the World Health Organization says is needed to kill off the toxin caused by the botulism bacteria. AND you’re going to store it in the fridge and enjoy it within 7 days, further preventing any issues. 🙂

    When I opened my raw garlic bulb, the cloves inside look purple. Is this normal?

    Yes. Some garlic grows with a purple skin on it, making it look like the whole garlic cloves are wrapped in purple stripped skin. This is totally normal! Unwrap the individual cloves. As long as those are a solid, creamy, pale yellow color, you're good to go.

    More Delicious Recipes You'll Love

    • A plate full of pepperoni pizza pinwheels.
      Pepperoni Pizza Pinwheels Recipe (Super Easy!)
    • Black Bean Mango Salsa
      Quick and Easy Black Bean Mango Salsa
    • Apple Bacon Brussels Sprouts
      Sheet Pan Apple Bacon Brussels Sprouts
    • A bowl of fresh apple salsa surrounded by cinnamon tortilla chips.
      Fresh Apple Salsa with Strawberries

    Print the Recipe Card

    A jar of roast garlic cloves.

    How to Roast Garlic (Without Foil)

    Katy McAvoy
    Skip the foil packets and roast garlic in the oven by submerging it in oil (aka garlic confit). You not only get soft, tender garlic cloves but end up with a batch of garlic infused oil to use in your cooking. Store the roasted garlic in the fridge for spreading on bread, adding to pasta dishes and mashed potatoes, or making the best roasted garlic butter ever. 
    No ratings yet
    Print Recipe SaveSaved! Pin Recipe
    Prep Time 15 minutes mins
    Cook Time 15 minutes mins
    Total Time 30 minutes mins
    Servings 12 servings

    Equipment

    • Extra Virgin Olive Oil
    • Fine Mesh Strainer
    • Glass Bottles
    • Pint Mason Jar
    • Small Baking Dish

    Ingredients
      

    • 2 bulbs fresh garlic or 24 peeled cloves
    • 2 cups extra virgin olive oil

    Instructions
     

    • Break open each bulb of garlic and pull out the individual garlic cloves.
    • Peel the cloves using a small paring knife. 
    • Place peeled garlic cloves into a small, ovenproof baking dish.
    • Pour in enough olive oil to cover all of the garlic cloves. (Make sure no part of the cloves are sticking up above the oil line.) 
    • Bake at 350 degrees F for 15 minutes. 
    • Remove from the oven and let cool for 30 minutes. 
    • Using a slotted spoon or small mesh strainer, remove the cooked garlic cloves from the oil. 
    • Store garlic cloves in an airtight, small glass container in the refrigerator for up to 7 days. 
    • Once it has cooled COMPLETELY, strain the remaining garlic-flavored oil through a fine mesh strainer to remove any lingering bits of garlic. 
    • Store the garlic oil in a small jar in the refrigerator. Use within 7 days.

    Nutrition

    Serving: 2clovesCalories: 50kcalCarbohydrates: 0.1gProtein: 0.01gFat: 2gSodium: 0.03mgPotassium: 1mgFiber: 0.003gSugar: 0.002gVitamin A: 0.01IUVitamin C: 0.1mgCalcium: 0.3mgIron: 0.003mg
    Tried this recipe?Let me know how it was!

    I love when you share my recipes!

    1514 shares

    About Katy McAvoy

    Katy is the author, photographer, home cook, mixologist, and Michigander behind MittenGirl.com and Homemade Happy Hour. Since 2017, she's been crafting recipes for easy-to-make cocktails and delicious snacks while sharing her love of all things Michigan (a.k.a. The Mitten)!

    Comments

      Leave a Reply Cancel reply

      Your email address will not be published. Required fields are marked *

      Recipe Rating




    1. Randy says

      April 13, 2023 at 10:43 am

      Roasted Garlic like this is one of my favorites and this is a great description of how to do it!

      Reply
      • Katy McAvoy says

        April 13, 2023 at 10:52 am

        Thank you so much! Roasted garlic is one of my favorite things too. 🙂

        Reply
    2. Zinnia says

      August 27, 2024 at 4:42 pm

      Hi, just wondering if I could do a larger batch of garlic and afterwards freeze the cloves and oil separately?

      Reply
      • Katy McAvoy says

        August 28, 2024 at 11:09 am

        I haven't tried freezing the garlic cloves themselves, but I would think they would do fine. The type of oil you use will depend on how it freezes. Extra virgin olive oil will freeze well, but if you use a vegetable or canola oil, it may not solidify completely. If you decide to try it, I'd use an ice cube tray to freeze the cloves in a little bit of the olive oil the way people to do preserve fresh herbs. Hope that helps!

        Reply
    Katy McAvoy, mixologist and photographer

    Hi! I’m Katy (she/her). I’m an author, photographer, home cook, mixologist, Michigander, and lover of all things food and drink. I never turn down a good happy hour and believe that everyone deserves a delicious drink. Follow me on Instagram to check out what I’m working on next!

    More about me →

    Search

    Buy Homemade Happy Hour, a Cocktail Book

    Most Searched Recipes

    • Cranberry Mocktail
      6 Easy Mocktail Recipes with Club Soda (Non-Alcoholic)

    • A glass of pineapple old fashioned garnished with a pineapple wedge.
      Pineapple Old Fashioned Cocktail Recipe 

    • Glass filled with mocktail drink and garnished with a cherry and orange slice.
      Easy and Delicious Mocktail for Kids (Without Sugary Soda)

    • BBQ Meatballs in a bowl, garnished with parsley.
      Easy Stove Top Barbecue Meatballs (No Grape Jelly)

    • A coupe glass of strawberry lemon drop martini cocktail with a white sugar rim and strawberry slice garnish.
      Strawberry Lemon Drop Martini Cocktail

    • Glasses filled with red drinks and fruit, with a pitcher of red drinks in the background.
      Easy Pitcher Drinks - Large Batch Cocktails and Mocktails for a Party

    • Tomato Rice and Beans
      Easy Tomato Rice and Beans on the Stove Top

    • Non Alcoholic Piña Colada Mocktails
      Piña Colada Mocktail (Without a Blender)

    • Pineapple Vodka Martini
      Bright and Refreshing Pineapple Martini with Citrus

    • A glass of coconut margarita.
      Creamy Coconut Margarita Recipe (On the Rocks)

    Footer

    Website

    Privacy Policy

    Disclaimer

    Terms & Conditions

    Newsletter

    Sign up for weekly emails

    Contact

    Work with Me

    Contact Me

    As an Amazon Associate and Amazon Influencer, I earn from qualifying purchases.

    Copyright © 2025 Mitten Girl LLC. All rights reserved.

    Advertisements displayed on this website do not in any way reflect endorsements or recommendations made by Mitten Girl LLC.

    Mittengirl.com and Homemade Happy Hour are properties of Mitten Girl LLC.
    All photographs, text, and recipes on this site may not be copied to social media, or used for any commercial
    or AI purposes without the express written permission of the site owner.

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required