Decadent Raspberry Chocolate Cake Recipe with Ganache

Raspberries and chocolate are a classic pairing. This chocolate cake batter comes together in under 10 minutes and bakes into an exceptionally soft, moist cake. A simple homemade raspberry sauce adds bright freshness, and a glossy chocolate ganache finishes everything for an elegant dessert.

decorated raspberry chocolate cake on serving plate (2)
raspberry chocolate cake slice (2)

I’m baking for summer even if the calendar hasn’t officially turned. I usually prefer cooler-season treats, but light, fruity cakes are hard to resist. A raspberry recipe felt overdue on the blog—so here’s a chocolate cake with a bright raspberry filling and rich ganache.

raspberry chocolate cake ingredients

Raspberry chocolate cake ingredients:

This recipe has three components: raspberry filling, chocolate cake, and chocolate ganache. The ingredient list looks long but mostly consists of pantry staples.

  • Fresh raspberries
  • Granulated sugar
  • Cornstarch
  • Water
  • Fresh lemon juice
  • All-purpose flour
  • Unsweetened cocoa powder
  • Baking powder & baking soda
  • Salt
  • Eggs
  • Milk
  • Sour cream (or a substitute)
  • Vegetable oil (or another neutral oil)
  • Vanilla extract
  • Semi-sweet baking chocolate
  • Heavy cream
raspberry chocolate cake slice (1)

How to make raspberry chocolate cake:

Make the raspberry filling:

  1. Cook raspberries and sugar. In a medium saucepan over medium heat, combine raspberries and sugar. Stir and gently mash until the mixture comes to a boil and the berries soften, about 5–10 minutes.
  2. Dissolve cornstarch in water. Mix cornstarch and water until smooth, then add to the pan.
  3. Thicken and finish. Return to medium heat and stir until the sauce boils and thickens enough to coat the back of a spoon, about 1 minute. Stir in lemon juice, transfer to a bowl, and cool completely before using.
raspberries and sugar in pan
raspberry sauce in pan

Make the chocolate cake:

  1. Prepare pans and preheat oven. Preheat to 350°F (175°C). Grease two 9-inch round pans and dust with cocoa powder or line with parchment rounds.
  2. Combine dry ingredients. Whisk flour, sugar, cocoa powder, baking powder, baking soda, and salt in a bowl.
  3. Combine wet ingredients. In a separate bowl whisk eggs, milk, sour cream, oil, and vanilla until smooth.
  4. Mix batter and bake. Add dry ingredients to wet and whisk until no dry streaks remain. Divide batter between pans and bake 20–25 minutes or until a skewer comes out clean.
  5. Cool. Let cakes cool 10–15 minutes in the pans, then turn out onto a wire rack to cool completely. Chilling the layers briefly can make stacking and frosting easier.
dry ingredients in bowl
wet ingredients in bowl

Make the chocolate ganache frosting:

  1. Heat chocolate and cream. Place chopped chocolate and warm heavy cream in a heatproof bowl. Melt gently using short bursts in a microwave (stirring between each burst) or over a bain-marie. Heat low and slow until fully smooth and glossy.
  2. Cool to spreadable consistency. Cover the ganache directly with plastic wrap (touching the surface) and let cool to room temperature. Chill briefly if needed, stirring occasionally so it firms evenly but remains spreadable.
chocolate and cream in bowls
warm ganache in bowl

Assembly:

  1. Place one cake layer on a serving plate. Spread a thin layer of ganache on top and pipe or spread a small ganache border to hold the filling.
  2. Fill the center with cooled raspberry sauce, spreading gently to the ganache border.
  3. Top with the second cake layer and cover the top and sides with remaining ganache. Decorate with fresh raspberries or shaved chocolate if desired.
  4. Slice and serve.
layered cake with ganache frosting
decorated raspberry chocolate cake on serving plate (1)

How to keep this chocolate cake moist

This cake stays moist thanks to vegetable oil and sour cream. Oil keeps crumb tender and sour cream adds richness and prevents drying. Avoid overmixing the batter—mix only until combined—to keep the texture light. Also watch baking time closely: start checking around 20 minutes so you don’t overbake.

decorated raspberry chocolate cake on serving plate (3)

Working with chocolate ganache

Ganache is simple and intensely chocolatey. Use good-quality baking or couverture chocolate for best flavor and smooth melting. Heat gently—overheating can make chocolate grainy. Cover the surface with plastic wrap while cooling to prevent condensation. If the ganache firms too much, warm it very gently to return it to a spreadable texture.

Equipment

  • Two 9-inch round cake pans
  • Mixing bowls
  • Wire rack
  • Heatproof bowl for ganache (or microwave-safe bowl)

Enjoy!