This post contains affiliate links.

What is German Chocolate Cake?
How to Make German Chocolate Cake:
1. Make the chocolate cake: Combine dry ingredients (sugar, flour, cocoa, baking powder, baking soda and salt). Combine wet ingredients (eggs, buttermilk, oil and vanilla). Mix together and stir in boiling water.
2. Bake at 375°F: Pour batter into prepared 8 or 9-inch round baking pans. I like to cut a round piece of wax or parchment paper for the bottom of the pan also, to make sure the cake comes out easily.
3. Make the German Chocolate Frosting: Combine brown sugar, granulated sugar, butter, egg yolks, and evaporated milk in a saucepan and bring the mixture to a low boil over medium heat. Stir constantly until the mixture thickens. Remove from heat and stir in vanilla, nuts and coconut. Allow to cool completely before layering it on the cake.

4. Make chocolate frosting: Melt butter, stir in cocoa powder, slowly add powdered sugar and milk, beating to spreading consistency. Add small amount additional milk, if needed to thin the frosting, or a little extra powder, until you reach your desired consistency. Stir in vanilla.
5. Assemble: Place one of the cake rounds on your serving stand or plate. Smooth a thin layer of chocolate frosting over the cake layer, and then spoon half of the coconut frosting on top, spreading it into a smooth layer. Leave about ½ inch between the filling and edge of cake. Stack the second cake round on top. Smooth chocolate frosting over the entire cake. Spoon remaining coconut frosting on top of the cake.

Pro Tips:
Use room temperature ingredients. Run hot water over the eggs to bring them to room temperature. Stick the buttermilk in the microwave for just a few seconds. It really makes a difference!
Decorating cake is easy! I used a wilton 2D tip for the swirls on top of this cake, but I also love the Wilton 1M tip. I use both tips with an Ateco flex 14” reusable piping bag. Those three items right there are my favorites for cake and cupcake decorating.

Make Ahead and Freezing Instructions:
To Make Ahead: Both frostings (coconut and chocolate) can be made ahead and placed in a covered container in the fridge. The coconut frosting will keep for 1-2 weeks, depending on the freshness of the ingredients used. The chocolate frosting will keep for 2-3 weeks. Remove frostings from the fridge an hour before you're ready to frost the cake, to give them time to come to room temperature.
To Freeze: After baking the cake layers, allow them to cool completely, then wrap them well in plastic wrap and stick each layer in a ziplock freezer bag. Freeze for up to three months. Frost the cakes when they are frozen–they are much easier to frost this way! The assembled German Chocolate Cake can also be frozen, covered well, for 2-3 months (I recommend slicing the cake and wrapping each slice really well in plastic wrap, then placing in a freezer-safe container, for best results). Allow to come to room temperature before serving.

Consider trying these popular Dessert Recipes:
- Better Than Anything Cake
- Mississippi Mud Brownies
- Snickerdoodles Bars
- Perfect Chocolate Chip Cookies
- Tres Leches Cake
FOLLOW ME on FACEBOOK, TWITTER, INSTAGRAM and PINTEREST for more great recipes!

