This German chocolate cake is a rich, tender layer cake with a coconut-pecan frosting that is both gooey and crunchy. It suits birthdays, holidays, or any weekend gathering where you want a showstopper dessert. Serve it as the finale to a family dinner or at a potluck; it pairs well with coffee or cold milk.
Ingredients
- For the cake layers:
- 2 cups (250 g) all-purpose flour
- 1 cup (200 g) granulated sugar
- 1 cup (200 g) packed light brown sugar
- 3/4 cup (75 g) unsweetened cocoa powder (natural or Dutch-processed)
- 1 1/2 tsp baking powder
- 1 1/2 tsp baking soda
- 1 tsp salt
- 1 cup (240 ml) buttermilk, at room temperature
- 1/2 cup (120 ml) vegetable oil
- 2 large eggs, at room temperature
- 2 tsp vanilla extract
- 1 cup (240 ml) hot coffee or hot water
- For the coconut-pecan frosting:
- 1 cup (240 ml) evaporated milk
- 3 large egg yolks
- 1 cup (200 g) granulated sugar
- 1/2 cup (1 stick, 113 g) unsalted butter, cut into pieces
- 1 tsp vanilla extract
- 1 1/3 cups (120 g) sweetened shredded coconut
- 1 cup (120 g) chopped pecans, toasted
Instructions
- Preheat the oven to 350°F (175°C). Grease three 9-inch (23 cm) round cake pans and line the bottoms with parchment paper.
- In a large bowl, whisk together the flour, both sugars, cocoa powder, baking powder, baking soda, and salt. In a separate bowl or large measuring cup, whisk the buttermilk, oil, eggs, and vanilla until smooth.
- Pour the wet ingredients into the dry ingredients and stir until just combined. Add the hot coffee and stir until the batter is smooth; it will be thin. Divide the batter evenly among the prepared pans, about 1 1/2 cups (360 ml) per pan.
- Bake for 22–27 minutes, until a toothpick inserted in the center comes out with a few moist crumbs, not wet batter. The cakes should pull away slightly from the pan edges. Cool in the pans on a wire rack for 10 minutes, then turn out onto racks and cool completely, about 1 hour.
- While the cakes cool, make the frosting. In a medium saucepan, whisk the evaporated milk, egg yolks, sugar, and butter. Cook over medium heat, stirring constantly, until the mixture thickens and turns a light caramel color, about 10–12 minutes. It should coat the back of a spoon; do not let it boil hard.
- Remove from heat and stir in the vanilla, coconut, and pecans. Let the frosting cool to room temperature; it will thicken as it cools. If it is too thin to spread, refrigerate for 15–20 minutes, stirring occasionally.
- Assemble the cake: place one layer on a serving plate, spread about 1 cup of frosting over the top. Repeat with the second layer. Place the third layer on top and spread the remaining frosting over the top and sides. Leave the sides slightly bare for a rustic look, or coat them fully.
- Let the assembled cake sit for at least 30 minutes before slicing so the frosting sets. Serve at room temperature.
What Can I Substitute for Buttermilk or Eggs?
If you do not have buttermilk, use 1 cup (240 ml) whole milk mixed with 1 tablespoon (15 ml) lemon juice or white vinegar; let it stand for 5 minutes before using. This swap adds a slight tang, similar to buttermilk. For the egg yolks in the frosting, you can replace each yolk with 1 tablespoon (15 ml) of additional evaporated milk, but the frosting will be less rich and may need 2–3 extra minutes of cooking to thicken. For a nut-free version, omit the pecans and add 1/2 cup (60 g) more coconut; the frosting will be less crunchy but still flavorful.
How Long Does German Chocolate Cake Keep?
Store the frosted cake in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 4 days. The frosting contains egg yolks and dairy, so refrigerate if it will be out for more than 2 hours. Bring the cake to room temperature before serving for the best texture. You can freeze unfrosted cake layers, wrapped tightly in plastic wrap and foil, for up to 3 months; thaw overnight in the refrigerator before frosting. The assembled cake can be frozen for up to 1 month, but the coconut frosting may soften the cake slightly upon thawing.
Why Is My Frosting Runny or Grainy?
Runny frosting usually means it was not cooked long enough. The mixture should reach 220°F (104°C) on a candy thermometer, or until it visibly thickens and darkens. Grainy frosting happens when the sugar does not dissolve fully; whisk constantly and cook over medium heat, not high. If your frosting is grainy after cooling, you can reheat it gently with 2 tablespoons (30 ml) of milk and stir until smooth, then cool again. If it is too thick to spread, stir in 1–2 teaspoons of warm milk at a time until it loosens.
Can I Make This Cake Ahead of Time?
Yes, you can bake the cake layers up to 1 day ahead and keep them wrapped at room temperature. The frosting can be made up to 3 days ahead and refrigerated in an airtight container; bring it to room temperature and stir before using. Assemble the cake no more than 24 hours before serving to keep the layers moist. If you need to serve it later, refrigerate the assembled cake and let it sit at room temperature for 1 hour before slicing.
What Goes Well With German Chocolate Cake?
Serve slices with a dollop of lightly sweetened whipped cream or a scoop of vanilla ice cream. A cup of black coffee or espresso balances the sweetness. For a holiday table, pair it with fresh berries or a simple fruit salad. The cake is rich, so small slices are satisfying; a 9-inch round cake yields 12–16 servings.
Related
- Chocolate Cake Mix and Pumpkin Recipe
- Sheet Pan Lemon Garlic Butter Salmon Recipe
- Honey Garlic Sausage and Sweet Potatoes Sheet Pan Dinner
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).
