Go Back
Mocha Layer Cake

Mocha Layer Cake with Chocolate-Rum Cream Filling

This Mocha Layer Cake features espresso-infused cake layers, a smooth chocolate-rum pastry cream, and rich mocha buttercream, perfect for any celebration.
Prep Time 45 minutes
Total Time 3 hours
Course Cake, Dessert
Cuisine American, Baking
Servings 12 slices
Calories 785 kcal

Ingredients
  

For the Mocha Cake Layers

  • 2 cups all-purpose flour, spooned and leveled
  • 1.75 cups granulated sugar
  • 0.75 cups unsweetened natural cocoa powder (not Dutch-process)
  • 2 teaspoons baking soda
  • 1 teaspoon baking powder
  • 1 teaspoon fine sea salt
  • 2 large eggs, room temperature
  • 1 cup buttermilk, room temperature
  • 0.5 cups vegetable or canola oil
  • 2 teaspoons pure vanilla extract
  • 1 cup hot, strongly brewed coffee or espresso

For the Chocolate-Rum Cream Filling

  • 1.25 cups whole milk
  • 4 large egg yolks
  • 0.5 cups granulated sugar
  • 3 tablespoons cornstarch
  • 0.25 teaspoon salt
  • 4 ounces high-quality semi-sweet chocolate, finely chopped
  • 2 tablespoons unsalted butter, cubed
  • 1.5 teaspoons dark rum (or 1 teaspoon rum extract)
  • 1 teaspoon vanilla extract

For the Mocha Buttercream

  • 1.5 cups unsalted butter, softened to room temperature
  • 5 cups confectioners’ sugar, sifted
  • 0.33 cups unsweetened cocoa powder, sifted
  • 0.25 cups strongly brewed coffee or espresso, cooled
  • 2 teaspoons vanilla extract
  • 1 pinch salt

For Garnish (Optional)

  • Chocolate-covered espresso beans
  • Chocolate shavings or curls
  • A light dusting of cocoa powder

Instructions
 

Part 1: Bake the Cake Layers

  • Preheat your oven to 350°F (175°C). Grease and line the bottoms of three 8-inch round cake pans with parchment paper. Lightly grease the parchment.
  • In the bowl of a stand mixer or a large bowl, sift together the flour, sugar, cocoa powder, baking soda, baking powder, and salt. Mix on low for 30 seconds to combine.
  • In a separate bowl, whisk together the eggs, buttermilk, oil, and vanilla until smooth. With the mixer on low speed, slowly pour the wet ingredients into the dry. Mix just until combined—the batter will be thick.
  • Carefully pour in the hot coffee. The batter will be very thin; this is correct. Mix on low until just combined, scraping the bottom and sides of the bowl as needed.
  • Divide the batter evenly among the prepared pans. Bake for 22-26 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs.
  • Let the cakes cool in their pans on a wire rack for 15 minutes. Then, carefully run a knife around the edges and invert them onto the racks to cool completely.
  • Wrap cooled layers tightly in plastic wrap and freeze for 30 minutes for easier, crumb-free frosting.

Part 2: Make the Chocolate-Rum Filling

  • In a medium saucepan, heat the milk over medium heat until it just begins to steam. Do not boil.
  • In a separate bowl, vigorously whisk the egg yolks, sugar, cornstarch, and salt until thick and pale yellow.
  • While whisking constantly, slowly drizzle about half of the hot milk into the egg yolk mixture to temper it. Then, pour the entire egg-milk mixture back into the saucepan with the remaining milk.
  • Cook over medium heat, whisking constantly, until the mixture becomes very thick and bubbles break the surface, about 2-3 minutes. Cook for 1 full additional minute to cook out the cornstarch taste.
  • Remove from heat. Immediately whisk in the chopped chocolate, butter, rum, and vanilla until completely smooth and glossy.
  • Press plastic wrap directly onto the surface of the pastry cream to prevent a skin from forming. Refrigerate for at least 2 hours, or until completely cold and set.

Part 3: Prepare the Mocha Buttercream

  • In the bowl of a stand mixer, beat the softened butter on medium-high speed until completely smooth and creamy, about 3 minutes.
  • With the mixer on low, gradually add the sifted confectioners’ sugar and cocoa powder. Mix until incorporated.
  • Add the cooled coffee, vanilla, and salt. Beat on medium-high speed for 3-4 minutes, scraping down the bowl as needed, until the frosting is very light, fluffy, and spreadable. If it’s too thick, add a teaspoon of milk or coffee. If too thin, add a bit more sugar.

Part 4: Assemble the Cake

  • If your cake layers have domed tops, use a long serrated knife to carefully slice them off to create flat, even surfaces.
  • Place one cake layer on your serving plate or cake stand. Spread half of the chilled chocolate-rum filling evenly over the top, leaving a small border.
  • Gently place the second cake layer on top. Spread with the remaining filling.
  • Top with the final cake layer.
  • Apply a thin layer of mocha buttercream over the entire cake to trap crumbs. Refrigerate for 20 minutes to set.
  • Frost the top and sides of the cake with the remaining buttercream using an offset spatula. Create swirls or smooth sides as desired.
  • Decorate with chocolate shavings and espresso beans. For best texture and flavor, let the cake sit at room temperature for about 30 minutes before slicing.

Notes

This cake can be prepared a day in advance, making assembly easier. Use quality ingredients for best results.
Keyword Celebration Cake, Chocolate-Rum Filling, Layer Cake, Mocha Cake, Special Occasion Dessert