Skip to main content

Does Pumpkin Pie Need to Go in the Refrigerator After Baking?

Pumpkin pie must be refrigerated after it cools, whether it's homemade or store-bought

Yes, pumpkin pie requires refrigeration. The reason is straightforward: pumpkin pie contains eggs and dairy (cream, evaporated milk, or both), which are perishable proteins. Once the pie bakes and cools to room temperature, bacteria can begin to multiply on these ingredients within two hours. Refrigeration slows that growth dramatically, keeping the pie safe to eat for three to four days.

The confusion often comes from seeing pies sit on bakery counters or at Thanksgiving dinner tables. Those pies are safe only because they haven't been sitting out long—usually less than a few hours. Once you bring a pie home or finish eating, it goes into the refrigerator. Store-bought pies follow the same rule as homemade ones.

Key Takeaways

  • Pumpkin pie contains eggs and dairy, making it perishable and requiring refrigeration within two hours of cooling.
  • A properly refrigerated pumpkin pie stays safe to eat for three to four days in the coldest part of your refrigerator.
  • Pies left at room temperature for more than two hours should be discarded, even if they look and smell fine.
  • Freezing pumpkin pie extends its life to one to two months, but the texture becomes slightly softer after thawing.
  • Pumpkin pie filling left in a bowl or unbaked in a crust must also be refrigerated and used within one to two days.

Why pumpkin pie spoils without refrigeration

Pumpkin pie is not shelf-stable because of its filling, not its crust. The filling is essentially a custard—eggs whisked with cream or evaporated milk, sugar, spices, and pumpkin puree. Eggs are a protein, and proteins are a food source for bacteria. When the pie bakes, the heat kills most bacteria present, but once it cools, new bacteria can colonize the filling if it sits at room temperature.

The danger zone for bacterial growth is between 40°F and 140°F. A pie cooling on your counter at 70°F is in that zone. After two hours at room temperature, the bacterial count rises enough to pose a real food safety risk. Refrigeration keeps the pie at 40°F or below, where bacterial growth slows to a crawl.

This applies to any pie with a custard or cream filling—pumpkin, pecan, sweet potato, or chess pie. A fruit pie with no eggs (like apple or cherry) can sit out longer because the high sugar and acid content preserve it, but pumpkin pie cannot.

How long pumpkin pie lasts in the refrigerator

Store your pumpkin pie in the coldest part of your refrigerator, usually the back of a shelf or the bottom drawer. Cover it loosely with plastic wrap or foil, or place it in a pie box if you have one. A properly stored pie stays safe for three to four days.

After four days, the risk of bacterial growth increases, and the texture begins to break down—the filling may become watery or separate from the crust. If you want to keep pie longer, freezing is your option. Wrap the whole pie tightly in plastic wrap and then foil, or slice it first and freeze individual pieces in an airtight container. Frozen pumpkin pie lasts one to two months.

When you thaw frozen pie, do it in the refrigerator overnight, not on the counter. The filling will be slightly softer after thawing because the custard structure loosens, but the pie is still good to eat. You can serve it cold or warm it gently in a 300°F oven for 10 to 15 minutes.

What to do if pumpkin pie sits out too long

If your pie has been at room temperature for more than two hours, throw it away. This is not a judgment call. The bacteria that grow in that window—especially Salmonella and Listeria—do not always change the smell, taste, or appearance of the pie. You cannot tell by looking whether it is safe.

The two-hour rule applies even if the pie was baked that morning or came from a bakery. Once it cools, the clock starts. If your kitchen is warmer than 90°F (which can happen during summer or near an oven), reduce that window to one hour.

If you are serving pie at a gathering and want to leave it out, keep it out for no more than two hours total, then refrigerate it. If guests are eating over several hours, slice and serve fresh pieces from the refrigerated pie rather than leaving the whole pie exposed.

Storing pumpkin pie filling before baking

If you make the filling ahead of time—a common practice before Thanksgiving—it must also be refrigerated. Unbaked pumpkin pie filling contains raw eggs, which carry a small risk of Salmonella. Store the filling in a covered bowl in the refrigerator and use it within one to two days. Do not leave it at room temperature while you wait to bake.

You can also freeze unbaked filling for up to one month. Thaw it in the refrigerator before pouring it into the crust and baking. The baking process will heat it to a safe temperature, so thawing in the refrigerator is simply for convenience, not food safety.

Transporting pumpkin pie safely

If you are bringing pumpkin pie to a potluck or holiday dinner, keep it in the refrigerator until you leave home. Transport it in an insulated bag with an ice pack or frozen gel pack to maintain a temperature below 40°F. Once you arrive, place it back in a refrigerator as soon as possible.

If the pie will sit out during the meal, remove it from the refrigerator no more than two hours before serving. If the gathering lasts longer than that, keep the pie refrigerated and bring it out in slices as needed. This is especially important if the venue is warm or if the pie will be sitting in direct sunlight.

Frequently Asked Questions

Can I leave pumpkin pie on the counter overnight?

No. Pumpkin pie should not sit at room temperature for more than two hours. After that, bacteria multiply to unsafe levels. If you baked it in the evening and want to serve it the next day, refrigerate it overnight and serve it cold or reheat it gently in the oven.

Is store-bought pumpkin pie safer to leave out than homemade?

No. Both homemade and store-bought pumpkin pies contain eggs and dairy and must be refrigerated within two hours of cooling. The only difference is that some commercial pies may contain preservatives, but those do not eliminate the need for refrigeration.

What if I forgot to refrigerate the pie and it sat out all night?

Discard it. Leaving pie at room temperature overnight allows dangerous bacteria to multiply well beyond safe levels. Even if it looks and smells fine, it is not safe to eat. This is not worth the risk.

Can I freeze pumpkin pie with whipped cream on top?

Freezing whipped cream causes it to separate and become grainy when thawed. Freeze the pie without whipped cream, then add fresh whipped cream after thawing and serving. If the pie already has whipped cream, eat it within a few hours or remove the topping before freezing.

Does pumpkin pie need to cool completely before refrigerating?

Yes. A hot pie will raise the temperature inside your refrigerator and can warm nearby foods. Let it cool at room temperature for about one to two hours, then refrigerate it. Do not leave it out longer than two hours total before moving it to the cold.