Oven roasting or baking garlic is a simple way to caramelize your garlic and make it easily spreadable for any recipes you may need garlic for. If you plan to bake your garlic whole instead of just the separate cloves, set your oven to 400 degrees Fahrenheit and loosely wrap the garlic in aluminum foil. Expect the time to bake garlic in the oven as about 30 to 40 minutes; if your oven is on the cooler side, you may need to cook it a bit longer. You could unwrap your garlic from the foil for the last five minutes in the oven to further allow it to brown and caramelize. You’ll know your garlic is finished when it is a golden color and soft to the touch.