The longer you cook, the more alcohol cooks out, but you have to cook food for about 3 hours to fully erase all traces of alcohol. A study from the U.S. Department of Agriculture's Nutrient Data lab confirmed this and added that food baked or simmered in alcohol for 15 minutes still retains 40 percent of the alcohol.