Dry pasta, while not expiring, will decrease in quality over time. Unopened dry pasta can be stored in the pantry for up to two years while opened dry pasta should be used within a year.