Desserts
This Hershey whoopie pie recipe delivers the perfect balance of crispy cake layers and rich, swirled chocolate filling—just like the classic bakery treat. The secret lies in using Hershey’s chocolate for the filling, which creates that signature gooey texture with every bite.
I’ve perfected this recipe over years of baking, ensuring the cake stays tender while the edges achieve that satisfying crunch.
The cake layers are light and fluffy, baked to a golden brown that signals perfect doneness, while the filling is thick and velvety, holding together beautifully between the two halves. This recipe requires only a few simple ingredients, but the result is a dessert that feels indulgent and homemade.
The key is patience—allowing the filling to set properly before assembling ensures clean slices every time.
By the time you’re done, you’ll have crispy-edged whoopie pies with a satisfying snap that gives way to moist cake and rich chocolate filling. The combination of Hershey’s chocolate and vanilla cake creates a flavor profile that’s nostalgic yet refined.
These pies are perfect for potlucks, birthdays, or simply satisfying a chocolate craving.
For an extra touch, dust the tops with powdered sugar or drizzle with melted chocolate. The recipe scales easily, so you can make a batch for a crowd or just a few for a special treat. Let’s get baking—these whoopie pies are a crowd-pleaser every time.
Ingredients for hershey whoopie pie
Twelve simple ingredients for nostalgic, crisp-edged whoopie pies with velvety chocolate swirls.
| Ingredient | Amount | Notes |
|---|---|---|
| Hershey's Semi-Sweet Chocolate Bars 🍫 | 8 oz | Unwrapped, chopped into small pieces |
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted, spooned for accuracy |
| Granulated Sugar 🍚 | 2 cups | White sugar, packed lightly |
| Brown Sugar 🍚 | ½ cup | Packed firmly, light brown |
| Unsalted Butter 🧈 | 1 cup | Cold, cubed, full-fat preferred |
| Large Eggs 🥚 | 2 whole | Room temperature, beaten |
| Vanilla Extract 🍯 | 2 tsp | Pure, high-quality extract |
| Baking Powder 🍞 | 1 ½ tsp | Aluminum-free, fresh |
| Salt 🧂 | ½ tsp | Fine sea salt, Diamond Crystal |
| Powdered Sugar 🍚 | 1 cup | For dusting, sifted |
| Vegetable Oil 🫒 | ¼ cup | Light, neutral flavor |
| Milk 🥛 | ½ cup | Whole milk, room temperature |
The chocolate matters most—Hershey's semi-sweet bars are non-negotiable for that classic bakery texture. Grab the full-size bars from Walmart or Target for consistency; the mini bars sometimes vary. Chop them into small, even pieces—this ensures smooth melting without lumps. For the cake layers, King Arthur flour or Bob's Red Mill gives the best texture, but any high-quality all-purpose works. The butter should be cold but workable—take it out 20 minutes before mixing. Pro tip: use a digital kitchen scale for the chocolate and butter to avoid packing issues with cups.
No Hershey's bars? Wilton or Guittard semi-sweet chocolate chips work in a pinch, but melt them separately to avoid burning. Swap brown sugar for white sugar plus 1 tsp molasses if needed. For a lighter texture, replace 2 tbsp of flour with 2 tbsp cornstarch. The vanilla extract is crucial—Nielsen-Massey or McCormick Pure elevate the flavor. If you're vegan, use flax eggs (2 tbsp ground flax + 6 tbsp water per egg) and coconut oil instead of butter. For the filling, if you want extra richness, add 1 oz cream cheese to the melted chocolate mixture—trust me, it's worth it.
Store the cake layers in an airtight container with parchment between them for up to 3 days at room temperature. The filling keeps for 5 days in the fridge, but once assembled, whoopie pies are best enjoyed within 2 days for maximum crispness. Freeze assembled pies (unfrosted) for up to 3 months—thaw at room temperature for 1 hour before serving. To reheat, warm for 10 seconds in the microwave between paper towels for that bakery-fresh crunch. Make a double batch—they disappear fast!
Why You'll Love This Recipe
- No Mixer Needed: I swear by this recipe because it’s all about the mixing bowl—no fancy equipment, just a whisk and your hands. The butter and sugars cream together in seconds, and the flour comes together like a dream. Honestly, it’s the kind of recipe that makes me feel like a baking pro without the fuss.
- Rich Chocolate Magic: That Hershey’s bar isn’t just an ingredient—it’s the star. Melted into the batter, it gives these whoopies a deep, fudgy richness that’s dangerously satisfying. The brown sugar adds just enough caramel depth to make every bite feel like a little treat, not just dessert.
- Party in a Box: These are my go-to for birthdays, potlucks, or even a last-minute teacher gift. They travel well, stack neatly, and—between us—kids love them. I’ll often make a double batch because they disappear faster than I can say “second helping.”
- Budget Baking Wins: Flour, sugar, butter, and a chocolate bar? That’s it. No specialty items, no markup—just pure, affordable indulgence. And the best part? They keep for days in the fridge, so I can bake once and enjoy them all week without guilt. My wallet (and my taste buds) thank me.
Step-by-step instructions for chocolate whoopie pies
Here's how to create those legendary crispy-edged whoopie pies with melt-in-your-mouth chocolate swirls.
Prepare the Chocolate Batter
Preheat your oven to 350°F and line two baking sheets with parchment paper. In a medium saucepan, melt the 1 cup unsalted butter over low heat until completely smooth. Remove from heat and let cool slightly.
In a large mixing bowl, whisk together the 2 cups granulated sugar, 0.5 cup brown sugar, and 0.5 cup milk. Add the cooled butter and whisk until fully combined. Beat in the 2 whole large eggs, one at a time, mixing well after each addition. Stir in the 2 tsp vanilla extract until fully incorporated.
In a separate bowl, sift together the 2.5 cups all-purpose flour, 1.5 tsp baking powder, and 0.5 tsp salt. Gradually add the dry ingredients to the wet mixture, whisking just until combined. The batter should be thick but pourable. Fold in the 8 oz chopped Hershey's semi-sweet chocolate bars, reserving a few pieces for garnish if desired. This ensures each bite has that signature chocolatey punch.
Bake the Whoopie Pie Cakes
Using a cookie scoop or tablespoon, drop 1.5-tablespoon portions of batter onto the prepared baking sheets, spacing them about 2 inches apart. The cakes should be about 1.5 inches in diameter—this size creates that perfect ratio of cake to filling.
Bake for 12-14 minutes until the edges are deep golden brown and the tops spring back when gently touched. Here's the thing—don't overbake. You want them to hold their shape but remain tender inside. A toothpick inserted should come out with a few moist crumbs, not completely clean. Let the cakes cool on the baking sheets for 5 minutes before transferring to a wire rack to cool completely.
Create the Chocolate Swirl Filling
In a small saucepan, combine 0.25 cup vegetable oil and 1 cup powdered sugar. Cook over low heat, stirring constantly, until the mixture reaches 115°F—this is the perfect temperature for a smooth, spreadable filling that won't melt too quickly. Remove from heat and let cool for 5 minutes. The filling should thicken slightly as it cools, becoming a glossy, pipeable consistency.
For an extra decadent touch, fold in 2 tablespoons of the reserved chopped chocolate bars into the warm filling. This gives you those beautiful marbled swirls when you assemble the pies. If the filling cools too much and becomes too thick, gently reheat it for 10-15 seconds in the microwave, stirring between intervals.
Assemble and Dust with Powdered Sugar
Once the cakes are completely cool, place a generous teaspoon of filling onto the flat side of one cake. Press a second cake on top to create a sandwich. The filling should be thick enough to hold the cakes together without oozing out immediately.
Here's the moment you've been waiting for—dust each assembled whoopie pie generously with powdered sugar. Use a fine-mesh sieve for an even, snowy coating. This isn't just for looks; the powdered sugar adds a delicate sweetness that contrasts beautifully with the rich chocolate. Let the pies sit for 10 minutes before serving to allow the sugar to settle and create that signature dusted appearance.
Serve and Enjoy Immediately
Whoopie pies are best enjoyed fresh, so serve them immediately after assembly. The contrast between the crispy edges of the cake and the soft, swirled filling is what makes these pies legendary. Each bite should deliver that perfect balance of textures—crunchy exterior, tender cake, and creamy chocolate filling.
For an extra-special presentation, arrange them on a platter and dust with additional powdered sugar just before serving. These pies pair perfectly with a glass of cold milk or a warm cup of coffee. The secret to their success lies in the crispy edges—achieved by baking at the right temperature and not overmixing the batter. Trust the process, and you'll have whoopie pies that taste like they came straight from a classic bakery!
Pro Tips For Making Hershey Whoopie Pie
- Melt Chocolate Slowly: I learned this the hard way—dumping chopped Hershey’s bars straight into hot butter will seize them into a lumpy mess. Instead, melt the butter first, then lower the heat to medium-low and add the chocolate a few pieces at a time, stirring until fully smooth. (Yes, it takes 2-3 minutes longer, but your filling won’t look like it was made with sand.)
- Sift That Flour: Whoopie pie batter is dense enough without flour clumps weighing it down. Sift the all-purpose flour directly into your mixing bowl before adding any wet ingredients—this lightens the texture and prevents those dreaded dry spots in the middle. (I used to skip this, and my whoopies always felt heavy.)
- Don’t Overmix the Batter: Once you’ve combined the wet and dry ingredients, mix just until the flour disappears—about 10-12 strokes. Overmixing develops gluten, and suddenly you’ve got chewy cake instead of light, tender whoopie layers. (Your mixer’s timer is your friend here.)
- Chill the Batter: Sounds weird, but it works: let the batter rest for 10-15 minutes before baking. This lets the flour absorb the liquid, prevents excessive spreading, and guarantees a cleaner rise. (I was skeptical until I tried it—now I never skip it.)
Pro cooking tips for hershey whoopie pie
Batter Consistency
Your whoopie pie batter should be thick but pourable—like a cross between cookie dough and cake batter. I use a stand mixer on low speed (2-3 minutes) to combine wet and dry ingredients just until smooth. Overmixing develops gluten, which makes the cakes tough.
Test consistency by lifting the batter with your spatula—it should hold its shape but still flow when poured. If too thick, add 1-2 tablespoons milk; if too thin, stir in 1 tablespoon flour. The key is room-temperature ingredients—this prevents lumps and ensures even baking. 💡
Chocolate Melting
Never melt Hershey's chocolate bars directly over high heat—they burn easily and develop a bitter taste. Instead, use a double boiler (or a heatproof bowl over simmering water) and keep the temperature below 110°F.
For the filling, I melt 8 oz chocolate with ¼ cup vegetable oil and 1 cup powdered sugar on low heat, stirring constantly. Remove from heat when it reaches 115°F—this ensures a smooth, pipeable consistency without graininess.
If you're in a hurry, microwave in 20-second bursts, stirring between each, but watch closely to avoid scorching. 🔥
Baking Time
The 12-14 minute bake time is critical—any longer and the edges burn while the centers stay underdone. I recommend baking on the middle rack in your oven for even heat distribution. The cakes are done when they're deep golden brown with a springy texture when pressed gently.
A toothpick should come out with moist crumbs, not wet batter. Let them cool for 5 minutes on the baking sheet before transferring—they'll firm up as they cool, making them easier to handle. Pro tip: Rotate the baking sheets halfway through for even browning. ⏰
Filling Temperature
Your chocolate filling must be 115°F when you pipe it—this is the sweet spot for a thick, spreadable texture that holds the cakes together without melting immediately. Use a candy thermometer for accuracy.
If the filling cools too much and thickens, gently reheat it in 10-second microwave bursts, stirring between each. For extra richness, fold in 2 tablespoons of the reserved chopped chocolate while still warm—this creates those marbled swirls when you assemble. 💫
Assembling Like a Pro
Use a small offset spatula to spread the filling evenly on the flat side of one cake—about 1 teaspoon per pie. Press the second cake on top firmly but gently to avoid squishing the filling.
For a clean slice, chill the assembled pies in the fridge for 10 minutes before serving. This helps the filling set slightly, making it easier to cut through without smudging. Dust with powdered sugar just before serving—this prevents clumping and adds that bakery-fresh look. 🥄
Crispy Edge Secrets
The crispy edges are what make whoopie pies legendary, and they start with cold butter in the batter. Use 1 cup cold, cubed butter (not softened) for maximum crispness. Bake at 350°F—any hotter and the edges burn before the centers cook.
For extra crunch, I brush the tops of the cakes with a little milk right after baking, then sprinkle with powdered sugar while still warm. This creates a delicate crust that contrasts beautifully with the tender interior. 🌟
Nutrition facts
Frequently asked questions
Can I make these whoopie pies without Hershey's chocolate bars?
You can substitute with Wilton or Guittard semi-sweet chocolate chips in a pinch, but melt them separately to avoid burning. For a closer texture, use 8 oz of chips instead of bars. The key is maintaining that signature rich, creamy chocolate flavor—Hershey's bars are ideal because they melt smoothly without graininess. If you're avoiding dairy, try Enjoy Life semi-sweet chocolate chips (vegan-friendly).
Why are my whoopie pie cakes spreading too much in the oven?
Overmixing the batter develops gluten, causing cakes to spread. Mix just until combined—stop when the batter holds its shape but still flows. Also, ensure your butter is cold (not softened) and use room-temperature eggs. Chill the batter for 15 minutes before scooping if your kitchen is warm. Finally, check your oven temperature—if it runs hot, reduce to 340°F for even baking.
How do I store homemade whoopie pies?
Keep cake layers in an airtight container with parchment between them for up to 3 days at room temperature. The filling lasts 5 days in the fridge, but assembled pies are best enjoyed within 2 days for maximum crispness. For longer storage, freeze unfrosted pies for 3 months. Thaw at room temperature for 1 hour before serving. Reheat for 10 seconds in the microwave between paper towels to restore crunch.
Can I make whoopie pies with a boxed cake mix?
While possible, homemade cake layers yield better texture and flavor. If using a mix, choose a high-quality vanilla or chocolate cake mix (like Betty Crocker or Duncan Hines) and follow package instructions for 12-14 minutes at 350°F. For a shortcut, bake the mix into 1.5-inch rounds using a cookie cutter. The key is still the homemade chocolate filling—it's what makes these pies special!
What's the best way to cut whoopie pies for clean slices?
Chill assembled pies in the fridge for 10 minutes before cutting—this firms up the filling. Use a serrated knife and dip it in hot water, wipe dry, and cut straight down. For extra flair, dust with powdered sugar just before serving. If the filling oozes, let the pies sit at room temperature for 5 minutes first to soften slightly.
