Kneaded That

  • Recipe Index
  • About Audrey
  • Summer Recipes
  • Subscribe
menu icon
go to homepage
  • Recipe Index
  • About Audrey
  • Summer Recipes
  • Subscribe
search icon
Homepage link
  • Recipe Index
  • About Audrey
  • Summer Recipes
  • Subscribe
×
Home » Recipes » Cakes

Dark Chocolate Raspberry Layer Cake

Updated: Jul 15, 2026 · by Audrey Grubb · This post may contain affiliate links · Leave a Comment

Jump to Recipe Print Recipe

This Dark Chocolate Raspberry Cake is three deeply fudgy chocolate layers, a jammy homemade raspberry compote filling, and a silky dark chocolate ganache frosting that drips down the sides like it means it.

If you love the combination of dark chocolate and berries as much as I do, you'll want to bookmark my Raspberry Chocolate Tart next — it's the same flavor pairing in a completely different (and just as stunning) form.

A slice of dark chocolate and raspberry cake with chocolate ganache frosting and raspberry compote between the layers. The cake is topped with chocolate curls and fresh raspberries.

Quick Look: Dark Chocolate Raspberry Cake

⏱️ Ready In: about 4 hours (includes cooling and chilling)

🔥 Bake Time: 30 minutes

🍽️ Serves: 12 slices

✨ Calories: 540 per slice

🥄 Main Ingredients: dark chocolate, raspberries, sour cream, coffee

🌿 Dietary: vegetarian

💛 Why You'll Love It: deeply fudgy layers, silky ganache, jammy raspberry filling

SUMMARIZE & SAVE THIS CONTENT ON

ChatGPT
Google AI
Perplexity
Claude
Add us as a trusted site on Google

Why you'll love this recipe

  • It's genuinely fudgy, not just "chocolatey." Between the oil, sour cream, and brown sugar, these layers stay moist and dense in the best way — closer in texture to my Fudgy Sourdough Discard Brownies than a standard birthday cake.
  • The raspberry compote cuts the richness. A bright, tart layer of jammy raspberries keeps every bite from feeling heavy, the same way I love pairing berries with chocolate in my Lemon Blackberry Cake.
  • No fancy equipment required. Two bowls, a whisk, and a saucepan — this is a from-scratch layer cake that doesn't ask much of you.
  • It's a make-ahead dream. Bake the layers days in advance, whip up the compote and ganache whenever it's convenient, and assemble the day you need it.
Jump to:
  • Quick Look: Dark Chocolate Raspberry Cake
  • Why you'll love this recipe
  • Ingredients You'll Need
  • Easy Substitutions & Variations
  • How to Make Dark Chocolate Raspberry Layer Cake
  • Expert Tips
  • What Makes This Recipe Special?
  • Dark Chocolate Raspberry Cake FAQs
  • Dark Chocolate Raspberry Cake Troubleshooting Guide
  • Storage
  • Other Layer Cake Recipes to Consider
  • Dark Chocolate Raspberry Cake

Ingredients You'll Need

The ingredients needed for a dark chocolate raspberry layer cake with labels.

For the Cake

  • All-purpose flour – the structural base; no need to sift, just whisk it well with the cocoa.
  • Dutch-process cocoa powder – gives that deep, almost black chocolate color and mellow flavor (natural cocoa will work but tastes sharper and lighter in color).
  • Baking soda and baking powder – working together for the right amount of lift in a dense, fudgy batter.
  • Fine sea salt – balances the sweetness and rounds out the chocolate.
  • Granulated sugar and brown sugar – the combination is what gives these layers their fudgy depth, similar to the technique I use in my Chocolate Sour Cream Pound Cake Cupcakes.
  • Eggs – for structure and richness.
  • Neutral oil – keeps the crumb moist for days (oil beats butter here for a tender, fudgy texture).
  • Full-fat sour cream – adds tang and moisture; don't sub low-fat.
  • Hot strong-brewed coffee – blooms the cocoa and deepens the chocolate flavor without tasting like coffee, the same trick I use in my Coffee and Walnut Loaf Cake.
  • Pure vanilla extract – rounds everything out.

For the Raspberry Compote

  • Fresh or frozen raspberries – frozen works great here and is often more affordable year-round, much like I recommend in my Lemon Raspberry Sweet Rolls.
  • Granulated sugar – just enough to balance the raspberries' tartness.
  • Fresh lemon juice – brightens the berries and helps the compote set.

