The pecan pie came out of the oven at 2 p.m., it has been sitting by the window all afternoon, and now it’s 7 and people are asking for seconds. Is it fine where it is? Here is what food safety experts say about leaving pecan pie out, how long it keeps, and when to pitch it.
Does pecan pie need to be refrigerated?
The Short Answer: Yes. Homemade and fresh bakery pecan pies, which typically contain eggs, should be refrigerated, and extension guidance says not to leave them out more than 2 hours (1 hour above 90°F, per USDA). USDA’s FoodSafety.gov chart lists pecan pie at 3 to 4 days in the refrigerator after baking, and 1 to 2 months in the freezer for best quality. Some commercially produced pies are made to be shelf-stable, so follow the package.
For a complete pantry and fridge reference, see our Food Storage Guide. Pecan pie’s cousin has its own answer in whether pumpkin pie needs to be refrigerated.
Pecan Pie Refrigeration: At a Glance
Homemade pecan pie
Refrigerate after it cools. Iowa State: all homemade and bakery pecan pies made with fresh ingredients
Time at room temperature
2 hours in most extension guidance. 1 hour if the room is over 90°F, per USDA
In the refrigerator
3 to 4 days after baking, per the USDA FoodSafety.gov chart. Iowa State says up to 4 days
In the freezer
1 to 2 months for best quality per USDA. Iowa State says up to 2, and the filling may separate
Store-bought pie
Some are shelf-stable. Follow the package, and refrigerate leftovers unless it says otherwise
Left out overnight
Discard it. Refrigerating afterward does not undo the time out
Safety
We don’t suggest tasting a pie to test it
Key Takeaways
Pecan pie typically has an egg-based filling, and Iowa State Extension says all homemade and bakery pecan pies made with fresh ingredients should be refrigerated.
Most extension sources use a 2-hour limit at room temperature. USDA lowers it to 1 hour when the temperature is over 90°F.
USDA’s FoodSafety.gov chart lists pumpkin or pecan pie at 3 to 4 days in the refrigerator after baking. Iowa State says up to 4 days, and one University of Wisconsin Extension post says 2 to 6.
Sugar is not a free pass. The extension sources cited here recommend refrigerating homemade pecan pie, and none treats its sweetness as an exemption. NC State’s point about sugar concerns fruit pies.
Refrigerate within 2 hours of baking. If it is still warm, chill it uncovered, then wrap it once cold.
Pecan pie can be frozen. USDA lists 1 to 2 months for best quality, and Iowa State notes the filling may separate and the crust may soften.
Which Pie Do You Have? A homemade or bakery pie with an egg filling is the case this guide is about. A shelf-stable pie from a grocery shelf, a fruit pie, or a pie from a refrigerated case each follow different rules. Pecan pie is also on many holiday tables beside turkey that has been sitting out, so the same 2-hour clock applies there. For a full leftovers chart, see how long l