Dry pasta is very shelf-stable and can last a long time if stored properly in your pantry or cupboard. Though it doesn't tend to expire and go bad, it will lose some quality over time. Dates that are "best by" or "sell by" are not expiration dates. Dry pasta should last about 2 years if stored properly and the original packaging has not been opened or compromised in any way. If you have an opened box or have stored your pasta in a container, it will some quality faster. I give it about a year and then the pasta may need to be tossed out. It is hard to tell if dry pasta has gone bad because, well simply put, it is dry. Without any moisture bacteria and harmful contaminants have little chance to grow and multiply.