German Chocolate Cake

title 1
German Chocolate Cake
⏱️ cook time 2 hours
🍽️ servings 12
⚡ Difficulty medium

intro

Rich, moist chocolate layer cake slathered with gooey coconut-pecan frosting, a beloved classic boasting tender crumb and nutty, caramelized sweetness.

Ingredients

German's sweet baking chocolate 113 grams (4 oz, chopped)
Unsalted butter 339 grams (1.5 cups, divided, softened)
Granulated sugar 600 grams (3 cups, divided)
Large eggs 4 whole (separated for cake) plus 3 large egg yolks (for frosting, ~225g total out of shell)
All-purpose flour 240 grams (2 cups)
Unsweetened cocoa powder 30 grams (1/4 cup)
Baking soda 1 teaspoon
Fine table salt 1/2 teaspoon
Buttermilk 240 ml (1 cup, room temperature)
Vanilla extract 2.5 teaspoons (divided)
Evaporated milk 354 ml (1.5 cups)
Sweetened shredded coconut 200 grams (2 cups)
Chopped pecans 150 grams (1.5 cups, toasted)
Water 120 ml (1/2 cup, boiling)

Steps

1

Prep cake batter base

Preheat oven to 175°C (350°F), then grease three 9-inch round cake pans and line their bases with parchment paper. Place 113g chopped German’s sweet baking chocolate in a small heatproof bowl, pour 120ml (1/2 cup) boiling water over it, stir until fully smooth, and set aside to cool for 5 minutes. In a large mixing bowl, beat 226g (1 cup) of the softened unsalted butter and 400g (2 cups) of the granulated sugar on medium mixer speed for 3 minutes until pale and fluffy, then beat in the 4 separated egg yolks (from the cake eggs) one at a time (waiting 30 seconds between each addition), followed by 1 tsp of the vanilla extract and the cooled melted chocolate.

Step 1
step1:Prep cake batter base
2

Complete cake batter

In a separate medium bowl, whisk together 240g all-purpose flour, 30g unsweetened cocoa powder, 1 tsp baking soda, and 1/2 tsp fine table salt. Add the dry ingredient mix to the butter-chocolate base in 3 alternating batches with 240ml room-temperature buttermilk, starting and ending with dry ingredients, mixing on low speed only until just combined (do not overmix). In a clean, dry bowl, beat the 4 reserved egg whites (from the cake eggs) on high speed for 2 minutes until stiff, glossy peaks form, then gently fold 1/3 of the egg whites into the batter to lighten it, followed by the remaining 2/3, folding carefully to retain air.

Step 2
step2:Complete cake batter
3

Bake chocolate layers

Divide the batter evenly between the three prepared pans, smoothing the tops with an offset spatula. Bake on the middle oven rack at 175°C (350°F) for 28-30 minutes, until a toothpick inserted into the center comes out with 1-2 moist crumbs attached. Remove pans from the oven, let cakes cool in the pans for 10 minutes, then turn out onto wire racks to cool completely to room temperature (about 1 hour) before assembling.

Step 3
step3:Bake chocolate layers
4

Cook frosting base

While cakes cool, prepare the frosting base: in a medium heavy-bottomed saucepan over medium-low heat, combine 354ml evaporated milk, the remaining 200g (1 cup) granulated sugar, the 3 frosting egg yolks, and the remaining 113g (1/2 cup) cut-up unsalted butter. Cook, stirring constantly with a wooden spoon, for 10-12 minutes until the mixture thickens to a pudding-like consistency that coats the back of the spoon (it will reach 70°C/160°F on a candy thermometer). Remove the pan from heat immediately.

Step 4
step4:Cook frosting base
5

Cool coconut frosting

Stir the remaining 1.5 tsp vanilla extract, 200g sweetened shredded coconut, and 150g toasted chopped pecans into the hot frosting base until fully combined. Pour the frosting into a shallow bowl, and let it cool to room temperature for 30 minutes, stirring occasionally, until it thickens to a spreadable, gooey consistency (do not chill, as it will become too firm to spread easily).

Step 5
step5:Cool coconut frosting
6

Assemble layer cake

Place one fully cooled cake layer on a cake stand or serving plate. Spread 1/3 of the cooled coconut-pecan frosting evenly over the top of the layer, leaving a 1/4-inch border from the edge. Top with the second cake layer, spread another 1/3 of the frosting over it, then add the final cake layer. Spread the remaining 1/3 of the frosting over the top of the cake (classic German Chocolate Cake does not have frosting on the sides, so leave the dark chocolate sides exposed for an authentic look). Let the cake set for 15 minutes at room temperature before slicing into 12 equal servings.

Step 6
step6:Assemble layer cake

Tips

