Recipe from Simply Recipes
One or more whole heads of garlic.
1 Preheat your oven to 400°F. (A toaster oven works great for this.)
2 Peel and discard the papery outer layers of the whole garlic bulb, leaving intact the skins of the individual cloves of garlic. Using a sharp knife, cut 1/4 to a 1/2 inch from the top of cloves, exposing the individual cloves of garlic.
3 Place garlic into a muffin pan (works great for this), as it keeps the garlic bulbs from rolling around. Drizzle a couple teaspoons of olive oil over each exposed head, using your fingers to rub the olive oil over all the cut, exposed garlic cloves. Cover the bulb with aluminum foil. Bake at 400°F for 30-35 minutes, or until the cloves feel soft when pressed.
4 Allow the garlic to cool enough so you can touch it without burning yourself. Use a small small knife cut the skin slightly around each clove. Use a cocktail fork or your fingers to pull or squeeze the roasted garlic cloves out of their skins.