For the Ganache Frosting

  • Dark chocolate (70%) – finely chopped for the smoothest, fastest melt (chocolate bars melt better than chips, which contain stabilizers).
  • Heavy cream – the richness that turns chocolate into ganache.
  • Unsalted butter, room temperature – for shine and a silkier finish.
  • Fine sea salt – just a pinch to keep the ganache from tasting flat.

See recipe card for quantities.

Easy Substitutions & Variations

  • Dairy-free: swap the sour cream for a full-fat dairy-free yogurt, use a plant-based heavy cream for the ganache, and use dairy-free butter.
  • No coffee on hand: strong black tea works as a 1:1 swap, or use hot water plus a teaspoon of instant espresso powder.
  • Two-layer version: divide the batter between two 9-inch pans instead of three 8-inch pans and add 5-8 minutes to the bake time; you'll have less filling but a slightly easier bake.
  • Milk chocolate ganache: swap the dark chocolate for milk chocolate if you want a sweeter, less intense frosting — reduce the cream slightly since milk chocolate is softer.
  • Other berries: blackberries or a mixed berry compote both work beautifully in place of raspberries, similar to what I do in my Lemon Blackberry Cake.

How to Make Dark Chocolate Raspberry Layer Cake

Note: I bake by weight for accuracy. Cup measurements are approximate and may vary depending on how you scoop.

Prepped 8-inch cake pans for a dark chocolate raspberry layer cake.

Step 1: Prep pans & oven. Preheat the oven to 175°C (350°F). Grease three 8-inch round cake pans, line the bottoms with parchment, and grease the parchment. This triple-layer setup gives you more filling layers — worth the extra pan.

Dry ingredients in a green mixing bowl for a dark chocolate raspberry layer cake.

Step 2: Whisk the dry ingredients. In a large bowl, whisk together the flour, cocoa powder, baking soda, baking powder, and salt. Sifting the cocoa is worth doing here — it breaks up lumps that would otherwise streak through the batter.

Wet ingredients in a green mixing bowl for a dark chocolate raspberry layer cake.

Step 3: Mix the wet ingredients. In a separate bowl, whisk the granulated sugar, brown sugar, eggs, oil, sour cream, and vanilla until smooth and fully combined. The brown sugar adds a fudgy depth that granulated sugar alone can't give you.

Hot coffee being poured into chocolate batter in a green mixing bowl for a dark chocolate raspberry layer cake.

Step 4: Combine the batter. Pour the wet ingredients into the dry and stir until just combined — a few streaks are fine. Stream in the hot coffee and whisk until smooth. The batter will be thin; that's correct. The coffee amplifies the chocolate flavor without tasting like coffee.

Three prepped 8-inch cake pans filled with chocolate batter for a dark chocolate raspberry layer cake.

