German Chocolate Cake

This post may contain affiliate sales links. Please read my disclosure policy.

This German Chocolate Cake recipe is a classic! Tender, moist layers of chocolate cake are filled with an out-of-this-world coconut pecan filling that’s gooey and full of flavor and texture! It’s all frosted with the perfect chocolate buttercream!

Why You’ll Love This German Chocolate Cake Recipe

The moment you sink your teeth into your first bite of this German chocolate cake, you’ll know you chose the right recipe. Here’s what makes it so special.

  • Moist and tender. The cake layers themselves are so tender, moist and light, but not so light that the filling and frosting overwhelm them. Plus, I love the way the slight crunch from the pecans and the gooeyness of the filling interrupts (in the best way) the soft, fluffy cake.
  • The best flavor combo. The subtle flavor of sweet German chocolate paired with the rich, almost caramel-y coconut pecan filling is a match made in heaven. Sweet but not too sweet and rich but not overpowering.
  • Uses real German chocolate. Not all German cake recipes use the traditional German chocolate, but this cake does. It’s in both the cake layers and the frosting, so it’s well deserving of the name.
  • Presentation. We eat with our eyes first and this cake, wrapped in a luscious chocolate frosting and topped with an enticing coconut-pecan filling, leaves no doubt in the viewer’s mind that they are about to experience some seriously tasty cake.
Overhead image of German chocolate cake on a cake stand.

What Is German Chocolate Cake?

German chocolate cake was, contrary to what you might think, not invented in Germany. It derives its name from the kind of chocolate that is traditionally used in the cake layers, German chocolate. The melted German chocolate is sweeter and less intense than the unsweetened cocoa powder used in standard chocolate cakes.

Other signature elements of a typical German chocolate cake are the buttermilk (which makes the cake nice and tender) and whipped egg whites (which make it gloriously fluffy) incorporated into the batter. German chocolate cake is often (but not always) filled with a sticky, gooey coconut-pecan filling and frosted with either that same filling or a chocolate frosting.

If you’re looking to use a regular chocolate cake that doesn’t use German chocolate and has a simpler method, feel free to use my best chocolate cake to layer with the coconut-pecan filling.

Recipe Ingredients

Here’s what you’ll need to pull off this excellent German chocolate cake recipe. Make sure to scroll to the recipe card below for exact measurements.

Coconut Pecan Filling

  • Egg yolks – These give richness to the filling and help to thicken it.
  • Evaporated milk – Do not use sweetened condensed milk. It’s not the same thing. This helps form the base of the filling
  • Vanilla extract – For a touch of flavor.
  • Sugar – For sweetness and moisture.
  • Unsalted butter – Another part of the base of the filling. It adds great flavor.
  • Sweetened shredded coconut
  • Chopped pecans – I like buying toasted pecans or toasting my own. The flavor is richer and more buttery that way.
  • Salt – For flavor.

Chocolate Cake

  • Water – The hot water helps melt the chocolate and makes it easier to incorporate into the cake batter.
  • German chocolate – A must for German chocolate cake. I use Baker’s brand chocolate bars.
  • All-purpose flour – Be sure to measure this accurately or you will end up with a dry cake. I recommend a food scale, but the spoon and level method works as well.
  • Baking soda – For the best rise and tender texture.
  • Salt – For flavor.
  • Unsalted butter – The butter should be at room-temperature. Otherwise, it won’t cream properly with the sugar.
  • Sugar – For sweetness, but also for moisture and a tender texture.
  • Eggs – Be sure to use large eggs, not medium or extra large.
  • Vanilla extract
  • Sour cream – Start with room-temperature sour cream. Cold sour cream won’t mix as easily into the batter. This adds extra moisture to the cake.
  • Buttermilk – The buttermilk should be at room temperature otherwise it won’t incorporate easily into the batter. This also adds additional moisture and a fluffy texture.

German Chocolate Frosting

  • Unsalted butter – Use room-temperature butter. Cold butter will give you a lumpy frosting.
  • Natural unsweetened cocoa powder – I used regular unsweetened, but you could use a dark cocoa, if you’d like.
  • Powdered sugar – To add volume to your frosting and get it a good consistency for decorating. Feel free to reduce it, if desired. Just keep in mind that adjustments change the consistency of the frosting.
  • German chocolate – I used the same baking bars I linked to above. Chop it up and melt it in 15-second intervals in the microwave, stirring between each.
  • Salt – For a little extra flavor.
  • Heavy whipping cream – You can use more or less cream to get the right consistency for your buttercream.

