Three-Layer Chocolate Raspberry Cake
A third of a cup of the cooked raspberry filling gets beaten into the frosting for this chocolate raspberry cake. That small step puts berry flavor in every swipe of frosting, not only in the middle of the chocolate raspberry cake.
The filling is the step I watch most closely. It cooks over medium heat and only thickens a little, so my cue is a spatula drawn through the pan leaving a clear trail.
The cake batter is cocoa only, with no bar chocolate to chop or melt. Hot water or hot coffee goes in last, and the batter turns thin and glossy.
A ring of frosting piped around each layer holds the soft filling in place. That ring is why the slices stand tall.
How do you keep the filling from leaking out of a chocolate raspberry cake?
Pipe a ring of frosting around the edge of each layer before adding the filling. The ring works like a dam, so the soft raspberry filling stays inside instead of squeezing out the sides. Spread half the filling inside the ring, stack the next layer, repeat, and chill the cake before slicing.
The Method, in Plain English
- Sugar Spun Run bakes this batter in three 8-inch pans at 350°F for 24 to 25 minutes. Thin layers bake through quickly, and a toothpick that comes out clean or with a few moist crumbs means they’re done.
- The filling cooks over medium heat on purpose, Sugar Spun Run notes, so it heats slowly while the cornstarch thickens the berry juice.
- Sugar Spun Run and Home Cooking Adventure both sweeten their filling with 1/2 cup of sugar and brighten it with lemon juice, which keeps the raspberries tart next to a sweet frosting.
After the first bubbles show, I keep stirring a couple of minutes more. It still looks loose, but once the spatula leaves a trail, it’s ready.
What Makes This Chocolate Raspberry Cake Special
- The layers use cocoa powder only, so there’s no chocolate to chop or melt.
- All three recipes I compared say fresh or frozen raspberries work, so you can make it any month of the year.
- One batch of filling does two jobs, the layers and the frosting.
The Ingredient List
- 1 3/4 cups all-purpose flour (220 g)
- 1 cup granulated sugar (200 g)
- 1 cup light brown sugar, firmly packed (200 g)
- 3/4 cup dark cocoa powder (75 g)
- 1 1/2 tsp baking soda
- 3/4 tsp table salt
- 2/3 cup neutral oil (155 ml)
- 1/2 cup unsalted butter, melted (113 g)
- 2 large eggs, room temperature preferred
- 2 tsp vanilla extract
- 1 cup buttermilk, room temperature preferred (236 ml)
- 1/2 cup very hot or boiling water, or hot coffee (118 ml)
- 1/2 cup granulated sugar (100 g)
- 3 tbsp cornstarch
- 3 cups fresh or frozen raspberries (340 g)
- 3 tbsp water
- 1 1/2 tbsp lemon juice
- 1 cup unsalted butter, softened (226 g)
- 3 cups powdered sugar (375 g)
- 2/3 cup natural cocoa powder (65 g)
- 1 heaping 1/8 tsp salt
- 1/3 cup cooled raspberry filling (94 g), from above
- 1 to 2 tbsp heavy cream, as needed
A Few Notes on the Ingredients
The cake and the frosting use two different cocoas. Dark cocoa goes into the layers and gives them a deep, almost black color.
Natural cocoa goes into the frosting. Fresh and frozen raspberries both work in the filling.
Frozen berries may take a little longer to release their juice and start bubbling, so I go by the bubbles instead of the clock. The seeds stay in, which gives the filling a little texture against the soft cake.
Room-temperature buttermilk and eggs blend in more smoothly. For the hot liquid, very hot water works fine, and hot coffee is the swap Sugar Spun Run offers.
I reach for coffee, since it makes the chocolate taste darker without tasting like coffee.

