Pumpkin and pecan pies should not sit out on the counter overnight. Extension food safety specialists say egg-filled pies such as pumpkin, pecan, custard, cream and chiffon should spend no more than 2 hours out of the refrigerator, while fruit pies made with sugar can stay loosely covered at room temperature for up to 2 days.
That difference catches many Thanksgiving hosts off guard, since the dessert table often stays set long after dinner ends.

Why Egg-Filled Pies Get Only 2 Hours
Pies with eggs, dairy or cream-based fillings need refrigeration, University of Illinois Extension educator Lisa Peterson explained in the extension’s guide on whether pies need refrigeration. That covers fillings made with evaporated or condensed milk, a standard pumpkin pie ingredient, as well as sour cream and cream cheese. Pumpkin, cream, chiffon and custard pies should not be out of the refrigerator for more than 2 hours.
Iowa State University Extension’s AnswerLine puts pecan pie in the same group. Its guidance says all homemade and bakery pumpkin and pecan pies made with fresh ingredients should be refrigerated and should not stay at room temperature for more than 2 hours, because bacteria grow rapidly between 40 and 140 degrees Fahrenheit, according to AnswerLine’s notes on storing pumpkin and pecan pie.
5 Pie Rules for the Holiday Table
- Never leave pumpkin or pecan pie out overnight. After 2 hours at room temperature, it belongs in the refrigerator.
- Never cover a hot pie. Cool it completely before wrapping, since trapped steam leaves a soggy crust. If it is not cool within 2 hours, it can go into the refrigerator unwrapped to finish cooling.
- Keep leftovers for 3 to 4 days. Homemade pumpkin pie keeps 3 to 4 days in the refrigerator, and the USDA says pumpkin pie lasts up to 4 days there.
- Fruit pies get more leeway. Sugar-based fruit pies can stay at room temperature for up to 2 days, then go in the refrigerator, loosely wrapped, for 2 more days, according to AnswerLine’s pie storage chart.
- Check the box on store-bought pies. Pies sold unrefrigerated are shelf-stable until cut, then they go in the refrigerator. Pies sold from the refrigerated case should stay cold.
The dessert spread is part of what makes the holiday so distinctly American, along with plenty of other odd American traditions that confuse the rest of the world. Every family has its own pie rituals as well, and a few of them land on this list of strange Thanksgiving traditions. Making room in the refrigerator ahead of time helps, and this rundown of essential items to store in the refrigerator is a good place to start clearing space.
Hosts who want a refresher on the rest of the holiday food rules can review the USDA Meat and Poultry Hotline’s Thanksgiving hours, and guests bringing pie to someone else’s home may want to read up on potluck etiquette first.
Freezing Leftover Pie
Both holiday favorites have long histories on the American table. Pumpkin pie is built on a spiced custard of pumpkin, eggs and milk or cream, and pecan pie sets its nuts in a filling of eggs, sugar or syrup and butter. Those egg-heavy fillings are exactly why both pies are handled like custards rather than like fruit pies when it comes to storage.
Pumpkin and pecan pies can be frozen whole, in halves or in slices. AnswerLine recommends cooling them completely, then wrapping tightly in plastic and foil. Pumpkin and pecan pies keep best for 1 to 2 months in the freezer, and University of Illinois Extension cites USDA guidance that pumpkin pie keeps best for up to 2 months frozen. Pie kept constantly at 0 degrees Fahrenheit stays safe longer, though quality slips.
Custard, cream, mousse, chiffon and fresh fruit pies do not freeze well and should not be frozen, AnswerLine says. Sugar-based baked fruit pies can be frozen for up to 4 months, frozen uncovered until solid and then wrapped. Frozen pie should thaw in the refrigerator for at least 12 hours, since thawing at room temperature causes condensation.

Serving Pie Without Breaking the 2-Hour Rule
A few habits keep pie on the table without keeping it out too long. Pumpkin and pecan pies can wait in the refrigerator until dessert time and come out a few minutes before serving, which also helps the filling slice cleanly. If dessert is going to sit out for a long stretch, AnswerLine suggests holding it on ice.
Setting a timer when dessert goes out is an easy way to track the 2-hour window. Once it runs out, leftover slices can be wrapped loosely in plastic or covered with a pie cover and moved to the refrigerator, while fruit pies can stay out a little longer.
When to Throw Pie Out
Any pie with an off smell, visible mold or other changes in appearance should be discarded, according to AnswerLine. The same goes for egg-filled pies that sat out overnight after dinner, even if they look fine the next morning.
With pumpkin and pecan pies in the refrigerator within 2 hours and fruit pies covered on the counter, the leftovers can carry the holiday through the long weekend.
This article was produced with AI assistance and edited for accuracy against the sources linked above.
Image: Mshuang2 – CC0/Wikimedia Commons