How to Make German Chocolate Cake

Layer cakes can seem intimidating but I assure you that you can do it. Just take it one step at a time with each of the 3 parts. Here’s a quick look at how to make them. For more detailed instructions and a video, scroll to the recipe card below.

To make the filling

  • Whisk. In a saucepan, whisk together the evaporated milk and vanilla extract.
  • Cook. Add the sugar and butter and cook on medium heat for 12-15 minutes, stirring constantly, until thickened.
  • Finish. Remove from heat and stir in shredded coconut, pecans, and salt.
  • Chill. Chill in a bowl in the fridge for 2-3 hours, until fully thickened.

To make the cake layers

  • Prep. Line the bottoms of 3 9-inch cake pans with parchment paper and grease the sides. Preheat oven to 350°F.
  • Melt. Bring the water to a light boil and pour it over the chopped chocolate. Let it sit for 2-3 minutes, then whisk until smooth.
  • Combine the dry ingredients. Whisk together the flour, baking soda, and salt.
  • Cream. Cream together the butter and sugar for 2-3 minutes.
  • Add the remaining wet ingredients. Into the butter mixture, stir the egg yolks, one at a time, followed by the vanilla extract and sour cream. Mix in the melted chocolate mixture.
  • Put it all together. Mix half of the dry ingredients into the batter, followed by the buttermilk and then the remaining dry ingredients.
  • Whip. Whip the egg whites on high speed until stiff peaks form.
  • Fold. Fold the egg whites into the batter in two parts.
  • Bake. Divide the batter between the cake pans and bake for 20-25 minutes.
  • Cool. Allow the cakes to cool in their pans for 2-3 minutes before turning them out onto cooling racks.

To finish the cake

  • Make the frosting. Beat the butter until smooth and then mix in the cocoa powder and half of the powdered sugar. Mix in the melted chocolate in 2-3 batches and then, finally, 3 tablespoons of heavy cream and the remaining powdered sugar.
  • Adjust consistency. Add the remaining heavy cream, as needed, to get the right consistency of frosting.
  • Flatten. Cut the domes from the tops of the cakes so they are flat.
  • Assemble. Place the first cake layer on a serving plate and pipe a dam of frosting around the top edge. Fill the dam with 1/3 of the coconut pecan filling. Repeat, stacking the second cake layer on top of the first. Top with the third cake layer.
  • Frost. Frost the outside of the cake and pipe a border of frosting shells around the top edge of the cake. Fill the border with the remaining coconut pecan filling.
  • Chill. Refrigerate until ready to serve. The cake is best enjoyed cool, but not too cold.
German chocolate cake on a cake stand.

Tips for Success

These simple tips and tricks will help guide you through the process of making this German chocolate cake. Keep them in mind as you go through the process.

  • Careful with heat. Keep the heat at medium when cooking the coconut pecan filling. Anything lower and the filling won’t thicken properly. Anything higher and you risk burning it or having it not thicken properly.
  • Keep it moving. When cooking the filling, it is important to stir it constantly. This will help it thicken evenly and will also help prevent burning.
  • Don’t skimp on creaming time. When creaming together the butter and sugar for the cake layers, do so until it has become quite fluffy and significantly lighter in color.
  • Scrape down the sides of the bowl. When making the cake batter and the frosting, be sure to use a rubber spatula to scrape down the sides of the bowl intermittently. This will help ensure that all of the ingredients make it into the mixture.
  • Don’t over-mix. When adding the dry ingredients to the cake batter, mix just until everything is incorporated. Over-mixing can cause the glutens in the flour to overdevelop, which can give you a tough, overly dense cake.
  • Consistency matters. You want to make sure that the frosting isn’t too stiff or too runny. Stiff frosting won’t spread properly and frosting that is too soft won’t hold things in place. 
  • Study up. Hungry for more tips and tricks? Check out my post on How to Fill and Stack a Layer Cake, How to Get the Right Frosting Consistency, and How to Frost a Cake with Buttercream.
