To store whoopie pies, place them in an airtight container or wrap them individually in plastic wrap and keep them in the refrigerator to maintain their freshness and texture.