This oven-roasted garlic confit is soft, golden, and infused with mellow, savory flavor. Prep a batch to elevate your meals all week—just be sure to store it safely in the fridge or freezer.
Stir 1 cup avocado oil and 1/2 teaspoon salt together
Pour the oil on top of the garlic cloves, making sure they’re submerged
Bake for 1½-2 hours
Remove from the oven and let cool before storing in an airtight container in the refrigerator
Notes
According to the USDA and FDA, garlic in oil mixtures must be refrigerated and used within 7 days or frozen to prevent risk of botulism.Clostridium botulinum is a bacteria that can produce a deadly toxin in low-oxygen (anaerobic), low-acid, moist, room-temperature environments. Garlic confit checks all those boxes:
Low-acid: Garlic is naturally low in acid
Moist: Garlic confit remains moist even after cooking, which means its water activity level is still high enough to support microbial growth—especially when submerged in oil. That’s why cooling and refrigeration are critical.
Anaerobic: Oil creates a low-oxygen environment, which is perfect for botulism to thrive.
Room temperature: Leaving garlic confit at room temp (or storing it unrefrigerated) is the real danger zone.
Cooking garlic doesn’t kill the botulism spores. In fact, low, slow heat like what we use for garlic confit is precisely the condition where botulism can thrive if not stored properly.How to Prevent Botulism in Garlic Confit
Refrigerate immediately after cooling—no countertop lingering.
Use within 1 week or freeze in small portions (ice cube trays work great).