How long pasta can be kept in the fridge? There are three different types of dried pasta: macaroni, penne, and shells. As a general rule, all dried pastas should be stored in an airtight container and kept in the refrigerator for no more than two weeks. Some pastas can last up to four weeks, but only if they are not exposed to too much heat or moisture. Continue reading