Step 5: Bake. Divide the batter evenly among the prepared pans (about 550g per pan if you're weighing). Bake until a toothpick inserted in the center comes out with just a few moist crumbs, rotating the pans halfway through.

Let the cakes cool in their pans for 15 minutes, then turn out onto a wire rack and cool completely. Don't rush this step — warm layers will melt your ganache.

Raspberry compote on a wooden spoon to show texture before being added to a dark chocolate raspberry layer cake.

Step 6: Make the raspberry compote. Combine the raspberries, sugar, and lemon juice in a small saucepan over medium heat. Cook, stirring occasionally and mashing about half the berries, until thickened and jammy. It should coat a spoon and hold its shape when you drag a finger through.

Transfer the compote to a bowl and refrigerate until fully cold and set. It will thicken further as it cools — you want it spreadable but not runny so it doesn't slide between the layers.

Warm heavy cream pouring onto chopped dark chocolate to make chocolate ganache frosting for a dark chocolate raspberry layer cake.

Step 7: Make the ganache frosting. Place the finely chopped chocolate in a heatproof bowl. Heat the heavy cream in a saucepan until just simmering — not boiling — then pour over the chocolate. Let sit undisturbed for 2 minutes, then stir from the center outward until completely smooth. Stir in the butter and salt.

Dark chocolate ganache frosting on a spoon to show its smooth texture before being added to a dark chocolate raspberry layer cake.

Step 8: Cool & whip the ganache. Let the ganache cool at room temperature until it thickens to a spreadable, frosting-like consistency — like soft peanut butter. This takes 1-2 hours at room temp, or 30-40 minutes in the fridge with occasional stirring. Once set, beat briefly with a hand mixer for a fluffier, more spreadable texture (optional, but nice).

The first layer of a dark chocolate raspberry layer cake with chocolate ganache frosting smoother over the top with raspberry ganache in the center.

Step 9: Assemble. Place the first cake layer on your board. Pipe or spread a ring of ganache around the edge to act as a dam, then fill the center with half the raspberry compote. Repeat with the second layer. Place the third layer on top, pressing gently. Apply a thin crumb coat of ganache and refrigerate for 20 minutes.

An assembled dark chocolate raspberry layer cake on a marble countertop with chocolate curls and fresh raspberries on top.

Step 10: Frost & finish. Apply the final layer of ganache — as rustic or as smooth as you like. Finish with a spoonful of compote spooned over the top, letting it drip naturally down the sides. Garnish with fresh raspberries if you have them.

Weigh your ingredients! Using a kitchen scale ensures your measurements are accurate, which is key for getting consistent results in baking. It takes the guesswork out of measuring and helps your recipes turn out exactly as intended every time.

Expert Tips

  1. Weigh your ingredients. This is a batter where cocoa powder and flour ratios really matter for texture — a kitchen scale removes the guesswork that measuring cups introduce.
  2. Don't skip the hot coffee. It blooms the cocoa and deepens the chocolate flavor dramatically — you won't taste coffee in the finished cake. Strong black tea works as a swap if needed.
  3. The ganache dam is necessary. Without it, the compote will push out the sides under the weight of the layers and you'll end up with a lopsided cake. The piped border holds everything in, the same technique I rely on in my Lemon Blueberry Mascarpone Cake.
  4. Let the cakes cool completely. Warm layers will melt the ganache on contact and slide right off each other. If you're in a hurry, pop the cooled-but-still-slightly-warm layers in the fridge for 20 minutes before assembling.
  5. Chop your own chocolate. Chocolate bars melt into a smoother ganache than chips, which are formulated with stabilizers to hold their shape — the same reason I always reach for a block over pre-shredded in savory bakes too.

What Makes This Recipe Special?

A slice of dark chocolate and raspberry cake with chocolate ganache frosting and raspberry compote between the layers on a yellow plate in front of the rest of the cake. The cake is topped with chocolate curls and fresh raspberries.

Most chocolate cakes lean on butter for richness, but this one uses oil and full-fat sour cream instead, which is what keeps it so moist and fudgy days after baking — a technique you'll also see in my Sourdough Chocolate Sheet Cake with Brown Butter Buttercream.

The hot coffee is the other quiet workhorse here: it blooms the cocoa so the chocolate flavor tastes deeper and more complex without ever reading as "coffee cake." And instead of a traditional buttercream, a whipped ganache frosting keeps things intensely chocolatey and lets the tart raspberry compote really stand out against it, similar to the contrast I love in my Chocolate Espresso Cinnamon Rolls.

Dark Chocolate Raspberry Cake FAQs

Can I make this cake ahead of time?

Yes. The cake layers, compote, and ganache can all be made 1-3 days ahead and stored separately, then assembled the day you want to serve it.

Can I use frozen raspberries for the compote?

Absolutely — frozen raspberries work just as well as fresh. You may need to cook the compote a few extra minutes since frozen berries release more liquid.

Do I have to use coffee?

No, but it's worth it. The coffee doesn't add coffee flavor — it deepens the chocolate. If you'd rather skip it, use hot water instead, though the chocolate flavor will be slightly less intense.

Can I use milk chocolate or semisweet chocolate instead of dark?

Yes, though the ganache will be sweeter and softer. If using milk chocolate, reduce the heavy cream slightly since milk chocolate has less cocoa solids to set up firm.

Why three layers instead of two?

Three thinner layers give you more filling-to-cake ratio, which means more of that jammy raspberry compote in every bite. If you'd rather simplify, see the two-layer variation above.

Dark Chocolate Raspberry Cake Troubleshooting Guide

ProblemCauseFix
Ganache is grainy or splitCream was boiling instead of just simmering, or chocolate was stirred too soonLet the mixture sit 2 full minutes before stirring; if it splits, add a splash of warm cream and stir gently from the center out
Compote leaked out the sidesNo ganache dam, or dam was too thinPipe a thicker, taller ring of ganache before adding compote, and don't overfill the center
Cake layers domedOven ran hot, or batter wasn't level in the pansRotate pans halfway through baking and check oven temp with a separate thermometer
Cake is dry instead of fudgyOverbaked, or flour/cocoa were scooped instead of weighedPull the cakes as soon as a toothpick shows a few moist crumbs, and weigh dry ingredients
Ganache too thin to frostNot cooled long enough before spreadingChill 10-15 minutes longer, stirring occasionally, until it holds its shape on a spoon

Storage

  • container in the refrigerator for up to 5 days. Let slices sit at room temperature for 20-30 minutes before serving so the ganache softens.
  • Unfrosted cake layers freeze beautifully wrapped tightly in plastic wrap for up to 1 month; thaw at room temperature before filling and frosting.
  • The raspberry compote keeps in the fridge for up to a week, and leftover ganache can be rewarmed gently in the microwave in 10-second bursts to soften.

Other Layer Cake Recipes to Consider

  • Brown butter bourbon peaches and cream layer cake slice in front of the rest of the cake.
    Brown Butter Bourbon Peaches and Cream Cake
  • A slice of a three-layer strawberry cake with strawberry filling with the rest of the cake in the background in front of a green plant and windows.
    Strawberry Cake with Strawberry Filling
  • Picture of a slice of sourdough discard funfetti cake.
    Sourdough Discard Funfetti Layer Cake
  • Overhead picture of lemon blackberry cake with one slice removed, topped with lemon zest and fresh blackberries.
    Lemon Blackberry Cake

Did you make this recipe?

If you try this recipe, I’d love if you left a quick rating and review below! It really helps support my blog and lets others know how the recipe turned out for you. Also, don't forget to tag me @kneadedthat on Instagram and use the hashtag #kneadedthat so I can see what you made and share it!

A slice of dark chocolate and raspberry cake with chocolate ganache frosting and raspberry compote between the layers. The cake is topped with chocolate curls and fresh raspberries.

Dark Chocolate Raspberry Cake

Audrey Grubb
This dark chocolate raspberry cake features three layers of moist, intensely chocolate cake filled with tart homemade raspberry compote and covered in silky dark chocolate ganache frosting. Fresh raspberries and dripping compote make it a striking celebration cake for birthdays, Valentine’s Day, or any special occasion.
No ratings yet
Print Recipe Pin Recipe
Prep Time 45 minutes mins
Cook Time 30 minutes mins
cooling, chilling, and setting 2 hours hrs 45 minutes mins
Course Dessert
Cuisine American
Servings 16 slices
Calories 529 kcal

Equipment

  • Three 8-inch round cake pans
  • Parchment Paper
  • Hand or stand mixer
  • Medium saucepan
  • Offset spatula
  • Wire cooling rackThree 8-inch round cake pans
  • Parchment Paper
  • Hand or stand mixer
  • Medium saucepan
  • Offset spatula
  • Wire cooling rack

Ingredients
  

For the Cake

  • 250 g all-purpose flour 2 cups
  • 75 g Dutch-process cocoa powder ¾ cup
  • 1½ teaspoons baking soda
  • ½ teaspoon baking powder
  • 1 teaspoon fine sea salt
  • 300 g granulated sugar 1½ cups
  • 100 g brown sugar packed (½ cup)
  • 3 large eggs
  • 180 ml neutral oil vegetable or canola (¾ cup)
  • 240 g full-fat sour cream 1 cup
  • 240 ml hot strong-brewed coffee 1 cup
  • 2 teaspoons pure vanilla extract

For the Raspberry Compote

  • 340 g fresh or frozen raspberries 2¾ cups
  • 60 g granulated sugar ⅓ cup
  • 1 tablespoon fresh lemon juice

For the Ganache Frosting

  • 340 g dark chocolate 70%, finely chopped (2 cups)
  • 300 ml heavy cream 1¼ cups
  • 30 g unsalted butter room temperature (2 tablespoons)
  • ⅓ teaspoon fine sea salt

Instructions
 

  • Preheat the oven to 175°C (350°F). Grease three 8-inch round cake pans, line the bottoms with parchment, and grease the parchment.
  • In a large bowl, whisk together the flour, cocoa powder, baking soda, baking powder, and salt.
    250 g all-purpose flour, 75 g Dutch-process cocoa powder, 1½ teaspoons baking soda, ½ teaspoon baking powder, 1 teaspoon fine sea salt
  • In a separate bowl, whisk the granulated sugar, brown sugar, eggs, oil, sour cream, and vanilla until smooth and fully combined.
    300 g granulated sugar, 100 g brown sugar, 3 large eggs, 180 ml neutral oil, 240 g full-fat sour cream, 2 teaspoons pure vanilla extract
  • Pour the wet ingredients into the dry and stir until just combined. Stream in the hot coffee and whisk until smooth; the batter will be thin.
    240 ml hot strong-brewed coffee
  • Divide the batter evenly among the prepared pans. Bake until a toothpick inserted in the center comes out with just a few moist crumbs, rotating the pans halfway through.
  • Let the cakes cool in their pans for 15 minutes, then turn out onto a wire rack and cool completely.
  • Combine the raspberries, sugar, and lemon juice in a small saucepan over medium heat. Cook, stirring occasionally and mashing about half the berries, until thickened and jammy.
    340 g fresh or frozen raspberries, 60 g granulated sugar, 1 tablespoon fresh lemon juice
  • Transfer the compote to a bowl and refrigerate until fully cold and set.
  • Place the chopped chocolate in a heatproof bowl. Heat the cream until just simmering, then pour over the chocolate. Let sit 2 minutes, then stir from the center outward until smooth. Stir in the butter and salt.
    340 g dark chocolate, 300 ml heavy cream, 30 g unsalted butter, ⅓ teaspoon fine sea salt
  • Let the ganache cool at room temperature until spreadable, 1-2 hours (or 30-40 minutes in the fridge). Beat briefly with a hand mixer for a fluffier texture, if desired.
  • Place the first cake layer on your board. Pipe a ring of ganache around the edge, then fill the center with half the raspberry compote. Repeat with the second layer. Top with the third layer, apply a thin crumb coat of ganache, and refrigerate 20 minutes.
  • Apply the final layer of ganache. Finish with a spoonful of compote over the top, letting it drip down the sides. Garnish with fresh raspberries if desired.

Notes

Why the hot coffee? It blooms the cocoa and deepens the chocolate flavor dramatically — you won't taste coffee in the finished cake. Strong black tea works as a swap if needed.
The ganache dam is very important. Without it, the compote will push out the sides under the weight of the layers and you'll end up with a lopsided cake. The piped border holds everything in.
Make ahead: Layers bake and freeze beautifully (wrap tightly, up to 1 month). Compote keeps in the fridge for a week. Ganache can be made ahead and rewarmed gently to soften.

Nutrition

Calories: 529kcalCarbohydrates: 57gProtein: 6gFat: 32gSaturated Fat: 14gPolyunsaturated Fat: 7gMonounsaturated Fat: 8gTrans Fat: 0.1gCholesterol: 66mgSodium: 339mgPotassium: 338mgFiber: 6gSugar: 36gVitamin A: 477IUVitamin C: 6mgCalcium: 75mgIron: 4mg
Tried this recipe?Let us know how it was!

More Cakes

  • A hand holding a slice of chocolate cream cheese sheet cake to show the texture with the remaining cake lying flat in the background.
    Chocolate Sheet Cake with Chocolate Cream Cheese Frosting
  • Overhead picutre of sourdough lemon pound cake on a cooling rack with three slices fanned out.
    Sourdough Lemon Pound Cake
  • Picture of a slice of sourdough lemon snack cake.
    Sourdough Lemon Snack Cake
  • Overhead picture of a hand holding a slice of sourdough discard carrot snack cake.
    Sourdough Discard Carrot Snack Cake

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recipe Rating




Picture of Kneaded That author, Audrey.

I'm Audrey! A self-taught baker, lifelong artist, and firm believer that the most beautiful bakes don't require culinary school. Here you'll find layer cakes worth the effort, crumb bars for every season, sourdough discard recipes that actually use your starter, and the occasional bread that will absolutely impress your people.

1 Corinthians 10:31

More about me →

Summer Recipes

  • Sourdough discard burger buns.
    Soft Sourdough Discard Burger Buns
  • Overhead picture of a right hand holding a blueberry crumb bar above other crumb bars on parchment paper.
    8 Ingredient Blueberry Crumb Bars
  • Strawberry rhubarb galette on a parchment paper-lined baking sheet.
    Strawberry Rhubarb Galette
  • Easy Sourdough Discard Hotdog Buns
  • The Best Homemade Sourdough Pie Crust
  • Lemon Curd Muffins

Popular Recipes

  • A slice of dark chocolate and raspberry cake with chocolate ganache frosting and raspberry compote between the layers. The cake is topped with chocolate curls and fresh raspberries.
    Dark Chocolate Raspberry Layer Cake
  • Sourdough discard in a large jar.
    The Ultimate Guide to Sourdough Discard Baking
  • A hand holding strawberry rhubarb crumb bars, showing the layers of crust and jam with more crumb bars laying flat in the background.
    Strawberry Rhubarb Crumb Bars
  • Overhead picture of a hand holding a lemon crumb bar showing its layers with more lemon crumb bars laying flat in the background.
    Fresh Lemon Crumb Bars
  • Chocolate Chunk Banana Bread
  • Overhead image of a hand holding a brownie crumb bar showing its layers with more crumb bars laying flat in the background.
    Brownie Crumb Bars

Rate This Recipe

Your vote:




A rating is required
A name is required
An email is required