In my American kitchen, “German chocolate” has always meant comfort, not geography, the kind of sweet that shows up at potlucks and family birthdays. But the first time I turned those familiar flavors into german chocolate whoopie pies, I realized something, portability makes people grin before they even take a bite.
These are part cake, part cookie, with that classic coconut-pecan custard tucked inside, plus my not-so-shy upgrade: a salted espresso ganache layer. It’s the sort of twist that makes the chocolate taste deeper, the sweetness feel calmer, and the whole sandwich feel bakery-level without being fussy.
Why You’ll Love This Recipe
The grown-up twist: The salted espresso ganache turns a nostalgic treat into something you’d proudly serve with a post-dinner coffee, and it still plays nicely with the traditional custard.
Chocolate that tastes louder: In my kitchen, a touch of espresso powder acts like a flavor amplifier for the chocolate, the cocoa tastes rounder and more intense without reading as “coffee.”
That perfect bite contrast: You get soft, airy cakes, a sticky-silky coconut custard, crunchy pecans, and a glossy ganache that melts right on the tongue.
Ingredients and Substitutions
These ingredients build three layers of joy: tender cocoa cakes, a classic evaporated milk custard filling, and a quick ganache that adds depth and balance.
Ingredients
For the Whoopie Pie:
- 2 cups All purpose flour
- 5 tbsp Unsweetened cocoa powder
- 1 1/8 tsp Baking powder
- 1 tsp Baking soda
- 1/2 cup Solid vegetable shortening or unsalted butter (1 stick), room temperature
- 1 cup Granulated sugar
- 2 large Egg yolks
- 1 tbsp Vanilla extract
- 1 cup Whole milk
For the Filling:
- 1/2 cup Evaporated milk
- 2 large Egg yolks
- 1 tsp Vanilla extract
- 3/4 cup Granulated sugar
- 1/2 cup (1 stick) Chilled unsalted butter, cut into 1/2-inch cubes
- 1 1/2 cups Sweetened flaked coconut
- 3/4 cup Chopped toasted pecans
For the Ganache:
- 3 tbsp Heavy whipping cream
- 1/2 cup Milk chocolate chips
Ingredient Notes & Substitutions
Buttermilk: If you want an even softer crumb, swap the whole milk for buttermilk, the tang reacts beautifully with baking soda and can help the cakes rise a touch higher.
German’s Sweet Chocolate: For that classic mild, sweet-dark profile, melted German’s Sweet Chocolate can be worked into the batter, it’s the flavor many people remember from old-school German chocolate cake.
Sweetened flaked coconut vs. shredded coconut: Flaked coconut gives you those tender, noticeable pieces in the custard, while shredded coconut tends to disappear and can make the filling feel denser.
Pecans: Chopped toasted pecans bring the best crunch, and if you save a few pecan halves for garnish, the finished pies look straight out of a bakery case.
How to make german chocolate whoopie pies
Prep and Mix the Chocolate Cakes
- Heat the oven to 375°F, then line 2 large rimmed baking sheets with parchment paper so the cakes lift off cleanly without sticking.
- Sift the flour, unsweetened cocoa powder, baking powder, and baking soda into a medium bowl, you want the dry mix to look evenly colored and lump-free.
- In a stand mixer with a paddle attachment, or with an electric mixer, beat the shortening, sugar, egg yolks, and vanilla for about 2 minutes until the mixture looks creamy and lighter, with a smooth, almost fluffy sheen.
- Add the dry ingredients in 3 additions, alternating with the milk in 2 additions, mixing just until each addition disappears, the batter should look thick, glossy, and spoonable, not stiff.
Scoop and Bake
- Drop the batter by very rounded tablespoonfuls onto the prepared sheets, leaving 3 inches between portions so they can puff and spread without merging.
- Bake 1 sheet at a time for 8 to 10 minutes, the cakes should look slightly puffed and spread, with tops set but still soft when gently pressed.
- Let them cool on the baking sheet for 10 minutes, then carefully move them to a cooling rack and cool completely, warm cakes will steam and turn gummy once filled.
- Repeat with the remaining batter, and if you’re planning ahead, store the cooled cakes airtight in a single layer at room temperature for up to 1 day.
Cook the Coconut-Pecan Custard Filling
- In a heavy large saucepan, whisk the evaporated milk, egg yolks, and vanilla until fully blended, it should look silky and uniform with no streaks.
- Whisk in the sugar and a pinch of salt, then add the butter, it will start to melt around the edges as the pan warms.
- Cook over medium heat, stirring constantly for 8 to 10 minutes, until the mixture thickens, turns lightly golden, and an instant-read thermometer registers 175°F to 178°F, keep it below a boil to avoid curdling.
- Take the pan off the heat and stir in the coconut and toasted pecans, the filling should look glossy and spoon-thick, with plenty of texture.
- Transfer to a bowl and cool completely, stirring occasionally so it cools evenly, then cover and chill about 1 hour until slightly firmer.
Make the Ganache and Assemble
- Line 2 large rimmed baking sheets with parchment paper so the assembled pies have a clean landing spot.
- Bring the cream to a simmer in a small heavy saucepan, remove from the heat, add the milk chocolate chips, and whisk until smooth and shiny, then cool about 15 minutes until lukewarm but still spreadable.
- Spread about 1 tbsp filling on the flat side of half the cakes, set them filling-side up on the prepared sheet, then spoon 1 tsp ganache onto the flat side of the remaining cakes.
- Place the ganache-topped halves ganache-side down over the filling, press very gently to adhere, then cover and refrigerate airtight if making 1 day ahead.
Secrets to the Perfect Batch
Precision scooping matters: A #40 or #50 cookie scoop gives you evenly sized rounds, which means every sandwich lines up neatly and you don’t end up with lopsided whoopie pies.
The temperature rule is real: Make sure the cakes and the custard are 100% cool before assembly, otherwise the filling warms, loosens, and you get that frustrating sliding effect.
High-altitude sanity check: Above 3,000 feet, slightly reduce the baking powder and add a bit more liquid, it helps prevent the cakes from over-rising and collapsing.
When I’m dialing in the soft-baked cocoa texture, I think about the same tenderness you want in rich chocolate cookies. It’s all about not overworking the batter once the flour goes in.
Pro Tips & Troubleshooting
Pro Tips
- Toast your pecans and even the coconut first, the nutty aroma and deeper flavor are worth the extra few minutes.
- For a lighter, more cake-like bite, beat egg whites to stiff peaks separately and fold them in at the end, it adds air without toughness.
- Use parchment paper on every bake, it prevents sticking and keeps the bottoms tender, not over-browned.
- Let the ganache cool until it’s lukewarm, it should spread like soft frosting, not run like syrup.
Common Mistakes to Avoid
- The boiling trap: if the custard boils, the yolks can curdle, keep the heat moderate and watch that thermometer for 175°F to 178°F.
- Overworking the dough: once flour is added, mix only until blended, overmixing develops gluten and makes the cakes rubbery.
- Assembling warm: warm cakes or warm filling will melt the structure and cause sliding, patience pays off here.
If you love the coconut and pecan texture combo, the buttery chaos of earthquake cake scratches a similar itch. It’s a different vibe, but that same crunchy-sweet contrast shows up beautifully.
Serving & Storage
Serving Ideas
For an adult edge, a small splash of bourbon in the coconut filling tastes like a Southern bake sale with better lighting. A drizzle of leftover ganache and a pecan half pressed on top makes them look professionally finished.
I like serving them slightly chilled for a fudgier bite, or at room temperature for the softest cake feel. They’re especially good with cold milk or a bold espresso.
Storage & Make-Ahead
Store assembled pies in an airtight container in the refrigerator for up to 5 days, and place wax paper between layers to prevent sticking and smudged ganache.
These freeze beautifully for up to 3 months, wrap each pie tightly in plastic wrap, then tuck into a freezer bag so they don’t pick up off flavors. Thaw overnight in the fridge, or on the counter until the centers lose that icy firmness.

