Busy days feel a little better when there is cake in the kitchen, and German chocolate cake always feels like a good one to make. Soft chocolate layers and rich coconut pecan frosting give it the kind of homemade charm that never goes out of style.
Plenty of people assume this is a German dessert, but the name actually comes from Samuel German rather than Germany itself.
This recipe is perfect when you want a proper, sweet layer dessert that looks special without feeling fussy. Rich flavor, tender crumb, and simple steps make it a lovely choice for birthdays, family dinners, or weekend baking.
For more baking ideas, start with dessert recipes, then add German chocolate layer dessert or rich chocolate cake to your list for another chocolate fix.
Jump to:
Ingredients
A good German chocolate cake starts with a soft chocolate base and a frosting that brings the whole thing together. Hot coffee or hot water helps deepen the cocoa flavor in the batter, while the topping gets its signature finish from coconut, pecans, evaporated milk, butter, and egg yolks. Milk chocolate can work, but it will give you a sweeter and milder finish than the classic version.
| Ingredients | Amount | Why It Works |
|---|---|---|
| Plain flour | 2 cups | Gives the cake structure while keeping the crumb soft. |
| Caster sugar | 2 cups | Sweetens the cake and helps create a tender texture. |
| Unsweetened cocoa powder | ¾ cup | Brings the main chocolate flavor to the cake layers. |
| Baking powder | 2 teaspoons | Helps the cake rise evenly. |
| Bicarbonate of soda | 1 ½ teaspoons | Works with the buttermilk to lift the batter and keep it light. |
| Salt | ½ teaspoon | Balances the sweetness and sharpens the chocolate flavor. |
| Large eggs | 2 | Add structure, richness, and stability. |
| Buttermilk | 1 cup | Keeps the crumb soft and adds a slight tang. |
| Vegetable oil | ½ cup | Keeps the cake moist for longer than butter alone. |
| Vanilla extract | 1 teaspoon | Rounds out the chocolate flavor. |
| Hot coffee or hot water | 1 cup | Helps bloom the cocoa and deepen the chocolate taste. |
| Evaporated milk | 1 cup | Forms the rich base of the frosting. |
| Egg yolks | 3 large | Thicken the frosting and give it body. |
| Unsalted butter | ½ cup | Adds richness and helps the frosting set with a smooth finish. |
| Brown sugar | ¾ cup | Gives the frosting a deeper caramel note. |
| Vanilla extract | 1 teaspoon | Softens and rounds the frosting flavor. |
| Shredded coconut | 1 ¼ cups | Gives the frosting its signature chewy texture. |
| Chopped pecans | 1 cup | Add crunch and the classic nutty finish. |

Instructions
Step 1: Prepare the tins
Preheat the oven to 175°C. Grease two 20 cm round cake tins and line the bases with baking paper.
Step 2: Mix the dry ingredients
Place the flour, caster sugar, cocoa powder, baking powder, bicarbonate of soda, and salt in a large bowl. Whisk until everything is evenly combined.
Step 3: Add the wet ingredients
Add the eggs, buttermilk, oil, and vanilla. Stir until combined, then pour in the hot coffee or hot water. Keep mixing until the batter is smooth, even if it looks thinner than a standard butter cake batter.
Step 4: Bake the layers
Divide the batter evenly between the tins. Bake for 28 to 35 minutes, or until the tops spring back lightly and a skewer comes out with a few moist crumbs. New Mexico State University notes in this cake-baking guide that oven differences can affect bake times, so doneness cues matter more than the clock.
Step 5: Cool the cakes
Leave the cakes in their tins for 10 to 12 minutes. Turn them out onto a wire rack and let them cool fully.
Step 6: Make the frosting
Place the evaporated milk, egg yolks, butter, and brown sugar in a saucepan over medium heat. Stir constantly for 10 to 12 minutes until the mixture thickens enough to coat the back of a spoon. Remove the pan from the heat, then stir in the vanilla, shredded coconut, and chopped pecans.
Step 7: Let the frosting thicken
Leave the frosting to cool for 20 to 30 minutes. Texture should be thick and spreadable, not runny.
Step 8: Assemble the cake
Set one cake layer on a serving plate and spread about half the frosting over it. Add the second layer and spoon the rest over the top. Traditional German chocolate cake often leaves the sides uncovered, which gives it a relaxed, homemade finish.

