The best part about this German Chocolate Cake is how it pulls off two very different vibes at once: the cake layers are dark, soft, and almost fudgy from the cocoa and boiling water, but the topping is chewy-sweet with coconut and pecans, like the best kind of candy meeting a tender crumb.
It’s also refreshingly straightforward. No fancy techniques—just a thin, pourable batter that bakes up evenly in two 9-inch pans, plus a stovetop frosting that turns thick and glossy right before your eyes. If you’re the kind of baker who also loves a cheesecake twist, my German chocolate cheesecake scratches that same coconut-pecan itch in a different format.
Why You’ll Love This Recipe
- The cake batter is intentionally thin after the boiling water goes in, which helps create a moist, smooth crumb instead of a dry chocolate sponge.
- The coconut-pecan frosting cooks on the stove until it’s thick—so it spreads like a soft candy rather than soaking into the layers.
- Two 9-inch layers bake in about 30–35 minutes, making this doable even on a weeknight baking schedule.
- You get real texture contrast: tender chocolate cake + chewy coconut + crunchy pecans in every bite.
- The frosting goes between the layers and on top, so you get that classic German chocolate look without needing to frost the sides.
The Story Behind This Recipe
I developed this version when I wanted a no-nonsense German Chocolate Cake with a reliably moist chocolate layer and the traditional coconut-pecan topping—no extra steps, no unusual ingredients—just the kind of cake you can bake, cool, and stack without wondering if it’ll hold together (it does).
What It Tastes Like
Expect a sweet, cocoa-forward cake (not bitter) with a warm vanilla aroma, and a topping that tastes like caramelized custard folded with sweet coconut and toasty pecans. The frosting is rich from butter and egg yolks, and once it cools, it turns thick and spoonable—so each slice has creamy chew on top and soft chocolate cake underneath. If you love the chocolate + fruit combo too, my chocolate cake with cherry pie filling is another great “slice-and-sigh” dessert.
Ingredients You’ll Need
This recipe is built on a classic cocoa cake base: flour for structure, cocoa for deep chocolate color, baking powder + baking soda for lift, and boiling water to bloom the cocoa and keep the crumb plush. For the frosting, evaporated milk, butter, and egg yolks cook into a thick, glossy base before you stir in sweetened coconut and chopped pecans—those two add the signature chew and crunch. Stick with whole milk for the cake for the most tender result.
- 1 3/4 cups all-purpose flour
- 1 3/4 cups granulated sugar
- 3/4 cup unsweetened cocoa powder
- 1 1/2 teaspoons baking powder
- 1 1/2 teaspoons baking soda
- 1 teaspoon salt
- 2 large eggs
- 1 cup whole milk
- 1/2 cup vegetable oil
- 2 teaspoons vanilla extract
- 1 cup boiling water
- 1 1/2 cups sweetened shredded coconut
- 1 cup chopped pecans
- 1 cup evaporated milk
- 1 cup granulated sugar (for frosting)
- 1/2 cup butter (for frosting)
- 3 egg yolks (for frosting)
- 1 teaspoon vanilla extract (for frosting)
How to Make German Chocolate Cake
-
Prep the oven and pans. Heat the oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, tapping out the excess flour so you don’t get white patches on the baked layers.
-
Mix the dry ingredients. In a large bowl, whisk together the flour, 1 3/4 cups sugar, cocoa powder, baking powder, baking soda, and salt. You’re looking for an even color with no cocoa lumps.
-
Add the wet ingredients (except the boiling water). Add the eggs, whole milk, vegetable oil, and 2 teaspoons vanilla. Beat on medium speed for 2 minutes. The batter should look smooth and slightly thick at this point—like a loose brownie batter.
-
Stir in the boiling water. Carefully stir in the boiling water. The batter will turn thin and very pourable—that’s correct. (Pouring is easier if you scrape the bowl well so the chocolate mixture is fully blended.)
-
Fill the pans. Divide the batter evenly between the prepared pans. Because the batter is thin, it will level itself; a gentle tap on the counter helps pop bigger air bubbles.
-
Bake. Bake for 30–35 minutes, or until a toothpick inserted in the center comes out clean. The tops should look set (not wet), and the cake will spring back lightly when touched.
-
Cook the frosting base. While the cakes cool, make the frosting: in a saucepan, combine the evaporated milk, 1 cup sugar, butter, egg yolks, and 1 teaspoon vanilla. Cook over medium heat, stirring frequently. At first it will look loose, then it will thicken gradually.
-
Know when it’s ready. Keep cooking and stirring until the mixture is thickened—you want it to coat the spoon and look glossy, not watery. (Don’t walk away here; egg-yolk mixtures reward steady stirring.)
-
Add coconut and pecans, then cool. Stir in the shredded coconut and chopped pecans. Let the frosting cool before spreading; it thickens more as it sits and becomes much easier to layer without sliding.
-
Assemble. Once the cake layers are completely cool, place one layer on a plate and spread frosting over the top. Add the second layer and spread the remaining frosting on top. For a fun variation on the same flavor family, my white German chocolate cake with cheesecake center is a showstopper for parties.
Tips for Best Results
- Measure the flour lightly. Too much flour can make the layers dry; a light hand helps keep that soft, moist crumb this recipe is known for.
- Don’t panic about the thin batter. After the boiling water, it should pour like chocolate syrup—this is what helps the cake bake up tender instead of dense.
- Cook the frosting until it truly thickens. If it’s still runny in the pot, it’ll seep into the cake and look messy when sliced. Thick and glossy is the goal.
- Cool the frosting before assembling. Warm frosting will slide right off the layers; cooled frosting spreads like a chunky custard.
- Chop the pecans fairly small. Big pieces can make slicing hard; smaller pieces give crunch without tearing the cake. If you’re in the mood for a different chocolate-and-nut dessert, try my bonfire chocolate Nutella cupcakes next.
Variations and Substitutions
- Pecans: You can chop them finer or leave them a bit chunkier depending on how you like the bite; just know chunkier nuts make cleaner slices harder.
- Coconut texture: If your shredded coconut is very long, a quick chop makes the frosting easier to spread and stack neatly.
- Layering: Keep it classic with frosting between layers and on top, or pile it extra thick on top for that bakery-style look (either way, the recipe stays the same).
How to Serve It
Slice with a sharp knife to show off the dark chocolate layers against the golden coconut-pecan topping. I love serving this at room temperature so the frosting stays soft and chewy, not stiff. If you’re building a dessert table, pair it with something simpler and spoonable like my chocolate caramel dump cake so you’ve got both “pretty slices” and “easy scoops.”
How to Store It
Because the frosting is cooked with evaporated milk and egg yolks, store the assembled cake covered in the refrigerator. For the best texture, let slices sit out for a few minutes before serving so the frosting softens slightly and the cake loses its chill. You can also make the frosting ahead and refrigerate it; bring it back to a spreadable consistency before assembling.
Final Thoughts
If you want a cake that looks classic, slices cleanly, and delivers that unmistakable coconut-pecan topping over tender chocolate layers, this one does the job without extra fuss—just take your time cooking the frosting until it thickens, and let everything cool before stacking.
Conclusion
If you’d like to compare approaches (and nerd out a little on frosting thickness and crumb texture), it’s worth reading Homemade German Chocolate Cake, Upgraded German Chocolate Cake, and German Chocolate Cake (Best Recipe!)—then come back and make this version when you want a straightforward, reliably moist cocoa cake with a thick coconut-pecan topping that actually stays put.