German Chocolate Cake
Equipment
Ingredients
For the Chocolate Cake:
- 2 cups granulated sugar, (400 g)
- 1 3/4 cups all-purpose flour, (210 g)
- 3/4 cup unsweetened cocoa powder, (75 g)
- 1 1/2 teaspoons baking powder, (6 g)
- 1 1/2 teaspoons baking soda, (7.5 g)
- 1 teaspoon salt, (5 g)
- 2 large eggs
- 1 cup buttermilk, (240 ml)
- 1/2 cup oil, (vegetable or canola oil) (120 ml)
- 2 teaspoons vanilla extract, (10 ml)
- 1 cup boiling water, (240 ml)
For the Coconut Frosting:
- 1/2 cup light brown sugar, (100 g)
- 1/2 cup granulated sugar, (100 g)
- 1/2 cup butter, (115 g)
- 3 large egg yolks
- 3/4 cup evaporated milk, (180 ml)
- 1 Tablespoon vanilla extract, (15 ml)
- 1 cup chopped pecans, (120 g)
- 1 cup shredded sweetened coconut, (80 g)
For the Chocolate Frosting:
- 1/2 cup butter, (115 g)
- 2/3 cup unsweetened cocoa powder, (65 g)
- 3 cups powdered sugar, (360 g)
- 1/3 cup evaporated milk, (80 ml)
- 1 teaspoon vanilla extract, (5 ml)
Instructions
- Heat oven to 375°F. Grease two 8 or 9-inch round baking pans. I like to cut a round piece of wax or parchment paper for the bottom of the pan also, to make sure the cake comes out easily.
For the Cake:
- Stir together sugar, flour, cocoa, baking powder, baking soda and salt in large bowl. In a separate bowl combine the eggs, buttermilk, oil and vanilla and mix well. Add the wet ingredients to the dry ingredients and mix to combine. Stir in boiling water (batter will be very thin). Pour batter into prepared pans.
- Bake for 25 - 35 minutes (depending on your cake pan size. The 9'' pan takes less time to bake) or until a toothpick inserted in center comes out clean or with few crumbs. Cool 5 minutes in the pan and then invert onto wire racks to cool completely.
For the German Chocolate Frosting:
- In a medium saucepan add brown sugar, granulated sugar, butter, egg yolks, and evaporated milk. Stir to combine and bring the mixture to a low boil over medium heat. Stir constantly for several minutes until the mixture begins to thicken.
- Remove from heat and stir in vanilla, nuts and coconut. Allow to cool completely before layering it on the cake.
For the Chocolate Buttercream Frosting:
- Melt butter. Stir in cocoa powder. Alternately add powdered sugar and milk, beating to spreading consistency. Add small amount additional milk, if needed to thin the frosting, or a little extra powder, until you reach your desired consistency. Stir in vanilla.
Cake Assembly:
- Place one of the cake rounds on your serving stand or plate.
- Smooth a thin layer of chocolate frosting over the cake layer, and then spoon half of the coconut frosting on top, spreading it into a smooth layer. Leave about ½ inch between the filling and edge of cake.
- Stack the second cake round on top. Smooth chocolate frosting over the entire cake.
- Spoon remaining coconut frosting on top of the cake.
Notes
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
Text me new recipe ideas!
Simple, tasty ideas sent once a week. No spam.
I originally shared this recipe May 2017. Updated February 2021.
Chocolate cake recipe adapted from Hersheys. Coconut Frosting is from my Mom!





