Cooked pasta will last 3-5 days in the fridge. If you freeze it, it will last 1-2 months in the freezer.