This cake is one of those recipes people ask for by name. It’s chocolate that’s deep and tender, built to showcase that famous coconut-pecan filling and a glossy chocolate fudge frosting. No gimmicks—just straightforward baking with a few thoughtful details that keep the layers clean, moist, and reliably delicious.
I test this version until the frosting and filling behaved exactly as readers expect: stable enough to pipe, rich enough to satisfy, and sturdy enough to slice. If you bake a lot like I do, you’ll appreciate the small tricks embedded in the method that prevent common problems, and you’ll love how well this keeps for a day or two.
Below you’ll find the precise ingredient list and step-by-step instructions I follow every time. I include equipment suggestions, swaps for dietary needs, and answers to common reader questions so you can bake this with confidence.
Ingredients at a Glance

Ingredients
- 1 and 1/2 cups (298 g) granulated sugar — primary sweetener for the cake batter.
- 1 and 1/2 cups (319 g) light brown sugar (packed) — adds moisture and a touch of caramel flavor in the cake batter.
- 2 and 1/2 cups (300 g) all-purpose flour — structure for the cake layers.
- 1 and 3/4 cups (149 g) unsweetened cocoa powder (sifted) — the chocolate backbone; sifted to prevent lumps.
- 2 teaspoons baking soda — leavening to lift the cake.
- 1 teaspoon baking powder — additional lift and lightness.
- 1 teaspoon salt — balances sweetness and enhances chocolate flavor.
- 3 large eggs (room temperature) — bind and enrich the batter.
- 2 large egg yolks (room temperature) — extra richness and tenderness.
- 1 and 1/2 cups (340 ml) Thai-style coconut milk (well combined) — adds subtle coconut flavor and fat to the batter.
- 1/3 cup (76 g) full-fat sour cream (room temperature) — keeps the crumb tender and moist.
- 3/4 cup (170 ml) unrefined coconut oil (melted and slightly cooled) — fat that complements the coconut milk and adds richness.
- 3 teaspoons pure vanilla extract — flavor enhancer for the batter.
- 1 and 1/2 cups (340 ml) freshly made hot coffee — blooms the cocoa for deeper chocolate flavor.
- 2 ounces (57 g) German’s sweet chocolate (finely chopped) — melted into the coffee to build chocolate intensity.
- 1 and 1/2 cups (340 ml) evaporated milk (well shaken) — base for the coconut-pecan filling, gives creaminess without thinning.
- 1 and 1/2 cups (319 g) light brown sugar (packed) — sweetness and chewiness for the filling (note: this is the filling’s brown sugar; brown sugar also appears in the batter).
- 6 large egg yolks (room temperature) — cooks into the filling to thicken and set it.
- 1 cup (227 g) unsalted butter (cut into tablespoons) — creates the filling’s glossy, rich base.
- 1/2 teaspoon vanilla extract — finishes the filling with flavor.
- 2 and 1/2 cups (215 g) sweetened shredded coconut — texture and the signature coconut in the filling.
- 1 and 1/2 cups (171 g) pecans (toasted and roughly chopped) — crunch and nuttiness for the filling.
- 6 ounces (171 g) German’s sweet chocolate (roughly chopped) — one component of the chocolate fudge frosting.
- 4 ounces (113 g) unsweetened chocolate (roughly chopped) — balances the sweetness and deepens the chocolate in the frosting.
- 1 and 1/2 cups (340 g) unsalted butter (room temperature) — base for the fudge frosting; whipped until light.
- 2 and 3/4 cups (426 g) confectioners’ sugar (sifted) — sweetens and stabilizes the frosting.
- 2 teaspoons vanilla extract — flavoring for the frosting.
- 1/4 teaspoon salt — cuts sweetness and rounds flavors in the frosting.
- pecans for decorating — optional garnish for piped stars or rosettes.
Cooking (German Chocolate Cake): The Process
- Preheat oven to 350°F (177°C). Prepare three 9-inch round cake pans: cut three 9-inch parchment circles, spray pans (sides and bottoms) with nonstick baking spray, place parchment in bottoms, and spray the parchment and sides again. Set pans aside.
- In a large bowl, sift together 2 1/2 cups (300 g) all-purpose flour and 1 3/4 cups (149 g) unsweetened cocoa powder. Add 1 and 1/2 cups (298 g) granulated sugar, 1 and 1/2 cups (319 g) light brown sugar (packed), 2 teaspoons baking soda, 1 teaspoon baking powder, and 1 teaspoon salt. Whisk or stir until evenly combined.
- In a separate large bowl, whisk together 3 large eggs and 2 large egg yolks (both at room temperature) until blended. Whisk in 1 and 1/2 cups (340 ml) Thai-style coconut milk (well combined), 1/3 cup (76 g) full-fat sour cream (room temperature), 3/4 cup (170 ml) melted and slightly cooled unrefined coconut oil, and 3 teaspoons pure vanilla extract.
- Pour the wet mixture into the dry ingredients and fold gently with a rubber spatula or wooden spoon until just combined; do not overmix.
- In a large spouted measuring cup or heatproof bowl, combine 1 and 1/2 cups (340 ml) freshly made hot coffee and 2 ounces (57 g) German’s sweet chocolate (finely chopped). Whisk until the chocolate is completely melted and the mixture is smooth.
- Pour the hot coffee–chocolate mixture into the batter and mix by hand or on low speed for about 1 minute, until fully combined. The batter will be quite thin.
- Divide the batter evenly among the three prepared pans (use a scale or eyeball to make layers even). Smooth the tops gently and bake in the preheated oven for 28 to 30 minutes, or until a toothpick or cake tester inserted into the center comes out clean or with only a few moist crumbs.
- Remove pans from the oven and let cakes cool in the pans on a wire rack for 10 minutes. Run a knife around the edges, invert to remove cakes, peel off parchment, and transfer the cakes right-side-up to the wire rack to cool completely before assembling.
- While cakes bake/cool, make the coconut-pecan filling: in a medium saucepan, combine 1 and 1/2 cups (340 ml) evaporated milk (well shaken), 1 and 1/2 cups (319 g) light brown sugar (packed), 6 large egg yolks (room temperature), and 1 cup (227 g) unsalted butter (cut into tablespoons).
- Cook the mixture over medium heat, stirring constantly with a heatproof spatula or whisk to prevent scorching, until it comes to a gentle boil and becomes very thick, about 10 to 12 minutes. Reduce the heat slightly and cook for 2 more minutes while continuing to stir.
- Remove the saucepan from the heat and stir in 1/2 teaspoon vanilla extract, 2 and 1/2 cups (215 g) sweetened shredded coconut, and 1 and 1/2 cups (171 g) pecans (toasted and roughly chopped). Transfer the filling to a bowl and cool completely (you can cover with plastic touching the surface to prevent a skin). Cool before using.
- Make the chocolate fudge frosting: place 6 ounces (171 g) German’s sweet chocolate (roughly chopped) and 4 ounces (113 g) unsweetened chocolate (roughly chopped) in a microwave-safe bowl or double boiler. Melt gently in 20–30 second microwave intervals on low power, stirring between intervals, or melt over simmering water, until smooth. Let the melted chocolate cool until tepid (lukewarm), not hot.
- In the bowl of a stand mixer fitted with the paddle attachment, or in a large bowl with a handheld mixer, beat 1 and 1/2 cups (340 g) unsalted butter (room temperature) on medium speed until smooth and creamy, about 1–2 minutes.
- With the mixer on low, add 2 and 3/4 cups (426 g) sifted confectioners’ sugar a little at a time, beating until each addition is fully incorporated before adding more. Once all the sugar is added, increase the speed to medium-high and beat for 3 minutes until light.
- Reduce the speed to low, add 2 teaspoons vanilla extract and 1/4 teaspoon salt, then slowly pour in the tepid melted chocolate while the mixer runs on low. Stop to scrape down the sides and bottom of the bowl as needed so everything is evenly mixed.
- After all the chocolate is incorporated, increase the speed to medium-high and beat for 2 minutes until the frosting is smooth. If the frosting seems loose, let it sit at room temperature for 30 minutes to firm up (up to 3 hours). Do not refrigerate the frosting (it may seize and become difficult to spread).
- Level the tops of the cooled cake layers with a long serrated knife to remove domes so the layers stack flat.
- Place one cake layer on your serving plate or cake stand. Spread one-third of the cooled coconut-pecan filling in an even, thin layer over the top of that layer. Repeat with the second cake layer and another one-third of the filling. Place the final cake layer on top and spread the remaining one-third of the filling over the top center layer.
- Reserve about 1 cup of the chocolate fudge frosting and spoon it into a piping bag fitted with an open star tip for decorating. Use the remaining frosting to crumb-coat and then fully frost the sides and top of the cake. Smooth or texture as desired.
- Using the prepared piping bag, pipe stars or rosettes around the edge of the cake or wherever you prefer. Top each piped star with pecans for decorating.
- Let the assembled cake sit at room temperature for a short while to set the frosting before slicing. Store at room temperature for up to 1–2 days or refrigerate if you prefer (note: refrigeration may firm the frosting).
Why I Love This Recipe

