Make a chocolate raspberry cake by baking two moist chocolate layers, filling them with raspberry jam and a chocolate ganache or buttercream, and topping with fresh raspberries. This method suits a birthday, a summer dessert, or any celebration where you want the tartness of raspberries to cut through rich chocolate. You can use frozen raspberries when fresh ones are out of season.
Before You Start: What You Need on the Counter
Bring the butter, eggs, and buttermilk to room temperature (about 30 minutes on the counter) so the batter emulsifies smoothly. Line two 9-inch (23 cm) round pans with parchment paper and grease the sides. Have a food thermometer ready if you are using whole eggs in a buttercream that calls for a cooked sugar syrup, though this recipe uses a simple frosting that needs no eggs.
The Chocolate Cake Layers: Real Measurements
This batter makes two 9-inch layers that bake up tender and not too sweet. Use Dutch-process cocoa for a deeper flavor, or natural cocoa if that is what you have; the cake will be slightly less dark but still good.
- 1 3/4 cups (220 g) all-purpose flour
- 3/4 cup (75 g) unsweetened cocoa powder
- 1 1/2 tsp baking powder
- 1 1/2 tsp baking soda
- 1/2 tsp salt
- 2 cups (400 g) granulated sugar
- 2 large eggs, room temperature
- 1 cup (240 ml) buttermilk, room temperature
- 1/2 cup (120 ml) vegetable oil
- 2 tsp vanilla extract
- 1 cup (240 ml) hot coffee or hot water
Preheat the oven to 350°F (175°C). Whisk the flour, cocoa, baking powder, baking soda, and salt in a large bowl. In another bowl, beat the sugar, eggs, buttermilk, oil, and vanilla until smooth. Add the dry ingredients and mix until just combined, then stir in the hot coffee or water. The batter will be thin; that is correct. Divide it between the prepared pans and bake for 28–32 minutes, until a toothpick inserted in the center comes out with a few moist crumbs. Cool in the pans for 10 minutes, then turn out onto a rack to cool completely.
Raspberry Filling: Jam, Fresh, or Both
The filling needs to be thick enough not to squish out when you slice the cake. Use seedless raspberry jam for a smooth texture, or make a quick compote by simmering 1 cup (125 g) fresh or frozen raspberries with 2 tbsp sugar and 1 tsp lemon juice for 5–7 minutes until thickened, then cooling it completely. Spread about 1/2 cup (120 ml) of jam or compote over the first layer, leaving a 1/2-inch (1 cm) border at the edge. If you want fresh berries inside, press a single layer of raspberries into the jam, but know that they will soften by the next day.
Chocolate Ganache Frosting: Smooth and Shiny
Ganache is the simplest frosting and pairs well with raspberry. Heat 1 cup (240 ml) heavy cream until it just simmers, pour it over 8 oz (225 g) chopped semisweet or bittersweet chocolate, and let it sit for 2 minutes. Stir gently until smooth. Let it cool to room temperature, stirring occasionally, until it is thick enough to spread—about 20–30 minutes. If it gets too firm, warm it in 5-second bursts in the microwave. For a lighter, fluffier frosting, beat the cooled ganache with an electric mixer for 1–2 minutes until it lightens in color and holds soft peaks.
Assembling the Cake So It Stays Put
Place one cooled layer on a cake stand or plate. Spread the raspberry filling over it, then set the second layer on top. Frost the top and sides with the ganache, using an offset spatula for a smooth finish. If the cake slides, chill the layers for 15 minutes before frosting. Decorate the top with fresh raspberries and a dusting of powdered sugar just before serving. For clean slices, use a serrated knife and wipe it between cuts.
What Goes Wrong and How to Fix It
Your cake sinks in the middle. The oven was too cool or the pan was overfilled. Check your oven with a thermometer and fill each pan only two-thirds full; if you have extra batter, bake a few cupcakes instead.
The filling leaks out. You spread it too close to the edge or used a thin compote. Leave a clear border and make sure the compote has thickened to a jam-like consistency before using.
The ganache is too runny to spread. It was still warm. Chill it for 10 more minutes, stirring every few minutes, until it holds a ribbon when lifted with a spoon.
The cake tastes dry. You overbaked it or used a different cocoa. Start checking at 28 minutes, and if you used natural cocoa instead of Dutch-process, add 1/4 cup (60 ml) extra hot water to the batter.
Storing and Serving the Finished Cake
Keep the frosted cake in the refrigerator for up to 4 days, covered loosely with plastic wrap or a cake dome. Let it sit at room temperature for 30–45 minutes before serving so the ganache softens. You can freeze the unfrosted layers, wrapped tightly in plastic and foil, for up to 2 months; thaw in the fridge overnight before frosting. Fresh raspberries on top are best added the day you serve, as they weep and soften in the fridge.
Can You Use Frozen Raspberries in the Filling?
Yes, and they often work better because they are less watery than fresh ones. Use them straight from the freezer in the compote recipe above, and simmer until the mixture has reduced by about a third. Do not thaw them first, as that adds extra liquid. For the cake batter itself, do not add raspberries to the batter—they sink and make the layers soggy. Keep them in the filling and on top.
Spotted a mistake? Tell us and we will correct it. How we write and check articles.