There is something truly magical about the combination of rich chocolate and tart raspberries. It’s a pairing that feels indulgent yet perfectly balanced. The first time I made a chocolate raspberry cake was for a friend’s birthday. The excitement on her face when she cut into the layers and saw the vibrant raspberry filling against the deep chocolate sponge was priceless. That’s when I knew this cake would become one of my go-to recipes for special occasions.
What makes this chocolate raspberry cake perfect for beginners? It uses simple techniques, accessible ingredients, and a step-by-step approach to ensure a flawless bake. Plus, it’s a versatile recipe—whether you’re making it for a birthday, holiday, or just because you crave a rich dessert, this cake delivers.

Why This Recipe Is Special
This chocolate raspberry cake isn’t just about great flavor—it’s about texture and balance. Each component plays a crucial role in creating a showstopping dessert:
- Moist and fudgy chocolate cake made with simple pantry ingredients.
- Silky chocolate buttercream frosting that’s smooth and easy to work with.
- Tart raspberry filling that cuts through the richness of the chocolate, making every bite more exciting.
- Luxurious chocolate ganache topping that adds an extra layer of decadence.
What’s even better? You can make the raspberry filling ahead of time and swap ingredients based on what you have available. This cake is not only beginner-friendly but also forgiving in case of small mistakes.
Ingredients and Preparation
Each ingredient in this recipe plays a key role in the final result. Let’s break them down:
For the Chocolate Cake
- All-purpose flour – Forms the structure of the cake.
- Unsweetened cocoa powder – Gives the cake its deep chocolate flavor.
- Baking soda & baking powder – Help the cake rise properly.
- Granulated sugar – Adds sweetness and helps with moisture retention.
- Vegetable oil or melted coconut oil – Ensures a moist crumb.
- Eggs – Provide structure and richness.
- Buttermilk & sour cream – Their acidity keeps the cake soft and tender.
- Hot coffee or hot water – Enhances the chocolate flavor and ensures a moist cake.
- Mini chocolate chips – Add extra chocolatey texture.
Substitutions:
- Use plain yogurt instead of sour cream.
- Replace buttermilk with milk + lemon juice (1 teaspoon per ½ cup).
- Swap coffee for hot water if preferred.
For the Raspberry Filling
- Frozen or fresh raspberries – Provide the fruity contrast.
- Cornstarch & water – Thickens the filling.
- Sugar – Balances the tartness.
- Lemon juice – Enhances the berry flavor.
- Vanilla extract – Adds depth to the filling.
For the Chocolate Buttercream
- Butter – Creates a smooth, creamy texture.
- Powdered sugar – Sweetens and helps with consistency.
- Cocoa powder – Intensifies the chocolate flavor.
- Heavy cream – Ensures the frosting is rich and spreadable.
- Salt & vanilla extract – Enhance the overall taste.
For the Chocolate Ganache
- Dark chocolate – The base for the rich ganache.
- Heavy cream – Creates a silky consistency.
- Raspberry liqueur (optional) – Adds an extra raspberry note.
Step-by-Step Instructions
Step 1: Prepare the Raspberry Filling
In a small bowl, mix cornstarch and water until dissolved. In a saucepan over medium heat, combine the raspberries, sugar, and lemon juice. Stir while mashing the raspberries until the mixture boils. Let it cook for 5 minutes, stirring occasionally. Remove from heat, add vanilla, and let cool completely before using.
Step 2: Bake the Chocolate Cake Layers
Preheat your oven to 350°F (177°C) and grease three 9-inch cake pans. Line with parchment paper for easy removal. In a large bowl, whisk together flour, cocoa powder, sugar, baking soda, baking powder, and salt. In another bowl, beat eggs, oil, sour cream, buttermilk, and vanilla. Slowly add the wet ingredients to the dry mixture while mixing. Finally, pour in hot coffee and mix until smooth. Fold in chocolate chips. Divide the batter evenly among the cake pans and bake for 24-26 minutes. Let the cakes cool completely before assembling.
Step 3: Make the Chocolate Buttercream
In a large bowl, beat the butter until creamy. Gradually add powdered sugar, cocoa powder, heavy cream, salt, and vanilla extract. Mix on high speed until fluffy and smooth.
Step 4: Assemble the Cake
Place one cake layer on a plate. Spread a thin layer of chocolate buttercream over it, then pipe a border around the edges to create a “dam.” Fill the center with raspberry filling. Repeat with the second layer. Place the final cake layer on top and apply a thin crumb coat of buttercream over the entire cake. Refrigerate for 30 minutes.
Step 5: Make and Apply the Ganache
Heat the heavy cream (and raspberry liqueur, if using) until simmering. Pour over chopped chocolate and let sit for 2 minutes. Stir until smooth. Let cool slightly before spreading over the cake. Allow the ganache to set before serving.