German Chocolate Cake
Ingredients
For the Cake
- 1 3/4 cups all-purpose flour
- 1 3/4 cups granulated sugar
- 3/4 cup unsweetened cocoa powder
- 1 1/2 teaspoons baking powder
- 1 1/2 teaspoons baking soda
- 1 teaspoon salt
- 2 large eggs
- 1 cup whole milk
- 1/2 cup vegetable oil
- 2 teaspoons vanilla extract
- 1 cup boiling water
For the Frosting
- 1 1/2 cups sweetened shredded coconut
- 1 cup chopped pecans
- 1 cup evaporated milk
- 1 cup granulated sugar (for frosting)
- 1/2 cup butter (for frosting)
- 3 large egg yolks (for frosting)
- 1 teaspoon vanilla extract (for frosting)
Instructions
Preparation
- Preheat the oven to 350°F (175°C) and grease and flour two 9-inch round cake pans.
Mixing the Cake Batter
- Whisk together flour, sugar, cocoa powder, baking powder, baking soda, and salt in a large bowl.
- Add eggs, milk, oil, and vanilla. Beat on medium speed for 2 minutes until smooth.
- Carefully stir in boiling water until the batter is thin and pourable.
Baking the Cake
- Divide the batter evenly between prepared pans. Bake for 30-35 minutes, until a toothpick comes out clean.
Making the Frosting
- In a saucepan, combine evaporated milk, sugar, butter, egg yolks, and vanilla. Cook over medium heat, stirring until thickened.
- Stir in coconut and pecans and let cool before spreading on the cake.
Assembly
- Once cooled, place one cake layer on a plate, spread frosting over it, then add the second layer and additional frosting on top.

