This chocolate raspberry mocha layer cake is a showstopper that combines rich chocolate, tangy raspberries, and a deep coffee kick in one moist, tender crumb. The espresso intensifies the chocolate without making it taste like a coffee cake, while the raspberry filling cuts through the sweetness with bright, fruity acidity. It is a reliable layer cake that uses standard pantry ingredients and a simple buttercream, so it works for birthdays, anniversaries, or any day you want a truly impressive dessert.
Ingredients
- For the cake:
- 2 cups (240 g) all-purpose flour
- 1 cup (200 g) granulated sugar
- 3/4 cup (150 g) packed light brown sugar
- 3/4 cup (75 g) unsweetened cocoa powder (natural or Dutch-process)
- 2 teaspoons baking powder
- 1 1/2 teaspoons baking soda
- 1 teaspoon salt
- 1 cup (240 ml) buttermilk, room temperature
- 1/2 cup (120 ml) strong brewed coffee or espresso, cooled
- 1/2 cup (120 ml) vegetable oil
- 2 large eggs, room temperature
- 2 teaspoons vanilla extract
- For the raspberry filling:
- 12 oz (340 g) fresh or frozen raspberries (about 2 1/2 cups)
- 1/4 cup (50 g) granulated sugar
- 1 tablespoon lemon juice
- 1 tablespoon cornstarch mixed with 2 tablespoons water
- For the mocha buttercream:
- 1 cup (2 sticks, 226 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar, sifted
- 1/4 cup (25 g) cocoa powder, sifted
- 2 tablespoons heavy cream
- 1 tablespoon instant espresso powder dissolved in 1 tablespoon hot water, cooled
- 1 teaspoon vanilla extract
- Pinch of salt
- For assembly:
- Fresh raspberries for garnish (optional)
Instructions
- Preheat and prepare pans: Preheat your oven to 350°F (175°C). Grease three 8-inch round cake pans (2 inches deep) and line the bottoms with parchment paper. Dust the sides with cocoa powder or flour, tapping out the excess.
- Mix dry ingredients: In a large bowl, whisk together the flour, granulated sugar, brown sugar, cocoa powder, baking powder, baking soda, and salt. Make sure there are no lumps; if needed, sift the cocoa and flour together.
- Add wet ingredients: In a separate bowl or large measuring cup, whisk the buttermilk, cooled coffee, oil, eggs, and vanilla until well combined.
- Combine batters: Pour the wet ingredients into the dry ingredients and whisk gently until just combined. The batter will be thin; that is correct. Do not overmix—stop when no streaks of flour remain.
- Bake the cakes: Divide the batter evenly among the three prepared pans (about 1 1/2 cups per pan). Bake for 22–28 minutes, or until a toothpick inserted in the center comes out with a few moist crumbs, and the cake springs back when lightly pressed. The internal temperature should read about 200–205°F (93–96°C) in the center.
- Cool completely: Let the cakes cool in the pans for 10 minutes, then run a knife around the edges and turn them out onto a wire rack. Remove the parchment and let cool completely, at least 1 hour. You can also wrap them in plastic wrap and freeze for 30 minutes to make assembly easier.
- Make the raspberry filling: In a small saucepan, combine the raspberries, sugar, and lemon juice. Cook over medium heat, stirring occasionally, until the berries break down and the mixture is bubbling, about 5–7 minutes. Stir in the cornstarch slurry and cook for another 1–2 minutes until thickened. Remove from heat and press through a fine-mesh sieve to remove seeds (optional but recommended). Let cool completely.
- Make the mocha buttercream: In a large bowl, beat the softened butter with an electric mixer on medium speed until smooth and creamy, about 2 minutes. Add the sifted powdered sugar and cocoa powder, one cup at a time, beating on low until incorporated. Add the heavy cream, cooled espresso mixture, vanilla, and salt. Beat on medium-high for 2–3 minutes until light and fluffy. If the frosting is too thick, add a teaspoon more cream; if too thin, add a little more powdered sugar.
- Assemble the cake: Place one cake layer on a serving plate or cake stand. Spread about 1/2 cup of the raspberry filling over the top, leaving a 1/2-inch border. Add a thin layer of buttercream on top of the raspberry filling (this helps keep the filling from squeezing out). Repeat with the second layer. Place the third layer on top.
- Frost the cake: Use a generous amount of buttercream to cover the top and sides. For a smooth finish, use an offset spatula and dip it in warm water. If you prefer a rustic look, leave swirls. Garnish with fresh raspberries on top just before serving.
Tips
- Use room-temperature ingredients: Cold eggs and buttermilk can make the batter curdle and bake unevenly. Set them out 30 minutes before starting.
- Don’t overmix the batter: Overmixing develops gluten and can make the cake tough. Mix just until the flour disappears; a few small lumps are fine.
- Make the filling ahead: The raspberry filling can be made up to 3 days in advance and stored in the refrigerator. Let it come to room temperature before spreading.
- Freeze the layers for clean slicing: Chilled cakes are much easier to frost and slice. If time allows, freeze the cooled layers for 30 minutes before assembling.
Serving Suggestions
Serve this cake at room temperature so the buttercream softens slightly. A dusting of powdered sugar or a drizzle of chocolate ganache over the top adds extra elegance. Pair it with a cup of black coffee or espresso to echo the mocha flavor, or a glass of cold milk for a classic combination. For a special occasion, add a scoop of vanilla bean ice cream on the side.
Variations
- Skip the coffee: If you want a pure chocolate raspberry cake, replace the coffee with hot water and omit the espresso in the buttercream (add an extra teaspoon of vanilla instead).
- Use a different berry: Strawberries or blackberries work well in place of raspberries; adjust sugar to taste.
- Make it a sheet cake: Bake the batter in a 9×13-inch pan (about 14 cups capacity) at 350°F (175°C) for 30–35 minutes. Use the same filling and frosting, but spread the filling only on top of the cake and swirl it into the frosting.
- Add a chocolate ganache drip: After frosting, let a ganache made from 1/2 cup heavy cream and 4 oz (115 g) dark chocolate drip down the sides for a polished look.
Storage and Reheating
Store the assembled cake in an airtight container in the refrigerator for up to 4 days. Because of the raspberry filling, it needs to stay chilled. Let slices sit at room temperature for 20–30 minutes before serving to take the chill off. You can also freeze the unfrosted cake layers (wrapped tightly in plastic and foil) for up to 3 months; thaw overnight in the refrigerator before frosting. Frosted cake can be frozen for up to 1 month, but the texture of the buttercream may change slightly—thaw in the fridge and re-whip the frosting briefly if needed.
Frequently Asked Questions
Can I use a 9-inch round pan instead of 8-inch? Yes, but the layers will be thinner and bake faster. You can use two 9-inch pans (each holds about 8 cups) and bake for 20–25 minutes. Start checking at 18 minutes. The cake will be shorter, so you may want to double the filling or just spread it thinner.
Can I use frozen raspberries for the filling? Absolutely. Do not thaw them first; add them directly to the saucepan with the sugar and lemon juice. You may need to cook an extra minute or two to evaporate the extra liquid.
Why did my cake sink in the middle? This usually happens when the oven door is opened too early, or the batter is overmixed. Also, make sure your baking powder and soda are fresh (less than 6 months old).
Can I make this cake gluten-free? Yes, you can substitute a 1:1 gluten-free all-purpose flour blend. The texture may be slightly more delicate, so handle the layers carefully. No other changes are needed.
How do I get clean, even layers? Use a serrated knife to level the tops of the cakes after they cool. Or, use a cake leveler. Chilling the layers first makes this much easier.
Can I use a different frosting? Yes, a chocolate ganache or cream cheese frosting both pair well. If using cream cheese, reduce the powdered sugar to 2 cups and add 1/2 cup (115 g) softened cream cheese.