A slice of German chocolate cake on a plate with a bite taken out of it.

Proper Storage

  • Refrigerator. Seal the cake in an airtight cake carrier or wrap it in a double layer of plastic wrap. I suggest using toothpicks to prop the plastic away from the cake. Alternatively, slice the cake and store the slices in a single layer in an airtight container. You can keep the cake in the fridge for up to 5 days.
  • Freezer. Pop the cake in the freezer for a couple of hours to firm up before wrapping it in a double layer of plastic wrap. You can also arrange slices in a single layer in a freezer-safe airtight container. Store the cake in the freezer for up to 3 months. Allow it to thaw in the fridge before serving.

More Chocolate Cake Recipes

If chocolate cake is your thing, you came to the right place. Once you get this German chocolate cake down, have a look at these other equally delicious recipes.

Watch How to Make German Chocolate Cake

Read Transcript

Recipe updated 1/2/24 to be even more moist and tender and use a different buttercream. The method is also slightly different. For the original recipe, download the PDF here.

Print
clock clock icon cutlery cutlery icon flag flag icon folder folder icon instagram instagram icon pinterest pinterest icon facebook facebook icon print print icon squares squares icon
A slice of german chocolate cake on a plate with a fork.
Recipe

German Chocolate Cake

  • Author: Life, Love and Sugar
  • Prep Time: 1 hour 15 minutes
  • Cook Time: 35 minutes
  • Total Time: 1 hour 50 minutes
  • Yield: 14-16 Slices
  • Category: Dessert
  • Method: Oven
  • Cuisine: American

Description

This German Chocolate Cake recipe is a classic! Tender, moist layers of chocolate cake are filled with an out-of-this-world coconut pecan filling that’s gooey and full of flavor and texture! It’s all frosted with the perfect chocolate buttercream!


Ingredients

Coconut Pecan Filling

  • 6 large egg yolks
  • 12 oz can evaporated milk
  • 1 1/2 tsp vanilla extract
  • 1 1/2 cups (310g) sugar
  • 3/4 cup (168g) unsalted butter, cubed
  • 3 cups (255g) sweetened shredded coconut
  • 1 1/4 cups (133g) chopped pecans, toasted
  • Pinch of salt

Chocolate Cake

  • 1/4 cup (60ml) water
  • 8 oz (226g) German chocolate, chopped
  • 2 1/4 cups (293g) all-purpose flour (measured accurately)
  • 1 tsp baking soda
  • 1/2 tsp salt
  • 3/4 cup (168g) unsalted butter, room temperature
  • 1 1/2 cups (310g) sugar
  • 4 large eggs, divided
  • 1 tsp vanilla extract
  • 1/4 cup (58g) sour cream, room temperature
  • 1 cup (240ml) buttermilk, room temperature

German Chocolate Frosting

  • 1 1/2 cups (336g) unsalted butter, room temperature
  • 5 tbsp (35g) natural unsweetened cocoa powder
  • 5 cups (575g) powdered sugar
  • 12 oz German chocolate, chopped and melted
  • 1/2 tsp salt
  • 68 tbsp (90-120ml) heavy whipping cream

Instructions

To make the filling:

  1. In a large saucepan, combine the egg yolks, evaporated milk and vanilla extract and whisk until well combined.
  2. Add the sugar and butter and cook on medium heat for 12-15 minutes, or until thickened and slightly pudding-like, stirring constantly.
  3. Remove from heat and stir in shredded coconut, pecans and salt.
  4. Pour into a heat-proof bowl and set in the fridge to cool completely.