German Chocolate Whoopie Pies
Equipment
- Stand mixer with paddle attachment
- Rimmed baking sheets
- Parchment Paper
- Medium mixing bowl
- Heavy large saucepan
- Cooling Rack
Ingredients
For the Whoopie Pie:
- 2 cups All purpose flour
- 5 tbsp Unsweetened cocoa powder
- 1 1/8 tsp Baking powder
- 1 tsp Baking soda
- 1/2 cup Solid vegetable shortening or unsalted butter (1 stick), room temperature
- 1 cup Granulated sugar
- 2 large Egg yolks
- 1 tbsp Vanilla extract
- 1 cup Whole milk
For the Filling:
- 1/2 cup Evaporated milk
- 2 large Egg yolks
- 1 tsp Vanilla extract
- 3/4 cup Granulated sugar
- 1/2 cup (1 stick) Chilled unsalted butter, cut into 1/2-inch cubes
- 1 1/2 cups Sweetened flaked coconut
- 3/4 cup Chopped toasted pecans
For the Ganache:
- 3 tbsp Heavy whipping cream
- 1/2 cup Milk chocolate chips
Instructions
Prep and Mix the Chocolate Cakes
- Heat the oven to 375°F and line 2 large rimmed baking sheets with parchment paper.
- Sift the flour, unsweetened cocoa powder, baking powder, and baking soda into a medium bowl until the dry mix is evenly colored and lump-free.
- In a stand mixer with a paddle attachment, beat the shortening, sugar, 2 egg yolks, and 1 tablespoon vanilla for about 2 minutes until creamy and fluffy.
- Add the dry ingredients in 3 additions, alternating with the milk in 2 additions, mixing just until each addition disappears into a thick, glossy batter.
Scoop and Bake
- Drop the batter by very rounded tablespoonfuls onto the prepared sheets, leaving 3 inches between portions to allow for spreading.
- Bake 1 sheet at a time for 8 to 10 minutes until the cakes are slightly puffed and the tops are set but still soft when gently pressed.
- Let the cakes cool on the baking sheet for 10 minutes, then move to a cooling rack to cool completely.
Cook the Coconut-Pecan Custard Filling
- In a heavy large saucepan, whisk the evaporated milk, 2 egg yolks, and 1 teaspoon vanilla until silky and uniform.
- Whisk in 3/4 cup sugar and a pinch of salt, then add the chilled butter cubes.
- Cook over medium heat, stirring constantly for 8 to 10 minutes, until the mixture thickens and reaching 175°F to 178°F. Do not let it boil.
- Remove from heat and stir in the coconut and toasted pecans. Transfer to a bowl, cool, then chill in the refrigerator for about 1 hour until firm.
Make the Ganache and Assemble
- Bring 3 tablespoons heavy cream to a simmer in a small saucepan, remove from heat, and whisk in the milk chocolate chips until smooth. Cool for 15 minutes.
- Spread about 1 tablespoon of coconut filling on the flat side of half the cakes. Spoon 1 teaspoon of ganache onto the flat side of the remaining halves.
- Place the ganache-topped halves onto the filling-topped halves and press very gently to adhere.
Notes
Nutrition
Conclusion
German chocolate whoopie pies already feel like a hug, but that salted espresso ganache makes the chocolate taste deeper and the sweetness feel more grown-up. Keep the cakes tender, hit that custard temperature, and you’ll have a batch that disappears fast.
If you’re in a German chocolate mood, the gooey charm of a chocolate poke cake hits another kind of comfort note. Either way, coconut, pecans, and chocolate have a way of bringing people to the kitchen.











