A whole, uncut pumpkin keeps 2 to 3 months in a cool, dry spot.
- Cut raw pieces last 3 to 5 days in the fridge.
- Cooked or fresh puree, and opened canned puree, last 3 to 4 days.
- A carved jack-o'-lantern should not be cooked afterward.
- Throw out any pumpkin that is soft, wet, moldy or sour-smelling.
That 3 to 4 day limit starts on the day you cook the puree or open the can, so write the date on the container.
Pumpkin's thick rind makes it one of the longest-keeping vegetables you will find in any set of shelf life guides. That rind only protects the pumpkin while it is whole, though. The moment you carve it, cut it or cook it, the clock changes, so the right answer depends on whether you are holding a whole pumpkin, cut pieces, cooked puree or an opened can.
1. How Long Does Pumpkin Last?
The USDA's FoodKeeper gives a whole pumpkin 2 to 3 months in the pantry. Cut, cooked and opened pumpkin lasts only days in the fridge, while frozen or unopened canned pumpkin keeps for months. Use this table to find the form you have:
| Form | Where to keep it | How long |
|---|---|---|
| Whole, uncut pumpkin | Cool, dry pantry or garage, 50 to 55°F | 2 to 3 months |
| Whole, uncut pumpkin | Refrigerator | FoodKeeper lists 3 to 5 months, but see the warning below |
| Cut raw pumpkin | Refrigerator, tightly wrapped | 3 to 5 days |
- Cooked pumpkin or fresh puree keeps 3 to 4 days in the refrigerator, covered.
- Cooked puree keeps 10 to 12 months for best quality in the freezer (FoodKeeper's figure for winter squash).
- Unopened canned puree keeps 2 to 5 years in the pantry, if the can has no dents, rust or swelling.
Opened canned puree keeps 3 to 4 days in the refrigerator, in a covered container. A baked pumpkin pie can sit on the counter for up to 2 hours, then keeps 3 to 4 days in the fridge or 1 to 2 months in the freezer.
The rind explains the big gap between the first row and the rest. Once you break it, bacteria and mold get at moist, low-acid flesh, so cut pumpkin lasts about as long as leftover vegetables, not as long as the pumpkin that sat on your porch.
2. How Do You Store a Whole Pumpkin?
If you handle a field pumpkin carefully, Pennsylvania State University Extension lists 50 to 55°F with 50 to 70% humidity as the ideal range for storing it, with a storage life of 8 to 12 weeks.
You can usually get close to that in an unheated garage, a cool basement or on a back pantry shelf away from direct sun. If you keep it on a kitchen counter next to the stove, expect the shorter end of the range, because that spot is warmer.
A few habits decide whether you reach the full 2 to 3 months:
- Keep the stem on and lift the pumpkin by its body. University of Illinois Extension says a pumpkin without its stem shrivels at the stem end and later starts to rot, and a stem that snaps off leaves an open wound.
- Skip pumpkins with bruises, sunken spots or watery lesions. Any wound lets a fungus or bacteria into the rind, so a pumpkin you pick without damage will outlast a damaged one by weeks.
- Stay above 50°F. Below that, pumpkins get chilling injury, which shows up as pitting on the skin and faster decay.
- Keep them away from apples, pears and tomatoes. These fruits give off ethylene gas, which yellows squash and shortens its life.
- Keep them in a single layer, not a pile. Penn State Extension says low piles cut down condensation and sweating, and damp rind is where rot starts.
3. How Long Does a Carved Jack-o'-Lantern Last, and Can You Cook It?
Once you carve a pumpkin, its cut edges have no rind to protect them, so it dries out and rots within days. Illinois Extension says to carve only a few days before Halloween and keep the pumpkin in a cool place until then. If you light it with a candle, the heat speeds up decay, so a battery light keeps your pumpkin looking fresh longer.
- Wash the cuts with a 20% bleach solution (Illinois Extension)
- Coat the cuts with petroleum jelly
- Use a battery light out of direct sun
- Cook or puree a carved pumpkin left out
- Reuse the lid or scooped flesh after hours on a counter
- Light a candle inside a pumpkin you will eat
Michigan State University Extension treats a carved pumpkin as a perishable food, and once it sits at room temperature for more than two hours it is in the 40°F to 140°F danger zone. If your jack-o'-lantern has sat out for days, it is well past that, so you should compost it and cook a different pumpkin.
4. How Long Do Cut, Cooked and Canned Pumpkin Last?
Put raw pieces in the refrigerator right away, wrapped tightly in plastic wrap or sealed in a container, and they stay good for about 3 to 5 days. FoodKeeper gives cut spaghetti squash 4 to 5 days in the fridge, and pumpkin, a close relative, follows the same pattern. If you leave cut pumpkin on the counter, you lose it fastest.
Cooked pumpkin and fresh puree are moist and low in acid, so Illinois Extension says to refrigerate puree made from fresh pumpkin and eat it within three to four days, the same window the USDA gives most leftovers. You can cook once and freeze what you will not use that week.
- FoodKeeper lists 2 to 5 years for low-acid canned vegetables and says they stay safe well past the date on the can as long as it has no dents, rust or swelling.
- Once you open the can, FoodKeeper gives low-acid canned food 3 to 4 days in the fridge, so scoop what is left into a covered container instead of leaving it in the can.
- If you bought pumpkin pie filling instead, it has sugar and spices added, so these times are for plain puree only.
5. Can You Freeze Pumpkin?
Yes, and extension services recommend freezing cooked puree when you want to store it for a long time. FoodKeeper gives winter squash 10 to 12 months in the freezer for best quality. Follow this order:
- Cut and cook. Wash a pie pumpkin, remove the seeds and pulp, cut it into chunks, and cook until soft by baking covered, steaming, or boiling in just enough water to prevent sticking.
- Mash. Scrape the flesh from the rind, then mash or puree it.
- Cool. Set the bowl in cold water and stir now and then, so the puree is cool before it goes into a freezer container.
- Pack. Fill rigid freezer containers and leave ½ inch of headspace, or use zip bags, squeeze out the air and lay them flat.
- Freeze. Label the date, freeze the bags flat on a baking sheet, and stack them once solid.
One thing you should not do is can the puree at home. The National Center for Home Food Preservation says not to can mashed or pureed pumpkin in a pressure or boiling water canner, because there are no tested processing times and the thick puree may not heat through to the center, leaving a risk of botulism. Only 1-inch cubes, pressure canned by a tested recipe, are approved for canning. You will find freezing safer and simpler.
6. How Can You Tell If Pumpkin Has Gone Bad?
Check the rind and the flesh, then smell it. Any of these signs means you should throw the pumpkin out:
- Soft, sunken or wet spots on the rind, or black patches on cut flesh, mean the pumpkin is rotting. Rot spreads inward, so the damage is usually bigger than the spot you see.
- Mold in any form, from a fuzzy white or gray patch on the skin to specks on cut pieces or puree, is a reason to throw it out. If you see even a small spot on a cut or cooked pumpkin, discard it.
- A sour, fermented or sharp smell coming from the pumpkin or a leaking spot means it has spoiled.
- A hollow, light or mushy feel when you lift it means the pumpkin has dried out or rotted inside. It loses its dense weight, and the flesh will taste flat even if it looks fine.
- Discolored flesh or seeds show up as dark streaks or a slimy surface on cut pieces.
If you are in doubt, throw it out. You can usually keep a whole pumpkin with a small dry scar on the rind, but anything soft, wet or moldy should go, and so should any cut, cooked or pureed pumpkin that has passed its 3 to 4 day window.
7. What Can You Do with a Pumpkin That Is About to Turn?
If your pumpkin is about to turn, cook it before it goes soft. One with a few weeks left is ideal for roasting into puree, which you can freeze in portions for pies, soup or bread. If you run out of puree mid-recipe, a pumpkin puree substitute such as sweet potato puree fills in for pie, soup or bread.
Roasted butternut is the closest match in flavor and texture when your pumpkin is past saving, and other butternut stand-ins such as acorn or kabocha squash work in soup and pie too.
If you save the seeds, they keep far longer than the flesh: FoodKeeper gives raw and roasted pumpkin seeds about six months in the pantry.
Sources
- USDA FoodKeeper: pumpkins, winter squash, cut spaghetti squash, low-acid canned goods, pumpkin pie and pumpkin seeds.
- Penn State Extension, Prevent Rot of Winter Squash in Storage: 50 to 55°F, 50 to 70% humidity, chilling injury, ethylene.
- Oregon State Extension, Preserving Pumpkins and Winter Squash: storage range, freezing puree.
- University of Illinois Extension, Preserving Pumpkin: freezing puree, headspace, three to four days refrigerated, no canning of puree.
- University of Illinois Extension, Picking and Caring for Fall Decor: stems, damaged rinds, carved pumpkin care.
- Penn State Extension, Preserving Pumpkin Puree Safely at Home: preparing and freezing puree, why puree cannot be canned.
- Michigan State University Extension, Carved pumpkins are for decorating, not for consumption.
- USDA FSIS, Danger Zone (40°F to 140°F).

Food writer at GustoMeadow. Writes ingredient substitutes, food comparisons, taste guides and storage guides for home cooks.
Storage and food-safety numbers follow USDA, FDA and university extension guidance.