1.Toast chopped pecans for 8 minutes at 175°C (350°F) before adding them to the frosting, stirring once halfway through, to bring out their rich, nutty flavor and add subtle crunch.
2.Ensure your mixing bowl and beaters are completely grease-free before beating egg whites for the cake batter; any trace of fat will prevent the whites from forming stiff peaks, leading to a dense, flat cake.
3.Do not overbake the cake layers: the toothpick test should show 1-2 moist crumbs, not clean batter, as residual heat will continue to cook the cake after it comes out of the oven, and overbaking leads to dry crumb.

✨ You May Also Like

Desserts & Baking
🍜 Italy

Creamy, coffee-kissed classic Northern Italian no-bake dessert, with layers of rum-spiked mascarpone cream, soft ladyfingers, and a rich cocoa dusting.

⏱️ 4 hours 3Desserts & Baking ★ 4.7
Desserts & Baking
🍜 France

Flaky, shatteringly crisp, buttery French croissants with golden exteriors and soft, airy layered interiors, perfect for pairing with coffee for a special morning treat.

⏱️ 12 hours Desserts & Baking ★ 4.5
Desserts & Baking
🍜 United States

Warm, spiced baked apples topped with a fluffy golden biscuit crust, this cozy dessert pairs perfectly with vanilla ice cream for cool-weather comfort.

⏱️ 55 minuteDesserts & Baking ★ 4.6
Desserts & Baking
🍜 United States

A star-spangled classic American blueberry pie with buttery flaky crust and bright sweet-tart filling, perfect for summer patriotic gatherings.

⏱️ 1 hour 25Desserts & Baking ★ 4.7
Desserts & Baking
🍜 United States

A beloved no-bake regional Maine candy with a chewy coconut-potato center coated in rich dark chocolate, a New England holiday staple since the 1870s.

⏱️ 2 hours 3Desserts & Baking ★ 4.8
Desserts & Baking
🍜 France

Luxuriously creamy, floral frozen custard made with aromatic Tahitian vanilla beans, boasting a smooth, rich texture that melts slowly on the tongue.

⏱️ 3 hours 3Desserts & Baking ★ 4.5

German Chocolate Cake:Frequently Asked Questions

1.Is German Chocolate Cake actually originally from Germany? ▾
That’s such a common misconception! This cake is an American classic, named for Samuel German, who developed a mild, sweet baking chocolate for Massachusetts’ Baker’s Chocolate brand in 1852. The iconic coconut-pecan frosting recipe was popularized by a 1950s Texas newspaper, with no actual ties to German baking traditions.
2.What can I substitute if I can’t find German’s sweet baking chocolate? ▾
It’s an easy, reliable swap! For every 4 ounces of German’s sweet chocolate the recipe calls for, use 4 ounces of semisweet baking chocolate plus 1 tablespoon of granulated sugar, melted and stirred smooth. This matches the chocolate’s mild, sweet profile so your cake won’t taste overly bitter or throw off the batter’s sugar balance.
3.Why is my coconut-pecan frosting always runny instead of thick and gooey? ▾
Runny frosting almost always stems from undercooking the custard base, or adding coconut and pecans too early. Cook the unsalted butter, sugar, eggs, and evaporated milk mixture until it hits 170°F and thickly coats the back of a spoon, then let it cool 15 minutes before stirring in add-ins for that perfect spreadable, gooey texture.
4.How do I keep my cake layers from drying out before assembly? ▾
Start by not overbaking: test layers at 25 minutes, pulling them when a toothpick comes out with 1-2 moist crumbs attached. After cooling 10 minutes in pans, wrap layers tightly in plastic wrap while still slightly warm and chill for 1 hour. This locks in moisture for that signature tender, rich crumb with no dry, crumbly edges.
5.Do I really need to toast the pecans for the coconut-pecan frosting? ▾
It’s not a strict requirement, but toasting makes a massive flavor difference for barely any effort. Spread chopped pecans on a baking sheet and toast at 350°F for 5-7 minutes, stirring once, until they smell warm and nutty. This amplifies their earthy flavor to cut through the frosting’s rich sweetness for that classic balanced, nutty profile.
6.Can I make this cake ahead of time for a party or gathering? ▾
Absolutely! Assembled, this cake keeps beautifully in an airtight container in the fridge for up to 3 days. The flavors actually meld and improve after 24 hours, as the frosting softens the cake layers slightly. Just let it sit at room temperature for 20 minutes before serving to bring out its full rich, sweet depth.
7.Why do my cake layers turn out dense instead of light and tender? ▾
Dense, tough layers almost always come from overmixing after adding all-purpose flour, or using cold ingredients. Make sure your unsalted butter and large eggs are room temperature before you start, and stir flour in just until no dry streaks remain. Overmixing develops excess gluten that makes cake heavy, instead of soft and delicate.
8.Is it traditional to add chocolate buttercream, or only coconut-pecan frosting? ▾
The original classic recipe uses only the gooey coconut-pecan frosting between layers and on top, with no coating on the cake sides. Many modern bakers add a thin chocolate buttercream crumb coat on the sides for extra richness, but that’s an optional upgrade—there’s no wrong choice as long as that iconic coconut-pecan layer is front and center.
9.Can I use sweetened shredded coconut instead of flaked coconut for the frosting? ▾
You absolutely can, just adjust for texture and sweetness. Sweetened shredded coconut is smaller and moister, so it creates a slightly chewier, sweeter frosting than larger flaked coconut. If you use shredded, cut 1 tablespoon of granulated sugar from the frosting base to balance the extra sweetness, and your results will be delicious.

