Tender chocolate layers, a rich cooked frosting, and a gooey pile of toasted coconut and pecans on top: german chocolate cake is a bakery-case classic that is easier to make at home than it looks. 🍫
Here is a thing most people do not know: this cake has nothing to do with Germany. The name comes from Sam German, who developed a mild, sweet baking chocolate for Baker’s Chocolate in the 1850s. The cake that made the name famous appeared in a Dallas newspaper in 1957, and the apostrophe quietly disappeared over the years.
Quick answer: To make german chocolate cake, bake three 9-inch layers from a batter of sweet baking chocolate, butter, buttermilk, and whipped egg whites at 350°F for 30 to 35 minutes. Cook a custard-style frosting of evaporated milk, sugar, egg yolks, and butter, then stir in toasted coconut and pecans. Spread it between the layers and on top. Makes 12 slices. Jump to the recipe card below.
Why This German Chocolate Cake Works
⦁ Soft, tender crumb. Whipped egg whites and buttermilk keep the layers light and moist, not heavy.
⦁ Real flavor. Mild sweet chocolate keeps the cake chocolatey without tasting bitter.
⦁ A frosting worth the effort. Cooked on the stovetop, it turns thick, caramel-like, and spreadable.
⦁ Make-ahead friendly. The layers and frosting can both be made a day early.
What Makes German Chocolate Cake Different
Most chocolate cakes are covered in chocolate frosting. This one is not. The classic version is finished with a coconut pecan frosting that is cooked like a custard, not whipped like buttercream. It is traditionally spread only between the layers and on top, so the chocolate sides stay bare.
The cake itself is a milder, softer chocolate cake than a devil’s food or fudge cake. That is on purpose. The frosting is rich and sweet, so the layers need to stay light.
Ingredient Notes
Full measurements are in the recipe card. Here is what to know about the key ingredients.
⦁ Sweet baking chocolate: The classic bar is sold as German’s sweet chocolate. If you cannot find it, semi-sweet chocolate works (see substitutions).
⦁ Cake flour: Gives a finer, more tender crumb than all-purpose flour.
⦁ Room-temperature butter, eggs, and buttermilk: They blend smoothly and trap more air, which means taller layers.
⦁ Egg whites: Whipped to stiff peaks and folded in last, they give the cake lift.
⦁ Evaporated milk: Gives the frosting its creamy, slightly caramel flavor. Do not use sweetened condensed milk.
⦁ Sweetened flaked coconut and pecans: Toast both first. Toasting turns them nutty and keeps the frosting from tasting flat.
How to Make German Chocolate Cake
Step 1: Prep the Pans and Chocolate
Heat the oven to 350°F. Grease three 9-inch round pans and line the bottoms with parchment. Pour ½ cup boiling water over the chopped chocolate and stir until smooth, then let it cool slightly.
Step 2: Mix the Batter
Beat the butter and sugar for 3 to 4 minutes until pale and fluffy. Add the egg yolks one at a time, then the vanilla and the cooled chocolate. Whisk the flour, baking soda, and salt together. On low speed, add the flour mixture in three parts, alternating with the buttermilk, starting and ending with flour. Mix only until combined.
Step 3: Fold in the Egg Whites
In a clean, dry bowl, beat the egg whites until stiff, glossy peaks form. Fold them into the batter in two or three additions with a spatula, cutting down the middle and sweeping up the sides. The batter should look like thick, airy mousse, with no white streaks left.
Step 4: Bake the Layers
Divide the batter evenly among the pans (a kitchen scale helps). Bake for 30 to 35 minutes, until a toothpick comes out clean and the tops spring back lightly. Cool 15 minutes in the pans, then turn out onto a rack and cool completely.
Step 5: Cook the Coconut Pecan Frosting
In a saucepan, whisk the evaporated milk, sugar, egg yolks, and butter. Cook over medium-low heat, whisking constantly, for 12 to 15 minutes, until thickened and the color of light caramel. It should coat the back of a spoon and reach about 170°F. Off the heat, stir in the vanilla, toasted coconut, and toasted pecans. Cool to room temperature, stirring now and then. It will keep thickening as it cools.
Step 6: Assemble
Place the first layer on a plate and spread with about one-third of the frosting. Repeat with the second layer, then set the final layer on top and cover with the remaining frosting. Leave the sides bare for the classic look. Chill 20 minutes for cleaner slices.

