German Chocolate Cake Recipe
Rich, moist German chocolate cake recipe with gooey coconut-pecan caramel filling and silky chocolate frosting. One bite and you’ll save this forever.
German chocolate cake recipe is a layered chocolate cake filled with coconut-pecan caramel and covered in chocolate frosting. This recipe serves 12, delivers a deeply moist crumb with a rich caramel filling and tender toasted pecans, and is perfect for birthdays and holiday gatherings.
I made this German chocolate cake recipe six times before the filling stopped turning out runny. The secret? Keep that saucepan on low heat the whole time, or your egg yolks scramble before the caramel ever thickens.
And honestly, that one fix changed everything for me.
Why You’ll Love This German Chocolate Cake
This cake hits that sweet spot between fudgy and light, with a coconut-pecan filling that’s chewy, buttery, and genuinely caramel-forward. It’s easier than it looks, makes a stunning centerpiece, and feeds a crowd. The toasted pecans add a crunch most versions skip.

Best German Chocolate Cake Recipe
Equipment
- oven
- Two 9-inch round cake pans
- Parchment rounds
- Large mixing bowl
- Medium saucepan
- Whisk
- Mixing spoon or spatula
- Wire cooling rack
- Electric mixer
- Serving tray
- Piping bag
Ingredients
Chocolate Cake
- 1 ¾ cup All-purpose flour 215 g; spoon and level
- 1 cup Light brown sugar 200 g; firmly packed
- 1 cup Granulated sugar 200 g
- ¾ cup Natural cocoa powder 75 g; not Dutch-process
- 1 ½ teaspoons Instant coffee Deepens chocolate flavor
- 1 ½ teaspoons Baking soda
- ¾ teaspoon Salt
- ½ cup Neutral cooking oil 120 ml; avocado, canola, or vegetable oil
- ½ cup Unsalted butter 113 g; melted
- 2 Large eggs Room temperature preferred
- 1 Large egg yolk Room temperature preferred
- 1 ½ teaspoons Vanilla extract
- 1 cup Buttermilk 236 ml
- ½ cup Very hot or boiling water 120 ml; add slowly
Coconut Caramel Filling
- 4 Large egg yolks
- 1 cup Evaporated milk 236 ml
- 8 Tablespoons Unsalted butter Cut into 8 pieces
- ½ cup Granulated sugar 100 g
- ½ cup Light brown sugar 100 g; firmly packed
- ¼ teaspoon Salt
- 1 teaspoon Vanilla extract
- 1 cup Chopped pecans 125 g; preferably toasted
- 2 cups Sweetened shredded coconut 160 g
Chocolate Frosting
- 1 cup Salted butter 226 g; softened
- 3 ½ cups Powdered sugar 440 g
- ½ cup Natural cocoa powder 50 g
- 1 teaspoon Vanilla extract
- 2 Tablespoons Evaporated milk
Instructions
- Preheat oven to 350F (175C). Grease and flour two 9-inch round pans, then line the bottoms with parchment rounds.
- Combine flour, both sugars, cocoa powder, instant coffee, baking soda, and salt in a large bowl. Mix until well-combined.
- Add oil and melted butter, stirring well. The mixture will be very thick.
- Stir in eggs, egg yolk, and vanilla extract until smooth.
- Gradually add buttermilk, stirring until completely combined.
- Slowly add hot water, stirring well. Scrape the bowl as you go. Be careful adding the hot water so it does not splash.
- Divide batter evenly into the prepared pans. Bake for 25 to 30 minutes, until a toothpick comes out with moist crumbs.
- Cool cakes in the pans for 15 minutes, then invert onto a rack to cool completely.
- While the cake bakes, make the coconut caramel filling. Whisk egg yolks and evaporated milk in a medium saucepan until lightly beaten.
- Add butter, both sugars, and salt to the saucepan. Place over medium-low heat.
- Stir constantly until light golden brown and thickened, about 10 minutes. Keep the heat low to prevent scrambling the egg yolks.
- Remove from heat. Stir in vanilla, chopped pecans, and shredded coconut.
- Let the coconut caramel filling cool completely before spreading.
- Make the chocolate frosting by beating the softened butter until creamy.
- Gradually add powdered sugar and cocoa powder until combined.
- Stir in vanilla and evaporated milk until smooth.
- Once the cake layers and filling are fully cooled, place one cake round on a serving tray.
- Pipe a border of chocolate frosting around the edge of the cake layer. Fill the center with half of the coconut caramel filling.
- Top with the second cake round. Frost the top and sides with the remaining chocolate frosting.
- Spread the remaining coconut caramel filling over the top. Slice and serve.
Notes
What Ingredients Do You Need for German Chocolate Cake?

