Chocolate Whoopie Pies
The first time my kids came home talking about whoopie pies, it was after a school bake sale where the whole tray sold out before lunch. I went looking for what the fuss was about, made a batch that Saturday, and understood within one bite. Two soft chocolate cake rounds, a thick swoop of marshmallow filling, and a dessert you eat with your hands like a sandwich.
Whoopie pies come from New England and Pennsylvania Dutch country, where they have been lunchbox regulars for generations. The cakes bake up domed and tender, more like a soft cookie than a slice of cake, and the filling is sweet, fluffy, and just a little sticky in the way that makes you lick your fingers.
They are the kind of treat that disappears in order: first from the cooling rack, then from the cookie tin, then from any plate you set them on. Make a batch for a bake sale and you will see exactly what I mean.
Why You’ll Love This Recipe
- The cakes bake in about ten minutes a batch, so a whole tray of sandwiches comes together fast.
- Marshmallow creme filling whips up in minutes and holds its shape between the cakes.
- They are portioned and portable, which makes them perfect for lunchboxes, picnics, and bake sales.
- The chocolate cakes stay soft for days, so the pies taste fresh long after baking day.
- Kids can help fill and sandwich them, and the slightly crooked ones taste just as good.

Ingredient Notes and Easy Substitutions
The cake rounds are a simple cocoa batter. Regular unsweetened cocoa powder gives the classic flavor, and the brown sugar keeps the crumb moist and adds a little depth. Buttermilk is the liquid that makes these cakes tender, and it reacts with the baking soda to give them their gentle dome. If you do not have buttermilk, stir a tablespoon of lemon juice or white vinegar into a cup of regular milk and let it sit for five minutes. It works the same way.
Butter is my choice for both the cakes and the filling because the flavor is better than shortening in a recipe this simple. Make sure it is softened but not melted, so the batter creams up light and the filling whips up fluffy. The egg should be at room temperature for the same reason. Everything blends smoother and the cakes rise more evenly.
The filling is butter, powdered sugar, and a jar of marshmallow creme. That jar is the whole secret to the classic texture, and there is no shame in it. If you want a cream cheese version, swap half the butter for softened cream cheese and add an extra spoonful or two of powdered sugar. A peanut butter filling, made by beating a quarter cup of peanut butter into the batch, is a variation our family asks for by name.
Step by Step Overview and Practical Kitchen Tips
Heat the oven to 350 degrees F and line two baking sheets with parchment paper. Whisk the flour, cocoa powder, baking soda, and salt in a medium bowl. In a large bowl, beat the butter and brown sugar until light and fluffy, about two minutes. Beat in the egg and vanilla. Add the dry ingredients in three parts, alternating with the buttermilk, and mix just until the batter comes together. It will be thick, closer to a cookie dough than a cake batter, and that is right.
Drop the batter by rounded two tablespoon scoops onto the pans, leaving two inches between them, since the cakes spread as they bake. A cookie scoop keeps them all the same size, which matters when it is time to match up pairs. Bake for 10 to 12 minutes, until the tops spring back when touched lightly. Let the cakes cool on the pan for five minutes, then move them to a rack and cool them completely. Warm cakes will melt the filling right out the sides.
Beat the filling ingredients until fluffy. Turn half the cakes flat side up, spread or pipe a generous spoonful of filling on each, and top with the matching cakes, pressing gently until the filling reaches the edges. If hand held chocolate treats are your weakness, our Chocolate Chip Cookie Bars are the pan version, the Peanut Butter Cookies with Fork Marks are the classic cookie jar pick, and the Red Velvet Crinkle Cookies bring the same soft, cakey bite in a bright red coat.
Storage, Freezing, and Reheating
Store the filled pies in an airtight container with parchment between the layers. They keep at room temperature for about 2 days and in the refrigerator for up to 5 days, and the cakes stay soft either way. Cold from the fridge, the filling firms up like a candy bar center, which some of us prefer.
To freeze, wrap each pie in plastic wrap and gather them in a freezer bag. They keep their best quality for about 3 months. The unfilled cakes also freeze well on their own if you want to fill them fresh later.
There is no reheating needed. Thaw frozen pies in their wrapping on the counter for about 30 minutes and they are ready to eat. If a refrigerated pie feels a little firm, ten minutes on the counter softens the filling back up.

FAQs
Why did my cakes spread flat?
The butter was probably melted or too warm, or the batter sat too long before baking. Use softened butter that still holds its shape, and get the pans into the oven soon after scooping. Chilling the scooped batter for ten minutes also helps.
How do I get the cakes all the same size?
Use a cookie scoop, the two tablespoon size, and level it off each time. Even scoops bake evenly and pair up neatly, and the pies look like they came from a bakery case.
Can I make the cakes ahead and fill them later?
Yes. The unfilled cakes keep for 2 days in an airtight container or 3 months in the freezer. Fill them the day you plan to serve them so the filling stays fluffy and the edges look neat.
My filling is too soft and squishes out. What can I do?
Beat in another quarter cup of powdered sugar and chill the filled pies for twenty minutes. Also make sure the cakes were completely cool before filling, since even a little warmth melts the butter in the filling.
Soft chocolate cakes, a cloud of marshmallow filling, and a treat that fits in one hand. Bake them once and they will be requested by name at your house too.

Chocolate Whoopie Pies
Ingredients
- 2 cups all purpose flour
- 1/2 cup unsweetened cocoa powder
- 1 1/2 teaspoons baking soda
- 1/2 teaspoon salt
- 1/2 cup unsalted butter softened
- 1 cup packed brown sugar
- 1 large egg room temperature
- 1 teaspoon vanilla extract
- 1 cup buttermilk
- 1/2 cup unsalted butter softened
- 1 cup powdered sugar
- 1 jar (7 ounces) marshmallow creme
- 1 teaspoon vanilla extract
- Pinch of salt
Instructions
- Heat the oven to 350 degrees F. Line two baking sheets with parchment paper.
- Whisk the flour, cocoa powder, baking soda, and 1/2 teaspoon salt in a medium bowl. In a large bowl, beat the 1/2 cup butter and the brown sugar until light and fluffy.
- Beat in the egg and 1 teaspoon vanilla. Add the dry ingredients in three parts, alternating with the buttermilk, mixing just until combined.
- Drop the batter by rounded 2 tablespoon scoops onto the pans, 2 inches apart. Bake for 10 to 12 minutes, until the tops spring back when touched. Cool on the pan for 5 minutes, then move to a rack and cool completely.
- Beat the remaining 1/2 cup butter, the powdered sugar, marshmallow creme, 1 teaspoon vanilla, and the pinch of salt until fluffy.
- Spread or pipe filling onto the flat side of half the cakes and top with the remaining cakes, pressing gently. This makes 12 whoopie pies.