Refrigerate cooked sweet potatoes in an air-tight container for up to 3-4 days. You can also freeze mashed sweet potatoes for up to 3 months.