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.
Hi Laura,
I wanted to ask about the shredded coconut. Is it sweetened or unsweetened? Thank you.
Hi Jody, I use sweetened coconut flakes. 🙂
The best recipe ever! Wow! I made this for my brother and he raved that it was the best cake he had ever had. I love this recipe and found it very easy to follow. I am really looking forward to baking the coconut and pineapple cake next. Thank you so much for sharing. It was amazing and made me so happy to see my family enjoying something I made with love.
It’s always so nice to hear when someone loves this recipe as much as I do! <3 I'm so excited for you to try the coconut cake as well, please let me know what you think!
TOO.DIE.FOR. I made this cake for my boyfriend’s birthday as a surprise. German Chocolate is his favorite cake. He absolutely lost his mind! He told me this was the BEST cake he has had in decades! I can’t have nuts, so I just tried the chocolate frosting and it was literally the most delicious I’ve ever tasted. Thank you SO much for this recipe. I will be making it for special occasions. Just incredible!
I’m thrilled it was received with such high praise!! Thanks so much for taking the time to share. Hope you get to try some of my other cake recipes soon!
I think this was truly the best German Chocolate Cake. I made it for my grandfathers birthday and it was such a hit! I made it with 3 layers to make it extra tall and pretty and received SO many compliments. Not bad for my first from-scratch cake, i can’t wait to make more!! Thank you for the delicious, moist recipe.
Can I add a teaspoon of vinegar to this recipe?
Hi Frank, it wouldn’t hurt to add a teaspoon of vinegar, but I’m not sure why you would want to?
I am making this cake tonight to freeze for a party over the weekend. I plan on taking the cake out of the freezer the morning of and frosting it, then putting it in the fridge to keep the frosting cold. My question is, how long does a frozen cake take to defrost while it’s in the refrigerator? How long until it will be good to serve?
Hi Elizabeth, that’s exactly what I usually do 🙂 I would plan on giving it about 2 hours in the fridge to thaw before serving, OR you could frost it and leave it at room temperature for about 30 minutes, before putting it in the fridge. Then it would be ready to serve as soon as you need it. I’d love to hear how it turns out!
I left my cake at room temperature all day after frosting it at about 9 am and it was perfect at the party we served it at! (around 7pm)
I’m so happy to hear that! Thanks for coming back to share!
Thanks for this great recipe, Lauren!
I bake quite a bit and was surprised that the coconut frosting calls for 1 Tablespoon of vanilla. Should it be 1 teaspoon?
I do use 1 full tablespoon of vanilla. It adds amazing flavor, but you’re welcome to use less 🙂
So I missed two steps in the coconut frosting. I added the vanilla before boiling and forgot the egg yolks. I haven’t assembled it yet. It tasted good but didn’t know if I needed to remake it. I’m excited to get it all put together in the morning
Hi Ashley, the coconut frosting it will still taste delicious, but it will be thin because of the missing egg yolks.
It actually was still pretty thick! It was so delicious though! Thanks for your recipe!
I read that boiling water brings out the cocoa flavor and also helps make the cake moist. Not only that but yours calls for oil too so I’m sure this cake will be super moist and good. I like your pictures too, they are nice quality. I’ll have to give you a rating after I’ve made this
Absolutly! I hope you get to try it soon–it really is delicious!