Chocolate and raspberries don’t flirt—they elope. This cake hits that perfect balance between rich, fudgy chocolate and bright, juicy berries that keep every bite from feeling heavy. You get bakery-level drama with doable-at-home steps, plus a swoon-worthy finish that makes people think you took a pastry class. Ready to bake something that tastes like a rom-com ending?
Why This Cake Works (and Doesn’t Taste Like a Sugar Brick)
Chocolate cakes can go dense fast. Raspberries save the day with acidity that cuts richness and makes each slice feel lighter. You get deep cocoa flavor, lush crumb, and bursts of berry that feel fancy without extra effort. FYI, the ganache seals the deal—literally—locking in moisture and giving that glossy bakery finish.
Ingredients You’ll Need
For the cake (two 8-inch layers):
- 1 3/4 cups (220 g) all-purpose flour
- 3/4 cup (65 g) unsweetened cocoa powder, Dutch-process preferred
- 1 3/4 cups (350 g) granulated sugar
- 1 1/2 tsp baking powder
- 1 1/2 tsp baking soda
- 1 tsp fine sea salt
- 2 large eggs, room temp
- 1 cup (240 ml) buttermilk, room temp
- 1/2 cup (120 ml) neutral oil (canola, grapeseed)
- 2 tsp vanilla extract
- 3/4 cup (180 ml) hot coffee or hot water
For the raspberry filling:
- 2 cups fresh or frozen raspberries
- 1/3 cup (65 g) sugar
- 1 tbsp lemon juice
- 1 tbsp cornstarch + 1 tbsp water (slurry)
- Pinch of salt
For the chocolate ganache frosting:
- 12 oz (340 g) semisweet or dark chocolate, finely chopped
- 1 1/2 cups (360 ml) heavy cream
- 2 tbsp unsalted butter, room temp
- Pinch of salt
Optional extras:
- Fresh raspberries for garnish
- Raspberry jam for quick layering
- Flaky sea salt or chocolate curls on top
Make the Raspberry Filling
You can absolutely use jam, but this quick compote tastes brighter and less sweet. Plus, you’ll feel smug.
- Combine raspberries, sugar, and lemon juice in a saucepan over medium heat. Stir as berries break down.
- Simmer 3–5 minutes, then add the cornstarch slurry and a pinch of salt.
- Cook 1–2 more minutes until glossy and thick enough to coat a spoon.
- Cool completely. It will thicken more as it cools.
Pro Tip: No Soggy Cake Layers
Spread a thin layer of ganache or jam on the cake before the raspberry filling. This creates a barrier so the compote doesn’t soak in. IMO, this one step turns “homemade” into “how did you do that?”
Bake the Chocolate Cake
This batter looks thin. Don’t panic. That’s how you get a moist, tender crumb.
- Preheat to 350°F (175°C). Grease and line two 8-inch pans with parchment.
- Whisk flour, cocoa, sugar, baking powder, baking soda, and salt.
- Whisk eggs, buttermilk, oil, and vanilla in another bowl.
- Combine wet and dry until just smooth. Pour in hot coffee and whisk until the batter loosens and looks shiny.
- Divide between pans. Bake 28–34 minutes until a toothpick comes out with a few moist crumbs.
- Cool 10 minutes in pans, then invert onto racks. Cool completely.
What If You Only Have 9-Inch Pans?
Bake in two 9-inch pans for 22–28 minutes. Layers will be slightly thinner—no big deal. Just watch the time.
Make the Ganache Frosting
We need a spreadable ganache here—not a drip. You’re basically making chocolate silk.
- Place chopped chocolate in a heatproof bowl.
- Heat cream until steaming with small bubbles at the edges. Pour over chocolate and let sit 2 minutes.
- Whisk from the center outward until smooth. Add butter and a pinch of salt.
- Cool at room temp 30–45 minutes until thick enough to spread. Stir occasionally.
Ganache Consistency Check
If it runs off the spatula, it’s too warm. If it cracks when you spread, it’s too cold. Warm it 5 seconds in the microwave or let it sit briefly to adjust.
Assemble Like You Mean It
Time to stack this beauty. No sliding layers allowed.
- Level cake tops if needed. Place one layer on a board.
- Spread a thin layer of ganache over the cake. Pipe a ganache “dam” around the edge.
- Fill the center with raspberry compote (or jam), about 1/2 cup. Don’t overfill.
- Top with the second layer. Press gently to seal.
- Crumb coat: spread a thin layer of ganache over the cake. Chill 15–20 minutes.
- Final coat: add a thicker layer of ganache and smooth. Garnish with fresh raspberries, curls, or a tiny sprinkle of flaky salt.
Decoration Ideas (Effort vs. Impact)
- Fast: Pile raspberries on top. Done.
- Medium: Add a ring of raspberries around the edge and press mini chips into the sides.
- Extra: Drip a thinner ganache over the edge, then swirl the top with an offset spatula. Dramatic? Yes. Worth it? Also yes.
Flavor Upgrades and Swaps
Want to tweak? Customize without wrecking the balance.
- Use brown sugar: Swap 1/2 cup granulated for brown sugar for caramel vibes.
- Chocolate intensity: Use 70% dark chocolate for bolder ganache, 60% for sweeter.
- Boozy twist: Add 1–2 tbsp Chambord or raspberry liqueur to the compote or brush the cake with it. FYI, go light—liquid compromises structure.
- Gluten-free: Use a 1:1 GF blend with xanthan gum. Let the batter rest 10 minutes before baking.
- Dairy-free: Use plant milk + 1 tbsp vinegar for “buttermilk”; swap oil for butter in ganache and use full-fat coconut milk (chilled can, solid part) as the cream.
Make-Ahead, Storage, and Serving
You can make this cake like a project manager—staggered but seamless.
- Make-ahead layers: Bake, cool, wrap tightly, and chill up to 3 days or freeze up to 2 months.
- Compote: Refrigerate up to 5 days. Stir before using.
- Ganache: Make 3 days ahead. Rewarm gently to spreadable consistency.
- Assembled cake: Refrigerate up to 3 days. Bring to room temp 45–60 minutes before serving so the ganache softens.
- Serving: Use a hot knife (wipe between cuts) for clean slices. You’ll feel like a pro, IMO.
FAQ
Can I use store-bought raspberry jam instead of making the filling?
Absolutely. Pick a seedless jam for smooth layering or warm and strain it. If it feels too sweet, stir in a squeeze of lemon juice and a pinch of salt to balance it out.
Do I need coffee in the cake?
No, but coffee deepens chocolate flavor without tasting like espresso. Hot water works fine. If you’re sensitive to caffeine, use decaf—same flavor boost, less buzz.
Why did my cake sink in the middle?
Usually underbaking or an oven that runs cool causes sinking. Check doneness with a toothpick and rotate pans if your oven has hot spots. Also avoid overmixing once you add the hot liquid—keep it gentle.
How do I keep the filling from squishing out?
Use a ganache “dam” around the edge and don’t overfill—1/2 cup per layer max. Chill the crumb coat before the final layer so everything sets in place. Gravity can’t win if you don’t let it.
Can I turn this into cupcakes?
Yes! Bake at 350°F for 16–20 minutes, or until a toothpick comes out with moist crumbs. Core the centers, spoon in compote, then cap and frost with ganache. Instant hero status.
What if I only have one cake pan?
Bake one layer, cool 10 minutes, unmold, re-line the pan, and bake the second. Keep the remaining batter covered at room temp. It’ll be fine for the time it takes the first layer to bake.
Conclusion
This chocolate raspberry cake brings serious flavor with zero diva energy. You get a plush chocolate crumb, tangy berry center, and glossy ganache that makes everyone gasp a little. Bake it for birthdays, bake it for Tuesdays—just bake it. And when someone asks what bakery you used, smile and say, “My kitchen.”