Tips for the Best German Chocolate Cake
⦁ Separate eggs while cold, then let them warm up. Cold yolks and whites separate cleanly. Room-temperature whites whip to a higher volume.
⦁ Make sure the bowl is clean for the whites. Any trace of fat keeps them from whipping to stiff peaks.
⦁ Toast the coconut and pecans. It takes 5 to 8 minutes and makes a big difference in flavor.
⦁ Whisk the frosting constantly. The sugar and yolks can scorch or scramble if you walk away.
⦁ Cool everything fully. Warm cake melts the frosting, and warm frosting is too thin to hold up.
Common Mistakes to Avoid
⦁ Overmixing after adding the egg whites, which knocks out the air.
⦁ Using high heat on the frosting. It turns grainy or scrambles.
⦁ Frosting a warm cake, so the layers slide.
⦁ Spooning flour straight from the bag. Too much flour makes dry cake. Weigh it if you can.
Ingredient Substitutions
⦁ Sweet baking chocolate: Use 4 ounces of semi-sweet chocolate. The cake will be slightly less sweet and a bit more chocolatey.
⦁ Cake flour: For each cup, use 1 cup all-purpose flour minus 2 tablespoons, plus 2 tablespoons cornstarch. Whisk well.
⦁ Buttermilk: Stir 1 tablespoon lemon juice or white vinegar into 1 cup of milk and let it sit 5 minutes.
⦁ Pecans: Walnuts work well.
⦁ Coconut: Unsweetened coconut gives a less sweet frosting, which some people prefer.
German Chocolate Cake Variations
⦁ Cupcakes: Fill liners two-thirds full and bake at 350°F for 18 to 20 minutes. This makes roughly 24 cupcakes.
⦁ Sheet cake: Bake in a greased 9×13-inch pan for 40 to 45 minutes, and spread the frosting on top.
⦁ Nut-free: Leave out the pecans and add ½ cup extra toasted coconut.
⦁ Chocolate drizzle: Warm 2 ounces of chopped chocolate with 2 tablespoons cream and drizzle over the top.
How to Serve It
Slice with a long knife wiped clean between cuts. Serve at room temperature so the frosting is soft and the cake tastes its best. A cup of strong coffee or a scoop of vanilla ice cream balances the sweetness. ☕
How to Store German Chocolate Cake
Because the frosting is made with eggs and milk, store the cake covered in the refrigerator for up to 4 days. Let slices sit at room temperature for 30 minutes before serving.
Can You Freeze German Chocolate Cake?
Yes. Wrap unfrosted, fully cooled layers tightly and freeze up to 3 months. Frozen frosting keeps about 1 month. Thaw both in the fridge overnight and stir the frosting well before using. ❄️
Troubleshooting German Chocolate Cake
If something went off track, this quick guide covers the most common problems.
| Problem | Likely cause | Easy fix |
| Dry or crumbly cake | Overbaked, or flour packed into the cup | Weigh the flour. Start checking at 30 minutes. The layers should spring back when pressed lightly. |
| Dense, flat layers | Whipped egg whites deflated, or batter overmixed | Beat the whites to stiff peaks and fold them in gently, in two or three additions. |
| Runny frosting | Not cooked long enough, or not cooled | Cook until it coats the back of a spoon. It thickens a lot as it cools, so give it 30 to 45 minutes. |
| Grainy or scrambled frosting | Heat too high, or not whisked constantly | Use medium-low heat and whisk nonstop. If bits form, strain through a sieve before adding the coconut and pecans. |
| Layers sliding | Cake or frosting still warm | Cool both completely. Chill the assembled cake for 20 minutes before slicing. |
| Burnt coconut | Toasted too long or at too high heat | Toast 4 to 5 minutes at 350°F, stirring once. Pull it as soon as the edges turn golden. |
German Chocolate Cake FAQ
Why is it called german chocolate cake?
It is named after Sam German, the baker who created the sweet chocolate it was originally made with. It is an American cake, not a German one.
Can I make german chocolate cake ahead of time?
Yes. Bake the layers a day ahead, wrap them, and cook the frosting the same day or the day before. Store the frosting in the fridge and let it soften at room temperature before spreading. Assemble the cake on the day you serve it for the best texture.
Why is my coconut pecan frosting runny?
It was likely undercooked or not cooled long enough. Cook until it coats a spoon, then let it cool completely. If it is still thin, return it to the pan over low heat for a few more minutes.
Do I have to use sweet baking chocolate?
No. Semi-sweet chocolate works if you cannot find the classic bar.
Can I use a different pan size?
Yes. A 9×13-inch pan works for a sheet cake, and the batter also makes about 24 cupcakes. Adjust the baking time and test for doneness with a toothpick.
More Chocolate Cake Recipes to Try
German Chocolate Cupcakes
Moist Chocolate Cake
How to Make Cake Flour at Home
How to Toast Pecans
Why Did My Cake Sink in the Middle?