Comments (18)

2 days ago

OMG this is the exact German chocolate cake my grandma used to make! The coconut-pecan frosting is perfectly sweet, not cloying at all, and the chocolate layers are so moist. I made this for my husband's birthday dinner last weekend and every single guest asked for the recipe. 10/10 no notes!

yesterday

That makes our day so happy to hear, Sarah! There’s nothing better than a recipe that brings back family memories and wows a birthday crowd. So glad it was a hit!

yesterday

Game changer! I’ve tried three other German chocolate cake recipes over the years and they always came out dry or the frosting was too runny. Followed this recipe exactly, baked the layers for 28 minutes in my oven, and it turned out perfect. Took it to a work potluck yesterday and it was gone in 10 minutes flat.

3 days ago

I’ve made this cake twice now and it’s always such a huge hit with my family! Quick question — can I make the frosting a day ahead and store it in the fridge? I’m prepping for my sister’s graduation party and trying to get as much done ahead of time as possible so I’m not running around like a crazy person day of!

2 days ago

I did this last month for a potluck! Just take it out of the fridge about an hour before you need to frost the cake so it softens up to spreadable consistency, it works great.

2 days ago

Great question, Jess! Liz is totally right — the frosting stores beautifully in an airtight container in the fridge for up to 3 days. Just give it a good stir once it’s softened to room temp before spreading, and you’re good to go! Hope the graduation party is a blast!

5 days ago

Tasted great, but I had a little trouble with the bake time — my layers were still jiggly in the center at the 35 minute mark listed, so I had to add almost 10 extra minutes. Wondering if my oven runs cool? Either way, the end result was SO good, my kids loved it, just a heads up for other bakers to check doneness with a toothpick early and often.

3 days ago

Thanks so much for the honest feedback, Chris! Oven temps can vary wildly (I’ve had two ovens that ran 25 degrees cool myself!) so that toothpick test is always our best recommendation. So glad the end result was a hit with your kids even with the extra bake time!

1 week ago

This was my first time ever making a layer cake from scratch and I was so nervous it would turn out a mess! The instructions were super clear and easy to follow, even for a total beginner like me. The only thing I messed up was toasting the pecans a *little* too long, but no one even noticed. Will definitely be making this again!

1 week ago

Pro tip for anyone making this: toast your coconut and pecans for the frosting before mixing them in! It adds such a deeper, nuttier flavor that takes this cake from great to unforgettable. I brought this to my church potluck last Sunday and people were coming back for seconds (and thirds, no judgment).

5 days ago

Seconded! I did this on a whim last time I made it and my husband said it was the best version I’d ever made. Total game changer, don’t skip that step!

3 days ago

Love this tip, Karen! We actually mention toasting the pecans and coconut in the recipe notes, but it’s such a key step it deserves all the shoutouts. So glad it was a potluck hit!

2 weeks ago

I made this last weekend for my lactose-intolerant best friend’s birthday, swapping regular butter for dairy-free butter and evaporated milk for full-fat canned coconut cream in the frosting, and it turned out amazing! I was so worried the texture would be off but you literally couldn’t even tell the difference. Such a versatile, forgiving recipe!

1 week ago

Oh my gosh thank you so much for sharing this swap! My 8 year old has a severe dairy allergy and German chocolate cake is his absolute favorite, I’ve been too nervous to test a substitute. Can’t wait to make this for his birthday next month!

30 minutes ago

Ugh, my frosting turned out super grainy when I made this last night. Did I cook it too hot? I followed the temp instructions but my stovetop runs really hot, so I’m wondering if that’s the issue. The cake layers were perfect though, can’t wait to try the frosting again!

5 minutes ago

I had that exact same issue the first time I made it! Turned out I had the heat on medium-high instead of medium, and the sugar didn’t dissolve all the way. Cook it low and slow and stir constantly, it comes out silky smooth I promise!

just now

