Piwatech

  • One-Pan Meals
  • Freezer-Friendly Meals
  • 30-Minute Meals
  • Easy Vegan Recipes
menu icon
go to homepage
  • One-Pan Meals
  • Freezer-Friendly Meals
  • 30-Minute Meals
  • Easy Vegan Recipes
search icon
Homepage link
  • One-Pan Meals
  • Freezer-Friendly Meals
  • 30-Minute Meals
  • Easy Vegan Recipes
×

German Chocolate Cake With Coconut Pecan Frosting

Published: Apr 10, 2026 by Lila Quinn · This post may contain affiliate links · Leave a Comment

↓ Jump to Recipe

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
  • Instructions
  • Taste and Texture
  • Substitutions
  • Variations
  • Equipment
  • Storage
  • Top Tips
  • Frequently Asked Questions
  • Recipe Card

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.

IngredientsAmountWhy It Works
Plain flour2 cupsGives the cake structure while keeping the crumb soft.
Caster sugar2 cupsSweetens the cake and helps create a tender texture.
Unsweetened cocoa powder¾ cupBrings the main chocolate flavor to the cake layers.
Baking powder2 teaspoonsHelps the cake rise evenly.
Bicarbonate of soda1 ½ teaspoonsWorks with the buttermilk to lift the batter and keep it light.
Salt½ teaspoonBalances the sweetness and sharpens the chocolate flavor.
Large eggs2Add structure, richness, and stability.
Buttermilk1 cupKeeps the crumb soft and adds a slight tang.
Vegetable oil½ cupKeeps the cake moist for longer than butter alone.
Vanilla extract1 teaspoonRounds out the chocolate flavor.
Hot coffee or hot water1 cupHelps bloom the cocoa and deepen the chocolate taste.
Evaporated milk1 cupForms the rich base of the frosting.
Egg yolks3 largeThicken the frosting and give it body.
Unsalted butter½ cupAdds richness and helps the frosting set with a smooth finish.
Brown sugar¾ cupGives the frosting a deeper caramel note.
Vanilla extract1 teaspoonSoftens and rounds the frosting flavor.
Shredded coconut1 ¼ cupsGives the frosting its signature chewy texture.
Chopped pecans1 cupAdd crunch and the classic nutty finish.
Ingredients for German chocolate cake and coconut pecan frosting arranged on a kitchen counter

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.

German chocolate cake batter in pans with coconut pecan frosting during the baking process

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.

SwapUse InsteadResult
PecansWalnutsKeeps the nutty crunch with a slightly different flavor.
Unsweetened baking chocolateCocoa powder, sugar, and oilHelps mimic the missing chocolate in a pinch.
ButtermilkRegular milk plus a little lemon juice or vinegarGives a similar tang and helps the crumb stay tender.
Full amount of coconutSlightly reduced coconutMakes the frosting a little smoother while keeping the classic flavor.
Plain coconutLightly toasted coconutAdds 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.
German chocolate cake with coconut pecan frosting served with a plated slice in natural light

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 on a cake stand in natural light

German Chocolate Cake With Coconut Pecan Frosting

Soft chocolate layers topped with rich coconut pecan frosting make this a homemade favorite for birthdays, gatherings, or a weekend baking project.
Print Recipe Pin Recipe
Prep Time 25 minutes mins
Cook Time 30 minutes mins
Cooling time: 45 minutes mins
Total Time 1 hour hr 40 minutes mins
Course Dessert
Cuisine American
Servings 12
Calories 580 kcal

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.
Keyword german chocolate cake

  • Apple cinnamon cheesecake crumble bars with creamy cheesecake layer, cinnamon apples, and buttery crumble topping
    Apple Cinnamon Cheesecake Crumble
  • Strawberry crunch cheesecake bites topped with fresh strawberries and cookie crumble on a white serving plate
    No-Bake Strawberry Crunch Cheesecake Bites
  • Peanut butter chocolate cake in a baking pan with visible peanut butter swirls and a soft chocolate crumb
    Peanut Butter and Chocolate Swirl Sweet
  • Pineapple upside down cake with glossy pineapple rings and cherries on a golden brown sugar topping
    Tropical Pineapple Upside-Down Delight

Comments

No Comments

Cancel reply

Your email address will not be published. Required fields are marked *

Recipe Rating




Hey, I'm Lila! Nurse by background, food lover by heart. I share cozy, real-life recipes made for busy days and comforting nights

About Lila

Footer

↑ back to top

About

  • About Us
  • Privacy Policy
  • Disclaimer
  • Terms & Conditions
  • Accessibility Policy

Newsletter

  • Sign Up! for emails and updates

Contact

  • Contact
  • Services
  • Media Kit
  • FAQ

As an Amazon Associate I earn from qualifying purchases.

Copyright © 2025 PIWATECH All right reserved