4.98 from 47 votes

German Chocolate Cake (Best Recipe!)

Jump to Recipe ▼

187 Comments

Servings: 15 slices

1 hr 30 mins

This post may contain affiliate links. As an Amazon Associate I earn from qualifying purchases. Please read my disclosure policy.

Made with richly fudgy chocolate cake layers and a silky chocolate frosting, this is NOT your average German chocolate cake! Instead of piling the coconut-pecan frosting on top, we layer it inside and wrap the cake in chocolate frosting for gooey decadence in every slice. Recipe includes a how-to video!

Slice of German chocolate cake on a plate with one bite missing.

The Ultimate German Chocolate Cake Recipe

I’ve taken some liberties with traditional German chocolate cake today. After lots of testing, I wasn’t satisfied with many attempts at the classic versions of this cake. Maybe you’ve tried them before: made with melted bars of German chocolate and whipped egg whites. They yield a lighter, but more dry and not terribly chocolatey cake.

While I tried to love it, I found myself desperately craving something a bit more decadent, a touch more interesting, and definitely more chocolatey. My version delivers on all of these, here’s what to know:

What to Expect From My Recipe

  • Ultra moist, deeply chocolatey cake layers. No dry, crumbly cake here! We’re skipping the traditional method and using my classic chocolate cake recipe as the base for rich, fudgy results.
  • Traditional coconut-pecan frosting (used strategically). The iconic filling stays, but it’s used between the layers (and a bit on top). It’s gooey, flavorful, and balances the cake without overwhelming it.
  • Chocolate buttercream makes an appearance. It’s not traditional, but holds in the filling and adds an extra layer of balanced decadence that puts this cake over the top.

Ingredients

For the Cake Layers

Overhead view of ingredients for my German chocolate cake recipe including flour, cocoa powder, brown sugar, and more.
  • Flour. Stick with all-purpose flour for this recipe and make sure you measure it accurately, or you could end up with a cake that’s dry or dense. I have a post on how to measure flour the right way that explains everything you need to know!
  • Cocoa powder. Natural cocoa powder will give you the most traditional flavor and is what I recommend.
  • Instant coffee. This is optional, but I recommend adding it for the richest chocolate flavor. I promise it won’t make your cake taste like coffee! If you don’t have instant coffee, you an swap the hot water with a ½ cup of brewed hot coffee.
  • Egg + egg yolk. Adding an extra yolk to the batter makes for a rich, moist cake crumb. It’s key for that fudgy texture we all expect from a chocolate cake!
  • Oil & butter. This winning combination is my go-to for cakes (and muffins and breads) that are moist (oil) and flavorful (butter). I use avocado oil, but any neutral cooking oil will work.

For the Filling & Frosting

Overhead view of ingredients including cocoa powder, coconut, pecans, and more.
  • Coconut & pecans. Use sweetened shredded coconut and chopped pecans. If you’d like to toast your pecans (and I recommend you do!), follow the instructions in my post on how to toast pecans. You will want to toast them before chopping for best results.
  • Evaporated milk. Be careful to make sure you aren’t using sweetened condensed milk–you must use evaporated milk. They are often sold near each other but are NOT the same thing.
  • Egg yolks. You only need egg yolks for the filling. If you don’t want to waste the egg whites, use them to make meringue cookies (my recipe uses exactly four!).
  • Butter. I use unsalted butter in the filling and salted in the frosting. If you only have salted butter, omit the salt in the filling. If you only have unsalted butter, simply add a ½ teaspoon of salt to the frosting.
  • Cocoa powder. Stick with natural cocoa powder for the frosting, just like the cake layers.

Remember, this is just an overview of the ingredients I used and why. For the full recipe please scroll down to the bottom of the post!

SAM’S TIP: We won’t use all of the evaporated milk in the filling, so I like to use up a little more of it in the chocolate frosting. If you prefer to use regular milk in the frosting though, feel free.

How to Make German Chocolate Cake

Overhead view of chocolate cake batter being mixed with a hand mixer.
  1. Step 1: Make the batter. Whisk together the dry ingredients and sugars until well combined, then stir in the oil, melted butter, eggs, and vanilla. Gradually stir in the buttermilk, then very carefully add the hot water. Scrape the bowl before giving it one final stir until you have a smooth, cohesive batter.