How to Make Chocolate Raspberry Cake
- Prepare the pans. Heat the oven to 350°F (175°C). Line the bottoms of three 8-inch round pans with parchment, then grease and flour the sides. Tap out the extra flour.
- Whisk the dry ingredients. In a large bowl, whisk the flour, both sugars, dark cocoa, baking soda, and salt. Break up any brown sugar lumps until the mixture looks evenly dark.
- Add the fats. Stir in the oil and melted butter until no dry pockets remain, then the eggs and vanilla until the batter is smooth and even in color.
- Add the liquids. Stir in the buttermilk a little at a time, scraping the bowl. Slowly and carefully pour in the hot water or coffee while stirring. The batter turns thin and glossy, which is how it should look.
- Bake the layers. Divide the batter evenly among the pans and bake for 24 to 25 minutes. They’re done when a toothpick in the center comes out clean or with a few moist crumbs and the tops spring back.
- Cool the layers. Cool the cakes in their pans for 10 to 15 minutes. Run a knife around the edges, turn them out onto racks, and peel off the parchment. They’re ready when they feel cool all the way through.
- Cook the filling. In a small saucepan, whisk the sugar and cornstarch, then stir in the raspberries, water, and lemon juice. Cook over medium heat, stirring constantly, until the berries release their juice and it starts to bubble, about 5 to 10 minutes.
- Thicken and cool the filling. Keep stirring for about 2 minutes after it bubbles. It thickens only slightly, but a spatula drawn through it leaves a clear trail. Move it to a heatproof container and cool it to room temperature.
- Make the frosting. Beat the butter on low until smooth and creamy. Add about half the powdered sugar with the natural cocoa and salt, then the rest of the sugar gradually. Beat in 1/3 cup of cooled filling a tablespoon at a time, adding cream only if it needs loosening to pipe smoothly.
- Build the layers. Level the layers if they’ve domed. Set one on the plate, spread a thin coat of frosting, and pipe a ring around the edge. Spread half the remaining filling inside the ring, add the second layer, and repeat.
- Frost and chill. Top with the third layer and frost the top and sides. For neater sides, apply a thin crumb coat first, chill it for 15 minutes, then add the final coat. Chill the finished cake at least 30 minutes, until the frosting feels firm.

