The food is safe to eat if it has been sitting out for up to four hours. However, you should avoid eating the food if it has been sitting out for longer than that.