German Chocolate Layer Cake Recipe

Rich chocolate cake layers crowned with a decadent coconut-pecan frosting create a symphony of textures and flavors in this iconic dessert that perfectly balances sweetness with deep cocoa notes.
Difficulty:
Intermediate
Prep Time:
45 mins
Cook Time:
35 mins
Serves:
1 cake (12 slices)
An elegant three-layer German Chocolate Cake photographed in soft, diffused daylight against a vintage marble backdrop. The cross-section reveals moist, dark chocolate cake layers separated by thick ribbons of coconut-pecan frosting with visible texture. The cake's sides remain partially unfrosted in traditional style, showcasing the contrasting dark cake against the caramel-colored filling that drips slightly down the edges. Toasted coconut flakes and pecan halves adorn the top, while chocolate shavings provide subtle decoration. A silver cake server rests beside a slice on an antique porcelain plate, with scattered pecan pieces and cocoa powder adding depth to the composition.

Ingredients

<ul class="ingredients-main-list"><li class="ingredients-single-item">For the Chocolate Cake:</li><li class="ingredients-single-item">240g all-purpose flour</li><li class="ingredients-single-item">400g granulated sugar</li><li class="ingredients-single-item">75g unsweetened cocoa powder</li><li class="ingredients-single-item">2 tsp baking soda</li><li class="ingredients-single-item">1 tsp baking powder</li><li class="ingredients-single-item">1 tsp salt</li><li class="ingredients-single-item">240ml buttermilk</li><li class="ingredients-single-item">120ml vegetable oil</li><li class="ingredients-single-item">2 large eggs, room temperature</li><li class="ingredients-single-item">2 tsp vanilla extract</li><li class="ingredients-single-item">240ml hot coffee (or hot water)</li><li class="ingredients-single-item">For the Coconut-Pecan Frosting:</li><li class="ingredients-single-item">4 egg yolks</li><li class="ingredients-single-item">400ml evaporated milk</li><li class="ingredients-single-item">200g granulated sugar</li><li class="ingredients-single-item">115g unsalted butter</li><li class="ingredients-single-item">1/4 tsp salt</li><li class="ingredients-single-item">2 tsp vanilla extract</li><li class="ingredients-single-item">130g shredded sweetened coconut</li><li class="ingredients-single-item">150g chopped pecans, lightly toasted</li><li class="ingredients-single-item">For Decoration (Optional):</li><li class="ingredients-single-item">50g pecan halves</li><li class="ingredients-single-item">25g chocolate shavings</li></ul>

Equipment

<ul class="equipment-main-list"><li class="equipment-single-item">Three 20cm (8-inch) round cake pans</li><li class="equipment-single-item">Parchment paper</li><li class="equipment-single-item">Electric mixer (stand or handheld)</li><li class="equipment-single-item">Offset spatula</li><li class="equipment-single-item">Wire cooling racks</li><li class="equipment-single-item">Heavy-bottomed saucepan</li><li class="equipment-single-item">Cake turntable (optional)</li></ul>
BAKE SMARTER

Kitchen Converter

Quickly switch between common baking units without leaving the recipe.

Convert
Result—

Volume uses US cups, tablespoons, and teaspoons. Converting weight to volume depends on the ingredient.

Directions