To make the cake layers:

  1. Prepare three 9-inch cake pans with parchment paper circles in the bottom and grease the sides. Preheat oven to 350°F (176°C).
  2. Heat the water in the microwave just until it begins to boil. Pour the hot water over the chopped chocolate. Let it sit for 2-3 minutes, then stir until melted and smooth. If it doesn’t melt completely, heat in the microwave for another 10-15 seconds, then stir until smooth. Set aside.
  3. Combine flour, baking soda and salt in a medium sized bowl. Set aside.
  4. In a large mixing bowl, cream butter and sugar together until light in color and fluffy, about 2-3 minutes. Do not skimp on the amount of creaming time.
  5. Add the egg yolks one a time, mixing until well combined after each. Add the vanilla extract and sour cream and mix until well combined.
  6. Add the melted chocolate mixture from above and mix until well combined, scraping down the sides of the bowl a time or two to make sure things are well incorporated.
  7. Add half of the dry ingredients to the batter and mix until well combined. Add the buttermilk and mix until well combined. Add remaining dry ingredients and mix just until well combined. Scrape down the sides of the bowl as needed to be sure all ingredients are well incorporated. Set aside.
  8. Add the egg whites to a large mixer bowl and whip on high speed until stiff peaks form.
  9. Gently fold about half of the whipped egg whites into the rest of the cake batter until mostly combined, then add the remaining egg whites and gently fold until well combined.
  10. Divide the batter evenly between the prepared cake pans and bake for 20-25 minutes, or until a toothpick inserted in the middle of the cakes comes out clean.
  11. Remove the cakes from the oven and allow to cool for 2-3 minutes, then remove to a cooling rack to finish cooling.

To finish the cake:

  1. When the cake and filling have cooled completely, make the frosting and finish the cake. Add the butter to a large mixer bowl and beat until smooth.
  2. Add the cocoa powder and half of the powdered sugar and mix until well combined and smooth.
  3. Add the melted chocolate in 2-3 batches and mix until well combined and smooth.
  4. Add the salt and 3 tablespoons of heavy cream and mix until well combined and smooth.
  5. Add the remaining powdered sugar and mix until well combined and smooth.
  6. Add the remaining heavy cream, as needed, to get the right consistency of frosting.
  7. To build the cake, first use a large serrated knife to remove the domes from the tops of the cakes so they are flat. See my tips on how to level a cake and how to stack a cake.
  8. Place the first cake layer on a serving plate or on a cardboard cake circle.
  9. Pipe a dam of chocolate frosting around the outside of the cake layer. Spread about 1/3 of the coconut pecan filling evenly on top of the cake, in the center of the dam.
  10. Add the second layer of cake, another dam of frosting and add another 1/3 of the coconut pecan filling.
  11. Add the third layer of cake on top, then frost the outside of the cake with the remaining chocolate frosting.
  12. Pipe a shell border around the top outer edge of the cake. I used Ateco tip 847. Fill in the border with the remaining 1/3 of the coconut pecan filling. Decorate the bottom of the cake with pecans, if desired.
  13. Refrigerate until ready to serve. This cake is best served cool, but not super cold. Store in an air-tight container or well covered. Best if eaten within 4-5 days.

Nutrition

  • Serving Size: 1 Slice
  • Calories: 988
  • Sugar: 93 g
  • Sodium: 487.5 mg
  • Fat: 58.5 g
  • Carbohydrates: 114.7 g
  • Protein: 9.6 g
  • Cholesterol: 213.3 mg

Categories

Share a Comment

Have a question? Use the form below to submit your question or comment. I love hearing from you and seeing what you made!

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

