If you can, serve pies the day they were made instead of refrigerating them. But if you do need to store your pies ahead, apple and other fruit pies keep at room temperature for up to two days, then in the fridge for two more; pumpkin, custard, or other egg/dairy-based pies can be stored in the fridge for up to four days. Pie dough can keep for two to three days in the fridge, or up to three months in the freezer.