Dinners

Chocolate Raspberry Cake With Fresh Berries

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
2 hr 30 min
Prep
30 min
hands-on
Cook
30 min
oven or stovetop
Serves
10
as written
USDA safe temp
160°F / 71°C
check the thickest part

Jump to recipe Save

A chocolate raspberry cake built on a 9-inch (23 cm) two-layer sponge, filled and topped with a raspberry cream and finished with fresh berries, gives a soft, close-crumbed chocolate cake against a sharp, tart fruit layer. The cocoa is bloomed in hot coffee to deepen the color and keep the crumb moist, and the raspberries go in whole where they hold their shape. It suits a birthday, a potluck or a weekend dessert, and travels well because the frosting sets firm in the fridge.

What Goes Into the Cake, Filling and Finish

Prep phase

  • 1½ cups (190 g) all-purpose flour
  • ¾ cup (75 g) unsweetened cocoa powder
  • 1½ cups (300 g) granulated sugar
  • 1½ tsp baking soda
  • ½ tsp fine salt
  • 2 large eggs, room temperature
  • ¾ cup (180 ml) buttermilk, room temperature
  • ½ cup (120 ml) neutral oil
  • 1 cup (240 ml) hot brewed coffee or hot water
  • 1 tsp vanilla extract
  • 6 oz (170 g) fresh raspberries, for the cake and garnish

Cook phase

  • 8 oz (225 g) cream cheese, softened
  • 1 cup (240 ml) heavy cream, cold
  • ½ cup (60 g) powdered sugar
  • ½ tsp vanilla extract
  • 4 oz (115 g) fresh raspberries, mashed for the filling

Finish phase

  • 6 oz (170 g) fresh raspberries
  • 2 oz (55 g) dark chocolate, shaved or grated

Ingredients

Use the full lists above; they cover the sponge, the cream filling and the fruit finish. Weigh the cocoa rather than scooping it, because cocoa compacts easily and an over-filled cup makes a dry, bitter cake. Room-temperature eggs and buttermilk emulsify into the oil instead of seizing.

Instructions

  1. Heat the oven to 350°F (175°C). Grease two 9-inch (23 cm) round cake pans, line the bases with parchment, and dust lightly with cocoa powder.
  2. Whisk 1½ cups (190 g) flour, ¾ cup (75 g) cocoa, 1½ cups (300 g) sugar, baking soda and salt in a large bowl until no lumps remain.
  3. Beat the eggs, buttermilk, oil and vanilla in a second bowl. Pour into the dry mix and stir just until combined, about 30 seconds.
  4. Stir in the hot coffee in three additions. The batter will be thin and glossy; that is correct. Fold in 1 cup (about 140 g) of the raspberries, crushing them lightly.
  5. Divide between the pans, about 2 cups (480 ml) each. Bake 26-30 minutes, until the top springs back and a skewer comes out with only a few moist crumbs.
  6. Cool in the pans 10 minutes, turn out onto a rack, and cool completely, about 45 minutes. Warm cake will melt the filling.
  7. Beat the cream cheese with the powdered sugar and vanilla until smooth. Add the heavy cream and whip on medium-high to stiff peaks, 2-3 minutes.
  8. Fold the mashed raspberries into half the cream. Spread it over the bottom layer, set the second layer on top, and cover the cake with the plain cream.
  9. Refrigerate 30 minutes to set the frosting, then crown with the remaining fresh raspberries and shaved chocolate. Refrigerate until serving.

How Do I Scale This Cake Up or Down?

The base recipe fills two 9-inch (23 cm) pans. Halve it for a single layer baked in one 8-inch (20 cm) pan; double it for a three or four-layer build. Keep the cocoa-to-flour ratio steady and scale the leavening with the flour.

Batch Flour Cocoa Sugar Eggs Filling cream
Half ¾ cup (95 g) 6 tbsp (38 g) ¾ cup (150 g) 1 ½ cup (120 ml)
Single (as written) 1½ cups (190 g) ¾ cup (75 g) 1½ cups (300 g) 2 1 cup (240 ml)
Double 3 cups (380 g) 1½ cups (150 g) 3 cups (600 g) 4 2 cups (480 ml)

A half batch makes one 8-inch (20 cm) layer serving about 5; the double batch makes four layers serving about 20 and needs two mixing bowls or two rounds of baking. When doubling, bake in two batches rather than one deep pan, which browns at the edges before the center sets.

What Do I Serve With Chocolate and Raspberry Cake?

Serve slices at cool room temperature or straight from the fridge; the chilling firms the cream but also mutes the cocoa, so 15 minutes out of the fridge brings the flavor forward. A spoon of plain whipped cream or a small scoop of vanilla ice cream balances the tart filling. Pair with unsweetened coffee or a glass of cold milk; a sweet dessert wine fights the fruit.

For a more finished plate, scatter a few extra raspberries and a pinch of flaky salt over each slice. Salt sharpens both the chocolate and the fruit without making the cake taste salty. If you cut thin slices, wipe the knife between cuts so the cream stays clean on the crumb.

How Long Does Chocolate Raspberry Cake Keep?

Refrigerate the frosted cake, covered, and eat within 3-4 days. The fresh berries soften after the second day, so add the top garnish close to serving. Refrigerate within 2 hours of finishing the cream; leave it at room temperature no longer than 2 hours (1 hour above 90°F / 32°C).

Unfrosted layers freeze well: wrap each tightly and freeze up to 3 months, then thaw overnight in the fridge before filling. A fully assembled cake freezes poorly because the berries release water as they thaw and make the cream weep. If you must freeze it, freeze slices on a tray, wrap, and thaw in the fridge overnight; expect a softer, wetter texture.

The cream filling contains dairy and eggs cooked only in the cake, so keep everything cold and discard any cake left out past the two-hour mark rather than guessing at its condition.

Chocolate and Raspberry Swaps and Fixes

No buttermilk: stir 2 tsp lemon juice into ¾ cup (180 ml) milk and let it stand 5 minutes; the cake browns slightly faster. No fresh raspberries: use frozen berries thawed and drained, but mash them for the filling and use them only in the batter and cream, never as a raw garnish, because thawed berries bleed and turn the cream pink. For a dairy-free version, use oat milk soured with lemon and a dairy-free cream cheese; check labels for allergens.

If the sponge sinks in the middle, the batter likely went into a cold oven or the leavening was old; check the date on the baking soda. If the filling turns grainy, the cream cheese was too warm or the cream was overwhipped; chill the bowl and whip the cream separately to stiff peaks before folding. If the cake tastes bitter, the cocoa was over-measured; scoop and level, or weigh it. If the layers slide, the filling was too soft; firm it 20 minutes in the fridge before stacking.

For a sharper fruit layer, stir 1 tbsp (15 ml) lemon juice into the mashed raspberries before folding; the acid keeps the color bright. For a darker finish, swap 2 tbsp (15 g) of the cocoa for melted dark chocolate and reduce the hot coffee by 2 tbsp (30 ml).

Bake the cake until a skewer in the center comes out with only a few moist crumbs. Eggs in the batter count as an egg dish, so if you want to be certain, the cake’s center should read 160°F (71°C) as the safe minimum with a food thermometer before it comes out.

Related

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).