So sorry the frosting gave you trouble, Tyler! Joe is spot on — high heat is usually the culprit for grainy frosting, since it can make the sugar seize up before it fully dissolves. Next time keep the heat on medium-low and stir nonstop, and it’ll turn out perfectly. Glad the cake layers worked out for you!

2 hours ago

SO good. I’m not usually a huge frosting person but the coconut pecan frosting on this is absolute perfection, not too sweet, perfectly chewy from the coconut and pecans. The chocolate cake itself is rich and fudgy without being heavy. I already have requests to make this for our next family dinner next month.

5 days ago

I added a thin layer of salted caramel between the cake layers along with the frosting for my son’s high school graduation party, and it was chef’s kiss. The little pop of salt cuts the sweetness so nicely, everyone was raving about it. This recipe is such a great base to get creative with!

3 days ago

Wait that sounds incredible! Did you use store bought salted caramel or make your own? I want to do this for my husband’s birthday next week and need all the tips!

2 days ago

I used homemade, but I’ve done it with good quality store bought salted caramel too and it works just as well! Just make sure it’s not too runny or it’ll make the layers slide around a little.

1 week ago

Tasted absolutely incredible, but wow that 2 hour cook time is no joke! I had to block off a whole Saturday afternoon to make this, so it’s definitely not a quick weeknight dessert. Worth every minute of effort for a special occasion though, my whole family devoured it.

5 days ago

Totally fair, Rob! This one is definitely a special-occasion bake, not a last-minute weeknight treat — we’re so glad it was worth the time for your family, though! For busy weeks, you can bake the cake layers a couple days ahead and keep them wrapped tight in the fridge to cut down on day-of prep time.

2 weeks ago

I’ve been on a years-long hunt for the perfect classic German chocolate cake recipe, and I can officially stop looking. This is it. The balance of deep chocolate cake, sweet nutty frosting, it’s exactly what I remember from childhood bakery trips. No weird shortcuts, no artificial flavors, just perfect.

2 days ago

I made this for a dinner party last weekend and it was absolutely incredible! Does anyone know if this cake freezes well? I love having sweet treats stashed in the freezer for last minute guests, but I don’t want the frosting to get weird when it thaws.

yesterday

I froze half of mine after my kid’s birthday last month! I wrapped it tight in plastic wrap then foil, thawed it in the fridge overnight, and it tasted just as fresh as the day I made it. The frosting held up perfectly, no weird texture at all!

yesterday

Great question, Mia! Jen’s method is exactly what we recommend — slices or whole layers freeze beautifully for up to 3 months when wrapped tightly to avoid freezer burn. Thaw in the fridge overnight and it’s good as new!

3 days ago

Accidentally used dark brown sugar instead of light brown sugar in the frosting because that’s all I had in the pantry, and oh my gosh it was even better! Added this deep, molasses-y note that paired so well with the chocolate and pecans. Total happy accident!

2 days ago

Oh that sounds amazing! I’m definitely doing that on purpose next time I make this, I love that extra rich brown sugar flavor. Thanks for the accidental hack!

just now

I was intimidated because the difficulty is listed as medium, but I’ve only been baking for a couple months and I pulled this off without any major issues! The steps are broken down really well so you don’t get overwhelmed, even with all the components. My roommate said it’s the best thing I’ve ever baked.

just now

This makes me feel so much better! I’ve been nervous to try it because I thought medium difficulty meant I’d mess it up for sure, but if you pulled it off as a new baker I think I can too!

just now

That’s what we love to hear, Luis! We labeled this medium because it has a few more components than a basic sheet cake, but we worked hard to write the steps clearly enough for bakers of all skill levels to nail it. Tell your roommate we said hi, and great job!

1 week ago

I’ve been making German chocolate cake for my family for over 40 years, and I decided to give this recipe a try when my granddaughter asked for it for her birthday. I have to say, it’s even better than my old go-to! The cake is so much moister than my old recipe, and the frosting ratios are perfect. I’m passing this one down to the grandkids now.

5 minutes ago

Quick heads up — I don’t have three 9-inch round cake pans, so I used two 9-inch pans and adjusted the bake time by about 8 minutes, and it worked perfectly! I split the layers horizontally after they cooled to get four thin layers instead of three, and it looked so fancy.

just now

Love this hack for folks who don’t have a full set of cake pans! Splitting the layers to get extra frosting in every bite is such a smart move, we might have to borrow that idea. Great thinking on your feet!

2 weeks ago

Made this for Father’s Day at my house and let me tell you, I’m never buying a store-bought German chocolate cake again. My kids kept sneaking bites of frosting while I was assembling it, and even my picky father-in-law went back for a second slice. 10 out of 10, will be making this every year from now on.

1 week ago

If your picky father-in-law liked it then this must be next level! My husband is obsessed with German chocolate cake and his dad is the pickiest eater on the planet, so I’m definitely testing this out at our next family cookout.