This German Chocolate Cake balances two very different pleasures: deeply chocolatey cake layers and a sweet, slightly chewy coconut-pecan filling. The contrast between the fudgy frosting and the textured filling is exactly what makes this cake memorable. It doesn’t rely on novelty—just very deliberate technique and complementary flavors.
It’s sturdy enough for celebrations, but simple enough to pull off on a weekend afternoon. If you want a showstopper that serves well and slices cleanly, this is it.
Vegan & Vegetarian Swaps

Vegetarian
The recipe as written is already vegetarian.
Vegan options
To make a vegan version, switch the eggs and dairy for reliable plant-based alternatives: use a commercial egg replacer or a flax egg substitute for structure, replace evaporated milk and coconut milk with full-fat canned coconut milk and a non-dairy evaporated milk alternative, and use dairy-free butter and vegan chocolate. Note: baking times and texture may shift, so test with one layer first.
Essential Tools for Success
- Three 9-inch round pans — for even layer baking.
- Kitchen scale — handy for dividing batter evenly between pans.
- Spatula and long serrated knife — for leveling layers and spreading fillings.
- Stand mixer or handheld mixer — to get a light, stable frosting.
- Saucepan and heatproof spatula — to cook the coconut-pecan filling without scorching.
- Wire rack — for cooling layers properly.
Avoid These Traps
Don’t rush the filling. Stir constantly over medium heat to prevent scorching—this filling needs time to thicken properly. If you undercook it, it won’t set and will slide out of the layers.
Don’t add hot melted chocolate to the frosting bowl while it’s very hot or you risk loosening the butter or seizing the chocolate. Tepid is the instruction for a reason.
Don’t refrigerate the prepared frosting: cold can seize the texture. If the frosting is too loose, let it rest at room temperature until it firms before using.
Smart Substitutions
- Coconut milk — use full-fat canned coconut milk if you can’t find Thai-style; it will be richer.
- Sour cream — plain full-fat yogurt can be a substitute in equal measure.
- Toasted pecans — walnuts work if you prefer a different nut flavor or for cost reasons.
- German’s sweet chocolate / unsweetened chocolate — use a high-quality milk and dark chocolate respectively if those specific bars are unavailable. Keep the weights the same.
Cook’s Notes
Level the cake layers once fully cooled. Warm cakes are harder to level and more likely to tear. Use a long serrated knife and a gentle sawing motion for clean results.
When melting chocolate for the frosting, low and slow is the safest method. If you see any signs of graininess after cooling, briefly stir over warm water to smooth it out before adding to butter.
Reserve a little frosting for decorating as instructed. It’s easier to control the look of your cake if you set aside that piping amount up front.
Leftovers & Meal Prep
Store the assembled cake at room temperature for 1–2 days in a cake box or covered cake stand. If you prefer the frosting firmer, refrigerate; be aware refrigeration will firm the crumb and the frosting. Bring slices back to room temperature for the best texture before serving.
You can make the filling and frosting a day ahead and keep them refrigerated (bring to room temperature before using). The cake layers can be baked and wrapped in plastic for up to two days or frozen for longer storage.
Reader Questions
Q: Can I make this as a two-layer cake instead of three?
A: Yes. Increase the baking time slightly for deeper layers and check doneness with a toothpick. You’ll want to adjust filling distribution so the middle is balanced.
Q: My filling didn’t thicken—what went wrong?
A: Most likely it needed more time or the heat was too low. Stir constantly over medium; the mixture should take on thickness after about 10–12 minutes and then simmer 2 more minutes as directed.
Q: Can I use toasted sweetened coconut versus unsweetened?
A: The recipe calls for sweetened shredded coconut for the classic flavor and texture. Using unsweetened will reduce sweetness and change mouthfeel; adjust expectations accordingly.
In Closing
This German Chocolate Cake is a classic for a reason: a tender, chocolate-forward cake paired with a chewy coconut-pecan filling and a silky fudge frosting creates a multi-textured, crowd-pleasing dessert. Follow the steps, respect the temperatures, and take your time with the filling and frosting. The result is worth the effort—a reliably stunning cake that tastes like the celebration it deserves to be.
If you bake it, tell me how the layers turned out and whether you added any personal touches. Baking feedback from readers is my favorite part of writing recipes.

