Storing and freezing baked goods: does pumpkin pie need to be refrigerated, and how long things last
One row per bake: whether it keeps at room temperature or must be refrigerated (pumpkin pie included), how long, and how long it keeps its quality frozen, with the source. Federal figures first.
Federal figures come first. Whether a bake must be refrigerated is from the USDA Food Safety and Inspection Service's power-outage list in Keep Your Food Safe During Emergencies (last updated 2013, a current FSIS page) and its Mail Order Food Safety table (2015), which is the only FSIS table we found with times for frosted cakes and cheesecake. Pie times are from FoodSafety.gov's Cold Food Storage Chart (reviewed September 2023) and FSIS's Shell Eggs from Farm to Table; the two-hour rule is from FSIS's "Danger Zone" page. These three hosts refuse automated requests and load normally in a browser.
Where no federal figure exists, extension services fill in. Room-temperature days are from Iowa State University Extension and Outreach's AnswerLine, Food Safety Practices for Baked Goods (September 2026) and Pie Storage and Storing Pumpkin and Pecan Pie, and from University of Illinois Extension's Do I Need to Refrigerate the Pie? The default freezer time is NDSU Extension's Food Freezing Guide (FN403), reviewed January 2024 and the most recently reviewed of the extension tables; the others are compared under the freezer.
| Bake | Must be refrigerated? | Room temperature | Refrigerator | Freezer (quality) | Source |
|---|---|---|---|---|---|
| Yeast bread and rolls, baked | No; FSIS keeps bread and rolls after a power outage | 3 to 4 days in an airtight container (Iowa State) | No figure in our sources | 2 to 3 months (NDSU) | USDA FSIS; Iowa State; NDSU |
| Yeast dough, unbaked | No federal statement for yeast dough; FSIS lists batters and doughs (its examples are pancake batter and cookie dough) among foods to discard after more than 4 hours above 40 °F (4 °C) | While it rises, as the recipe directs | No figure in our sources | 2 to 3 months, freezer-dough recipes only (NDSU) | USDA FSIS; NDSU |
| Cookies, baked | No | 3 to 4 days in an airtight container (Iowa State) | No figure in our sources | 6 to 12 months (NDSU) | Iowa State; NDSU |
| Cookie dough, unbaked | Yes; FDA (Handling Flour Safely) says to refrigerate cookie and pastry dough at 40 °F (4 °C) as the package directs, and FSIS discards cookie dough after more than 4 hours above 40 °F | Not kept out | As the recipe or package says | 3 months (NDSU) | FDA; USDA FSIS; NDSU |
| Quick breads and muffins, baked | No; FSIS keeps muffins | 3 to 4 days in an airtight container (Iowa State) | No figure in our sources | Muffins 6 to 12 months; gingerbread, nut and fruit breads and coffee cake 2 to 4 months (NDSU) | USDA FSIS; Iowa State; NDSU |
| Fruit and nut breads | No; FSIS lists them for cold or room temperature | FSIS gives no room time | 7 days (FSIS) | 6 months (FSIS); 2 to 4 months (NDSU) | USDA FSIS; NDSU |
| Biscuits, baked | No | 3 to 4 days, as a quick bread (Iowa State) | No figure in our sources | 2 to 3 months; reheat unthawed at 350 °F (177 °C) for 15 to 20 minutes (NDSU) | Iowa State; NDSU |
| Cake, unfrosted or with a plain frosting | No; FSIS keeps cakes, except those with cream cheese frosting or cream fillings | 2 to 3 days, covered (Iowa State, for plain cakes) | No figure in our sources | 2 to 4 months (NDSU) | USDA FSIS; Iowa State; NDSU |
| Frosted cakes, layered tortes, petit fours | Depends on the frosting and filling (see the next row); FSIS's mail-order table says "frozen or refrigerator cold" and also lists 2 days at room temperature | 2 days (FSIS) | 3 days (FSIS) | 2 months (FSIS); NDSU lists a purchased frosted layer cake at 4 months | USDA FSIS; NDSU |
| Cake with cream cheese frosting, whipped cream or a cream or custard filling | Yes; FSIS excludes these from the cakes it keeps, and Iowa State calls dairy and custard fillings perishable | No more than 2 hours (1 hour above 90 °F, 32 °C) | No separate federal figure; FSIS's frosted-cake row gives 3 days | No figure in our sources | USDA FSIS; Iowa State |
| Angel food and other egg-white cakes | No | 2 to 3 days, covered (Iowa State, for plain cakes) | No figure in our sources | 6 months (NDSU) | Iowa State; NDSU |
| Cheesecake | Yes; FSIS calls it perishable and discards cheese pies after more than 4 hours above 40 °F | No more than 2 hours (1 hour above 90 °F) | 7 days (FSIS) | 3 months (FSIS) | USDA FSIS |
| Fruit pie made with sugar, no dairy, baked | No; FSIS keeps fruit pies | Up to 2 days, loosely covered (Illinois; Iowa State) | 2 more days, loosely wrapped (Iowa State) | Up to 4 months (Iowa State); NDSU has no baked fruit pie row | USDA FSIS; Illinois; Iowa State |
| Fruit pie, unbaked | No figure in our sources | No figure in our sources | No figure in our sources | 2 to 4 months; do not cut vents before freezing (NDSU) | NDSU |
| Pumpkin or pecan pie, baked | Yes; Iowa State, citing USDA, says to refrigerate egg-rich pies after cooling unless served within 2 hours | No more than 2 hours (1 hour above 90 °F) | 3 to 4 days (FoodSafety.gov) | 1 to 2 months (FoodSafety.gov) | FoodSafety.gov; USDA FSIS; Iowa State |
| Custard and chiffon pies, baked | Yes | No more than 2 hours (1 hour above 90 °F) | 3 to 4 days (FoodSafety.gov; FSIS) | Do not freeze (FoodSafety.gov; FSIS) | FoodSafety.gov; USDA FSIS |
| Cream pies and cream-filled pastries | Yes; FSIS discards cream-filled pastries after more than 4 hours above 40 °F | No more than 2 hours (Illinois) | Up to 4 days (Iowa State) | Do not freeze well (Iowa State); do not refreeze a cream pie that has thawed (NDSU) | USDA FSIS; Illinois; Iowa State; NDSU |
| Quiche, baked | Yes | No more than 2 hours | 3 to 5 days (FoodSafety.gov) | 2 to 3 months (FoodSafety.gov) | FoodSafety.gov; USDA FSIS |
| Pie pastry, unbaked | Keep it chilled until it is rolled (King Arthur) | No figure in our sources | King Arthur chills its dough 30 minutes to overnight | 6 to 8 weeks (NDSU); King Arthur gives up to 2 months | NDSU; King Arthur Baking |
| Pie pastry, baked shell | No figure in our sources | No figure in our sources | No figure in our sources | 2 to 3 months (NDSU) | NDSU |
| Cream puff shells, unfilled | No figure in our sources | No figure in our sources | No figure in our sources | 1 to 2 months (NDSU) | NDSU |
| Fruitcake | No; better refrigerated or frozen (FSIS) | 1 month (FSIS) | 6 months (FSIS) | 1 year (FSIS) | USDA FSIS |
| Frosting made ahead | Depends on what is in it; see the refrigerator | Not stated | Thaw frozen frosting overnight in the refrigerator | Up to 3 months (King Arthur) | King Arthur Baking |
Freezer times in this table are for quality. FoodSafety.gov says food kept continuously at 0 °F (-18 °C) stays safe indefinitely; it only loses quality. Physical principle The occasion plan dates each bake backward from your event: see the occasion plan.
Room temperature and the two-hour rule
FSIS's rule: do not leave perishable food out of refrigeration for more than 2 hours, or more than 1 hour above 90 °F (32 °C). Bacteria grow quickly between 40 and 140 °F (4 and 60 °C). For baked goods, Iowa State says the two hours start when baking finishes, not when the bake goes on the table, so a custard pie cooling on the counter is already using its time. Convention
What can stay out depends on moisture and what the bake contains. Iowa State says low-moisture, high-sugar bakes (bread, rolls, cookies, quick breads) keep at room temperature for 3 to 4 days in an airtight container, and plain cakes and baked fruit pies for 2 to 3 days covered. Bakes and frostings with dairy, eggs, custard, fresh fruit or vegetables, or meat, or with high moisture, are perishable and go in the refrigerator. Iowa State calls these TCS foods: foods that need time and temperature control for safety.
A store pumpkin pie sold unrefrigerated is not a model for a homemade one. Illinois explains that a commercial shelf-stable pumpkin pie reaches 180 °F (82 °C) at its coldest point and carries preservatives, microbial testing and a use-by date, and homemade pie has none of these. Iowa State adds that shelf-stable store pies go in the refrigerator once cut.
Custard, cream, pumpkin and chiffon pies, cheesecake, cream-filled pastries and anything with cream cheese frosting go in the refrigerator within 2 hours of leaving the oven, or 1 hour above 90 °F. At a party or a bake sale, the clock keeps running while they sit on the table. To hold a pie longer at a table, Iowa State says to set it on ice.
The refrigerator
Keep the refrigerator at 40 °F (4 °C) or below (FoodSafety.gov). Which bakes need it: the FSIS power-outage list keeps fruit pies, bread, rolls, muffins and cakes, and discards batters and doughs, custard, chiffon and cheese pies, cream-filled pastries, and cakes with cream cheese frosting or cream fillings after more than 4 hours above 40 °F. We use that list to say which bakes need the cold; we do not treat 4 hours as a holding time. Convention
Frostings are the hard case. Kansas State University Research and Extension's Food Safety of Frostings and Fillings (MF3544) tested 49 recipes and found that cream cheese frostings varied: some needed refrigeration and some did not, which a home baker cannot tell without testing. It names a frosting or filling that is at least 65 percent sugar by weight as a practical choice for room-temperature stability. Test it Kansas fairs allow no cream cheese frostings at all. We treat cream cheese frostings and cream fillings as refrigerated, as FSIS does. On egg-based frostings, FSIS says to avoid icings made with uncooked eggs or whites; seven-minute frosting, made by pouring hot syrup into beaten whites, is on its safe list.
Cooling and covering a pie: Iowa State says to cool it completely, chill it uncovered, then cover it loosely, so condensation does not make the crust soggy. A pie not cool within 2 hours goes into the refrigerator unwrapped to finish cooling.
The freezer
Keep the freezer at 0 °F (-18 °C) or below. Cool a bake completely before wrapping it, and double-wrap it (Kansas State's Freezing Baked Goods; Iowa State). Freezing does not refresh a bake; it keeps the quality it had when it went in, says University of Illinois Extension's Freezer Storage page. A warmer freezer loses quality faster: NDSU says the quality lost in one year at 0 °F is lost in three months at 10 °F (-12 °C), three weeks at 20 °F (-7 °C) and five days at 30 °F (-1 °C). Physical principle
Some bakes freeze poorly. Custard and cream pies do not freeze well (Illinois; University of Missouri Extension's How to Freeze Home-Prepared Foods (GH1505)), meringue toughens (Missouri), and egg-white frostings and custard fillings do not freeze well (Kansas State). Freeze a cake and its frosting separately for best results; fudge and powdered-sugar frostings made with fat freeze well, and cooked candy-type frostings crack (Clemson Cooperative Extension's Freezing Prepared Foods (HGIC 3065)).
The extension tables disagree, by up to three times. The table above uses NDSU, the most recently reviewed. The others are University of Missouri Extension's How to Freeze Home-Prepared Foods (reviewed August 2026), Kansas State's county handout (undated), Illinois Extension's Freezer Storage page (undated) and Clemson Cooperative Extension's Freezing Prepared Foods (2012). All are quality times at 0 °F. Where a cell is empty, that source gives no figure.
| Bake | NDSU (2024) | Missouri (2026) | Kansas State | Illinois | Clemson (2012) |
|---|---|---|---|---|---|
| Yeast bread and rolls, baked | 2 to 3 months | 3 months | 6 to 8 months | 2 to 3 months (3 months in a second table on the same page) | 6 to 8 months |
| Yeast dough, unbaked | 2 to 3 months, freezer recipes only | Up to 1 month, freezer recipes only | 1 month (double yeast and sugar) | 1 month | Up to 1 month, freezer recipes only |
| Cookies, baked | 6 to 12 months | 3 months | Unfrosted up to 12 months; frosted up to 2 | 8 to 12 months | 6 months |
| Cookie dough, unbaked | 3 months | 3 months | Up to 6 months | 3 months | 6 months |
| Cake, unfrosted | 2 to 4 months | About 3 months | Up to 6 months | 2 to 4 months | Shortened cakes 2 to 4 months |
| Cake, frosted | 4 months (purchased layer cake) | Freeze the frosting separately | Up to 3 months | 1 month | Freeze the frosting separately |
| Quick breads | 2 to 4 months (nut and fruit breads) | 2 to 4 months | 2 to 3 months | 2 to 4 months | |
| Muffins | 6 to 12 months | 2 to 4 months | 2 to 3 months | 6 to 12 months | |
| Fruit pie, unbaked | 2 to 4 months | 8 months | Up to 4 months | 2 to 4 months | 3 to 4 months |
| Fruit pie, baked | 3 to 4 months | Up to 4 months | 1 to 2 months | 3 to 4 months | |
| Pumpkin pie, unbaked | 4 to 5 weeks | 4 to 5 weeks | 4 to 5 weeks | ||
| Pumpkin pie, baked | Up to 4 months | ||||
| Chiffon pie | 1 to 2 months | 2 weeks | |||
| Cream pies | Do not refreeze if melted | Do not freeze well | Custard fillings do not freeze well | 3 months (cream pies and pastries) | Soak the crust |
| Cheesecake | 2 to 3 months | ||||
| Pastry, unbaked | 6 to 8 weeks | 6 to 8 weeks | |||
| Angel food cake | 6 months (egg-white cakes) | 6 to 12 months | 6 months |
Two conflicts with the federal rows: FoodSafety.gov and FSIS say not to freeze custard and chiffon pies, while NDSU gives chiffon pies 1 to 2 months and Clemson 2 weeks; and FoodSafety.gov gives baked pumpkin pie 1 to 2 months against Kansas State's 4. We follow the federal rows.
Thawing and reheating
Missouri's rule: baked goods without a filling may thaw at room temperature in their wrapping; anything with meat, eggs or dairy, and any frosted or filled cake, thaws in the refrigerator. Convention
| Bake | How to thaw or bake from frozen | Source |
|---|---|---|
| Unfrosted cake | Covered, 2 to 3 hours at room temperature | Kansas State |
| Frosted or filled cake | Overnight in the refrigerator | Kansas State; Missouri |
| Cheesecake | In the refrigerator, 4 to 6 hours | Kansas State |
| Bread and rolls | Wrapped in foil, 300 °F (149 °C) for 15 minutes; rolls 5 to 10 minutes | NDSU; Missouri |
| Biscuits | Unthawed, 350 °F (177 °C) for 15 to 20 minutes | NDSU |
| Unbaked yeast dough | In the refrigerator, about 16 hours | Kansas State |
| Cookie dough, formed | Bake unthawed at 400 °F (204 °C): NDSU's table gives about 20 minutes, Kansas State about 10; start checking at the shorter time | NDSU; Kansas State |
| Cookie dough, in bulk | Thaw until soft enough to drop | NDSU |
| Unbaked fruit pie | Bake unthawed at 450 °F (232 °C) for 15 to 20 minutes, then 375 °F (191 °C) for 20 to 30 minutes. NDSU says not to cut vents before freezing; Missouri says to cut them just before baking | NDSU; Missouri |
| Unbaked pumpkin pie | Bake unthawed at 400 °F (204 °C) for 10 minutes, then 325 °F (163 °C) until set | Missouri; Clemson |
| Baked fruit pie | Thaw 1 hour, then warm at 375 °F (191 °C) for about 30 minutes | Iowa State |
| Baked pumpkin, pecan and other egg pies | In the refrigerator | Iowa State |
| Unbaked pastry shell | Bake frozen at 475 °F (246 °C) until light brown | NDSU; Missouri |
| Frosting | Overnight in the refrigerator | King Arthur Baking |
The frosting figure is from King Arthur Baking's How much frosting do I need for a cake?; the pastry figure from its Pie Crust guide; the cookie-dough refrigeration line from the US Food and Drug Administration's Handling Flour Safely. Planning a bake-ahead timeline is in Baking ahead and for an occasion.
Freezer times are quality times, and the extension tables disagree; none of them is a safety limit. Room and refrigerator rules for perishable bakes are federal guidance, and this page does not loosen them. The FSIS mail-order and emergency pages are dated 2015 and 2013 and are cited with their dates. This page does not say whether a bake is safe for someone with a food allergy, and it does not cover selling baked goods: bake-sale and cottage food rules belong to your state or county health or agriculture department, which is where to ask.