German Chocolate Cupcakes
German chocolate cupcakes pair a moist, dark chocolate cake with a thick coconut-pecan topping and a drizzle of chocolate ganache. Dutch-process cocoa, melted chocolate and sour cream give the crumb deep flavor and a tender texture, while toasted pecans bring crunch to the sweet, chewy topping.
The recipe makes 24 cupcakes and takes about 90 minutes of prep and 25 minutes of baking, plus chilling and cooling time. Make them for birthdays, holidays or a dessert table; the components can be prepared ahead and assembled when you are ready to serve.
Why you’ll love it
Why This German Chocolate Cupcakes Recipe Works
The chocolate batter and cooked topping each use a few deliberate techniques to build flavor and texture.
- Two forms of chocolate deepen the cake. Cocoa provides concentrated chocolate flavor, while melted unsweetened chocolate adds richness and body. Espresso powder enhances the chocolate without making the cupcakes taste like coffee.
- Sour cream keeps the crumb tender. Its fat and acidity contribute a soft, moist texture. Dutch-process cocoa is recommended because the batter also contains several acidic ingredients.
- The oven temperature changes during baking. Starting at 400°F and lowering to 350°F gives the cupcakes an initial lift, then lets the centers finish baking without relying on the higher heat throughout.
- The topping cooks before it chills. Eggs, evaporated milk, brown sugar and butter thicken together on the stove. Chilling firms the coconut-pecan mixture so it sits neatly on the cakes.
What you need
Ingredients You’ll Need
The ingredients are split between the cupcakes, the cooked coconut-pecan topping and the ganache. Measure the topping ingredients before cooking so you can stir continuously.
- Cocoa, chocolate and espresso: ½ cup Dutch-process cocoa, 4 ounces finely chopped unsweetened chocolate and 1 ½ teaspoons instant espresso powder build a deep chocolate base.
- Boiling water: 1 ¼ cups dissolves the cocoa mixture until smooth.
- Flour and leaveners: 1 ½ cups unbleached all-purpose flour, 1 teaspoon baking soda, ½ teaspoon baking powder and 1 ¼ teaspoon salt give structure and lift.
- Butter and oil: 8 tablespoons room-temperature unsalted butter plus 2 tablespoons vegetable oil for richness and moisture.
- Light brown sugar: 1 ½ cups sweetens the cake with a mild molasses note.
- Eggs and yolks: 2 large eggs and 3 large yolks at room temperature add structure and richness.
- Vanilla and sour cream: 2 teaspoons vanilla extract and ½ cup full-fat sour cream at room temperature keep the crumb tender.
- Topping base: 4 large eggs and 12 ounces evaporated milk cook into a thick, creamy custard.
- Topping sweetener and salt: 1 ¼ cup dark brown sugar adds caramel depth, and ½ teaspoon salt balances it.
- Topping butter and vanilla: 6 tablespoons unsalted butter, cut into six pieces, and 3 teaspoons vanilla extract enrich the topping.
- Coconut: 3⅓ cups sweetened shredded coconut: stir 2⅓ cups into the topping and keep 1 cup for the tops.
- Pecans: 1 ¾ cups, toasted and chopped to pea-size pieces, for crunch.
- Chocolate ganache: One batch for drizzling; it thickens as it cools.
Tools
Equipment You’ll Need
- Medium saucepan: Cook the egg-and-milk topping in a saucepan large enough to stir constantly without spilling.
- Wire racks: Let the cupcakes cool completely with air circulating around them before you add the topping.
The method
How to Make German Chocolate Cupcakes
1. Prepare the cupcake pans
Heat the oven to 400°F. Put paper liners in the cupcake pans and lightly spray the tops of the pans with nonstick spray, even if they are nonstick.
The spray helps any batter that rises above the liners release cleanly.
2. Make the chocolate mixture
Put the cocoa, chopped unsweetened chocolate and espresso powder in a bowl. Pour over the boiling water, whisk until smooth and set aside.
Keep whisking until no dry cocoa or lumps of chocolate remain.
3. Combine the dry ingredients
In a separate bowl, whisk together the flour, baking soda, baking powder and salt.
An even mix now helps the leaveners distribute throughout the batter.
4. Cream butter and sugar
With an electric mixer, beat the butter, oil and light brown sugar for 4 to 5 minutes, scraping the bowl occasionally. Stop when the mixture looks fluffy and lighter in color.
If the butter is still sitting in dense clumps, scrape the bowl and continue beating.
5. Add the eggs
Mix in the whole eggs one at a time, letting each blend in before adding the next. Scrape the bowl, beat in the three yolks, and scrape it again.
The mixture should look cohesive rather than streaked with egg.
6. Mix in sour cream and vanilla
Beat in the sour cream and vanilla until smooth, about 60 seconds, scraping the bowl as needed.
A smooth base makes it easier to incorporate the remaining ingredients without overmixing.
7. Finish the cupcake batter
On low speed, add one-third of the flour mixture, half of the chocolate mixture, another third of the flour, the remaining chocolate, then the last third of the flour. Mix only until each addition is just combined, then finish stirring by hand.
Stop as soon as the last dry streaks disappear; excessive mixing can make the crumb firm.
8. Fill and bake
Divide the batter among the prepared pans, filling each cup about three-quarters full. Bake at 400°F for 5 minutes, lower the oven to 350°F, then bake 15 to 20 more minutes.
A toothpick inserted in the center should show no visible batter. Start checking at the early end of the final baking range.
9. Cool the cupcakes
Leave the cupcakes in their pans for 5 to 10 minutes, then transfer them to wire racks and cool completely.
Wait until the cakes are fully cool before topping, or the coconut mixture and ganache may slide off.
10. Cook the topping
In a medium saucepan, whisk the four eggs, then gradually whisk in the evaporated milk followed by the dark brown sugar and salt. Add the butter and bring to a boil over medium-high heat, stirring constantly. Lower to medium and keep stirring for 6 to 8 minutes, until slightly thickened.
Keep the mixture moving across the bottom and corners to prevent scorching.
11. Chill the topping
Move the topping to a bowl and stir in the vanilla and 2⅓ cups coconut. Cool to room temperature, then cover and refrigerate at least 2 hours and up to 3 days.
Fully chilled topping holds its shape on the cupcakes.
12. Top and finish
Make the chocolate ganache following its recipe. Spoon a generous amount of chilled topping onto each cupcake, drizzle with ganache and sprinkle with the reserved coconut.
If the ganache is too thick to drizzle, let it stand at room temperature or warm it over simmering water.
Doneness
How to Tell When It’s Done
The cupcakes are ready when a toothpick inserted in the center shows no visible batter. The tops should look set, and the centers should spring back lightly when touched rather than sink.
If wet batter clings to the toothpick, bake a little longer and check again. Rest the cupcakes in the pans for 5 to 10 minutes before moving them, since they are delicate while hot.
Tips & common mistakes
Tips and Common Mistakes
A few details make the chocolate cake easier to mix and the topping easier to handle.
- Scrape the bowl often. Butter and sugar cling to the bottom and sides. Scraping before and after the eggs prevents uneven pockets.
- Mix on low after adding flour. The flour is added in alternating portions with the chocolate mixture. Mixing only until combined protects the cupcakes from a tough texture.
- Spray the pan tops. Batter can rise over the edge of the paper liners and stick to the pan. Lightly spray the exposed surface, including on nonstick pans.
- Stir the topping constantly. Regular movement helps the egg mixture thicken evenly instead of sticking. Scrape the bottom as you stir.
- Chill before assembling. Fully chilled topping is easier to spoon on. Warm topping spreads and makes the ganache harder to drizzle neatly.
Make it your way
Substitutions and Variations
Keep the main ingredients intact for the intended texture, but these practical adjustments can suit what you have.
- Cocoa powder: Dutch-process cocoa is recommended for the batter’s acidic ingredients. Natural cocoa may change the flavor and how the leaveners behave.
- Pecan-free topping: Leave out the pecans if needed; the topping loses its nutty crunch, so add a little extra coconut for texture.
- Toast the coconut: For a stronger toasted flavor, use toasted coconut only for the garnish.
- Make mini cupcakes: Smaller cakes bake faster than the stated times for standard cupcakes, so rely on the toothpick cue.
- Use a different oil: A neutral-flavored oil can stand in for vegetable oil. Avoid strongly flavored oils that could distract from the chocolate.
Serving
What to Serve with German Chocolate Cupcakes
Serve the cupcakes at room temperature so the cake is soft and the ganache easy to bite through. They pair well with plain coffee, black tea or cold milk.
For a dessert spread, set them out with fresh berries or vanilla ice cream; 24 cupcakes go a long way at parties and potlucks.
Storage
Make-Ahead, Storage and Reheating
Make ahead: Each component can be made up to 2 days ahead, and the topping keeps covered in the refrigerator for up to 3 days. Assemble when ready to serve for the best texture.
Storage: Store assembled cupcakes covered in the refrigerator. Let them sit at room temperature briefly before serving so the cake softens and the ganache loses its chill.
Freezing: For the best texture, refrigerate rather than freeze: make the components ahead and assemble the cupcakes on serving day.
Reheating: These cupcakes are best at room temperature rather than reheated. Let refrigerated ones stand until no longer very cold.
Questions
German Chocolate Cupcakes FAQs
Can I make the topping ahead of time?
Yes. Cover it and refrigerate it for at least 2 hours and up to 3 days, then spoon it onto the cupcakes once the cakes are completely cool.
Why did my cupcake batter look curdled?
Cold ingredients can make the butter mixture look uneven when eggs or sour cream are added. Room-temperature ingredients help the batter come together smoothly.
Can I use a hand mixer instead of a stand mixer?
Yes. A hand mixer can cream the butter, oil and sugar and mix in the eggs; scrape the bowl carefully as you go.
How do I fix ganache that is too thick?
Let it sit at room temperature until it loosens, or warm it over simmering water. It thickens as it cools, so check the texture before drizzling.
Can I assemble the cupcakes the day before?
You can, but the cupcakes are best on the day they are assembled. For a fresher texture, keep the components separate and top them closer to serving.
How much batter should go in each cupcake liner?
Fill each cup about three-quarters full. This leaves room for the batter to rise without overflowing the liners.
Recipe Card

