Baked and filled whoopie pies can be stored in the fridge for up to 2 days. Unfilled, baked cakes can be stored in a freezer-safe bag and frozen for up to 2 months. Defrost and fill with icing.