There’s something undeniably comforting about biting into a soft, pillowy chocolate cookie sandwiched around a cloud of sweet cream filling. Whoopie pies are the kind of treat that instantly transports you to simpler times—school bake sales, cozy kitchen afternoons, and family gatherings where dessert was the highlight of the table. Their tender texture and nostalgic flavor make them perfect for everything from weekend baking projects to special celebrations.
I first fell in love with whoopie pies at a community fair where homemade desserts lined long wooden tables. One bite of that soft chocolate sandwich filled with creamy sweetness was unforgettable. Since then, I’ve worked to perfect a classic version that stays true to tradition while delivering bakery-quality results right from your own kitchen. This recipe captures that magic—rich chocolate cakes with a smooth, fluffy cream filling that holds its shape beautifully.

What Are Whoopie Pies?
Whoopie pies are classic American sandwich cookies made from two soft, cake-like chocolate rounds filled with a sweet cream center. Unlike crisp cookies, these have a tender crumb and moist texture, almost like miniature chocolate cakes. The filling is typically a smooth vanilla cream that balances the deep cocoa flavor perfectly.
Believed to have roots in Amish baking traditions, whoopie pies have become a beloved treat across the country. Their name supposedly comes from the delighted exclamation people made after tasting them. And honestly, once you try these homemade whoopie pies, you’ll understand why.
Why You’ll Love This Classic Whoopie Pie Recipe
-
Soft, tender chocolate cakes with rich cocoa flavor
-
Light, fluffy cream filling that’s not overly sweet
-
Easy-to-follow steps perfect for beginner and experienced bakers
-
Great for parties, lunchboxes, or holiday dessert tables
-
Make-ahead friendly and freezer-friendly
This recipe focuses on balance—deep chocolate flavor without bitterness and a filling that complements rather than overwhelms.
Ingredients You’ll Need
For the Chocolate Cookies
-
2 cups (250 g) all-purpose flour
-
¾ cup (75 g) unsweetened cocoa powder
-
1 ½ teaspoons baking soda
-
½ teaspoon baking powder
-
½ teaspoon salt
-
1 cup (200 g) granulated sugar
-
½ cup (100 g) packed light brown sugar
-
½ cup (115 g) unsalted butter, softened
-
1 large egg, room temperature
-
1 cup (240 ml) buttermilk, room temperature
-
1 teaspoon pure vanilla extract
For the Cream Filling
-
½ cup (115 g) unsalted butter, softened
-
1 cup (200 g) vegetable shortening
-
3 cups (360 g) powdered sugar, sifted
-
1 tablespoon (15 ml) milk
-
1 ½ teaspoons pure vanilla extract
-
Pinch of salt
Step-by-Step Instructions
1. Prepare Your Baking Sheets
Preheat your oven to 350°F (175°C). Line two baking sheets with parchment paper to prevent sticking and ensure even baking.
2. Mix the Dry Ingredients
In a medium bowl, whisk together:
-
2 cups (250 g) all-purpose flour
-
¾ cup (75 g) unsweetened cocoa powder
-
1 ½ teaspoons baking soda
-
½ teaspoon baking powder
-
½ teaspoon salt
Whisk thoroughly to remove lumps and evenly distribute the leavening agents.
3. Cream the Butter and Sugars
In a large mixing bowl, beat:
-
½ cup (115 g) unsalted butter
-
1 cup (200 g) granulated sugar
-
½ cup (100 g) light brown sugar
Beat until light and fluffy, about 3–4 minutes. This step helps create soft, airy cookies.
Add 1 large egg and beat until fully incorporated. Mix in 1 teaspoon vanilla extract.
4. Alternate Wet and Dry Ingredients
Gradually add the dry mixture in three parts, alternating with:
-
1 cup (240 ml) buttermilk
Begin and end with the dry ingredients. Mix just until combined—avoid overmixing to keep the cookies tender.
5. Scoop and Bake
Using a medium cookie scoop (about 1 ½ tablespoons of batter per cookie), drop rounded portions onto prepared baking sheets, spacing them about 2 inches apart.
Bake for 10–12 minutes, or until the tops spring back when lightly touched.
Allow cookies to cool on the baking sheet for 5 minutes before transferring to a wire rack to cool completely.