Two chocolate cake layers on a cooling rack.
  1. Step 2: Bake. Evenly divide the batter between two greased, floured, and lined pans. Bake until a toothpick inserted in the center comes out clean or with moist crumbs (preferable!), then remove to a cooling rack. Wait 15 minutes before removing the cakes from their pans to cool completely.
Thickened caramel being stirred with a whisk.
  1. Step 3: Make the caramelized filling. Whisk together the egg yolks and evaporated milk in a saucepan. Stir in the butter, sugars, and salt, then turn your stovetop to medium-low. Stir constantly as the mixture heats and thickens. Once it reaches a light brown color, remove it from the heat.
Coconut and pecans being stirred into a caramel.
  1. Step 4: Add the coconut and pecans. Stir in the vanilla, chopped pecans, and shredded coconut. You will need to let this mixture cool completely before you can use it; I recommend transferring it to a heatproof dish to help speed up this process.
Bowl of chocolate frosting.
  1. Step 5: Make the frosting. Beat the butter until smooth, then gradually stir in the powdered sugar and cocoa powder. Finally, stir in the milk and vanilla.
One layer of chocolate cake topped with a chocolate frosting dam and a coconut caramel filling.
  1. Step 6: Assemble. Pipe a frosting dam around the edge of your first cake layer. Add half of the caramel filling in the center. Top with your second cake layer, then frost the sides of the cake (you can do a thin layer on top too!). Pipe a frosting border/dam around the top of your cake (I switch to a star tip for this!), then add your remaining caramel filling in the center.

SAM’S TIP: It’s very important that you let your filling cool completely. It will be too runny while still warm and needs to cool to the proper consistency.

German chocolate cake frosted with a combination of coconut caramel frosting and chocolate frosting.

Frequently Asked Questions

Why do they call it German chocolate cake?

Much like Italian cream cake doesn’t come from Italy, German chocolate cake does not come from Germany. Instead, it gets its name from the creator of German chocolate, Samual German. Here’s a good resource if you want to learn more about the origins of this not-so-German cake.

What is the traditional frosting for German chocolate cake?

The traditional frosting is a cross between a custard and a caramel sauce with shredded coconut and toasted pecans.

We still make this frosting for , I like a little bit more chocolate (shocking), so I treat the coconut/caramel/pecan mixture as a filling and use an actual chocolate frosting to frost my cake.

Does German chocolate cake need to be refrigerated?

This cake can stay at room temperature in an airtight container for up to 2 days. Alternatively, you can refrigerate it for up to a week (just keep it in an airtight container, as the fridge dries out cakes!).

Slice of cake made with two layers of chocolate cake, a coconut caramel filling, and chocolate frosting.

I’d love to hear how you like my non-traditional take on this cake–leave me a comment below if you try it 😊

Enjoy!

Let’s bake together! Subscribe to my newsletter to be notified of all the newest recipes, and find my free recipe tutorials on YouTube 💜

Slice of German chocolate cake on a plate with one bite missing.
4.98 from 47 votes

German Chocolate Cake (Best Recipe!)

This is NOT your average German chocolate cake ! Two layers of rich, fudgy chocolate cake filled with custardy coconut/pecan filling and cloaked in a fudgy chocolate frosting. A decadent, gourmet take on a classic that delivers show-stopping results.
Recipe includes a how-to video!
Prep: 45 minutes
Cook: 45 minutes
Total: 1 hour 30 minutes
Servings: 15 slices
YouTube video
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

Ingredients

Chocolate Cake

  • 1 ¾ cup (215 g) all-purpose flour
  • 1 cup (200 g) light brown sugar, firmly packed
  • 1 cup (200 g) sugar
  • ¾ cup (75 g) natural cocoa powder
  • 1 ½ teaspoons instant coffee
  • 1 ½ teaspoons baking soda
  • ¾ teaspoon salt
  • ½ cup (120 ml) neutral cooking oil, I use avocado oil, but canola or vegetable oil would also work
  • ½ cup (113 g) unsalted butter, melted
  • 2 large eggs, room temperature preferred
  • 1 large egg yolk, room temperature preferred
  • 1 ½ teaspoons vanilla extract
  • 1 cup (236 ml) buttermilk¹
  • ½ cup (120 ml) very hot or boiling water

