Shoofly Whoopie Pie: Molasses Cake + Fluffy Filling

Updated November 22, 2026

Total time
42 min
prep 30 min · cook 12 min
Serves
12
portions as written

Jump to recipe

Shoofly whoopie pie is a Pennsylvania Dutch classic that combines the deep, caramel-like flavor of shoofly pie with the soft, handheld format of a whoopie pie. Two tender molasses cakes sandwich a light, marshmallow-like filling, making a dessert that is rich without being heavy. The filling balances the molasses’s slight bitterness, and the whole thing comes together in about an hour with simple pantry ingredients.

Ingredients

  • 2 cups (250 g) all-purpose flour
  • 1 tsp baking soda
  • 1/2 tsp baking powder
  • 1/2 tsp salt
  • 1 tsp ground cinnamon
  • 1/2 tsp ground ginger
  • 1/4 tsp ground cloves
  • 1/2 cup (115 g) unsalted butter, softened
  • 1/2 cup (100 g) packed light brown sugar
  • 1 large egg, at room temperature
  • 1/2 cup (170 g) molasses (not blackstrap)
  • 1/2 cup (120 ml) buttermilk, at room temperature
  • 1 tsp vanilla extract

For the filling:

  • 1/2 cup (115 g) unsalted butter, softened
  • 1 cup (120 g) confectioners’ sugar
  • 1 jar (7 oz / 198 g) marshmallow fluff (about 2 cups)
  • 1 tsp vanilla extract
  • Pinch of salt

Instructions

  1. Preheat the oven to 350°F (175°C). Line two baking sheets with parchment paper.
  2. In a medium bowl, whisk together the flour, baking soda, baking powder, salt, cinnamon, ginger, and cloves. Set aside.
  3. In a large bowl, beat the softened butter and brown sugar with an electric mixer until light and fluffy, about 2 minutes. Add the egg and beat until combined, then beat in the molasses and vanilla.
  4. With the mixer on low, add the flour mixture in three additions, alternating with the buttermilk, starting and ending with the flour. Mix just until combined—do not overmix.
  5. Scoop the batter onto the prepared baking sheets using a 1.5-tablespoon cookie scoop (about 1.5 inches in diameter), spacing them 2 inches apart. You should get about 24 rounds.
  6. Bake for 10–12 minutes, until the tops spring back when lightly touched. Let cool on the baking sheets for 5 minutes, then transfer to a wire rack to cool completely.
  7. While the cakes cool, make the filling: In a large bowl, beat the softened butter and confectioners’ sugar until smooth. Add the marshmallow fluff, vanilla, and salt, and beat until light and fluffy, about 2 minutes.
  8. To assemble, turn half the cakes upside down. Spoon or pipe about 1 tablespoon of filling onto each upside-down cake, then top with the remaining cakes, pressing gently to spread the filling to the edges.

Tips

  • Molasses matters: Use regular molasses (sometimes labeled “dark molasses”), not blackstrap, which is too bitter and intense. If you only have blackstrap, use 1/3 cup (113 g) and add 2 tablespoons of honey or maple syrup to soften the flavor.
  • Buttermilk substitute: If you don’t have buttermilk, stir 1/2 tablespoon of lemon juice or white vinegar into 1/2 cup (120 ml) of milk and let it sit for 5 minutes before using.
  • Don’t overmix: Overmixing the batter will make the cakes tough. Mix just until the flour disappears.
  • Even baking: Use a cookie scoop for uniform size, which ensures they bake evenly and pair up nicely.

Serving Suggestions

Serve these whoopie pies at room temperature with a glass of cold milk or coffee. They’re also great on a Thanksgiving dessert table alongside pumpkin pie or apple cider. For a plated dessert, dust with powdered sugar and add a dollop of whipped cream.

Variations

  • Spiced: Add 1/4 tsp of nutmeg or allspice to the dry ingredients.
  • Chocolate filling: Swap the marshmallow fluff for an equal amount of chocolate buttercream, or add 2 tablespoons of cocoa powder to the filling.
  • Lemon: Add 1 teaspoon of lemon zest to the cake batter and replace the vanilla in the filling with 1/2 teaspoon of lemon extract.
  • Gluten-free: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture will be slightly more tender.

Storage and Reheating

Store assembled whoopie pies in an airtight container at room temperature for up to 3 days. For longer storage, freeze the unfilled cakes for up to 3 months, then thaw and fill as needed. The filling can be made ahead and refrigerated for up to 5 days—bring it to room temperature and re-whip before using. If you prefer them slightly warm, microwave one for 10–15 seconds, but note the filling will get soft.

Frequently Asked Questions

Can I use a different type of molasses? Yes, but avoid blackstrap. Light molasses works, but the flavor will be milder. If using blackstrap, reduce the amount and add a little honey or maple syrup to balance the bitterness.

Why did my cakes spread too much? The batter may have been too warm, or the baking sheets were too greased. Chill the batter for 15 minutes before scooping, and use parchment paper without extra grease.

Can I make the filling without marshmallow fluff? Yes, you can make a simple buttercream by beating 1/2 cup (115 g) butter with 2 cups (240 g) confectioners’ sugar, 2 tablespoons milk, and 1 teaspoon vanilla. The texture will be denser and less fluffy.

How do I know when the cakes are done? The tops should spring back when lightly pressed, and a toothpick inserted into the center should come out clean. Be careful not to overbake, or they’ll be dry.

Can I freeze the assembled whoopie pies? Yes, wrap each individually in plastic wrap, then place in a zip-top bag. Freeze for up to 2 months. Thaw in the refrigerator overnight or at room temperature for a few hours.

What if I don’t have a cookie scoop? Use a tablespoon to drop rounded mounds of batter. Try to make them uniform in size so they bake evenly.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).