Roast garlic in the microwave by removing the tops of the garlic you want to roast, placing the garlic in a microwave-safe baking dish, drizzling the heads with salt, pepper and olive oil, and then microwaving the garlic at 50% power for three to six minutes. If the garlic is not soft after six full minutes, continue cooking in one-minute increments until you achieve the desired texture.
Keep in mind that roasting garlic using a microwave does not generate the same results as roasting in a conventional oven. In reality, roasting garlic in a microwave is not really roasting at all, but steaming. Steaming still makes garlic easy to spread and remove from the head, but it does not mellow out the garlic's flavor as much as traditional roasting. However, it is much more convenient as traditional roasting can take over an hour; microwave roasting takes less than 10 minutes.
Add a slight amount of color and additional mellowing to your garlic by briefly roasting it in a conventional oven if time permits. Roast the garlic in the oven at 350 degrees Fahrenheit for about 10 to 12 minutes. While this does not give the full mellow flavor of conventionally roasted garlic, it provides a superior taste to garlic prepared entirely in the microwave.