Mashed potatoes should not remain on the counter for more than 2 hours, as, after that, the fermentation or bacterial breeding process starts.