It depends on the food. For example, refrigerated products should not be left at room temperature for longer than two hours.