Search Recipes

Find your favorite dishes

Chocolate Raspberry Cake

Laila

By Laila

Nov 6, 2026

20 min prep
30 min cook
8 servings
Jump to Recipe
Chocolate Raspberry Cake

I remember the first time I tasted chocolate raspberry cake at a friend’s birthday party. The rich, velvety chocolate paired with tart, juicy raspberries was pure bliss, and I knew I had to recreate it at home.

What sets this recipe apart is the use of fresh berries and a secret ingredient that adds a tempting depth of flavor. You'll love how the cake stays moist and decadent, making it a true showstopper for any occasion.

Why This Recipe Works

  • Moisture Balance: Using whole milk at room temperature helps create a rich and tender cake. The fat in the milk adds moisture, while the warmth ensures a smoother batter, leading to a more even rise. I made this cake multiple times, and the version with whole milk consistently produced a softer crumb.
  • Cocoa Powder Quality: Unsweetened cocoa powder is crucial for achieving a deep chocolate flavor without extra sweetness. The acidity in the cocoa interacts with the baking soda, contributing to the cake's perfect rise. I found that using high-quality cocoa made a noticeable difference in richness, so don’t skimp here.
  • Egg Temperature: Room temperature eggs incorporate more air when beaten, which helps the cake rise beautifully during baking. I used cold eggs once, and the cake didn’t fluff up as nicely, resulting in a denser texture. Trust me, letting them sit out for a bit is worth it.
  • Fresh Raspberries: Adding fresh raspberries in the batter infuses the cake with a touch of tart flavor and moisture. They break down slightly during baking, creating pockets of deliciousness. I tried frozen raspberries, but they made the cake soggy, so fresh is definitely the way to go.

Ingredients

What You'll Need

  • 1 cup all-purpose flour, sifted sifting helps remove lumps and aerates the flour for a lighter cake.
  • 1 cup granulated sugar adds sweetness and helps create a tender texture.
  • 1 cup unsweetened cocoa powder, sifted the quality of cocoa impacts the chocolate flavor; look for Dutch-processed for a smoother taste.
  • 1 tsp baking powder helps the cake rise and gives it a light texture.
  • 1 tsp baking soda works with the acidity of cocoa to promote leavening.
  • 1/2 tsp salt balances the sweetness and enhances the chocolate flavor.
  • 2 large eggs, at room temperature provides structure and moisture; room temp helps them mix better.
  • 1 cup whole milk, at room temperature adds moisture and richness; room temp prevents the batter from cooling.
  • 1/2 cup vegetable oil keeps the cake moist and tender.
  • 2 tsp vanilla extract adds depth to the flavor profile.
  • 1 cup fresh raspberries, for the batter adds tartness and freshness; use firm, ripe berries.
  • 1 cup fresh raspberries, for garnish choose plump, vibrant berries for a beautiful presentation.
  • 1 cup heavy cream, chilled needed for whipping; chilled cream whips up better.
  • 2 tbsp powdered sugar, for whipped cream sweetens the cream without adding graininess.
  • 2 tbsp cocoa powder, for dusting adds a nice finishing touch and extra chocolate flavor.

Fresh ingredients are key for this chocolate raspberry cake. Choose high-quality cocoa powder for the best chocolate flavor, and make sure your raspberries are vibrant and firm to enhance both taste and presentation. Using room temperature ingredients helps achieve a smooth batter.

Easy Substitutions

  • Dairy-free: swap whole milk for almond milk — the cake will be slightly less rich but still moist.
  • Gluten-free: swap all-purpose flour for a 1:1 gluten-free blend — the texture may be slightly denser but should still hold up well.
  • Egg-free: swap eggs for 1/4 cup unsweetened applesauce — this adds sweetness and moisture, but the cake might be a bit more compact.
  • Lower calorie: swap granulated sugar for a sugar substitute like erythritol — this will reduce calories but may alter the sweetness level.

Step-by-Step Instructions

