Unopened boxed pasta usually lasts about 1 to 2 years past the printed date for best quality, and often remains safe longer if kept cool and dry. Once opened, it can still last a long time if sealed well in an airtight container and protected from moisture and pests.

Shelf life

  • Unopened dry pasta: about 1 to 2 years past the date on the box for best quality.
  • Opened dry pasta: still generally fine for 1 to 2 years if stored airtight in a cool, dry pantry.
  • Cooked pasta: about 3 to 5 days in the fridge, or up to 2 months in the freezer.

What the date means

The date on a pasta box is usually a “best by” date, which is more about peak flavor and texture than safety. Dry pasta does not usually become unsafe right away after that date, but quality can slowly decline.

When to toss it

Throw it out if you notice mold, a rancid or off smell, visible insects, moisture damage, clumping, or discoloration. Those are signs the pasta has been exposed to conditions that can spoil it.

Storage tips

  • Keep it in a cool, dry pantry.
  • Seal opened pasta in an airtight container or bag.
  • Avoid the fridge for dry pasta, because moisture can shorten quality.

TL;DR: boxed dry pasta is a long-lasting pantry staple, and if stored properly it often stays good well beyond the date on the package.