Zimt

Chocolate Cake With Coconut Filling and Ganache

· 6 min read · Cakes

In this article
  1. Chocolate cake with coconut filling and ganache: exact amounts
  2. How to make the layers, the coconut filling and the ganache
  3. Why the cake can turn out dry, dense or runny, and the fix
  4. Swaps for the chocolate, coconut and ganache
  5. Storing the cake and its parts safely

The crumb of this cake depends on the ratio of fat to flour and the order the liquids go in: 1 cup (240 ml) of hot coffee or water stirred in at the end blooms the cocoa and keeps the layers moist without making them wet. The coconut filling is a thick pastry-cream style mixture, not a runny glaze, so it stays put between the layers. Ganache sets to a soft truffle texture at room temperature, which is why it pours over the top and firms up without cracking.

Chocolate cake with coconut filling and ganache: exact amounts

This makes one three-layer 8-inch (20 cm) cake, about 12 servings. Use two 8-inch pans and bake the layers in two batches, or three pans if you have them.

  • 1 3/4 cups (220 g) all-purpose flour
  • 2 cups (400 g) granulated sugar
  • 3/4 cup (65 g) unsweetened cocoa powder
  • 2 tsp baking soda
  • 1 tsp baking powder
  • 1 tsp fine salt
  • 2 large eggs, room temperature
  • 1 cup (240 ml) buttermilk, room temperature
  • 1/2 cup (120 ml) neutral oil
  • 2 tsp vanilla extract
  • 1 cup (240 ml) hot coffee or hot water

Coconut filling

  • 1 cup (240 ml) whole milk
  • 1 cup (200 g) granulated sugar
  • 1/4 cup (30 g) cornstarch
  • 1/4 tsp salt
  • 4 large egg yolks
  • 2 tbsp (28 g) unsalted butter, softened
  • 1 1/2 cups (120 g) shredded sweetened coconut
  • 1 tsp vanilla extract

Ganache

  • 8 oz (225 g) semisweet or bittersweet chocolate, finely chopped
  • 1 cup (240 ml) heavy cream
  • 1 tbsp (14 g) unsalted butter, optional for shine

How to make the layers, the coconut filling and the ganache

  1. Heat the oven to 350F/175C. Grease two 8-inch round pans, line the bottoms with parchment, and grease the parchment.
  2. Whisk the flour, sugar, cocoa, baking soda, baking powder and salt in a large bowl until no cocoa lumps remain.
  3. Add the eggs, buttermilk, oil and vanilla. Whisk until smooth, about 1 minute. The batter will be thick.
  4. Pour in the hot coffee or water and whisk gently until the batter is thin and glossy, about 30 seconds. It will look runny; that is correct.
  5. Divide the batter between the two pans, about 2 1/2 cups each. Bake at 350F/175C for 28-33 minutes, until a toothpick in the center comes out with a few moist crumbs and the tops spring back when pressed. Cool in the pans 10 minutes, then turn out onto a rack to cool completely, about 1 hour.
  6. For the filling, whisk the milk, sugar, cornstarch and salt in a saucepan. Whisk in the egg yolks until smooth. Cook over medium heat, whisking constantly, for 6-8 minutes, until the mixture thickens and bubbles slowly at the edges. It should coat the back of a spoon.
  7. Off the heat, stir in the butter, coconut and vanilla. Scrape into a bowl, press plastic wrap onto the surface, and refrigerate at least 1 hour, until cold and firm.
  8. For the ganache, put the chopped chocolate in a heatproof bowl. Heat the cream in a saucepan until it just simmers, with small bubbles at the edge; do not boil it hard. Pour over the chocolate and let it sit 2 minutes, then stir from the center out until smooth. Stir in the butter if using. Cool at room temperature 30-45 minutes, until thick enough to spread but still pourable.
  9. To assemble, level the cake tops with a serrated knife if domed. Put one layer on a plate, spread half the cold coconut filling to within 1/2 inch of the edge, and top with the second layer. Spread the rest of the filling, then set the third layer on top. Chill the stacked cake 20 minutes so the filling firms.
  10. Set the cake on a rack over a tray. Pour the ganache over the top, starting in the center and working outward, letting it drip down the sides. Spread the top smooth with an offset spatula. Let it set at room temperature 1-2 hours, or chill 30 minutes, before slicing.

Why the cake can turn out dry, dense or runny, and the fix

Dry crumb: overbaking is the usual cause. Start checking at 28 minutes; the cake is done when the center springs back and a toothpick comes out with moist crumbs, not dry ones. If your oven runs hot, lower it to 325F/165C and add 5 minutes.

Dense, sunken layers: batter that sat too long before baking, or under-whisked cocoa lumps, can weigh it down. Mix the dry ingredients well, then bake as soon as the batter is in the pans. Opening the oven in the first 20 minutes also drops the center.

Runny coconut filling: the cornstarch needs to cook fully. Whisk constantly and let it bubble gently for at least 30 seconds after it thickens. If it is still loose after chilling, return it to the pan and cook 2 more minutes, whisking, then chill again.

Ganache that is too thin or grainy: cream that boiled hard can split the chocolate. If it looks oily, stir in 1 tsp warm milk at a time until smooth. If it is too thin to coat, chill 15 minutes and stir; if it is too thick to pour, warm it for 10 seconds at a time.

Swaps for the chocolate, coconut and ganache

Buttermilk can be replaced with 1 cup (240 ml) whole milk plus 1 tbsp lemon juice, rested 10 minutes. Sour cream thinned with 2 tbsp milk works too. Hot coffee can become hot water with no other change; the cake will taste slightly less deep.

For the filling, 1 1/2 cups (120 g) unsweetened coconut can replace the sweetened kind, but add 2 tbsp sugar to the milk mixture. A gluten-free all-purpose blend can replace the flour at the same weight, 220 g, though the crumb will be a little more tender.

For the ganache, milk chocolate makes a sweeter, softer coating; use the same 8 oz (225 g) and chill it 15 minutes longer before pouring. Dark chocolate at 70% cocoa gives a firmer set and a more bitter edge.

Storing the cake and its parts safely

The frosted cake keeps in the refrigerator for up to 4 days, covered so the ganache does not pick up fridge smells. Let slices sit at room temperature 20 minutes before serving for the best texture. The unfrosted layers can be wrapped tightly and frozen for up to 2 months; thaw at room temperature for 1 hour before filling.

The coconut filling keeps in the refrigerator up to 3 days in a sealed container with plastic pressed to the surface. Ganache keeps in the refrigerator up to 2 weeks; reheat it gently over simmering water or in short microwave bursts, stirring between each, until pourable.

Because the filling contains milk and egg yolks, do not leave the assembled cake at room temperature more than 2 hours. In room temperatures above 90F/32C, that limit drops to 1 hour. The cake batter contains raw eggs and raw flour, so do not taste it before baking.