Question: how long are pasta good for?
Answer: Always seal the container until you used up the pasta to extend its shelf life. Dry pasta that's been kept sealed will keep for 2 years or so in the pantry. Fresh pasta, on the other hand, will only keep for 5 days in the fridge. Cooked pasta will keep for a week or so in the fridge.