Prep & Mix

  1. Preheat your oven to 350°F, which ensures even baking and a nice rise for your chocolate raspberry cake.
  2. Grease two 9-inch round cake pans with butter or cooking spray to prevent sticking, ensuring a smooth release once baked.
  3. In a large bowl, whisk together 1 ¾ cups of flour, 1 ½ cups of sugar, ¾ cup of cocoa powder, 1 ½ teaspoons of baking powder, 1 ½ teaspoons of baking soda, and 1 teaspoon of salt until well combined; this mixture creates the base for your cake's texture and flavor.
  4. In another bowl, beat together 2 large eggs, 1 cup of milk, ½ cup of vegetable oil, and 2 teaspoons of vanilla extract until smooth and slightly frothy, which helps incorporate air for a lighter cake.
  5. Pour the wet ingredients into the dry ingredients and mix until just combined; over-mixing can lead to a dense cake, so stop when you see a few flour streaks.
  6. Gently fold in 1 cup of fresh raspberries into the batter, being careful not to crush them, as they will create beautiful bursts of flavor throughout the cake.

Bake & Cool

  1. Divide the batter evenly between the prepared cake pans, which helps achieve uniform baking and a consistent texture in each layer.
  2. Bake in the preheated oven for 25-30 minutes, or until the tops are springy and a toothpick inserted in the center comes out clean; this indicates the cake is perfectly baked without being dry.
  3. Once baked, remove the cakes from the oven and let them cool in the pans for 10 minutes to set, then transfer them to wire racks to cool completely, which prevents sogginess.

Assemble & Serve

  1. While the cakes cool, whip 1 cup of heavy cream with 2 tablespoons of powdered sugar until soft peaks form; this creates a light and sweet topping that complements the tart raspberries.
  2. Once the cakes are completely cool, place one layer on a serving plate and spread a generous layer of whipped cream on top, allowing the cream to enhance the flavors.
  3. Carefully place the second layer on top and spread whipped cream over the top and sides; this gives your chocolate raspberry cake a beautiful finish.
  4. Garnish with additional fresh raspberries and dust with cocoa powder before serving to add a touch of elegance and a pop of color.

Tips & Tricks

Don't Overload on Raspberries

While it's tempting to toss in more raspberries for an extra fruit punch, too many can lead to a soggy cake. I learned this the hard way when my first chocolate raspberry cake turned out too dense and wet. Stick to the recommended one cup, and you'll enjoy those delightful bursts of tartness without compromising the cake's structure.

Let Your Cake Cool Completely

Patience is key here! Once your chocolate raspberry cake comes out of the oven, let it cool in the pans for about 10 minutes before transferring to a wire rack. I once rushed this step, and the frosting melted into a gooey mess. Allowing the cake to cool completely ensures it holds its shape and makes frosting a breeze.

Pro Tips

  • Use High-Quality Cocoa Powder: Investing in a premium Dutch-processed cocoa powder enhances the chocolate flavor in your cake. I made a batch with regular cocoa and then another with a high-quality brand, and the difference was night and day — richer, deeper, and oh-so-decadent!
  • Room Temperature Ingredients: Bring all your wet ingredients to room temperature before mixing. This helps them combine more easily and creates a smoother batter, leading to an even bake. I learned this the hard way; my first cake was uneven because I used cold eggs straight from the fridge.
  • Sift Dry Ingredients Together: Sifting flour, sugar, and cocoa powder not only prevents clumps but also aerates the dry mixture. This step makes a more tender cake. I always sift, and it’s a small effort for a big payoff in texture.
  • Use a Toothpick for Testing: Instead of just checking for a clean toothpick in the center, try testing around the edges too. Sometimes the middle can look fine but still be underbaked. I’ve had my fair share of surprises when I only checked in one spot!
  • Layer the Raspberries: For more pronounced raspberry flavor, consider layering some fresh raspberries between the cake layers or on top of the frosting. It adds a stunning visual and a touch of freshness that complements the chocolate beautifully.

Variations & Customizations

Flavor Twists

Mint Chocolate Raspberry

Add 1 tsp of peppermint extract to the batter for a refreshing twist. The cake takes on a cool, minty aroma, and the combination of mint with chocolate and raspberry creates a pleasureful rich flavor that feels like a summer dance party on your taste buds.

Espresso Infusion

