You can typically keep a whole pumpkin at room temperature for two to three months. Once you've carved the pumpkin, you can expect it to last around five to 10 days before it will begin to rot. If you're planning to cook with pumpkin, you can store raw slices for three to five days before baking or roasting. You can store chunks of raw pumpkin in the freezer for up to six months. Once cooked, you can keep pumpkin flesh in the fridge in an airtight container for five to seven days. Frozen, cooked pumpkin will last for a year. This is handy because pumpkins are often quite large, and you may have more flesh than you can use in a single recipe. By freezing pumpkin, you can enjoy the flavor of this seasonal favorite all year round.