| Ingredient Group | Ingredient | Amount | Notes |
|---|---|---|---|
| Chocolate Cake | All-purpose flour | 1 ¾ cup (215 g) | Spoon and level |
| Chocolate Cake | Light brown sugar | 1 cup (200 g) | Firmly packed |
| Chocolate Cake | Granulated sugar | 1 cup (200 g) | |
| Chocolate Cake | Natural cocoa powder | ¾ cup (75 g) | Not Dutch-process |
| Chocolate Cake | Instant coffee | 1 ½ teaspoons | Deepens chocolate flavor |
| Chocolate Cake | Baking soda | 1 ½ teaspoons | |
| Chocolate Cake | Salt | ¾ teaspoon | |
| Chocolate Cake | Neutral cooking oil | ½ cup (120 ml) | Avocado, canola, or vegetable |
| Chocolate Cake | Unsalted butter, melted | ½ cup (113 g) | |
| Chocolate Cake | Large eggs | 2 | Room temperature preferred |
| Chocolate Cake | Large egg yolk | 1 | Room temperature preferred |
| Chocolate Cake | Vanilla extract | 1 ½ teaspoons | |
| Chocolate Cake | Buttermilk | 1 cup (236 ml) | |
| Chocolate Cake | Very hot or boiling water | ½ cup (120 ml) | Add slowly |
| Coconut Caramel Filling | Large egg yolks | 4 | |
| Coconut Caramel Filling | Evaporated milk | 1 cup (236 ml) | |
| Coconut Caramel Filling | Unsalted butter | 8 Tablespoons | Cut into 8 pieces |
| Coconut Caramel Filling | Granulated sugar | ½ cup (100 g) | |
| Coconut Caramel Filling | Light brown sugar | ½ cup (100 g) | Firmly packed |
| Coconut Caramel Filling | Salt | ¼ teaspoon | |
| Coconut Caramel Filling | Vanilla extract | 1 teaspoon | |
| Coconut Caramel Filling | Chopped pecans | 1 cup (125 g) | Preferably toasted |
| Coconut Caramel Filling | Sweetened shredded coconut | 2 cups (160 g) | |
| Chocolate Frosting | Salted butter | 1 cup (226 g) | Softened |
| Chocolate Frosting | Powdered sugar | 3 ½ cups (440 g) | |
| Chocolate Frosting | Natural cocoa powder | ½ cup (50 g) | |
| Chocolate Frosting | Vanilla extract | 1 teaspoon | |
| Chocolate Frosting | Evaporated milk | 2 Tablespoons |
The instant coffee won’t make this taste like coffee. It just sharpens the cocoa, so don’t skip it. And use natural cocoa powder, not Dutch-process, because the baking soda needs that acidity to lift the batter properly.
Toasting your pecans first is the move nobody tells you about. Five minutes in a dry pan and the whole filling tastes nuttier, richer, more like a real caramel. Sweetened shredded coconut keeps everything chewy and soft.
How to Make German Chocolate Cake Step by Step

Bake the Chocolate Cake
- Preheat oven to 350F (175C). Grease and flour two 9-inch round pans, then line the bottoms with parchment rounds.
- Combine flour, both sugars, cocoa powder, instant coffee, baking soda, and salt in a large bowl. Mix until well-combined.
- Add oil and melted butter, stirring well. The mixture will be very thick.
- Stir in eggs, egg yolk, and vanilla extract until smooth.
- Gradually add buttermilk, stirring until completely combined.
- Slowly add hot water, stirring well. Scrape the bowl as you go.
- Divide batter evenly into pans. Bake 25-30 minutes, until a toothpick comes out with moist crumbs.
- Cool cakes 15 minutes, then invert onto a rack to cool completely.
💡 Be careful adding the hot water so you don’t splash yourself. The thin batter is normal and gives you that moist crumb.
Pro Tip: A toothpick with a few moist crumbs means it’s done. Clean and dry means it’s overbaked and will be dry.
Make the Coconut Caramel Filling
- While the cake bakes, whisk egg yolks and evaporated milk in a medium saucepan until lightly beaten.
- Add butter, both sugars, and salt. Place over medium-low heat.
- Stir constantly until light golden brown and thickened, about 10 minutes.
- Remove from heat. Stir in vanilla, chopped pecans, and shredded coconut.
- Let the filling cool completely before spreading.
💡 Keep the heat low the entire time. High heat scrambles the egg yolks instead of building a smooth caramel.
Pro Tip: The filling thickens more as it cools, so don’t panic if it seems loose right off the heat.
Make the Chocolate Frosting
- Beat the softened butter until creamy.
- Gradually add powdered sugar and cocoa powder until combined.
- Stir in vanilla and evaporated milk until smooth.
Assemble the Cake
- Once layers and filling are fully cooled, place one cake round on a serving tray.
- Pipe a border of chocolate frosting around the edge. Fill the center with half the coconut caramel filling.
- Top with the second cake round. Frost the top and sides with remaining chocolate frosting.
- Spread the remaining filling over the top. Slice and serve.
Pro Tip: The frosting border acts as a dam so the soft filling stays put instead of oozing out the sides.

