A funny piece of history: "German Chocolate Cake" isn't German. It's American, named for Sam German, a Boston baker who developed a particular dark baking chocolate for Baker's Chocolate Company in 1852. The cake came a century later, in a Texas newspaper in 1957, and it took off. So this is American comfort baking dressed in a misleading name.
It's also one of the more architecturally interesting cakes — a moderately bitter chocolate cake, layered with a cooked coconut-pecan filling (not a frosting, more of a confection), wrapped in chocolate buttercream. Three different textures, three different sweetness levels, all stacked together.
Serves 15 · 8 or 9-inch double-layer · about 1 hour 15 minutes total
Ingredients
Chocolate cake
- 2 cups granulated sugar
- 1¾ cups all-purpose flour
- ¾ cup unsweetened cocoa powder
- 1½ tsp baking powder
- 1½ tsp baking soda
- 1 tsp salt
- 2 large eggs
- 1 cup buttermilk, room temperature
- ½ cup neutral oil (canola, avocado)
- 2 tsp vanilla extract
- 1 cup boiling water or hot strong coffee
Coconut-pecan frosting (the famous one)
- ½ cup light brown sugar
- ½ cup granulated sugar
- ½ cup (1 stick) butter
- 3 large egg yolks
- ¾ cup evaporated milk
- 1 tbsp vanilla extract
- 1 cup chopped pecans, toasted
- 1 cup sweetened shredded coconut
Chocolate buttercream
- ½ cup (1 stick) butter
- ⅔ cup unsweetened cocoa powder
- 3 cups powdered sugar
- ⅓ cup evaporated milk
- 1 tsp vanilla extract
- Pinch of salt
Method
Cake
1. Heat oven to 375°F. Grease two 8 or 9-inch round pans, line bottoms with parchment circles.
2. Whisk dry. Sugar, flour, cocoa, baking powder, baking soda, salt.
3. Whisk wet separately: eggs, buttermilk, oil, vanilla.
4. Combine. Add wet to dry, mix until smooth. Stir in the boiling water/coffee. Batter will be very thin — correct. Pour into the prepared pans.
5. Bake 25 to 35 minutes (9-inch pans go faster than 8-inch). Toothpick comes out clean or with a few moist crumbs. Cool 5 minutes in pans, then turn onto wire racks and cool completely.
Coconut-pecan frosting
This is technically a cooked custard with coconut and nuts folded in. Don't be intimidated — it's straightforward.
1. In a medium saucepan, combine the brown sugar, granulated sugar, butter, egg yolks, and evaporated milk. Whisk to combine before turning on the heat.
2. Heat over medium, stirring constantly with a wooden spoon or silicone spatula. The mixture will go from milky-pale to slightly thicker and a deeper gold over about 8 to 10 minutes. When it coats the back of the spoon and you can run a finger through it and leave a clean line — it's done. Don't boil it; the eggs will scramble.
3. Off heat, stir in the vanilla, toasted pecans, and coconut. Toasting the pecans first (10 minutes in a 350°F oven, watch them) is a huge upgrade — raw pecans taste flat.
4. Cool completely before using. It thickens as it cools.
Chocolate buttercream
1. Melt the butter in a saucepan or microwave.
2. Whisk in the cocoa powder until smooth.
3. Alternately add the powdered sugar and evaporated milk, beating between additions, until you have a thick, spreadable, glossy frosting. Stir in vanilla and salt. Adjust with more sugar (thicker) or milk (thinner) as needed.
Assemble
- Place one cake round on your stand.
- Spread a thin layer of chocolate buttercream on top — this acts as a seal so the cake doesn't get soggy from the coconut filling.
- Spoon half the cooled coconut-pecan frosting on top of the buttercream, leaving about ½ inch around the edge so it doesn't squeeze out when you stack.
- Place the second round on top.
- Frost the entire outside of the cake with the chocolate buttercream — sides and a smooth or piped top edge.
- Spoon the remaining coconut-pecan frosting on top of the cake, inside the buttercream border. Spread it to the edges or pile it rustic-style.
- Optional: pipe a chocolate buttercream rosette ring around the top edge to frame the coconut.
Refrigerate 30 minutes to set, then bring to room temperature before serving.
Notes from the cook
- Toast the pecans. Non-negotiable. Raw pecans in this frosting taste like wet wood. Toast them in a 350°F oven for 8 to 10 minutes, watch closely — they go from golden to burnt fast.
- Stir the custard constantly. The eggs need to cook evenly without scrambling. Wooden spoon, medium heat, never walk away.
- Sweetened coconut, not unsweetened. The cooked frosting is balanced for sweetened coconut. If you use unsweetened, bump the sugar by 2 tbsp.
- Evaporated milk, not condensed. Evaporated = milk with water removed. Condensed = milk with water removed and tons of sugar added. They are not interchangeable.
- Make ahead. Coconut frosting can be made up to a week ahead, kept in the fridge. Bring to room temperature an hour before assembling.
Notes to elevate
- Brown the butter for the chocolate buttercream. Nuttier, richer, plays beautifully with the coconut-pecan filling.
- Bourbon or dark rum in the coconut-pecan frosting. 1 tbsp stirred in at the end with the vanilla. Adds depth and a grown-up note.
- Caramelize the coconut. Before folding into the frosting, toast the coconut in a dry pan over medium heat until golden brown, stirring constantly. Adds nutty intensity.
- Espresso powder in the cake (1 tsp) to deepen the chocolate.
- Salted caramel ring. Drizzle a homemade salted caramel around the top of the cake before the coconut topping. The caramel + coconut + pecan + chocolate combination is a religious experience.
- Higher-quality cocoa. Valrhona Cocoa Powder is more expensive than Hershey's; in this cake the difference is obvious.
- Plate it tall. Slice thin (1-inch wedges) so the layers are visible. Smear of caramel on the plate, wedge leaning, three perfect pecan halves, one pinch of flaky salt.
- Bring the missing chocolate intensity. Add 2 oz of melted 70% dark chocolate to the chocolate buttercream. Replaces about ¼ cup of the powdered sugar (adjust to taste).
Gluten-free
Swap the AP flour 1:1 for a quality GF blend with xanthan gum (King Arthur Measure for Measure). The cake handles the swap well. All other components are naturally GF — verify your powdered sugar and cocoa powder are GF-certified if cross-contamination matters.
Differences: crumb is slightly more delicate. Cool the layers completely (or briefly refrigerate) before assembling to avoid breakage.
GF vegan version
The chocolate cake converts cleanly. The coconut-pecan frosting is the challenge — it relies on egg yolks for body. We'll rebuild it using a cornstarch slurry.
Cake swaps
- Eggs → 2 flax eggs (2 tbsp ground flax + 6 tbsp water, sit 10 min)
- Buttermilk → 1 cup oat milk + 1 tbsp apple cider vinegar
- Flour → GF 1:1 blend with xanthan gum
Coconut-pecan frosting — fully reworked
- ½ cup light brown sugar
- ½ cup granulated sugar
- ½ cup vegan butter (Miyoko's)
- 1 can (13.5 oz) full-fat coconut milk (replaces evaporated milk and contributes to body)
- 2 tbsp cornstarch (replaces the thickening from egg yolks)
- 1 tbsp vanilla extract
- 1 cup toasted chopped pecans
- 1 cup sweetened shredded coconut
In a small bowl, whisk 2 tbsp of the coconut milk with the cornstarch until smooth. In a saucepan, combine remaining coconut milk, both sugars, and vegan butter. Heat over medium, stirring, until butter melts and sugars dissolve. Bring to a low simmer, then whisk in the cornstarch slurry. Continue stirring 3 to 4 minutes until thickened and glossy. Off heat, stir in vanilla, toasted pecans, and coconut. Cool completely before using.
Chocolate buttercream swaps
- Butter → Miyoko's vegan butter
- Evaporated milk → coconut cream (the thick top of a chilled can) or oat creamer
- Everything else already vegan
Differences from the original: the chocolate cake is essentially identical — chocolate masks the swaps beautifully. The coconut-pecan frosting is genuinely the trickiest component to convert; the egg-yolk-based original has a particular custardy richness that's hard to replicate. The cornstarch-thickened version is glossier and slightly less rich, but it actually showcases the coconut and pecan flavors more cleanly because there's no egg yolk competing. Some people prefer the vegan version once they taste both side by side. Honest scoring: 8.5/10. The chocolate buttercream converts cleanly. The vegan butter behaves like dairy butter once it cools.