Once this cake is cooled on the rack, the best moist red velvet recipe makes another lovely layered option to save for later.
Taste and Texture
Soft cake layers, deep chocolate flavor, and a topping with plenty of texture are what make this German chocolate cake so satisfying. Coconut brings chew, pecans bring crunch, and the frosting adds a buttery finish that turns it into a proper sweet layer dessert. Richness is there, but the cake still feels light enough for a second slice.
Old-fashioned charm is part of the appeal here. Each bite gives you contrast, so the cake never feels flat or one-note. Fans of rich chocolate bakes will probably want to keep a decadent chocolate fudge dessert nearby for the next baking day.
Substitutions
Pecans are the classic choice in coconut pecan frosting, but walnuts are the easiest substitute if that is what you have at home.
Purdue Extension lists pecans and walnuts as workable swaps in baking, and the same resource notes that cocoa, sugar, and oil can help replace unsweetened baking chocolate when needed in this recipe substitutions chart.
Regular milk mixed with a little lemon juice or vinegar can also stand in for buttermilk if needed.
Coconut should stay in the frosting if you want the cake to taste like the classic version. Slightly less coconut will give you a smoother topping, while lightly toasted coconut adds a deeper flavor. Extra frosting ideas do not need to be complicated for this recipe to work well.
| Swap | Use Instead | Result |
|---|---|---|
| Pecans | Walnuts | Keeps the nutty crunch with a slightly different flavor. |
| Unsweetened baking chocolate | Cocoa powder, sugar, and oil | Helps mimic the missing chocolate in a pinch. |
| Buttermilk | Regular milk plus a little lemon juice or vinegar | Gives a similar tang and helps the crumb stay tender. |
| Full amount of coconut | Slightly reduced coconut | Makes the frosting a little smoother while keeping the classic flavor. |
| Plain coconut | Lightly toasted coconut | Adds a deeper, warmer flavor to the frosting. |
Variations
- Make it as a sheet cake if you want the flavor of German chocolate cake without stacking layers. Same batter and same topping keep things simple.
- Turn it into cupcakes for parties or smaller servings. Spoon the frosting over the top once the cakes are cool.
- Use a darker cocoa powder if you want a deeper chocolate finish while keeping the recipe close to the classic version.
- Bake the layers a day ahead, then frost the cake the next day if you want to split the work into easier steps.
- Save light vanilla sponge cake for another day if you want something softer and less chocolate-heavy.

Equipment
- Two round cake tins
- Large mixing bowl
- Whisk or hand mixer
- Medium saucepan
- Spatula or large spoon
- Wire rack
- Offset spatula if you want easier frosting, though a regular spoon works fine
Storage
Finished German chocolate cake should be covered and kept in the fridge because the frosting contains egg yolks and dairy.
Oregon State Extension gives refrigerated frosted baked cake a storage time of about one week and freezer storage of about one month for best quality in this food storage guide. Slices taste best after sitting at room temperature for about 20 to 30 minutes before serving.
Unfrosted layers can also be wrapped well and frozen if you want to make the cake in stages. Frost the cake after thawing for the neatest finish. Planning ahead works especially well for celebration bakes like this.
Top Tips
- Cool the cake layers fully before frosting so the topping stays in place.
- Stir the frosting the whole time it cooks so it thickens evenly.
- Toast the pecans lightly if you want a deeper nutty flavor.
- Measure the flour carefully and stop mixing once the batter is smooth.
- Rest the cake plate on a folded tea towel while frosting if you want a steadier surface.
Frequently Asked Questions
What makes German chocolate unique?
Classic German chocolate cake stands out because it uses a cooked coconut and pecan topping instead of a standard buttercream or ganache. Texture is a big part of what makes it memorable. History is different, too, because the cake is American rather than German.
What are the substitutes for pecans?
Walnuts are the closest substitute. Texture stays similar, and the flavor still works well with the coconut topping. Pecans still give the most classic finish, so use them when you can.
How long does the baking time take?
Most two-layer cakes like this bake in about 28 to 35 minutes. Start checking near the lower end of the range, then look for a light spring in the center and a skewer with a few moist crumbs. Timing can shift a little depending on your oven and tins.
Can I use milk chocolate?
Milk chocolate can be used, but the final cake will taste sweeter and less intense in chocolate flavor than the classic version. Darker chocolate or cocoa gives a more traditional result. The best flavor usually comes from keeping the cake base richer rather than sweeter.
Recipe Card

German Chocolate Cake With Coconut Pecan Frosting
Ingredients
- 1 ¾ cups plain flour
- 2 cups caster sugar
- ¾ cup unsweetened cocoa powder
- 1 ½ teaspoon baking powder
- 1 ½ teaspoon bicarbonate of soda
- 1 teaspoon salt
- 2 large eggs
- 1 cup buttermilk
- ½ cup oil
- 2 teaspoon vanilla
- 1 cup hot coffee or hot water
- Coconut Pecan Frosting
- ¾ cup evaporated milk
- 3 large egg yolks
- ½ cup butter
- ½ cup brown sugar
- ½ cup caster sugar
- 1 tablespoon vanilla
- 1 cup shredded sweetened coconut
- 1 cup chopped pecans
Instructions
- Heat oven to 350°F and grease two 8-inch or 9-inch round cake pans. Line the bottoms with parchment.
- Whisk the flour, caster sugar, cocoa powder, baking powder, bicarbonate of soda, and salt in a large bowl.
- In another bowl, whisk the eggs, buttermilk, oil, and vanilla until smooth. Pour the wet mixture into the dry ingredients, then stir until combined. Add the hot coffee or hot water and mix until the batter is smooth.
- Divide the batter between the prepared pans and bake for 28 to 32 minutes, or until a tester comes out with a few moist crumbs. Cool the cakes in the pans for 10 minutes, then transfer to a rack and cool fully.
- To make the frosting, combine the evaporated milk, egg yolks, butter, brown sugar, and caster sugar in a saucepan over medium heat. Cook, stirring often, until the mixture thickens. Remove from the heat, then stir in the vanilla, shredded coconut, and chopped pecans. Let the frosting cool until spreadable.
- Place one cake layer on a plate or stand. Spread frosting over the top, add the second layer, then spread more frosting over the top. Slice and serve.
Notes
- Use hot coffee for a deeper chocolate flavor.
- Let the cake layers cool fully before frosting.
- Let the frosting cool slightly so it thickens before spreading.
- Store leftovers covered in the fridge for up to 4 days.





Comments
No Comments