Coconut Caramel Filling

  • 4 large egg yolks
  • 1 cup (236 ml) evaporated milk
  • 8 Tablespoons unsalted butter, cut into 8 pieces
  • ½ cup (100 g) granulated sugar
  • ½ cup (100 g) light brown sugar, firmly packed
  • ¼ teaspoon salt
  • 1 teaspoon vanilla extract
  • 1 cups (125 g) chopped pecans, preferably toasted
  • 2 cups (160 g) sweetened shredded coconut

Chocolate Frosting²

  • 1 cup (226 g) salted butter, softened
  • 3 ½ cups (440 g) powdered sugar
  • ½ cup (50 g) natural cocoa powder
  • 1 teaspoon vanilla extract
  • 2 Tablespoons evaporated milk³

Instructions 

Chocolate Cake

  • Preheat oven to 350F (175C) and prepare two 9″ round cake pans by lightly greasing and flouring I also recommend lining the bottom of each pan with a round of parchment paper. Set aside.
  • Combine flour, sugars, cocoa powder, instant coffee, baking soda, and salt in a large bowl (or in the bowl of a stand mixer) and use an electric mixer to stir until well-combined.
    1 ¾ cup (215 g) all-purpose flour, 1 cup (200 g) light brown sugar, firmly packed, 1 cup (200 g) sugar, ¾ cup (75 g) natural cocoa powder, 1 ½ teaspoons instant coffee, 1 ½ teaspoons baking soda, ¾ teaspoon salt
  • Add oil and melted butter and stir well (mixture will be very thick), then stir in eggs, egg yolk, and vanilla extract.
    ½ cup (120 ml) neutral cooking oil, ½ cup (113 g) unsalted butter, 2 large eggs, 1 large egg yolk, 1 ½ teaspoons vanilla extract
  • Gradually add buttermilk, stirring until completely combined.
    1 cup (236 ml) buttermilk¹
  • Slowly add hot water (be careful not to splash yourself!), stirring until ingredients are well-combined. Pause occasionally to scrape down the sides and bottom of the bowl with a spatula to ensure all ingredients are thoroughly combined.
    ½ cup (120 ml) very hot or boiling water
  • Evenly divide batter into prepared pans. Transfer to oven and bake on 350F (175C) for 25-30 minutes and a toothpick inserted in the center comes out clean or with a few moist crumbs. Allow cakes to cool for 15 minutes before inverting onto cooling rack to cool completely before filling and frosting.

Coconut Caramel Filling

  • Once your cake is in the oven, begin preparing your coconut/caramel filling. In a medium-sized saucepan, combine egg yolks and evaporated milk and whisk until eggs are lightly beaten.
    4 large egg yolks, 1 cup (236 ml) evaporated milk
  • Add butter, sugars, and salt and place saucepan over medium/low heat (keep heat low so you do not cook your eggs!). Stir constantly until mixture is a light golden brown and thickened (about 10 minutes). Remove from heat and stir in vanilla extract, chopped pecans, and shredded coconut.
    8 Tablespoons unsalted butter, ½ cup (100 g) granulated sugar, ½ cup (100 g) light brown sugar, ¼ teaspoon salt, 1 teaspoon vanilla extract, 1 cups (125 g) chopped pecans, 2 cups (160 g) sweetened shredded coconut
  • Allow to cool completely before spreading over cake.

Chocolate Frosting

  • In the bowl of a stand mixer OR in a large bowl using an electric mixer, beat butter until creamy. Gradually add powdered sugar and cocoa powder until completely combined. Stir in vanilla extract and milk.
    1 cup (226 g) salted butter, 3 ½ cups (440 g) powdered sugar, ½ cup (50 g) natural cocoa powder, 1 teaspoon vanilla extract, 2 Tablespoons evaporated milk³

