Leftover pasta that's been stored properly in the refrigerator will stay good for up to 5 days.