German Chocolate Cupcakes
Ingredients
Method
- Heat the oven to 400°F. Line cupcake pans with paper liners and lightly spray the pan tops with nonstick spray.
- Combine the cocoa, chopped unsweetened chocolate and espresso powder in a bowl, pour in the boiling water, whisk until smooth and set aside.
- In another bowl, whisk the flour, baking soda, baking powder and salt together and set aside.
- With an electric mixer, beat the butter, oil and brown sugar 4 to 5 minutes, scraping the bowl occasionally, until fluffy and lighter in color.
- Add the whole eggs one at a time, mixing each in fully. Scrape the bowl, add the three yolks, beat until incorporated and scrape again.
- Beat in the sour cream and vanilla until smooth, about 60 seconds, scraping as needed.
- Add the chocolate mixture and flour mixture alternately: one-third flour, half the chocolate, one-third flour, half the chocolate, one-third flour, mixing on low only until just combined after each.
- Finish stirring by hand and divide among the prepared pans, filling each cup about three-quarters full.
- Bake at 400°F for 5 minutes, then lower the oven to 350°F and bake 15 to 20 more minutes until a toothpick in the center shows no visible batter.
- Rest in the pans 5 to 10 minutes, then move to wire racks to cool completely.
- Whisk the eggs in a medium saucepan, slowly whisk in the evaporated milk, then add the brown sugar and salt and whisk to combine.
- Add the butter and heat over medium-high, stirring constantly, until boiling. Reduce to medium and keep stirring 6 to 8 minutes until slightly thickened.
- Transfer to a bowl and stir in the vanilla and 2 ⅓ cups of the coconut. Cool to room temperature, then cover and refrigerate until fully chilled, at least 2 hours and up to 3 days.
- Make the chocolate ganache following the linked recipe.
- Spoon a generous amount of topping onto each cupcake, drizzle with ganache and sprinkle with the reserved coconut.