Making the Classic Cream Filling
1. Beat the Fats
In a large bowl, beat together:
-
½ cup (115 g) unsalted butter
-
1 cup (200 g) vegetable shortening
Beat until smooth and creamy.
2. Add Powdered Sugar
Gradually mix in:
-
3 cups (360 g) powdered sugar
Beat on low speed to prevent a sugar cloud, then increase to medium until fluffy.
3. Flavor and Finish
Add:
-
1 tablespoon (15 ml) milk
-
1 ½ teaspoons vanilla extract
-
Pinch of salt
Beat until light, fluffy, and smooth—about 3–4 minutes.
Assembling the Whoopie Pies
Once the cookies are completely cool:
-
Turn half of the cookies flat side up.
-
Pipe or spoon about 2 tablespoons of filling onto each.
-
Gently top with another cookie, pressing lightly to spread the filling to the edges.
For clean edges, use a piping bag fitted with a round tip.
Tips for Perfect Whoopie Pies
Use Room Temperature Ingredients
Butter, egg, and buttermilk blend more smoothly and create better texture.
Don’t Overbake
Overbaking leads to dry cookies. They should feel soft but set when removed from the oven.
Measure Flour Correctly
Spoon flour into your measuring cup and level it off to avoid dense cookies.
Chill the Filling if Needed
If the filling feels too soft, refrigerate it for 15–20 minutes before assembling.
Storage and Make-Ahead Instructions
Store assembled whoopie pies in an airtight container at room temperature for up to 3 days. For longer storage, refrigerate up to 5 days. Bring to room temperature before serving for the softest texture.
To freeze, wrap each assembled whoopie pie individually in plastic wrap and freeze for up to 2 months. Thaw overnight in the refrigerator.
Flavor Variations to Try
-
Add ½ teaspoon espresso powder to enhance chocolate flavor
-
Swap vanilla filling for marshmallow-style cream
-
Add mini chocolate chips to the filling
-
Make festive versions with colored filling for holidays
Frequently Asked Questions
1. Why are my whoopie pies flat?
Flat whoopie pies are usually caused by overly warm batter or expired leavening agents. Make sure your baking soda and baking powder are fresh. If your kitchen is warm, chill the batter for 20–30 minutes before baking. Also, avoid overmixing, which can break down structure and cause spreading. Measuring flour properly is essential; too little flour can lead to thin, flat cookies.
2. Can I substitute buttermilk?
Yes. If you don’t have buttermilk, you can make a substitute by adding 1 tablespoon (15 ml) of lemon juice or white vinegar to 1 cup (240 ml) of milk. Let it sit for 5 minutes before using. The acidity is important because it reacts with baking soda to create the soft, cake-like texture whoopie pies are known for. Plain milk alone won’t provide the same tenderness.
3. How do I keep the filling from squeezing out?
Use the right amount of filling—about 2 tablespoons per sandwich—and avoid pressing too firmly when assembling. Chilling the filling slightly before piping can help it hold its shape. Also, ensure cookies are completely cool before assembling. Warm cookies will melt the filling and cause sliding.
4. Can I make whoopie pies ahead of time?
Absolutely. Whoopie pies often taste even better the next day because the filling slightly softens the cookies. Store them in an airtight container in the refrigerator for up to 5 days. If making further in advance, freeze them individually wrapped. When ready to serve, let them thaw slowly in the refrigerator and bring to room temperature for the best texture and flavor.

Final Thoughts
Classic whoopie pies are more than just a dessert—they’re a comforting reminder that simple ingredients can create something truly special. The soft chocolate cakes combined with the light, creamy filling strike the perfect balance between richness and sweetness. Each bite delivers a nostalgic experience that feels both homemade and bakery-worthy.
What makes this recipe especially rewarding is its versatility and reliability. Whether you’re baking for a birthday party, holiday gathering, school event, or just a cozy weekend treat, whoopie pies always bring smiles. They’re easy enough for beginner bakers yet impressive enough to share proudly.
The texture is what truly sets these apart. Unlike traditional cookies, whoopie pies remain soft and tender, even after a day or two. The cream filling stays fluffy and smooth, complementing the deep cocoa flavor without overpowering it. When stored properly, they maintain their freshness beautifully.
Baking whoopie pies also invites creativity. Once you master the classic version, you can experiment with different flavors, fillings, and decorations. But no matter how you customize them, the heart of the recipe remains the same: soft chocolate rounds and a luscious cream center.
If you’ve never made whoopie pies from scratch, this is your sign to try. With straightforward steps and dependable results, you’ll quickly see why these beloved sandwich cookies have stood the test of time.
PrintWhoopie Pies – Classic Soft Chocolate Sandwich Cookies with Cream Filling
Soft, cake-like chocolate cookies sandwiched with a fluffy vanilla cream filling. These classic whoopie pies are rich, tender, and perfect for any occasion.
Ingredients
For the Chocolate Cookies:
-
2 cups (250 g) all-purpose flour
-
¾ cup (75 g) unsweetened cocoa powder
-
1 ½ teaspoons baking soda
-
½ teaspoon baking powder
-
½ teaspoon salt
-
1 cup (200 g) granulated sugar
-
½ cup (100 g) packed light brown sugar
-
½ cup (115 g) unsalted butter, softened
-
1 large egg
-
1 cup (240 ml) buttermilk
-
1 teaspoon pure vanilla extract
For the Cream Filling:
-
½ cup (115 g) unsalted butter, softened
-
1 cup (200 g) vegetable shortening
-
3 cups (360 g) powdered sugar
-
1 tablespoon (15 ml) milk
-
1 ½ teaspoons pure vanilla extract
-
Pinch of salt
Instructions
-
Preheat oven to 350°F (175°C) and line baking sheets with parchment paper.
-
Whisk together flour, cocoa powder, baking soda, baking powder, and salt.
-
In a separate bowl, beat butter and sugars until light and fluffy.
-
Add egg and vanilla extract; mix well.
-
Alternate adding dry ingredients and buttermilk, mixing just until combined.
-
Scoop batter onto baking sheets and bake for 10–12 minutes. Cool completely.
-
Beat butter and shortening until smooth for the filling.
-
Gradually add powdered sugar, then milk, vanilla, and salt. Beat until fluffy.
-
Pipe filling onto half the cookies and sandwich with remaining cookies.
Notes
-
Use room temperature ingredients for best texture.
-
Do not overbake to maintain softness.
-
Store in an airtight container for up to 5 days.
-
Freeze individually wrapped for up to 2 months.



