Food can be left at room temperature for up to 2 hours, according to the U.S. Food and Drug Administration.