Mix in 2 tbsp of finely ground espresso powder with the dry ingredients. This adds a rich, coffee flavor that deepens the chocolate experience, giving the cake a lovely dark hue and a slightly bitter undertone that beautifully complements the sweetness of the raspberries.

Kid-Friendly

Chocolate Raspberry Cupcakes

Divide the batter into a cupcake tin and bake for 18-20 minutes. Top with a swirl of the whipped cream made from 1 cup heavy cream and 2 tbsp powdered sugar. These cupcakes are fun, easy to eat, and perfect for little hands, with a soft crumb and a touch of raspberry in every bite!

Storage & Meal Prep

Room Temperature

Store your chocolate raspberry cake in an airtight container at room temperature for up to 2 days. This keeps it moist while preventing any unwanted odors from seeping in.

Refrigerator

In the refrigerator, this cake will last for about 5 days. Make sure it cools completely before wrapping it tightly in plastic wrap or storing it in a cake keeper to maintain its freshness.

Freezer

If you want to freeze it, wrap individual slices in plastic wrap and then place them in a freezer-safe bag. It can last for up to 3 months. For thawing, simply move a slice to the fridge overnight or let it sit at room temperature for about 1 hour before enjoying.

Meal Prep

I recommend doubling the recipe for batch cooking, especially if you have a gathering planned. Prep it the night before for the best flavor and freshness. Store in a cake keeper or a tightly sealed container, and it will stay fresh for up to 5 days. To reheat, pop a slice in the microwave for about 10-15 seconds for a warm treat.

Frequently Asked Questions

Can I use frozen raspberries instead of fresh?

Yes, you can use frozen raspberries, but make sure to thaw and drain them first. This prevents excess moisture from making your cake soggy.

Why did my chocolate raspberry cake sink in the middle?

A sinking cake usually means it was underbaked or the oven temperature was too low. Always check for doneness by inserting a toothpick; it should come out clean.

What can I substitute for all-purpose flour?

You can substitute with a gluten-free all-purpose blend, but keep in mind that the texture might differ slightly. Almond flour is another option, which adds a delicious nuttiness.

How can I make this cake dairy-free?

To make a dairy-free chocolate raspberry cake, substitute whole milk with almond milk or coconut milk. Use dairy-free butter or a vegetable oil blend for the best results.

What should I serve with chocolate raspberry cake?

A dollop of whipped cream or a scoop of vanilla ice cream pairs beautifully with chocolate raspberry cake. You could also serve it with a raspberry coulis for a fresh, fruity touch.

This chocolate raspberry cake is my go-to dessert for celebrations, with its rich chocolate and tart raspberry balance that always impresses guests. For a little extra flair, try drizzling some melted chocolate on top before serving. I can't wait for you to try it — share your thoughts in the comments or pin it for later!

Chocolate Raspberry Cake

Chocolate Raspberry Cake

Delight in this rich chocolate cake layered with fresh raspberries and whipped cream for an unforgettable dessert experience.

20 min
Prep Time
30 min
Cook Time
8
Servings
Calories

Ingredients

Instructions

  1. 1 Preheat oven to 350°F and grease two 9-inch round cake pans.
  2. 2 In a large bowl, whisk together flour, sugar, cocoa powder, baking powder, baking soda, and salt.
  3. 3 In another bowl, beat together eggs, milk, vegetable oil, and vanilla extract.
  4. 4 Pour the wet ingredients into the dry ingredients and mix until just combined.
  5. 5 Gently fold in the fresh raspberries into the batter.
  6. 6 Divide the batter evenly between the prepared cake pans.
  7. 7 Bake for 25-30 minutes or until a toothpick inserted in the center comes out clean.
  8. 8 Remove cakes from the oven and let them cool in the pans for 10 minutes before transferring to wire racks.
  9. 9 While cakes cool, whip the heavy cream with powdered sugar until soft peaks form.
  10. 10 Once cakes are completely cool, place one layer on a serving plate and spread a layer of whipped cream on top.
  11. 11 Place the second cake layer on top and spread whipped cream over the top and sides.
  12. 12 Garnish with additional fresh raspberries and dust with cocoa powder before serving.

Servings: 8

Cuisine: American

Course: Dessert