Whole pumpkins can last several weeks to a few months when stored in a cool, dry place. Carved or cut pumpkins have a shorter shelf life, usually lasting only a few days to a week, depending on refrigeration and exposure to air.