Skip to main content

How Long Pie Lasts in the Refrigerator and How to Store It Properly

How Long Pie Stays Fresh in the Refrigerator

Most pies last 3 to 4 days in the refrigerator, though the exact time depends on what's inside and how you store it. Fruit pies—apple, cherry, berry—hold up well for the full four days. Cream pies, custard pies, and pies with meringue tops should be eaten within 2 to 3 days because the filling breaks down faster and the crust begins to absorb moisture. Pecan pie, which is denser and contains less water, can last closer to four days. Pumpkin pie, which is custard-based, is safest within 3 days.

The clock starts the moment the pie cools to room temperature after baking. If you leave it on the counter for more than two hours (or one hour if your kitchen is above 90°F), bacteria can grow in the filling, and you should not refrigerate it—throw it out instead. Once it's cold, wrap it tightly or place it in an airtight container to prevent it from drying out and absorbing odors from other foods.

Key Takeaways

  • Fruit pies last up to four days refrigerated; cream and custard pies should be eaten within two to three days.
  • Cool the pie completely at room temperature before refrigerating, but do not leave it out longer than two hours.
  • Wrap the whole pie tightly in plastic wrap or aluminum foil, or store it in an airtight container to keep it fresh and prevent it from absorbing refrigerator odors.
  • Do not store pies in the door of the refrigerator, where temperature fluctuates; use a shelf toward the back instead.
  • Pies can be frozen for up to two months if you want to keep them longer than the refrigerator allows.

Why Different Pies Have Different Shelf Lives

The filling type determines how quickly a pie spoils. Fruit pies contain natural acids and sugars that act as preservatives, which is why they last longest. The fruit itself resists bacterial growth, and the filling is usually cooked at high heat, which kills pathogens. As long as the crust stays dry and the pie is sealed, a fruit pie can safely sit in the refrigerator for four days.

Cream pies and custard pies are different. The filling is made from eggs, milk, and cream—all protein-rich foods that bacteria love. Even though the filling is cooked, it cools quickly and sits in a moist environment. The longer it sits, the more likely bacteria will multiply, especially if the pie is opened and exposed to air. Meringue-topped pies are particularly vulnerable because the meringue absorbs moisture from the filling and becomes soggy, creating an environment where mold can grow.

Pecan pie is an exception among custard-based pies. The high sugar and fat content, combined with the density of the filling, slows bacterial growth. It can last closer to four days if stored properly. Pumpkin pie, which is also custard-based but lighter, should be treated like other cream pies and eaten within three days.

How to Wrap and Store Pie in the Refrigerator

The goal is to seal the pie so it does not dry out and does not absorb odors from other foods. If the pie is whole and you plan to eat it over several days, wrap the entire pie—plate and all—in plastic wrap or aluminum foil. Plastic wrap clings tightly and prevents air from reaching the surface. Foil works just as well and is easier to rewrap if you cut a slice. Press the wrap firmly against the crust and filling so no air pockets remain.

If you have already cut the pie, place individual slices in an airtight container or cover them tightly with plastic wrap on a plate. Do not stack slices directly on top of each other without a barrier—the filling will stick to the crust above it. If you must stack them, place a piece of parchment paper between each slice.

Store the pie on a shelf toward the back of the refrigerator, not in the door. The door is the warmest part of the refrigerator because it opens and closes, letting warm air in. Temperature swings cause condensation, which makes the crust soggy and speeds up spoilage. The back of a shelf, especially the middle or lower shelves, stays coldest and most stable.

Signs Your Pie Has Gone Bad

Before eating leftover pie, look for visible mold, which appears as fuzzy spots or discoloration on the crust or filling. Mold can grow inside the filling even if you do not see it on the surface, so if the pie smells sour, fermented, or off in any way, do not eat it. A sour smell means bacteria or yeast have begun to break down the filling.

If the filling looks watery or separated, the pie is still safe to eat if it has been refrigerated the whole time and is within the time window, but the texture will be poor. If the crust is soft and soggy all the way through, it has absorbed too much moisture and is unpleasant to eat, though not necessarily unsafe. Trust your senses: if something looks or smells wrong, throw it out.

Freezing Pie for Longer Storage

If you want to keep pie longer than four days, freezing is the best option. Fruit pies freeze well and can last up to two months. Wrap the whole pie tightly in plastic wrap, then wrap it again in foil or place it in a freezer bag to prevent freezer burn. Thaw it in the refrigerator overnight before serving—do not leave it on the counter, or bacteria can grow as it warms.

Cream pies and custard pies do not freeze as well. The filling can become grainy or separate when thawed, and the texture suffers. If you must freeze them, wrap them tightly and use them within one month. Thaw in the refrigerator and expect the filling to be less smooth than fresh pie.

Unbaked pie dough freezes better than baked pie. If you have extra dough, wrap it tightly and freeze it for up to three months. Thaw it in the refrigerator before rolling and baking. This is a practical way to extend the life of your baking work without compromising quality.

Storing Pie Crust Separately From Filling

If you are concerned about the crust becoming soggy, you can store the crust and filling separately. Bake the crust and let it cool completely, then wrap it in plastic wrap and store it in an airtight container. Store the filling in a separate airtight container. When you are ready to eat, assemble the pie by spooning the filling into the crust. This works best for cream pies and custard pies, where the filling is not baked into the crust.

For fruit pies, this method is less practical because the filling and crust are baked together and separating them changes the texture and flavor. Stick with wrapping the whole pie for fruit pies.

Frequently Asked Questions

Can I leave pie out on the counter overnight?

No. Pie should not sit at room temperature for more than two hours (one hour if it is above 90°F). After that, bacteria in the filling can multiply to unsafe levels. If you left pie out overnight, throw it away. This applies to all pies—fruit, cream, and custard.

Does homemade pie last longer than store-bought pie?

Homemade pie and store-bought pie have similar shelf lives in the refrigerator if stored the same way. Store-bought pies often contain preservatives that extend shelf life slightly, but the difference is usually just a day or two. Follow the same storage rules for both.

Why does my pie crust get soggy in the refrigerator?

The filling releases moisture as it sits, and that moisture is absorbed by the crust. Wrapping the pie tightly slows this process but does not stop it completely. This is why fruit pies last longer than cream pies—the filling is thicker and releases less liquid. If sogginess bothers you, eat the pie sooner or store the crust and filling separately.

Can I reheat pie before eating it?

Yes. Reheating pie to 165°F kills any bacteria that may have grown during storage. Warm it in a 350°F oven for 10 to 15 minutes, covered with foil to prevent the crust from browning further. This also restores some of the crust's crispness. Do not reheat pie more than once.

What is the best way to store a pie with a meringue top?

Meringue pies are tricky because the meringue absorbs moisture and becomes rubbery or weeps liquid. Store them in an airtight container rather than wrapped in plastic, which traps condensation. Eat meringue pie within two days for the best texture. Do not freeze meringue pies—the meringue will separate and become inedible.