170 Comments
  1. Sonia Patel

    Hello!!

    I love your website and baked a few of your cakes. They all turn out great. I am making the German Chocolate Cake this weekend. I read in the comments that the coconut pecan filling can be made ahead of time and refrigerated. Can it be made on Friday and then be assembled on Sunday and does the filling need to come to room temperature? Thank you

    1. Lindsay

      Yes, it should be fine to make it a couple days ahead and you shouldn’t need to bring it to room temperature.

  2. Kim

    Made this for a birthday. Wish I had made a trial run. Followed recipe exactly as written. The time posted to make this cake is waaay off… prep time should be 1.5 hours unless you have help. I could have saved a little time by purchasing chopped, roasted pecans, but those were no where to be found… 
    Cake: Good flavor, but not moist enough. I weighed the batter in order to spilt up into three equal parts. 
    Filling: Fantastic, but should have doubled for recipe.
    Frosting: Too sweet; need to back down the sugar a little. Feeling like it may have been better if I had sifted the sugar and dialed it back to 9 cups? 
    Would not make this again. 






  3. Helen Cooper

    Hi. I’m looking forward to making this cake but I am confused by your conversions from cups to grams:

    1 1/2 cups (310g) sugar
    3 cups (255g) sweetened shredded coconut

    How many grams is a cup for you? I am used to the metric conversion 1 cup = 225g

    Many thanks

  4. Hosanna

    Hi there, I really appreciate the understandability in this recipe! I’m going to make this Cake soon, but I have a problem. For the coconut-pecan filling, I want to omit the pecans. Do you have any advice, like should I add more coconut to make up for the lack of pecans? Your reply is eagerly anticipated, and greatly appreciated, thanks!!

    1. Lindsay

      You could definitely add a little more coconut. The main thing is getting the filling thicken enough, so if you add a little more and it still seems too thin, you could add a little more. Also keep in mind that it thickens as it cools.

      1. Hosanna

        Hello again! I tried the recipe except I omitted the pecans, and added about 1/4 cup more coconut. Everything was perfect! Though it did find I had to add more milk into the chocolate frosting than the recipe said to get it to spread and pipe properly. Other than that, everything went according to plan, and it turned out beautiful!

        Love this recipe! I’m sure I will do it again!






  5. Steph

    I made this cake for my grandfathers 88th birthday. He absolutely loved it and it was delicious! I skipped the pecans because of his dysphagia but it was still amazing. I would definitely make again!






  6. Linda

    HI Lindsay
    I made the recipe using 3 round 6″ pans and 2 square 6″ pans, the cakes were awesome.  Only a little dry, and I noticed that the cake especially the square cake tended to fall apart as I cut it.  Do you know any reason a cake would crumble as it is cut, never had this happen before.  I also used a little espresso in the frosting, awesome!  I totally iced the round cake as it was a gift, and the top and in between layer of the square cake.   So any comment on the dryness?
    Loving your recipes

    1. Lindsay

      I’m really not sure why it’d be crumbly. If it had to do with the dryness, I might try baking the cakes for a little less time next time and making sure that you aren’t adding too much flour.

  7. Sirisha Kolli

    Hi. I only have one 9in pan so I am planning to do the cake layers one by one. How will I have to adjust the bake time and will I have to adjust the temperature ??

    1. Lindsay

      If you’re just baking one layer at a time, it shouldn’t change the baking temperature. You might need to bake the layers a few minutes less, but it won’t be much.

  8. Suzann

    I have never made a German Chocolate cake before and looked at my options and went with this one. It was a great choice! The cake was super moist and the icing complimented it so well. Everyone loved it!






  9. debbie

    Hi Lindsay!
    I made a vegan version of this cake for my grandson’s birthday (valentine’s day) and everybody loved it! My grandson is a big fan of my pecan pie so I thought he would enjoy a German Chocolate cake. BOY, did he!
    PS, I have a vegan recipe blog and plan on posting my vegan version of the cake on it. I would love to give your recipe and site credit as the basis for my recipe if that’s cool with you.?

    1. Lindsay

      I’m so glad you enjoyed it! Great to hear that a vegan version worked well for you. And yes, I would prefer that you do give me credit for the recipe inspiration or as modified from. Thanks!

  10. Rhonda

    Hi Lindsay,

    my mom used to bake this one all the time. I have only made this a couple of times, but wanted try yours. One question, have you ever used vegetable oil instead of butter in the cake batter?

    1. Lindsay

      I haven’t tried using oil in this cake recipe. Because the butter and sugar are creamed together, I wouldn’t suggest replacing the butter with oil.

  11. Lakia Steele

    Okay, I have a question. Why do you add egg yolks, or is there a way to NOT have to add egg yolks. I’m trying to understand the purpose of adding these egg yolks. I’ve looked up several recipes and majority of them have egg yolks as one of the ingredients???????????

  12. Ellia

    I’m going to make this GCC for desert for Christmas dinner. Has anyone tried making it with the addition of espresso powder and substitute coffee for the water?

    1. Madison

      The frosting does go on the inside because it has to keep in the filling. It does go on the outside and the top too.
      When I first started making cakes I underestimated how much frosting I needed and I had to keep making more to cover and fill the cakes.

Lindsay
About Lindsay

I’m the baker, recipe developer and photographer behind Life, Love and Sugar. I love sharing trusted recipes with helpful tips to give you great results.

Scripture I’m Loving

“Come to me, all you who are weary and burdened, and I will give you rest. Take my yoke upon you and learn from me, for I am gentle and humble in heart, and you will find rest for your souls.” Matthew 11:28-29