Perishable foods should not be left out at room temperature for more than two hours. Non-perishable foods can be left out at room temperature for up to four hours.