I have made dozens of cakes, but this one is my new favorite! This German chocolate cake is the best I’ve ever tasted and I got many compliments on it. Thank you for sharing! I especially love the traditional coconut icing with the chocolate. Its so delicious!!
Absolutely perfect!! Everyone loved it and said I should make them and sell them. Delicious!
I don’t like German chocolate cake but I made this cake for my best friend for her birthday because German chocolate cake is her favorite and this recipe had by far the best reviews. O M G this is so good that I am now a German chocolate cake lover!
This recipe was literally perfect, so moist, so rich, and the flavor is simply amazing. I swapped the flour for Bob’s Red Mill Gluten Free 1-to-1 Baking Flour and know one knew the difference. Next time I will double the pecan mixtures, cut the cake layers in half horizontally so to make 4 cake layers and and maybe I might add some powdered espresso.
I brought this cake to a party and it was everything I had hoped for. The only remaining piece was not offered to me when I left!
O.m.g. BEST recipe EVER. Moist, not over sweet. I mean absolutely amazing. Follow recipe to a T and you’ll have yourself an amazing cake. Sooooo good!!!!
Made this cake for my friend who is a chocolate fiend. Was amazing, the recipe is easy to follow – and I’m not a baker. Try it!
I have been making this cake ever since I found the recipe online. Now I make it for my husband’s birthday every year, and usually for the holidays as well. It’s the most unbelievable German chocolate cake I have ever had, and I have tried many. It’s super moist, and the flavor is outstanding! After finding this recipe, I subscribed to your recipe site and now I make so many other great recipes. Thank you for sharing all you gems with us!
I forgot to add 5 stars!!
I totally agree. I had the exact same experience. When my 60 yr old friend said it was the best cake they ever had in their whole life it encouraged me to keep baking. It truly is the best german chocolate cake ever. I even started my new hobby of cake decorating because of this and I give decorated cupcakes as birthday gifts now. Thanks so much for sharing all your wisdom.
This was an excellent cake. I made it for my husband for his 50th birthday party and everyone loved it and said it was the best German chocolate cake they’ve ever had. I’m gonna make this over and over again. It was absolutely fabulous.
I have made this cake several times, and it is delicious! Even my friends who think they don’t like German chocolate cake love it. I get requests for it!
I have made this cake 3 times now. It has become a family favorite! We absolutely love it. Thank you so much for sharing this wonderful recipe.
Made this cake 2/4/24 because it was what my 42 year old son requested for his b-day! Haven’t made one is many years – the same son and I being the only ones that love it! Everything about this cake turned out perfect! I am using your cake recipe and chocolate icing recipe for hubby’s birthday celebration this Sunday! He doesn’t like coconut or pecans…so wrong about the pecans…. Thank you!!
I LOVE this recipe! It is so delicious and moist! It’s my go to chocolate cake base now. The pecan filling is incredible. I’ve made this recipe quite a few times and always get rave reviews for it. Many family members request that I make this for their birthdays now. 100% recommend this recipe.
My only question is, would I be able to make the chocolate cake into cupcakes? What would the cook time be? Those would be so good so with the pecan coconut filling as a topping.
Recipe is absolutely incredible and will be my go to recipe for chocolate cake!! I too am wondering how I can adjust cooking time to make cupcakes as I would love to have these as an addition to a kid’s birthday party.
I’m having trouble getting my coconut icing thick enough am I not boiling long enough? Any suggestions
This cake is amazing (and I don’t usually like German chocolate cake). It is just decadent.
Hi! I just made this recipe today and would like to know if I could freeze any leftover coconut pecan frosting.
I have been baking for over 50 years and this is the best german chocolate cake recipe i have ever made. I have made this cake at least a dozen times and the people that have tried it say it the best german chocolaate cake that they have ever eaten. Thank you so much.
Bob…did you bake at 375 like recipe says??? That seems to high
I followed this recipe to a tee and it was outstanding!!!! I will definitely be making this again.
Great recipe!
I had to alter the ingredients as I am allergic to dairy. I used unsweetened coconut yogurt and almond milk for the buttermilk. I used plant butter and coconut milk in the filling and icing. Oh, and I baked it in a 13 x 9 since it has to travel 3 hours away for my mother’s birthday. I followed the directions (including the recommended temperature for the filling made in the comments) and it has turned out great.
Question: Can I make the cake and not put the chocolate frosting on? I just want the coconut frosting.
Sure!
Okay.
Let me address some of the negative comments here:
First off…the batter doesn’t run out of the cake pan if you use the correct size. Use 9”x1.5” round pans
-the coconut frosting needs to be brought up to a specific temperature to thicken. If you have a candy thermometer, use it! Take it to 225°F
-Also, once it is up to temperature, pour it into a bowl. I use a big ice bath to cool it down rapidly. So take the bowl you poured it I to and place it in the ice bath. Then add the vanilla.
-Another tip is to cook it low and slow so the egg yolk doesn’t cook. If you see little pieces of cooked egg in it while you are stirring it, lower the temp. I stir mine on about 4. Have you ever cooked a custard? Or homemade icecream using egg yolks? This is the same process.
-I saw someone comment about using boiling water. Actually, I saw a couple of negative comments about it. Boiling water is used in homemade chocolate recipes bc it helps dissolve the cocoa powder. It blooms it and makes it “pop” its flavor. It helps it break down any clumps to make the batter smooth.
-Something else I do is to toast the pecan pieces before adding them to the frosting. Take some melted butter and mix them into it. You can bake them or cook them in a skillet. Google it to learn how, it’s simple. They go from toasted-to burnt very quickly, so if you make them in a skillet-do them low and slow.
You can also toast the coconut-I don’t-but some ppl do.
For the chocolate frosting-always use ingredients at room temperature. Using cold butter will leave butter clumps in your frosting. Don’t melt it in the microwave-that takes the creamy out of the frosting. Just use room temperature butter.
Happy baking!
Great additional comments!
I decided to toast the pecans when I made it and I thought that added lots of good flavor and pzazz to your recipe! I’m only sorry I didn’t have this recipe years ago! Thanks again!