The cooked mashed potato will stay safe to consume for 3 – 5 days if you store it in the fridge. But it lasts fresh in the freezer for 6 – 8 months. However, the long duration may compromise the quality of the potatoes.