These filled German chocolate cupcakes take the classic coconut-pecan frosting and tuck it right inside a tender chocolate cupcake, with a little more on top. The filling is thick and caramel-like, so it stays put instead of soaking into the crumb, and the cupcake itself is moist without being heavy. You get the full German chocolate experience in a neat, handheld form that is easier to serve than a layer cake.
Ingredients
- For the cupcakes:
- 1 ½ cups (190 g) all-purpose flour
- ¾ cup (65 g) unsweetened cocoa powder (natural or Dutch-process)
- 1 ½ teaspoons baking powder
- ½ teaspoon baking soda
- ½ teaspoon salt
- ½ cup (115 g) unsalted butter, softened
- 1 cup (200 g) granulated sugar
- 2 large eggs, at room temperature
- 2 teaspoons vanilla extract
- ½ cup (120 ml) buttermilk, at room temperature
- ½ cup (120 ml) hot coffee or hot water
- For the coconut-pecan filling:
- 3 large egg yolks
- 1 can (12 oz / 340 g) evaporated milk
- ¾ cup (150 g) packed brown sugar
- ½ cup (115 g) unsalted butter, cut into pieces
- 1 teaspoon vanilla extract
- 1 ⅓ cups (120 g) sweetened shredded coconut
- 1 cup (120 g) chopped pecans, toasted
- For the chocolate ganache (optional topping):
- ½ cup (120 ml) heavy cream
- 4 oz (115 g) semisweet chocolate, finely chopped
Instructions
- Make the filling first (it needs time to cool). In a medium saucepan, whisk the egg yolks, evaporated milk, and brown sugar together until smooth. Add the butter pieces and place over medium heat. Cook, stirring constantly with a whisk or wooden spoon, until the mixture thickens and coats the back of a spoon, about 10–12 minutes. It should bubble gently at the edges; do not let it boil hard or the eggs may curdle.
- Remove from heat and stir in the vanilla, coconut, and pecans. Transfer to a bowl, press a piece of plastic wrap directly onto the surface, and refrigerate until completely cool, at least 1 hour. It will thicken more as it chills.
- Make the cupcakes. Preheat the oven to 350°F (175°C). Line a 12-cup muffin pan with paper liners.
- In a medium bowl, whisk the flour, cocoa powder, baking powder, baking soda, and salt.
- In a large bowl, beat the butter and sugar with an electric mixer on medium speed until light and fluffy, about 2–3 minutes. Add the eggs one at a time, beating well after each, then beat in the vanilla.
- With the mixer on low, add the dry ingredients in three additions, alternating with the buttermilk, starting and ending with the dry. Mix just until combined; do not overmix.
- Slowly pour in the hot coffee (or water) and mix on low until the batter is smooth. The batter will be thin—that is correct.
- Divide the batter evenly among the 12 liners, filling each about ⅔ full. Bake for 18–22 minutes, until a toothpick inserted in the center comes out with a few moist crumbs (not wet batter). The centers should spring back when lightly pressed.
- Cool the cupcakes in the pan for 5 minutes, then transfer to a wire rack to cool completely. They must be fully cool before filling.
- Fill the cupcakes. Once cool, use a small knife or a cupcake corer to cut a cone-shaped hole about 1 inch deep and 1 inch wide from the top center of each cupcake. Reserve the cut-out pieces.
- Spoon or pipe the cooled coconut-pecan filling into each hole, mounding it slightly above the top. If you saved the cake cones, you can replace a thin slice on top to cover the filling, or just leave the filling exposed.
- Optional ganache. Heat the cream in a small saucepan until steaming, then pour it over the chopped chocolate. Let sit for 2 minutes, then stir until smooth. Drizzle or spread a little ganache over the filled tops, then sprinkle with extra toasted pecans or coconut if desired.
Tips
- Don’t skip cooling the filling. If you pipe it into the cupcakes while warm, it will soak into the crumb and make the bottoms soggy. Chill it until it is thick and spreadable, about the consistency of peanut butter.
- Use a piping bag for neat filling. A zip-top bag with the corner snipped off works too. If you don’t have a corer, use a small paring knife to cut a cone, then trim the pointed end so the hole is even.
- Check your cocoa type. Natural cocoa gives a slightly tangier, less sweet cupcake; Dutch-process gives a milder, deeper flavor. Either works, but if you use Dutch-process, you can skip the baking soda and use 2 teaspoons of baking powder instead.
- Don’t overbake. Because the batter is thin, it’s easy to overbake. Start checking at 18 minutes. Overbaked cupcakes are dry and will crumble when you try to core them.
Serving Suggestions
Serve these cupcakes at room temperature so the filling is soft and the crumb is tender. They are perfect for birthdays, potlucks, or any time you want a fancy-looking dessert without assembling a layer cake. Pair them with coffee or cold milk. If you skip the ganache, dust the tops with a little cocoa powder or powdered sugar for a simpler finish.
Variations
- Chocolate ganache topping: Instead of drizzling, dip the tops of the filled cupcakes into warm ganache and let it set for a shiny, bakery-style finish.
- Nut-free: Omit the pecans in the filling and add an extra ⅓ cup of coconut. Toast the coconut first for more flavor.
- Bourbon or rum: Stir 1 tablespoon of bourbon or dark rum into the filling after it has cooled slightly. This adds a warm, adult twist.
- Mini cupcakes: Use a mini muffin pan and fill the wells about ⅔ full. Bake for 10–12 minutes. Use a small melon baller to core them, and pipe in the filling.
Storage and Reheating
Store filled cupcakes in an airtight container in the refrigerator for up to 3 days. The filling contains eggs and dairy, so refrigeration is necessary. Let them sit at room temperature for 30 minutes before serving to soften the filling. You can freeze unfilled cupcakes (without the filling) for up to 2 months; wrap them tightly in plastic wrap and then foil. Thaw overnight in the fridge, then fill and serve. Do not freeze filled cupcakes—the filling can become watery when thawed. To reheat, warm individual cupcakes in the microwave for 10 seconds, but note that the ganache may melt and the filling will soften.
Related
Frequently Asked Questions
Can I use a boxed chocolate cake mix? Yes, you can. Prepare the mix according to the package directions for 12 cupcakes, then bake and cool. The filling and assembly steps remain the same.
Why is my filling runny? The filling needs to cook long enough to thicken. If it’s still thin after 12 minutes, keep cooking, stirring constantly, until it visibly thickens and coats the back of a spoon. Also, make sure it is fully chilled before using—it will firm up more in the fridge.
Can I make the filling ahead of time? Absolutely. The filling can be made up to 3 days in advance and stored in an airtight container in the fridge. Let it sit at room temperature for 15 minutes before piping, or give it a quick stir to loosen it.
Do I need to use buttermilk? Buttermilk adds tenderness and tang. If you don’t have it, you can make a quick substitute: add 1 tablespoon of lemon juice or white vinegar to ½ cup of milk and let it sit for 5 minutes. Or use plain yogurt thinned with a little milk.
Can I skip the coffee? The coffee does not make the cupcakes taste like coffee; it enhances the chocolate flavor. If you prefer, use hot water instead. The batter will be slightly less rich, but still good.
How do I keep the filling from oozing out? Make sure the hole is not too wide—about 1 inch in diameter is enough. Pipe the filling in gently and don’t overfill; leave a tiny dome. If you want a cleaner look, replace a thin slice of the cake cone on top before adding ganache.