German Chocolate Cake (The Best Fan Approved Coconut Pecan Frosting)
Ingredients
Ingredients
- 1 and 1/2 cups 298 ggranulated sugar
- 1 and 1/2 cups 319 glight brown sugarpacked
- 2 and 1/2 cups 300 gall-purpose flour
- 1 and 3/4 cups 149 gunsweetened cocoa powdersifted
- 2 teaspoonsbaking soda
- 1 teaspoonbaking powder
- 1 teaspoonsalt
- 3 largeeggsroom temperature
- 2 largeegg yolksroom temperature
- 1 and 1/2 cups 340 mlThai-style coconut milkwell combined
- 1/3 cup 76 gfull-fat sour creamroom temperature
- 3/4 cup 170 mlunrefined coconut oilmelted and slightly cooled
- 3 teaspoonspure vanilla extract
- 1 and 1/2 cups 340 mlfreshly made hot coffee
- 2 ounces 57 gGerman's sweet chocolatefinely chopped
- 1 and 1/2 cups 340 mlevaporated milkwell shaken
- 1 and 1/2 cups 319 glight brown sugarpacked
- 6 largeegg yolksroom temperature
- 1 cup 227 gunsalted buttercut into tablespoons
- 1/2 teaspoonvanilla extract
- 2 and 1/2 cups 215 gsweetened shredded coconut
- 1 and 1/2 cups 171 gpecanstoasted and roughly chopped
- 6 ounces 171 gGerman's sweet chocolateroughly chopped
- 4 ounces 113 gunsweetened chocolateroughly chopped
- 1 and 1/2 cups 340 gunsalted butterroom temperature
- 2 and 3/4 cups 426 gconfectioners' sugarsifted
- 2 teaspoonsvanilla extract
- 1/4 teaspoonsalt
- pecansfor decorating
Instructions
Instructions
- Preheat oven to 350°F (177°C). Prepare three 9-inch round cake pans: cut three 9-inch parchment circles, spray pans (sides and bottoms) with nonstick baking spray, place parchment in bottoms, and spray the parchment and sides again. Set pans aside.
- In a large bowl, sift together 2 1/2 cups (300 g) all-purpose flour and 1 3/4 cups (149 g) unsweetened cocoa powder. Add 1 and 1/2 cups (298 g) granulated sugar, 1 and 1/2 cups (319 g) light brown sugar (packed), 2 teaspoons baking soda, 1 teaspoon baking powder, and 1 teaspoon salt. Whisk or stir until evenly combined.
- In a separate large bowl, whisk together 3 large eggs and 2 large egg yolks (both at room temperature) until blended. Whisk in 1 and 1/2 cups (340 ml) Thai-style coconut milk (well combined), 1/3 cup (76 g) full-fat sour cream (room temperature), 3/4 cup (170 ml) melted and slightly cooled unrefined coconut oil, and 3 teaspoons pure vanilla extract.
- Pour the wet mixture into the dry ingredients and fold gently with a rubber spatula or wooden spoon until just combined; do not overmix.
- In a large spouted measuring cup or heatproof bowl, combine 1 and 1/2 cups (340 ml) freshly made hot coffee and 2 ounces (57 g) German's sweet chocolate (finely chopped). Whisk until the chocolate is completely melted and the mixture is smooth.
- Pour the hot coffee–chocolate mixture into the batter and mix by hand or on low speed for about 1 minute, until fully combined. The batter will be quite thin.
- Divide the batter evenly among the three prepared pans (use a scale or eyeball to make layers even). Smooth the tops gently and bake in the preheated oven for 28 to 30 minutes, or until a toothpick or cake tester inserted into the center comes out clean or with only a few moist crumbs.
- Remove pans from the oven and let cakes cool in the pans on a wire rack for 10 minutes. Run a knife around the edges, invert to remove cakes, peel off parchment, and transfer the cakes right-side-up to the wire rack to cool completely before assembling.
- While cakes bake/cool, make the coconut-pecan filling: in a medium saucepan, combine 1 and 1/2 cups (340 ml) evaporated milk (well shaken), 1 and 1/2 cups (319 g) light brown sugar (packed), 6 large egg yolks (room temperature), and 1 cup (227 g) unsalted butter (cut into tablespoons).
- Cook the mixture over medium heat, stirring constantly with a heatproof spatula or whisk to prevent scorching, until it comes to a gentle boil and becomes very thick, about 10 to 12 minutes. Reduce the heat slightly and cook for 2 more minutes while continuing to stir.
- Remove the saucepan from the heat and stir in 1/2 teaspoon vanilla extract, 2 and 1/2 cups (215 g) sweetened shredded coconut, and 1 and 1/2 cups (171 g) pecans (toasted and roughly chopped). Transfer the filling to a bowl and cool completely (you can cover with plastic touching the surface to prevent a skin). Cool before using.
- Make the chocolate fudge frosting: place 6 ounces (171 g) German's sweet chocolate (roughly chopped) and 4 ounces (113 g) unsweetened chocolate (roughly chopped) in a microwave-safe bowl or double boiler. Melt gently in 20–30 second microwave intervals on low power, stirring between intervals, or melt over simmering water, until smooth. Let the melted chocolate cool until tepid (lukewarm), not hot.
- In the bowl of a stand mixer fitted with the paddle attachment, or in a large bowl with a handheld mixer, beat 1 and 1/2 cups (340 g) unsalted butter (room temperature) on medium speed until smooth and creamy, about 1–2 minutes.
- With the mixer on low, add 2 and 3/4 cups (426 g) sifted confectioners' sugar a little at a time, beating until each addition is fully incorporated before adding more. Once all the sugar is added, increase the speed to medium-high and beat for 3 minutes until light.
- Reduce the speed to low, add 2 teaspoons vanilla extract and 1/4 teaspoon salt, then slowly pour in the tepid melted chocolate while the mixer runs on low. Stop to scrape down the sides and bottom of the bowl as needed so everything is evenly mixed.
- After all the chocolate is incorporated, increase the speed to medium-high and beat for 2 minutes until the frosting is smooth. If the frosting seems loose, let it sit at room temperature for 30 minutes to firm up (up to 3 hours). Do not refrigerate the frosting (it may seize and become difficult to spread).
- Level the tops of the cooled cake layers with a long serrated knife to remove domes so the layers stack flat.
- Place one cake layer on your serving plate or cake stand. Spread one-third of the cooled coconut-pecan filling in an even, thin layer over the top of that layer. Repeat with the second cake layer and another one-third of the filling. Place the final cake layer on top and spread the remaining one-third of the filling over the top center layer.
- Reserve about 1 cup of the chocolate fudge frosting and spoon it into a piping bag fitted with an open star tip for decorating. Use the remaining frosting to crumb-coat and then fully frost the sides and top of the cake. Smooth or texture as desired.
- Using the prepared piping bag, pipe stars or rosettes around the edge of the cake or wherever you prefer. Top each piped star with pecans for decorating.
- Let the assembled cake sit at room temperature for a short while to set the frosting before slicing. Store at room temperature for up to 1–2 days or refrigerate if you prefer (note: refrigeration may firm the frosting).
Equipment
- three 9-inch round cake pans
- Parchment Paper
- nonstick baking spray
- stand mixer or handheld mixer
- Rubber spatula
- Whisk
- heatproof bowl or spouted measuring cup
- Saucepan
- Double boiler or microwave-safe bowl
- piping bag with open star tip
- long serrated knife
- Wire Rack
Notes
Store at room temperature for up to 1–2 days or refrigerate if preferred (refrigeration may firm the frosting).
