German Chocolate Cake
This is the only German Chocolate Cake recipe you’ll ever need! This homemade cake features layers of moist chocolate cake and a delicious coconut pecan frosting.
Do you have a favorite cake? I’ve always loved a good chocolate and carrot cake, but today’s german chocolate cake recipe has easily become a new favorite of mine!
I prefer to call this an updated version of a german chocolate cake because it’s richer and easier to make. The chocolate cake layers are made in one bowl and incredibly simple to throw together. And that homemade coconut pecan frosting? I promise it tastes better than anything you can buy at the store and it’s not too difficult to make either!
To keep this cake simple, I didn’t add an outer layer of german chocolate cake icing. If you prefer to add some chocolate frosting to the outside of your cake, I’ve added that option as well!
Recipe Ingredients
This is the best german chocolate cake recipe I’ve ever made, and it requires mostly pantry staples. Here’s what we’ll need to make the chocolate cake layers and the coconut pecan frosting:
- All-purpose flour: Spoon and level the flour when measuring to avoid baking a dense cake.
- Cocoa powder: Use natural unsweetened cocoa powder so that it reacts with baking soda and helps the cake rise.
- Baking soda & baking powder: Gives the cake a little lift.
- Salt: Balances out the sweetness of the batter and enhances the chocolate flavor.
- Sugar: I used a mixture of granulated sugar and brown sugar to both sweeten the cake and add some moisture.
- Oil: Vegetable or canola oil will work.
- Buttermilk: Don’t have any buttermilk? You can use my homemade buttermilk substitute here.
- Eggs: Added to both the batter and the frosting. (Don’t worry, the frosting is cooked).
- Vanilla extract: Use pure vanilla extract for the best flavor.
- Boiling water: It’s important that your water is very warm.
- Instant espresso powder: Optional, but highly recommend. Enhances the chocolate flavor and rounds out the flavor of the cake.
- Evaporated milk: Not to be confused with sweetened condensed milk, which is much thicker.
- Butter: I recommend using unsalted butter since the amount of salt in salted butters can vary between different brands.
- Sweetened shredded coconut: For the frosting, this can easily be found in the baking aisle.
- Chopped pecans: You want to use raw chopped pecans.
How to Make German Chocolate Cake
This classic cake is typically made with melted german chocolate in the cake batter and is lighter in color too, but we’re doing things a little different today. For the chocolate cake layers, we’ll be using my homemade chocolate cake recipe. Why? Because it’s delicious and it’s easier to make. You can mix everything for the cake layers up in one bowl and it uses simple ingredients that you likely have on hand.
I have a full tutorial in my chocolate cake recipe for how I make the cake so you can refer to that if you need to. Here’s a little rundown for how to make the cake layers:
- Whisk together the dry ingredients: You’ll be whisking together some flour, unsweetened cocoa powder, baking powder, baking soda, salt, brown sugar, and granulated sugar.
- Whisk in the wet ingredients: Once the dry ingredients are well combined, you’ll whisk in some oil, buttermilk, eggs, and vanilla extract. The batter will be really thick at this point, almost like a fudgy brownie batter.
- Add some boiling water mixed with espresso powder: The final step for the cake batter is to mix in some boiling water. I prefer to set some water on the stove to boil as I start making the cake so that it’s ready to go. I also whisk a teaspoon of instant espresso powder into the boiling water before adding it to the bowl.
- Pour the batter into cake pans: I use two 9-inch cake pans for this recipe.
- Bake the cake layers: The cake layers will need to bake for about 30 minutes give or take a few minutes.
Simple, right? That’s why I much prefer to use this as the cake base for my german chocolate cake.
How to Make German Chocolate Cake Frosting
As the cake layers are baking, you can prepare the coconut pecan frosting. You can use the canned version if you like, but this frosting is actually fairly easy to make and SO much better than the store-bought kind too.
To make the frosting you’ll simply whisk together some granulated sugar, evaporated milk, and beaten egg yolks in a saucepan. Then, you’ll slice some butter into small pieces and add it to the mixture. The sugar sweetens the filling and the evaporated milk, egg yolks, and butter provide a rich flavor.
Once it’s ready, you’ll place the saucepan over medium heat, stirring often, until the mixture starts to thicken and boil. Once it’s thickened, remove it from the heat and stir in some sweetened shredded coconut, chopped pecans, and a little vanilla extract. The mixture will thicken even more as it cools too, so don’t worry if it seems thin at this point.
Once the frosting is done, I prefer to place the frosting in a bowl and let it cool completely. Once the cake layers and frosting are completely cooled, you can frost the cake.
If you want to add some frosting to the outside of the cake, my homemade chocolate buttercream frosting would work great!
FAQ’s
Do I Have to Use Espresso Powder?
I love to add a teaspoon of instant espresso powder to the boiling water because it enhances the chocolate flavor and makes the cake even better! If you don’t have any on hand you can use 1 cup of coffee or just use boiling water and omit the espresso powder.
How to Store This Cake
Store cake in an airtight container in the refrigerator for up to 4 days.
Can I Freeze This Cake?
Cake layers will freeze well for up to 3 months, thaw overnight in the refrigerator. The German chocolate cake frosting will freeze well for up to 3 months too, thaw overnight in the refrigerator and mix well before frosting the cake.
Baking Tips
- Before getting started with the cake batter, place a pot of water on the stove to boil so that it’s ready to go when you need it.
- When measuring your flour, avoid scooping it from the container. Instead, stir your flour around to fluff it, spoon it into your measuring cup, and level it off with the back of a knife.
- I suggest slicing the butter for the frosting into small pieces so it melts evenly and quickly.
More Homemade Cake Recipes To Try!
Recipe Video
German Chocolate Cake
Ingredients
For the cake:
- 2 cups (250 grams) all-purpose flour (spooned & leveled)
- 3/4 cup (65 grams) natural unsweetened cocoa powder
- 1 1/2 teaspoons baking soda
- 1 1/2 teaspoons baking powder
- 1 teaspoon salt
- 1 cup (200 grams) granulated sugar
- 1 cup (200 grams) brown sugar
- 1/2 cup (120 ml) canola or vegetable oil
- 1 cup (240 ml) buttermilk
- 2 large eggs
- 2 teaspoons pure vanilla extract
- 1 cup (240 ml) boiling water
- 1 teaspoon instant espresso powder (optional, but recommended)
For the frosting:
- 1 cup (200 grams) granulated sugar
- 1 cup (240 ml) evaporated milk
- 3 large egg yolks , room temperature and lightly beaten
- ½ cup (115 grams) unsalted butter
- 1 teaspoon pure vanilla extract
- 1 1/2 cups (120 grams) sweetened shredded coconut
- 1 cup (115 grams) chopped pecans
Instructions
To make the cake:
- Preheat oven to 350°F (177°C). Spray two 9-inch cake pans with nonstick cooking spray, line the bottom of each pan with parchment paper, and set aside.
- In a large mixing bowl, sift together the flour, cocoa powder, baking powder, baking soda, and salt. Whisk in the granulated sugar and brown sugar, then add the oil, buttermilk, eggs, and vanilla extract and mix until just combined.
- Add the instant espresso powder to the cup of boiling water and mix until fully dissolved. Add to the mixing bowl and mix until just combined (the batter will be very thin)
- Evenly distribute the batter between both cake pans. Bake at 350°F (177°C) for 28-30 minutes or until a toothpick inserted into the center of the cakes comes out clean and the tops spring back when lightly touched.
- Remove from the oven and transfer to a wire rack to cool in the pans for 30 minutes. Run a knife around the outside of each cake layer in the pan then carefully remove the cakes from the pans and place on the wire rack to cool completely.
To make the frosting:
- Add the granulated sugar, evaporated milk, and egg yolks to a large saucepan and whisk until fully combined. Slice the butter into small pieces and add to the saucepan.
- Place over medium heat, stirring constantly until the butter completely melts (about 4-5 minutes). Continue cooking and stirring constantly for another 8-12 minutes or until the mixture starts to boil and thicken.
- Remove from the heat and stir in the sweetened shredded coconut and chopped pecans, then stir in the vanilla extract.
- Transfer to a heat-safe container and allow to cool completely (about 1 - 1.5 hours).
To assemble the cake:
- Once the cakes have cooled, level the tops of each cake. Place one cake layer on a cake stand or large serving plate and top with half of the frosting. Spread the frosting into one even layer on top of the cake layer.
- Place the second cake layer on top of the frosting, add the remaining frosting on top, and spread around into one even layer.
- Slice and enjoy or refrigerate until you’re ready to serve the cake.
Could I use a can of full fat coconut milk in replacement of evaporated milk?
I think that would be fine. I would make sure to mix it well, then measure out 1 cup of canned coconut milk.
Hi! I absolutely LOVE this recipe and have made it several times! I would love to use the recipe as a layer in my son’s birthday cake, but would like to use a 9x13pan. Have you tried this? If so, what do you recommend for baking time?
Hi, Brooke! You can pour the batter into a 9×13 pan and bake it for 35 to 40 minutes. Hope that helps!
Hi. Do you think this cake is sturdy and dense enough to have a layer of fondant on it?
I honestly haven’t tried it, so I’m not quite sure. The chocolate cake layers may be okay, but you would want to use a different kind of frosting under the fondant.
This is the second time I have made this recipe. Every time the cake sinks in the middle while it’s baking. I have never had a cake sink like this one does.
Sorry you’re having trouble with the cake sinking. Did you happen to make any adjustments to the recipe? Also, did you make sure to use natural unsweetened cocoa powder? If you happened to use Dutch-processed cocoa powder that could be why. Other things that can cause your cake to sink could be from over mixing the batter (which incorporates too much air), opening the oven door quite a few times, or removing the cakes from the oven before they’re fully baked through in the center.
Hi, I was wondering if this cake is great for making cake pops?
I haven’t tried it, but I imagine you could use the cake layers to make cake pops.
Could you tell me the nutritional value of the German chocolate cake? I’m counting calories snd if I’m going to make it, which I plan on, I’d like to have a slice.
Thank you!
Hi, Daniele! I’m not sure about the nutritional information, but you can plug everything into an online calculator to get an estimate.
This looks like an amazing recipe!! Do you think this would work, doubled or tripled for a 12×18″ sheet pan?
I think that would be fine. Doubling it may make a bit too much batter, but you could make cupcakes with the extra batter.
Thanks!! Starting it now.
German Chocolate Cake is my favorite and this recipe did not disappoint! I am picky with cake textures but this one definitely exceeded my expectation, it was moist and chewy. If you are thinking of skipping the espresso DON’T it makes the chocolate flavor so much better. I am already looking forward to making it again.
Thanks for sharing this amazing recipe! Am I able to use it to make cupcakes as well?
Yes, absolutely! It will make about 32 to 34 cupcakes, so I would recommend making more frosting. Or you can use my chocolate cupcake recipe here, which is similar but just scaled down to only make about 16.
This German chocolate recipe turned out great. I made the pecan coconut frosting and your chocolate buttercream for the sides of the cake. I took this cake to my in laws to celebrate my hubby’s 40th birthday and got compliments on the cake. Too bad I can’t share a photo!
So happy to hear that everyone loved the cake, Julia! You can always email me a picture or tag me on Instagram!
Thank you so much for such a wonderful recipe! German chocolate cake always has held a special place in my heart as it was my grandpa’s favorite dessert. I wanted to try this recipe to celebrate his heavenly birthday and it was a huge hit. Several people who even just saw a photo of it were newly convinced to say GCC was their favorite and they wanted it for their birthdays!
As far as the instant espresso, I added it as directed. I’m not a coffee drinker and I could not taste it, but think it really did enhance the cocoa powder.
Thank you again!
I followed this recipe exactly, even used the helpful tips and it’s delicious! Made it for my mom’s birthday and she said it was one of the best German chocolate cakes she’s ever had.
My husband has requested this recipe for his birthday. I want to make it two layers in a two 6 inch pan. How much batter should I put in each pan? I fugue whatever batter is left over I can make a few cupcakes. Thanks so very much!!!
Hi, Pat! The batter will rise quite a bit, so I would probably only fill each one a little over halfway full. Hope that helps!
My mother’s favorite cake…I made this for her birthday and she said it was the best GC cake she’s EVER had!
Made this recipe and it came out super moist, everyone loved it ! 100% would recommend 🙂
I normally do not like German chocolate cake HOWEVER I made this particular cake for an employee of mine who loves German chocolate cake and it was his birthday. I have to say the frosting is AMAZING I could not stop eating the coconut frosting and I don’t even like coconut. Great cake ?
Hi, great recipe! Thank you. That frosting was crazy delicious! It would be nice if there was an option to download the recipe as pdf in addition to printing.
I made this recipe and while its not as gorgeous as yours, it is so incredibly decadent and rich, holy moly! I followed the recipe exactly, with the exception of buttermilk, I used 1 cup of almond milk and 1 tsbp of apple cider vinegar and let it rest for 5 mins. Other than that, buenísimo! Thank you so much! Oh, I also made the best carrot cake recipe, yeah it was incredible. Your recipes rock!
Thank you, Betty! So glad the cakes turned out great for you!
Hi,
I was wondering if I wanted a stronger coffee flavor would you recommend adding 1 cup of boiling coffee instead of water or adding more espresso powder? If so do you have any idea as to how much more to add?
I would probably add more espresso powder, but I’m not sure how much you would need.
Made this for a co-worker. It is delicious! So moist. Made exactly as stated. No changes needed. My son loves german chocolate cake. I will have to make it for him. So glad I found this recipe. Though I had no doubt it would be delicious! Buttermilk, oil, expresso…all great ingredients. Thank you! Take care
So glad you enjoyed the cake, Penny!
Can I store the cake on a cake stand or does it have to be refrigerated?
It will be okay at room temperature for a couple of hours, but because of the frosting I do recommend keeping it refrigerated.
Amazing cake! I’ve baked a few similar recipes in a baking frenzy, and this was definitely the best. I didn’t have all the ingredients for the frosting so made coffee butter icing instead, using some of the espresso powder to flavour and it worked well too. Family loved it, thank you! And useful to have the ingredients in metric (hello from Scotland).
So glad the cake turned out great for you!
I made this cake today for a good friends birthday who is doing some renovations to our old farm house. WOW!, Cake is So moist. The best chocolate cake I’ve ever tasted. Thank you
Can I use instant coffee instead of espresso powder?
That would be fine!
Love German chocolate cake and this is absolutely amazing. I made one half with pecans and one half without because I have 1 in the family who can’t stand them – maybe they should find another dessert haha! It definitely tastes better with the pecans, but without does taste great too for those who need to keep them out.
So funny, Dawn! I used to not like pecans in desserts, but I love them now. So glad it turned out great for you!
Hi Danielle,
This cake is crazy good!! I’ve been trying chocolate cakes, but couldn’t find moist and delicious and this cake certainly filled the bill.
I didn’t have evaporated milk so I used 3/4 cup whole milk and 1/4 cup of half&half and the frosting came out amazing too!!
Thank you for this great recipe.
Lisa
So glad you liked the cake, Lisa!
Old lady here who has been making German Chocolate Cake for 50 years. I always use their recipe as this is my all time favorite cake. At our bridge club I offered to make everyone a birthday cake for the next year. Including mine that’s just 8 cakes. Well mine was first and I brought a German Chocolate Cake. Next person asked for the same thing and by the time my birthday rolled around I had made 8 GCC. I’ll have to try this but without the espresso powder as not a person in our club drinks coffee and the one time I used it in a cake 3 complained/commented on it. And not in a good way. Really happy that use also use grams and millimeters as usually I have to convert recipes. I only bake with a scale.
So glad you find the gram and ml measurements helpful, Margi! You can omit the espresso powder and just use boiling water too. I hope everyone enjoys the cake!
Hi Danielle, looks yummy but I have a pecan allergy. Any suggestions for non-nit substitutions? Or would it be ok if I omitted the pecans entirely and didn’t sub anything for them?
Thank you!
You can just omit the chopped pecans! You may want to add another 1/2 cup of shredded coconut to bulk up the frosting a little more too.
If I use unsweetened coconut, do I need to adjust any other ingredient?
The frosting is fairly sweet, so it would probably be okay to use unsweetened coconut.
Looks amazing. My kind dad are not a big coconut fans… what else can you recommend?
You may be able to just omit the coconut and use more finely chopped nuts. The coconut does bulk up the frosting though, so you may need to make more of the frosting to have enough for the cake.
I’ve cooked for years but never a German chocolate cake. Oh my, this recipe was amazing. I didn’t have espresso powder so I heated up some leftover coffee. It really added to the chocolate flavor. I made your delicious, fluffy chocolate frosting and used it between layers and edges. Wow! I also toasted my pecans and coconut. I won’t be looking any further for a better German chocolate cake recipe. . Thank you.
How much coffee did you add?
You can replace the 1 cup of boiling water with 1 cup of freshly brewed coffee.