Cooked sweet potatoes can be stored in the refrigerator in a covered container for up to four days. Cooked whole, sliced, cubed, or mashed sweet potato can be frozen for up to six months. Raw, cubed sweet potato can be frozen for up to three months.