German Chocolate Cake
Ingredients
Equipment
Method
- Prep. Heat the oven to 350°F. Grease three 9-inch round pans and line the bottoms with parchment. Toast the pecans on a baking sheet for 8 minutes, and the coconut for 4 to 5 minutes, stirring once. Set aside.
- Melt the chocolate. Pour the boiling water over the chopped chocolate and stir until smooth. Let cool slightly.
- Cream. Beat the butter and 2 cups sugar for 3 to 4 minutes until pale and fluffy. Beat in the 4 egg yolks one at a time, then the vanilla and the cooled chocolate.
- Add the dry ingredients. Whisk the flour, baking soda, and salt. On low speed, add the flour in three parts, alternating with the buttermilk, starting and ending with flour. Mix just until combined.
- Fold in the whites. In a clean bowl, beat the 4 egg whites to stiff, glossy peaks. Fold into the batter in two or three additions until no white streaks remain.
- Bake. Divide the batter among the pans. Bake 30 to 35 minutes, until a toothpick comes out clean. Cool 15 minutes in the pans, then turn out onto a rack to cool completely.
- Cook the frosting. In a saucepan, whisk the evaporated milk, 1½ cups sugar, 4 egg yolks, and ¾ cup butter. Cook over medium-low heat, whisking constantly, for 12 to 15 minutes until thick and light caramel in color (about 170°F).
- Finish the frosting. Off the heat, stir in the vanilla, toasted coconut, and toasted pecans. Cool to room temperature, stirring occasionally, about 30 to 45 minutes.
- Assemble. Spread about one-third of the frosting on the first layer. Repeat with the second layer, then top with the last layer and the remaining frosting. Leave the sides bare. Chill 20 minutes before slicing.
Notes
⦁ Chocolate: If you cannot find German’s sweet chocolate, use 4 ounces of semi-sweet chocolate.
⦁ Cake flour substitute: For each cup, use 1 cup all-purpose flour minus 2 tablespoons, plus 2 tablespoons cornstarch.
⦁ Storage: Cover and refrigerate up to 4 days. Serve at room temperature.
⦁ Freezing: Freeze unfrosted layers up to 3 months and frosting up to 1 month. Thaw overnight in the fridge.
⦁ Do-ahead: Bake the layers and make the frosting up to a day ahead. Assemble before serving.