Tips for Success
- Don’t frost warm layers. The frosting slides right off.
- Keep the filling at medium heat even when it’s slow to bubble. Turning it up can scorch the sugar on the bottom of the pan.
- I don’t always level the layers. If they come out flat, I skip it and go straight to stacking.
- For a finishing touch, Home Cooking Adventure scatters extra fresh raspberries over its filling and dusts the top with powdered sugar.
Storage and Make-Ahead
None of the recipes I compared give a storage time for the finished cake, so I won’t put a number on it. What I do is follow the general habit for any cake with butter frosting and a fruit filling and keep it covered in the fridge.
Cold frosting tastes firm and waxy, so I take slices out a little before serving and let the frosting soften back up. The filling has to cool to room temperature before it goes into the frosting.
Sugar Spun Run cooks it while the baked layers cool, so both are ready for the frosting step at about the same time.
Rounding Out the Meal
- A scoop of vanilla ice cream, which melts into the dark chocolate and cools each bite.
- A small bowl of fresh raspberries on the side, to bring more of that tart berry flavor to the plate.
- Hot coffee, whose bitterness balances the sweet frosting.
Tools You’ll Need
- Three 8-inch round cake pans, which let each layer bake through in under half an hour.
- A small heavy saucepan and a heatproof spatula for the filling, so it heats evenly and you can see the trail.
- A stand or hand mixer for the frosting, since the butter needs to be beaten smooth.
- A piping bag or a zip-top bag with the corner snipped, for the frosting ring that holds in the filling.
Questions I Get About Chocolate Raspberry Cake
Can I use frozen raspberries for the filling? Yes. All three recipes I compared say fresh or frozen work. Frozen berries just take a little longer to release their juice and bubble.
How do I know the cake layers are done? At 350°F, the 8-inch layers take 24 to 25 minutes. A toothpick in the center should come out clean or with a few moist crumbs.
Do I need to chill the cake before slicing? Yes, for at least 30 minutes, so the frosting firms up and the slices hold their layers.
More Recipes You’ll Like
- Bright Lemon Curd (No Double Boiler)
- Bubbling Blackberry Cobbler
- Bubbling Blueberry Cobbler
- Chewy Brigadeiro
- Chewy Oatmeal Raisin Cookies
- Chewy Peanut Butter Cookies
- Chewy Snickerdoodles
- Classic Alfajores with Dulce de Leche
- Classic Apple Crisp
- Classic Apple Pie
Three-Layer Chocolate Raspberry Cake
Course: DessertCuisine: American12
servings45
minutes35
minutesIngredients
1 3/4 cups all-purpose flour (220 g)
1 cup granulated sugar (200 g)
1 cup light brown sugar, firmly packed (200 g)
3/4 cup dark cocoa powder (75 g)
1 1/2 tsp baking soda
3/4 tsp table salt
2/3 cup neutral oil (155 ml)
1/2 cup unsalted butter, melted (113 g)
2 large eggs, room temperature preferred
2 tsp vanilla extract
1 cup buttermilk, room temperature preferred (236 ml)
1/2 cup very hot or boiling water, or hot coffee (118 ml)
1/2 cup granulated sugar (100 g)
3 tbsp cornstarch
3 cups fresh or frozen raspberries (340 g)
3 tbsp water
1 1/2 tbsp lemon juice
1 cup unsalted butter, softened (226 g)
3 cups powdered sugar (375 g)
2/3 cup natural cocoa powder (65 g)
1 heaping 1/8 tsp salt
1/3 cup cooled raspberry filling (94 g), from above
1 to 2 tbsp heavy cream, as needed
Directions
- Prepare the pans. Heat the oven to 350°F (175°C). Line the bottoms of three 8-inch round pans with parchment, then grease and flour the sides. Tap out the extra flour.
- Whisk the dry ingredients. In a large bowl, whisk the flour, both sugars, dark cocoa, baking soda, and salt. Break up any brown sugar lumps until the mixture looks evenly dark.
- Add the fats. Stir in the oil and melted butter until no dry pockets remain, then the eggs and vanilla until the batter is smooth and even in color.
- Add the liquids. Stir in the buttermilk a little at a time, scraping the bowl. Slowly and carefully pour in the hot water or coffee while stirring. The batter turns thin and glossy, which is how it should look.
- Bake the layers. Divide the batter evenly among the pans and bake for 24 to 25 minutes. They’re done when a toothpick in the center comes out clean or with a few moist crumbs and the tops spring back.
- Cool the layers. Cool the cakes in their pans for 10 to 15 minutes. Run a knife around the edges, turn them out onto racks, and peel off the parchment. They’re ready when they feel cool all the way through.
- Cook the filling. In a small saucepan, whisk the sugar and cornstarch, then stir in the raspberries, water, and lemon juice. Cook over medium heat, stirring constantly, until the berries release their juice and it starts to bubble, about 5 to 10 minutes.
- Thicken and cool the filling. Keep stirring for about 2 minutes after it bubbles. It thickens only slightly, but a spatula drawn through it leaves a clear trail. Move it to a heatproof container and cool it to room temperature.
- Make the frosting. Beat the butter on low until smooth and creamy. Add about half the powdered sugar with the natural cocoa and salt, then the rest of the sugar gradually. Beat in 1/3 cup of cooled filling a tablespoon at a time, adding cream only if it needs loosening to pipe smoothly.
- Build the layers. Level the layers if they’ve domed. Set one on the plate, spread a thin coat of frosting, and pipe a ring around the edge. Spread half the remaining filling inside the ring, add the second layer, and repeat.
- Frost and chill. Top with the third layer and frost the top and sides. For neater sides, apply a thin crumb coat first, chill it for 15 minutes, then add the final coat. Chill the finished cake at least 30 minutes, until the frosting feels firm.