Assembly:

  • Once your cake layers have cooled and your coconut/caramel filling is no longer warm to the touch, you can assemble your cake!
  • Place one cake round on serving tray or cake platter. Use your chocolate frosting to spread or pipe a border around the edge of the cake. Fill the border with half of your coconut/caramel filling.
  • Top with second cake round. Frost top and sides of entire cake with remaining chocolate frosting.
  • Top off cake with remaining half of coconut/caramel frosting.
  • Slice, serve, and enjoy!

Notes

¹If you don’t have buttermilk on hand, please see my easy buttermilk substitute.
²This makes enough to lightly but entirely cover the cake without much left over for decorations. Since this is such a rich cake, this amount of frosting will be sufficient for most people. However, if you intend to decorate, please increase the frosting recipe by 50%.
³I recommend evaporated milk because you will likely have some over from your coconut filling if you purchased a 12 oz can. However, regular milk will work just as well!

Storing

Keep at room temperature (granted you are not in a particularly hot/humid climate) in an airtight container for up to three days. It may also be refrigerated (in an airtight container) for up to a week.
This may also be frozen, wrap well and freeze for up to several months.

Nutrition

Serving: 1slice | Calories: 784kcal | Carbohydrates: 91g | Protein: 6g | Fat: 44g | Saturated Fat: 17g | Polyunsaturated Fat: 3g | Monounsaturated Fat: 12g | Cholesterol: 155mg | Sodium: 445mg | Potassium: 118mg | Fiber: 2g | Sugar: 76g | Vitamin A: 23IU | Vitamin C: 2mg | Calcium: 19mg | Iron: 4mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Like this? Leave a comment below!

This recipe was originally published in September of 2019, I’ve updated it to include new photos and more helpful information, but the recipe is unchanged.

Cover photo of my gourmet cookie ebook.

Now Available!

Get my most popular bakery-style cookie recipes in one beautiful ebook. Foolproof recipes and bakery-worthy cookies you can make at home.

You May Also Like:

4.98 from 47 votes (12 ratings without comment)

Leave a comment

Your email address will not be published. Required fields are marked *

Recipe Rating