Expert Tips for Perfect German Chocolate Cake
Pro Tips for Success
The key to a moist German chocolate cake is not overbaking. Pull it the moment a toothpick shows moist crumbs, since the carryover heat finishes the job and keeps the crumb tender.
For best results, toast your pecans before adding them. Spread them on a dry pan over medium heat for about five minutes until fragrant, and the caramel filling turns noticeably nuttier and richer.
The most common mistake is rushing the filling over high heat, which scrambles the yolks. Instead, keep it on medium-low and stir constantly for the full ten minutes until it’s golden and thick.
This cake recipe works best when every component is fully cooled before assembly. Warm filling slides off warm layers, and the frosting won’t hold its shape if anything is even slightly warm.
Room temperature eggs blend more evenly into the batter. I wish someone had told me this sooner, because cold eggs left me with a streaky, uneven crumb more than once.
Delicious Variations
Nut-Free Version: Skip the pecans entirely and double the coconut. You’ll lose the crunch but keep that chewy caramel texture everyone loves.
Extra Chocolate Version: Fold ½ cup mini chocolate chips into the batter for an even richer chocolate cake recipe that leans fudgy.
Make-Ahead Version: Bake the layers a day early and wrap them tightly. The crumb actually firms up nicely, making the cake easier to frost.
Troubleshooting Common Problems
Problem: The filling is runny and won’t set.
Solution: It wasn’t cooked long enough. Return it to medium-low heat and stir until it coats the back of a spoon, then cool completely.
Problem: The cake layers turned out dry.
Solution: They overbaked. Next time check at 25 minutes and pull them with a few moist crumbs on the toothpick.
Problem: The filling oozes out the sides.
Solution: Pipe a thicker frosting dam around the edge and make sure the filling is fully cooled before assembling.
How to Store and Reheat German Chocolate Cake
| Storage Method | Duration | Best Practice |
|---|---|---|
| Room Temperature | Up to 2 days | Cover with a cake dome |
| Refrigerator | Up to 5 days | Store airtight to keep moist |
| Freezer | Up to 3 months | Wrap slices individually |
This cake tastes best at room temperature, so let chilled slices sit out for 30 minutes before serving. The filling softens back to that gooey caramel texture and the crumb loses its fridge chill.
Got leftover filling? Spoon it over vanilla ice cream or stir it into warm oatmeal. Stale cake cubes also make an incredible base for a quick chocolate trifle.
German Chocolate Cake Recipe FAQs
Why is it called German chocolate cake?
It’s named after Samuel German, who created a sweet baking chocolate for Baker’s in 1852. The cake is American, not from Germany, and the recipe became popular in the late 1950s.
Can I make German chocolate cake ahead of time?
Yes. Bake the layers up to a day in advance and wrap them tightly. You can also make the filling and frosting ahead, then assemble the fully cooled cake when ready.
Can I freeze German chocolate cake?
Yes. Wrap individual slices in plastic and store them in an airtight container for up to 3 months. Thaw in the refrigerator overnight, then bring to room temperature before serving.
Do I have to use instant coffee in the batter?
No, but it’s recommended. The instant coffee deepens the chocolate flavor without making the cake taste like coffee. You can leave it out and the cake will still be delicious.
Why won’t my coconut caramel filling thicken?
It likely needs more cooking time or the heat was too low. Stir constantly over medium-low heat for the full 10 minutes until golden and thickened, then cool completely.
Go Bake This Already
Seriously, make this cake for the next birthday or holiday and watch it disappear. It’s the kind of dessert people ask you to bring again.
If you love rich treats, you’ll also enjoy these double chocolate strawberry banana bread and these tangy lemon lush dessert bars.
Save this to your Pinterest board so you don’t lose it, and come back to drop a comment telling me how yours turned out. I mean it, I read every one.
Decadent German chocolate cake with moist chocolate layers, gooey coconut-pecan caramel filling, and silky chocolate frosting. The ultimate crowd-pleasing dessert for birthdays and holidays. Save this recipe now and bake it this weekend!
