Once the cookies are assembled, store the whoopie pies in the refrigerator for up to 3 days. If you stack them, make sure you put a piece of parchment paper or wax paper in between the layers so they don't stick together. You can also freeze the whoopie pies for up to 2 months. Wrap them individually in plastic wrap and freeze in a freezer container or bag.