In general, cooked pasta dishes like baked feta pasta can be stored in the refrigerator for around 3 to 5 days. To maximize freshness and food safety.