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.
I was wondering, how long do you freeze the cakes before frosting and do you wait for them to cool completely before putting them in the freezer?
Hi Ash, yes, make sure the cakes are completely cool before freezing them. Wrap them really well in plastic wrap and stick each layer in a ziplock freezer bag. Freeze for up to one month. Good luck! I’d love to hear how you like it.
I just made this and the coconut frosting was a disaster. I’m not sure what I did wrong and I followed the recipe to a T. It was super runny and prior to taking it off the heat it never did thicken any at all. I ended up having to strain it and add more sugar and butter and coconut and nuts to have somewhat of a “frosting” type consistency at all. Any ideas???
Hi Shyanne, I’m so sorry you had trouble with the coconut frosting. It definitely should not be runny at all. The 3 egg yolks, and both of the sugars, when cooked correctly together, would make it really thick. Egg yolks are the main thickener…are you sure you added them?
Yes I am positive. I’m going to try again because the cake is amazing. This is a new recipe for me, but I always have trouble with the coconut frosting part in my other recipe as well. I will just have to try again I suppose. Thank you!
Ok, let me know how it goes! Make sure all of your ingredients are fresh. Also, it will thicken up a lot as it cools. I’d even pour it into a tupperware and refrigerate it for a few hours. It will really set up and be thick when it’s cool.
Hi, can’t wait to make this tomorrow. This is my first time baking. I was curious. No electric blender is being used in making this cake, right?
Hi Lisa, No, you don’t use a blender at all for this cake. You could use a stand mixer or an electric hand mixer.
Hi Lauren!
I’m making this for hubby’s birthday this weekend. I want to make the components of the cake the night before and then assemble the next day, should I bake the cake rounds and put them in the freezer overnight (to use the next day)? or in the fridge? If so, how long will it take for the cake to soften for eating? (I know you said that a frozen cake it easier to frost, I want to make sure I do it right) =)
Thank you so much for your time!
Hi! Since you are doing everything the night before, you really can’t mess it up! If it were me, I would probably still stick the cakes in the freezer after they cool completely (make sure they are really well wrapped). You could also wrap them and store them in the fridge for the night. Just make sure they are completely cooled off before doing either. The frozen cakes will take about 30 min – 1 hour to thaw 🙂 . Hope that helps! I’d love to hear how you like it!
Can I substitute olive oil or another oil for canola oil?
Hi Allison, The best substitute would be vegetable oil. You could also use coconut oil, but it will change the flavor slightly. Olive oil would probably be my last choice for a substitute, just because of the flavor difference. If you do use it, try a really mild flavored one. Hope that helps!
I made this last weekend. My family loved it!!! Very easy recipe to follow.
Thank you so much for sharing! Happy everyone loved it!
Do you use light brown or dark brown sugar for the coconut frosting?
I use light brown 🙂
I plan to make this cake in a 9 x 13 pan mainly for ease of storage and transport. Should I make both frostings or just the coconut. What do you advise?
Thank you!
Hi Sue, if I were making it in a 9×13” pan I would make a half batch of the chocolate frosting, spread it on the cake and then add the coconut frosting on top of it. I really love both on my cake. But it’s up to you 🙂 Hope you enjoy it!
I would really love to try this for my boyfriends birthday… do you use cake flour for this recipe?
Hi Tiffany, no I just use all-purpose flour 🙂 I’d love to hear how it turns out! Hope he loves it 🙂
Hi Lauren, I have a question about the unsweetened cocoa powder. Could I use Hershey’s Special Dark cocoa in this recipe. I inherited a couple of cans.
Yes, you can! It will be a “dark chocolate” cake, but I think it will taste amazing, especially if you like dark chocolate 🙂