Preheat the oven to 350°F.: When the oven warms, you will notice a faint metallic hum from the heating elements and a steady rise in temperature on your oven gauge. Preheating ensures the garlic roasts evenly, encouraging those slow caramelization reactions that create a sweet, nutty flavor. A common mistake is skipping this step, which can lead to uneven roasting where some cloves are tender while others remain firm. Give the oven time to reach 350°F so heat flows consistently around the package.
Use a sharp knife to cut the tops off the garlic heads to expose all the cloves.: As you slice the top off each garlic head, you will see the individual cloves packed in their papery skins. The exposed tips will brown and soften more readily than intact heads because the heat hits the cut surfaces directly, allowing flavor to concentrate. Be careful with your knife, and slice straight across so the cloves remain mostly intact. A frequent misstep is cutting too deeply, which can break the bulb apart and let cloves scatter inside the foil package.
Place the garlic heads on a piece of tinfoil and brush olive oil onto the garlic cloves until they are completely coated.: As you brush the olive oil , the cloves take on a glossy sheen that hints at the richness to come. The oil promotes even browning and protects the exposed surfaces from drying out, creating the soft, buttery texture you want. Smell the olive oil meet the raw garlic ; the aroma will be grassy and sharp at first, but that sharpness will mellow dramatically during roasting. A slip here is undercoating, which can result in tough edges rather than silkiness.
Wrap the tinfoil tightly around the garlic heads to make a little package, and then place the garlic in the middle of the oven. Roast for 30 to 40 minutes, or until you can feel the garlic is completely soft.: Wrapping seals in steam and concentrates the heat, so the cloves bake gently rather than scorching. You should feel a slight warmth through the foil after a few minutes in the oven, and when you eventually open the packet, a cloud of sweet, roasted perfume will billow out. The package should be snug but not crushed, giving the cloves room to swell as they soften. Avoid leaving gaps in the foil or wrapping too loosely, which wastes steam and can yield uneven results.
Place the garlic in the middle of the oven: Positioning the packet centrally ensures balanced heat exposure, so the top and bottom roast at the same pace. In the course of cooking, listen for the faint settling and occasional soft pop as moisture shifts inside the head. If you place the packet too close to the top element, the outsides can brown prematurely before the core softens, so middle rack placement is the safest bet. Make sure the packet sits on a small baking sheet in case any oil leaks; that makes cleanup easier and prevents burning on the oven floor.
Roast for 30 to 40 minutes, or until you can feel the garlic is completely soft: Around the 30 minute mark begin checking for softness; a gentle squeeze through the foil should reveal tender cloves that yield like butter. The aroma will grow deeper, sweet, and nutty as roasted sugars develop, and the cloves should release easily from their skins. If you test prematurely, the cloves may still be firm and underdeveloped, resulting in a sharper, less harmonious flavor. Allow the garlic to reach that soft, squeezable stage for the best texture and spreadability.