187 Comments

  1. Ann says:

    5 stars
    Excellent!

  2. Zoie Penick says:

    5 stars
    My sister and I made this cake today. My family loved it! Thanks for the recipe Sam! We followed everything exactly 🙂

    1. Sam says:

      I’m so glad everyone enjoyed it so much, Zoie! Baking with family is the best. 🙂

  3. Ali says:

    Can I use instant flavored coffee like caramel if I do not have regular instant coffee?

    1. Sam says:

      Hi Ali! The flavored instant coffee should work. Just keep in mind it’s going to change the final flavor of the cake. 🙂

  4. Taylor says:

    Hi Sam!
    I plan on making this for my Nan’s 65th birthday next week, but I’d like to do 3 layers instead of 2. How much would you recommend increasing the ingredients? Thanks 🙂

    1. Sam says:

      Hi Taylor! I would increase all of the ingredients by 50%. 🙂

  5. Iman says:

    Hi Sam! I plan on trying this delicious recipe soon. I wanted to ask if there is a reason for using sweetened coconut over unsweetened? I have some unsweetened coconut and wondered if the sugar in recipe will make up for it.

    Thank you!

    1. Sam says:

      Hi Iman! I use it because it’s a little more moist and a little more flavorful but you can use the unsweetened if that’s what you have on hand. 🙂

      1. Iman Khan says:

        Thank you!

  6. Melissa says:

    Thank you for sharing this recipe! I made it yesterday and it turned out great. I just have one question, my German chocolate filling was still a bit runny. It never quite thickened up. I put some on the top and it started running down the sides after a while. Any suggestions to prevent this? I cooked on low heat for like 8-10 minutes. It just never got really thick. What did I do wrong?

    1. Sam says:

      Hi Melissa! I’m glad you enjoyed it overall. Your filling may have just needed a little bit longer to cook to thicken up a bit. 🙂

  7. Andres says:

    5 stars
    Can I make this in 8 inch pans since the cake is basically your chocolate cake?

    1. Sam says:

      Hi Andres! That will work just be careful not to overfill the pan. The bake time may be slightly different as well. 🙂

  8. Sandy says:

    I’ve been looking a lot at your site in the last several months. I’ve actually made several of your recipes and they were awesome! With this one for the German chocolate cake, can this be made in a 9 x 13 pan instead of 2 round pans? I can’t wait to try this!

    1. Sam says:

      Hi Sandy! That should work just fine. 🙂

      1. Tonya R says:

        For the coconut caramel filling, you say be careful not to cook the eggs. So are the eggs raw in this filling?? How is that safe?

      2. Sam says:

        Hi Tonya! You will be heating the eggs so they are “cooked” to be safe to consume (if you’re concerned, use an instant read thermometer and make sure they reach 165F), but you want to make sure that you aren’t over-heating them and that you don’t end up with bits of cooked/scrambled egg in your filling. I hope that helps!

  9. Marie says:

    Hi!
    I love your recipes! I make them all the time and all my friends raveeee about how good they are. I have a friend who lovesssss German cake, so I wanted to give this one a shot for her, but she’s allergic to eggs…do you have a good suggestion for an egg substitute? Thanks! And keep baking and sharing your recipes – they’re AWESOME!

    1. Sam says:

      Hi Marie! Unfortunately I don’t really have a good substitute for the egg here. 🙁

    2. Brian says:

      I got to try this!!!

  10. Diane says:

    5 stars
    Definitely I will try this cake and I’ll let you know how it turn out THANK YOU CHEF 👩‍🍳 …..BUT IT LOOKS AMAZING

    1. Sam says:

      I hope you love it Diane! 🙂

  11. Karen says:

    Hi Sam.
    I tried posting not sure it it worked but I’m curious if I could half this recipe to make a 6 inch cake since it would pretty much be for me and my husband. Or what do you recommend? Thanks

    1. Sam says:

      Hi Karen! Cutting the recipe in half should work for a 6 inch cake. 🙂

      1. Karen says:

        Thank you Sam I’ll definitely be trying it out!!

    2. Leota says:

      Hi Sam
      I am going to try this recipe is there a substitute for coffee or can I leave out coffee entirely? Thanks

      1. Emily @ Sugar Spun Run says:

        Hi Leota! You can just leave it out entirely. Keep in mind it won’t make your cake taste like coffee; it just enhances the chocolate flavor. Enjoy!

  12. Karen says:

    Hi Sam.
    I was curious if I can half this recipe to make a 6 inch cake or what do you recommend?Thanks

    1. Sam says:

      Hi Karen! Would this be a 2-layer 6 inch cake? That would work, you might have a little bit of extra batter but just discard it (don’t fill the cake pans more than 2/3-3/4 full).

  13. Allison says:

    Can the filling be made in advance and frozen? I have so many egg yolks left over after making Swiss merengue buttercream and want to get a head start on my moms birthday cake.

    1. Sugar Spun Run says:

      Hi, Allison! I have not tried it myself, but I think that it should be fine frozen. 🙂

  14. PovertyLaneBaker says:

    This was a delicious recipe and the end product was a finger licking delight. But, as a huge fan of Sugar Spun Run, I questioned a few changes. Why not the “Best Chocolate Cake” recipe? The chocolate frosting recipe was just a buttercream and your outer chocolate frosting is far superior (salted butter?). Anyway, still a huge fan, but I’ll use your other recipes with this messy delish in the future. Keep up the good work.

    1. Sam says:

      Glad you enjoyed! I talk a bit about why I made the cake the way I did in the post if you want to check that out. I am glad you have been enjoying the recipes! 🙂

  15. kate says:

    This looks Amazing! How would you do these as cupcakes? I have a request for some and just want to get them right

    Thank you so much for the help!

    1. Sugar Spun Run says:

      Hi, Kate! I have never used this recipe to create cupcakes before so you will have to experiment some. I would fill the mufifn tin with 1/4 cake batter, then I’d add 1-2 tablespoons of the coconut caramel filling, then apply more cake batter on top until the cupcake is 2/3 of the way full. I would then bake them until done and allow them to cool completely before icing them. Again, I have not tried it so you will have to keep me posted on how they turn out. 🙂