Before trying out the warming capabilities of foil on hot meals, it is important to consider some safety limitations. Using foil or any other storage instrument to keep food warm outside of the refrigerator for more than two hours is not a good idea. Once this time limit has been surpassed, food becomes a breeding ground for germs.