Beginner Tips and Notes
- Use parchment paper in cake pans for easy release.
- Chill the raspberry filling before assembling to prevent it from running.
- Make a buttercream “dam” to keep the filling in place.
- Cool the cake completely before frosting to avoid melting.
- If the ganache is too thin, let it sit at room temperature to thicken.
Serving Suggestions
- Pair with fresh berries for an elegant presentation.
- Serve with vanilla ice cream to complement the richness.
- Drizzle with extra raspberry sauce for a fruitier taste.
- Store leftovers in an airtight container in the fridge for up to 5 days.
Conclusion
This chocolate raspberry cake is proof that a stunning dessert doesn’t have to be complicated. Whether you’re baking for a birthday or simply treating yourself, this recipe will make you feel like a pro in the kitchen. If you try it, I’d love to hear how it turned out. Leave a comment below and let’s talk cake!
FAQ About Chocolate Raspberry Cake
Can I use fresh raspberries instead of frozen for the filling?
Yes, fresh raspberries work just as well. However, if using fresh berries, keep an eye on the consistency, as they may release less liquid than frozen raspberries.
How do I store this cake, and how long will it stay fresh?
Store the cake in an airtight container in the refrigerator for up to 5 days. If you need to keep it longer, wrap individual slices tightly and freeze them for up to 3 months.
Can I make this cake without coffee?
Absolutely! Coffee enhances the chocolate flavor but is not required. Replace the hot coffee with hot water or warm milk for a similar texture.
More Relevant Recipes
Print
Chocolate Raspberry Cake
- Total Time: 3 hours (includes cooling time)
- Yield: 12 servings 1x
- Diet: Vegetarian
Description
This chocolate raspberry cake features layers of moist dark chocolate cake, a silky chocolate buttercream, and a tart raspberry filling, all topped with a rich chocolate ganache. Perfect for special occasions or indulgent desserts, this cake balances deep chocolate flavors with the refreshing taste of raspberries.
Ingredients
For the Chocolate Cake:
- 1 ¾ cups (219g) all-purpose flour
- ¾ cup (62g) unsweetened natural cocoa powder
- 1 ¾ cups (350g) granulated sugar
- 2 teaspoons baking soda
- 1 teaspoon baking powder
- 1 teaspoon salt
- 2 teaspoons espresso powder (optional)
- ½ cup (120ml) vegetable oil or melted coconut oil
- 2 large eggs, at room temperature
- ¾ cup (180g) full-fat sour cream, at room temperature
- ½ cup (120ml) buttermilk, at room temperature
- 2 teaspoons pure vanilla extract
- ½ cup (120ml) hot water or black coffee
- 1 cup (170g) mini semi-sweet chocolate chips (tossed in 1 tablespoon flour)
For the Raspberry Filling:
- 1 ½ tablespoons (22ml) water
- 1 ½ tablespoons (12g) cornstarch
- 3 cups (12 ounces / 340–375g) fresh or frozen raspberries
- ⅓ cup (67g) granulated sugar
- 1 teaspoon lemon juice
- ½ teaspoon pure vanilla extract
- For the Chocolate Buttercream:
- 1 cup (226g) unsalted butter, softened to room temperature
- 3 ½ cups (420g) confectioners’ sugar
- ½ cup (41g) unsweetened natural or Dutch-process cocoa powder
- 3 tablespoons (45ml) heavy cream or milk
- ⅛ teaspoon salt
- 2 teaspoons pure vanilla extract
For the Chocolate Ganache:
- 8 ounces (226g) quality semi-sweet or bittersweet chocolate, finely chopped
- ¾ cup (180ml) heavy cream or heavy whipping cream
- ¼ cup (60ml) raspberry liqueur (or replace with more heavy cream)
Instructions
- Make the raspberry filling: In a small bowl, mix cornstarch and water until dissolved. In a saucepan over medium heat, combine raspberries, sugar, and lemon juice, stirring and mashing as the raspberries soften. Bring to a boil and cook for five minutes until thickened. Remove from heat, stir in vanilla extract, and let cool completely before using.
- Prepare the chocolate cake batter: Preheat the oven to 350°F (177°C). Grease and line three 9-inch cake pans with parchment paper. In a large bowl, whisk together flour, cocoa powder, sugar, baking soda, baking powder, salt, and espresso powder. In a separate bowl, whisk together oil, eggs, sour cream, buttermilk, and vanilla extract. Slowly add the wet mixture to the dry ingredients, mixing until combined. Pour in the hot coffee and stir until smooth. Fold in the chocolate chips.
- Bake the cake layers: Divide the batter evenly among the prepared cake pans. Bake for 24-26 minutes, or until a toothpick inserted in the center comes out clean. Let the cakes cool in the pans for 10 minutes, then transfer them to a wire rack to cool completely.
- Make the chocolate buttercream: In a large bowl, beat butter until creamy. Gradually add confectioners’ sugar and cocoa powder, mixing on low. Add heavy cream, salt, and vanilla extract, then increase to high speed and beat until fluffy.
- Assemble the cake: Place one cooled cake layer on a serving plate. Spread a thin layer of chocolate buttercream over it, then pipe a border around the edge. Fill the center with raspberry filling, staying inside the buttercream border. Repeat with the second layer. Place the final cake layer on top and apply a thin crumb coat of buttercream over the entire cake. Refrigerate for 30 minutes.
- Make the chocolate ganache: Heat heavy cream (and raspberry liqueur, if using) in a saucepan until it begins to simmer. Pour over chopped chocolate and let sit for two minutes. Stir until smooth, then allow it to cool slightly before spreading over the chilled cake.
- Finish and serve: Spread the ganache evenly over the cake, letting it slightly drip down the sides. Let the ganache set for at least 15 minutes before slicing. Garnish with fresh raspberries if desired.
Notes
- Make ahead: The raspberry filling and buttercream can be prepared up to two days in advance and stored in the refrigerator.
- Storage: Keep the cake in an airtight container in the fridge for up to five days. The cake layers can also be frozen for up to three months.
- Ingredient swaps: If you don’t have buttermilk, mix ½ cup of whole milk with 1 teaspoon of lemon juice and let sit for five minutes before using.
- Ganache thickness: If the ganache is too runny, let it cool at room temperature for 15-20 minutes before spreading.
- Prep Time: 45 minutes
- Cook Time: 25 minutes
- Category: Dessert
- Method: Baking
- Cuisine: American
Nutrition
- Serving Size: 1 slice
- Calories: 540
- Sugar: 38g
- Sodium: 320mg
- Fat: 28g
- Saturated Fat: 16g
- Unsaturated Fat: 10g
- Trans Fat: 0g
- Carbohydrates: 65g
- Fiber: 4g
- Protein: 6g
- Cholesterol: 60mg