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
I originally shared this recipe May 2017. Updated February 2021.
Chocolate cake recipe adapted from Hersheys. Coconut Frosting is from my Mom!

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.
This is the third time I’ve made this cake in 2 weeks. It is amazing! Everyone loved it! I don’t understand the low ratings? The ONLY thing I do different is toast the pecans. It gives them a deeper flavor. But I wouldn’t change anything else. Thanks for sharing a great recipe!
I love this recipe. I make it for my husband every year for his birthday! If I wanted to make this into cupcakes how long would the bake time be?
So glad you both LOVE it! Lauren made a whole post for cupcakes. You can find that here
Thank you!!!
Hi I was curious if I could use melted butter rather than oil. Thanks so much
Yes you can!
There’s something off about this recipe. I’ve made it three times now and it sinks in the middle every time. It’s too runny of a batter and seems to have too much leavener. Idk…it’s moist and tastes good but can stand it when my cakes sink in the middle. Tasty but disappointed in how it looks.
I was wondering if using dark brown sugar instead of light would affect the recipe?
Dark brown sugar will work. It just gives the cake a slightly deeper molasses flavor, but the texture stays the same.
I made that mistake and I had no frame of reference but it was still incredibly good!
This cake is amazing! The crumb is sooo moist. I find a lot of scratch cakes being a bit dry but this is fantastic! Although there are several parts to the recipe, it all flows well and is not complicated. It was a huge success for my dad’s 86th birthday and I will definitely be making it again!
I made this recipe last January and we love it! We love the cake so much that it is now my go to chocolate cake recipe. I was wondering if anyone has modified this recipe into a vanilla cake recipe?
Hi! I wanted to add cherry filling to this as a layer do you think that’s a good idea or do you think it would change the flavour palette of the cake too much?
Hi! Cherry would definitely change the traditional German chocolate flavor profile since it’s usually all about the coconut-pecan frosting. That said, chocolate and cherry is a classic combo! If you want to try it, we’d suggest a thin layer so it doesn’t overpower the coconut-pecan goodness. Let us know how it turns out!
If I want to cover this cake in the pecan frosting rather than adding buttercream, should I double the recipe? Thanks!
Yes, if you want to cover the entire cake (top and sides) with the coconut-pecan frosting instead of just layering it and topping it like the original recipe, you should double the frosting recipe.
This is my family’s absolute favorite cake! I e baked it a few times now and it’s always spot on. It’s quick to whip up and so, so tasty. I’m definitely keeping this recipe.