Chocolate Raspberry Mocha Cake Recipe
In this article
The cake depends on three things balancing: cocoa for structure and bitterness, espresso powder to deepen the chocolate without making it taste like coffee, and raspberries for acidity that cuts the sweetness. Use 1/2 cup (50 g) of Dutch-process cocoa and 2 teaspoons of instant espresso powder dissolved in the hot liquid — that ratio gives a dark, rounded flavor without a mocha that tastes like a coffee drink. Fresh or frozen raspberries both work; frozen ones must be drained or the batter turns gray and wet.
Chocolate Raspberry Mocha Cake Ingredients and Ratios
This makes one two-layer 8-inch (20 cm) cake, about 10 servings. Weigh the flour and cocoa if you can; cocoa settles and a cup can swing by 20 g, which is the difference between moist and dry.
- 1 3/4 cups (210 g) all-purpose flour
- 1/2 cup (50 g) Dutch-process cocoa powder
- 1 1/2 teaspoons baking soda
- 1/2 teaspoon salt
- 1 cup (200 g) granulated sugar
- 3/4 cup (150 g) packed light brown sugar
- 2 large eggs, room temperature
- 1/2 cup (120 ml) neutral oil
- 3/4 cup (180 ml) buttermilk, room temperature
- 2 teaspoons instant espresso powder
- 3/4 cup (180 ml) hot water
- 1 teaspoon vanilla extract
- 1 cup (120 g) fresh raspberries, plus extra for filling
- For the mocha frosting: 1 cup (225 g) unsalted butter, softened; 3 cups (360 g) powdered sugar; 1/3 cup (30 g) cocoa powder; 2 tablespoons strong brewed coffee, cooled; 1 teaspoon vanilla; pinch of salt
- For the raspberry filling: 3/4 cup (about 100 g) raspberries mashed with 2 tablespoons seedless raspberry jam
The hot water is not optional — it blooms the cocoa and thins the batter to a pourable consistency. Skip it and the crumb turns tight and dry. Buttermilk provides the acid that activates the baking soda; plain milk will leave the cake flat and pale.
Mixing and Baking the Mocha Layers
- Heat the oven to 350F (175C). Grease two 8-inch (20 cm) round pans, line the bases with parchment, and dust the sides with cocoa.
- Whisk the flour, cocoa, baking soda and salt in a bowl for 30 seconds so the cocoa is evenly distributed.
- In a larger bowl, whisk both sugars with the eggs for 2 minutes, until the mixture lightens slightly. Whisk in the oil, buttermilk, vanilla and espresso powder.
- Stir the hot water into the wet mixture — it will look thin. Add the dry ingredients in two additions and fold just until no streaks of flour remain, about 20 strokes. Fold in the 1 cup of raspberries with 3 or 4 turns; overmixing crushes them and streaks the batter.
- Divide between the pans, about 480 g each. Bake at 350F (175C) for 28-33 minutes, until a skewer inserted in the center comes out with a few moist crumbs but no wet batter, and the tops spring back when pressed.
- Cool in the pans 10 minutes, then turn out onto a rack and cool completely, about 1 hour, before frosting. Warm cake melts buttercream.
Mocha Frosting and Raspberry Filling
Beat the butter alone for 2 minutes until pale, then add the powdered sugar, cocoa, coffee, vanilla and salt and beat 3 minutes on medium. If it looks stiff, add coffee 1 teaspoon at a time; if loose, add powdered sugar 1 tablespoon at a time. The target is a spreadable consistency that holds a soft peak.
Place the first layer on a plate, spread the mashed raspberry mixture over it leaving a 1/2-inch (1 cm) border, then add about 3/4 cup of frosting. Set the second layer on top, press gently, and cover the cake with the remaining frosting. Chill 20 minutes before slicing so the filling sets. Whole raspberries pressed into the top just before serving keep their shape.
Why the Cake Comes Out Dry, Dense or Sunken
Dry crumb. Usually too much cocoa or flour, or baking past the skewer test. Cocoa absorbs water aggressively; if you swap in natural cocoa for Dutch-process, add 1/4 teaspoon more baking soda and expect a slightly more acidic, reddish crumb. Fix a dry bake by brushing each layer with 2-3 tablespoons of warm coffee syrup (1/4 cup sugar dissolved in 1/4 cup hot coffee) before frosting.
Dense, rubbery layers. Overmixing after the flour goes in develops gluten. Fold until the flour disappears and stop; small lumps are fine. Cold eggs and cold buttermilk also seize the batter — let both sit out 30 minutes.
Sunken center. The pan was too small, the oven ran cool, or the cake was checked too early and the door opened. Use two 8-inch pans; a single 9-inch pan needs 40-45 minutes and often domes. Keep the oven at 350F (175C) and check at 28 minutes through the window.
Gray or wet raspberry pockets. Frozen berries release water. Thaw 1 cup frozen raspberries on paper towels for 15 minutes, pat dry, and toss with 1 tablespoon flour before folding in. If the filling weeps, stir 1 teaspoon cornstarch into the mashed raspberries and cook 2 minutes over low heat, then cool fully.
Grainy or runny frosting. Butter that is too warm (above about 70F/21C) will not hold air. Chill the bowl 10 minutes and rebeat. Powdered sugar added all at once clumps; add it in three additions.
Swaps for the Chocolate, Raspberry and Coffee Parts
Each swap changes texture or flavor; adjust only one at a time so you can tell what happened.
- No buttermilk: 3/4 cup (180 ml) whole milk plus 2 teaspoons lemon juice, rested 10 minutes. Result: nearly identical crumb.
- No espresso powder: 2 tablespoons strong brewed coffee replaces 2 tablespoons of the hot water. The mocha note is milder; do not add more liquid.
- Natural cocoa instead of Dutch-process: same weight, plus 1/4 teaspoon extra baking soda. The cake browns faster, so check at 26 minutes.
- Raspberry jam instead of fresh berries in the batter: 1/2 cup (160 g) jam, and reduce the sugar by 2 tablespoons. The crumb is denser and sweeter.
- Frozen raspberries: same weight, thawed and patted dry as above. Expect slightly more streaking.
- No coffee in the frosting: replace with 2 tablespoons milk plus 1/4 teaspoon vanilla. The frosting is sweeter and lighter in color.
Storing the Frosted Mocha Cake and Its Parts
A frosted cake keeps covered in the refrigerator for up to 4 days; let it sit at room temperature 30 minutes before serving so the buttercream softens. The raspberry filling alone keeps refrigerated up to 3 days. Frosting keeps refrigerated up to 1 week or frozen up to 2 months; rebeat after thawing.
Because the frosting contains butter and the filling contains fruit, the assembled cake should not sit out more than 2 hours at room temperature (1 hour above 90F/32C). Discard any portion left longer. Raw eggs and raw flour in the batter mean uncooked batter should not be eaten; bake the layers fully to 200F (93C) at the center if you want a number to check, though the skewer and spring-back tests are the practical cues.