<ol class="no-list-style"><li class="MethodStepper"><h4 class="step-title">Step 1</h4>Preheat your oven to 175°C (350°F). Grease three 20cm (8-inch) round cake pans, line the bottoms with parchment paper, and grease the paper. This double preparation ensures your cakes will release perfectly without sticking.</li><li class="MethodStepper"><h4 class="step-title">Step 2</h4>In a large bowl, whisk together the flour, sugar, cocoa powder, baking soda, baking powder, and salt until well combined. This thorough mixing ensures even distribution of leavening agents, resulting in a uniform rise.</li><li class="MethodStepper"><h4 class="step-title">Step 3</h4>In a separate bowl, combine the buttermilk, vegetable oil, eggs, and vanilla extract. Whisk until smooth. The acidity in buttermilk activates the baking soda, producing a tender crumb in your finished cake.</li><li class="MethodStepper"><h4 class="step-title">Step 4</h4>Gradually add the wet ingredients to the dry ingredients, mixing at low speed until just combined. Be careful not to overmix, as this develops gluten and can lead to a tough cake. Stop mixing when you no longer see streaks of flour.</li><li class="MethodStepper"><h4 class="step-title">Step 5</h4>Slowly add the hot coffee (or hot water) to the batter, mixing on low speed until incorporated. The hot liquid blooms the cocoa powder, intensifying the chocolate flavor. Your batter will be quite thin – this is exactly what you want for a moist cake!</li><li class="MethodStepper"><h4 class="step-title">Step 6</h4>Divide the batter evenly between the prepared pans. Tap each pan gently on the counter a few times to remove air bubbles. Bake for 30-35 minutes, or until a toothpick inserted in the center comes out with a few moist crumbs (not wet batter). The cakes should spring back slightly when touched.</li><li class="MethodStepper"><h4 class="step-title">Step 7</h4>Allow the cakes to cool in the pans for 10 minutes before turning them out onto wire racks to cool completely. This brief cooling period allows the cake structure to set slightly, making it less likely to break when removed from the pans.</li><li class="MethodStepper"><h4 class="step-title">Step 8</h4>While the cakes cool, prepare the coconut-pecan frosting. In a heavy-bottomed saucepan, whisk together the egg yolks, evaporated milk, sugar, butter, and salt. This mixture will become the custard base for your frosting.</li><li class="MethodStepper"><h4 class="step-title">Step 9</h4>Cook the mixture over medium heat, stirring constantly, for about 10-12 minutes until it thickens to a pudding-like consistency that coats the back of a spoon. Be patient and keep stirring to prevent the eggs from scrambling. The mixture should reach about 80°C (175°F) on a candy thermometer.</li><li class="MethodStepper"><h4 class="step-title">Step 10</h4>Remove from heat and stir in the vanilla extract, shredded coconut, and chopped pecans. Allow the frosting to cool completely to room temperature, stirring occasionally. It will thicken further as it cools, reaching a spreadable consistency.</li><li class="MethodStepper"><h4 class="step-title">Step 11</h4>Once the cakes and frosting are completely cool, begin assembly. Place one cake layer on a serving plate or cake stand. If your layers have domed tops, you may level them with a serrated knife for a more professional appearance.</li><li class="MethodStepper"><h4 class="step-title">Step 12</h4>Spread about one-third of the coconut-pecan frosting on top of the first layer, taking care to spread it evenly all the way to the edges. The frosting should be about 1cm thick. Place the second cake layer on top and repeat with another third of the frosting.</li><li class="MethodStepper"><h4 class="step-title">Step 13</h4>Place the final cake layer on top and spread the remaining frosting over the top. Traditionally, German Chocolate Cake doesn't have frosting on the sides, allowing the dark cake layers to show through as a contrast to the golden frosting. However, you can spread a thin layer on the sides if desired.</li><li class="MethodStepper"><h4 class="step-title">Step 14</h4>If using, decorate the top with pecan halves and chocolate shavings for an elegant finishing touch. For the best flavor, let the cake rest at room temperature for about an hour before serving, allowing the layers to meld together.</li><li class="MethodStepper"><h4 class="step-title">Step 15</h4>Store any leftover cake covered at room temperature for up to 2 days, or refrigerate for up to 5 days. Bring to room temperature before serving for the best texture and flavor. The cake's moisture actually improves on the second day as the flavors deepen and meld!</li></ol>

Nutrition Facts (per serving)

🍽️ Serving Size: 1 slice
🔥 Calories: 575 calories
🥑 Fat: 32 g
🧈 Saturated Fat: 15 g
🍞 Carbohydrates: 68 g
🍭 Sugar: 52 g
🍗 Protein: 7 g
🫀 Cholesterol: 95 mg
🧂 Sodium: 320 mg

Chef’s Notes

A few helpful details for making this recipe.

Why is it called German Chocolate Cake when it's not from Germany?

Despite its name, German Chocolate Cake isn't from Germany! It was named after Samuel German, the American baker who developed a specific type of sweet baking chocolate for Baker's Chocolate Company in 1852. The original recipe using "German's Chocolate" was published in 1957 and became wildly popular.

Can I make the coconut-pecan frosting ahead of time?

Yes, the coconut-pecan frosting can be made up to 3 days ahead and stored in an airtight container in the refrigerator. Allow it to come to room temperature before using and give it a good stir to restore the spreadable consistency. This actually allows the flavours to develop even more deeply.

How do I prevent my chocolate cake layers from drying out?

To keep chocolate cake layers moist, don't overbake (a few moist crumbs on a toothpick is perfect), use oil instead of butter, incorporate buttermilk for tenderness, and add hot coffee to bloom the cocoa. Once baked, cool in the pans for 10 minutes before removing, and store properly covered if not using immediately.

Want to try something else in ...

More recipes you might like

Keep exploring with more recipes from What's Baking.