Preheat oven to 350°F.
Peel garlic cloves, leaving them whole.
Place garlic, bay leaf, and thyme in a small to medium oven-safe baking dish.
Pour olive oil over garlic and herbs until cloves are completely submerged, leaving about 3 inches of space above the oil to prevent overflow.
Bake in oven for 45–60 minutes until garlic cloves are soft, fragrant, and lightly browned.
Remove from oven and let cool to room temperature.
Transfer garlic and oil to an airtight container, ensuring cloves remain submerged in oil. Store in refrigerator for up to 2 months.