Unopened canned pumpkin lasts 1 to 2 years after the sell-by date when placed in the pantry or in the refrigerator. Canned pumpkin may also feature an expiration date. Typically, it is best to abide by the expiration date rather than the sell-by date.
Opened canned pumpkin generally lasts about a week when placed in the refrigerator. Opened canned pumpkin lasts 3 to 5 months when stored in the freezer. The best way to freeze canned pumpkin is by scooping it into ice cube trays and then placing the frozen pumpkin cubes in freezer-safe bags or in an airtight container.