Skip to main content

When Pumpkin Pie Needs the Refrigerator and When It Doesn't

Pumpkin Pie Storage Depends on How It Was Made

Homemade pumpkin pie with eggs and evaporated milk must go in the refrigerator within two hours of baking. The eggs and dairy in the filling create an environment where harmful bacteria can grow if the pie sits at room temperature too long. Once cooled, store it on a shelf in the back of your refrigerator where the temperature stays coldest and most stable.

A commercially made pumpkin pie from a grocery store bakery follows the same rule — refrigerate it within two hours. Check the label on store-bought pies; most will say "keep refrigerated" right on the box. If the label says the pie can sit out, follow that instruction instead, but this is rare.

Shelf-stable pumpkin pie filling that comes in a can is different. Once you bake it into a pie, treat it like homemade pie and refrigerate it. The baking process does not make the finished pie shelf-stable on its own.

Key Takeaways

  • Homemade pumpkin pie and most store-bought pumpkin pies must be refrigerated within two hours of baking or purchase.
  • Pumpkin pie left at room temperature for more than two hours should be thrown away, not refrigerated later.
  • A refrigerated pumpkin pie stays safe to eat for three to four days when stored on a middle or lower shelf.
  • Pumpkin pie can be frozen for up to two months if you wrap it tightly in plastic wrap and then foil.

The Two-Hour Window and Why It Matters

The two-hour rule comes from food safety guidelines for foods that contain eggs or dairy and have not been treated to kill bacteria during manufacturing. Once pumpkin pie cools below 140°F after baking, bacteria can begin to multiply if the pie stays in the "danger zone" between 40°F and 140°F. Two hours is the safe limit before that risk becomes real.

If your pie has been sitting on the counter for longer than two hours, do not refrigerate it and eat it later. Throw it away. Refrigerating it at that point does not stop bacteria that have already started to grow. This is one of the most common food safety mistakes people make with pies and custards.

If you are serving pumpkin pie at a gathering and it will sit out for a meal, keep it on the table for no more than two hours total. After that, move any leftovers to the refrigerator right away.

How Long Refrigerated Pumpkin Pie Lasts

Pumpkin pie stored in the refrigerator stays safe to eat for three to four days. Store it on a middle shelf or lower shelf where your refrigerator is coldest and most stable — not on the door, where temperature swings every time someone opens it. Cover the pie loosely with plastic wrap or foil, or place it in a pie container with a lid.

After four days, the filling can develop an off smell or taste, and the crust may become soggy from moisture. If you want to keep pumpkin pie longer, freeze it instead.

Freezing Pumpkin Pie for Later

Pumpkin pie freezes well and can be stored for up to two months. Freeze it whole or in slices. Wrap the whole pie tightly in plastic wrap, then wrap it again in foil to prevent freezer burn. If you are freezing slices, wrap each one individually in plastic wrap and then place them in a freezer bag.

Thaw frozen pumpkin pie in the refrigerator overnight before serving. Do not thaw it at room temperature, as this brings it back into the danger zone. Once thawed, eat the pie within three to four days, the same as freshly baked pie.

Some people prefer to freeze pumpkin pie before it is baked — that is, freeze the unbaked filling in the crust. This works, but add five to ten minutes to the baking time since the pie will start cold.

Signs That Pumpkin Pie Has Gone Bad

Throw away pumpkin pie if you see mold on the filling or crust, or if the filling has an unusual smell or slimy texture. A slightly darker or drier top layer after several days of storage is normal and does not mean the pie is unsafe. If you are unsure, throw it out — pumpkin pie is inexpensive to replace and not worth the risk.

Pie that has been left at room temperature for more than two hours should be discarded even if it looks and smells fine. Bacteria growth is not always visible or obvious.

Pumpkin Pie Without Eggs or Dairy

Some recipes make pumpkin pie with non-dairy milk and egg substitutes. These pies may have different storage rules depending on what substitutes were used. Check the recipe or the package instructions for the egg substitute — some are designed to be shelf-stable after baking, and some are not. When in doubt, refrigerate.

Vegan pumpkin pie made with coconut milk and flax eggs should still be refrigerated within two hours, as the safety risk comes from the pumpkin puree and filling mixture, not just the eggs and dairy.

Frequently Asked Questions

Can I leave pumpkin pie out overnight if I cover it?

No. Covering the pie does not stop bacteria from growing. Pumpkin pie must be refrigerated within two hours of baking, even if it is covered. After two hours at room temperature, throw it away.

Is it safe to eat pumpkin pie that has been refrigerated for a week?

No. Refrigerated pumpkin pie is safe for three to four days. After that, throw it away. If you want to keep it longer, freeze it instead.

Can I refrigerate pumpkin pie while it is still warm?

Yes. Placing warm pumpkin pie directly in the refrigerator is safe and actually speeds up cooling. You do not need to wait for it to cool to room temperature first. Just make sure it goes in within two hours of coming out of the oven.

What if I forgot to refrigerate my pumpkin pie and found it on the counter the next morning?

Throw it away. Pumpkin pie left at room temperature overnight is not safe to eat, even if it looks and smells fine. Bacteria can grow without visible signs.

Do I need to refrigerate pumpkin pie if I am serving it the same day I bake it?

If you are serving it within two hours of baking and will finish it that day, you can leave it on the counter during that time. Any leftovers must be refrigerated within two hours of baking, not two hours after serving ends.