Chocolate Raspberry Cake

Jump to Recipe

This post may contain affiliate links. Please read our disclosure policy.

This chocolate raspberry cake has raspberry preserves in the batter and a fresh, homemade raspberry filling. It’s moist with a perfect crumb and a deep chocolate and raspberry flavor.

a slice of chocolate raspberry cake on a plate - the moist texture of the cake is visible and there is a dark raspberry layer between the two layers of cake, then a layer of raspberry frosting beneath a thicker layer of chocolate frosting. There's a fork and raspberries on the plate and raspberries and a red and white striped towel int he background

This chocolate raspberry cake recipe is the perfect cake if you love the classic raspberry & chocolate flavor combination. It’s rich, chocolatey, irresistibly moist, and has a delicious fresh homemade raspberry filling!

My secret for the best raspberry and chocolate cake is to bake raspberry preserves into the batter. So you’re not just relying a filling or frosting to make it taste like raspberries, the cake itself has a delicious raspberry flavor!

However, the raspberry filling and a layer of homemade raspberry frosting both take this cake to the next level. Then, the final layer of chocolate buttercream finishes it off beautifully for the most delicious, impressive cake ever.

Whether you’re baking for a holiday, birthday, or just want a fun baking project, this raspberry chocolate cake is sure to become a favorite. It’s a bakery-quality dessert that’s surprisingly easy to make!

chocolate raspberry cake on a white cake plate decorated with both chocolate roses and raspberry frosting roses, and fresh raspberries
Want to save this recipe?
Enter your email below, and I’ll send the link straight to your inbox. Plus, you’ll receive cooking & baking tips & recipes weekly!

Raspberry Chocolate Cake: Ingredients & Substitutions

overhead photo of the ingredients in this chocolate raspberry cake recipe in bowls and labeled like raspberries, flour, sugar, eggs, powdered sugar, butter, and more.
  • All-purpose flour. You can also use cake flour. Or, use a 1:1 gluten-free baking flour to make this recipe gluten-free.
  • Unsweetened cocoa powder. Choose your favorite variety. For an extra-dark cake, use dark cocoa powder. 
  • Canola oil. Oil keeps this chocolate raspberry cake extra moist. You can substitute equal amounts of melted butter or another neutral oil like olive oil if desired; however, canola oil will yield the best results.  Or try my olive oil chocolate cake.
  • Sour cream. Full-fat, plain yogurt works well in place of sour cream.
  • Whole milk. Half and half or heavy cream are the best substitutes.
  • Seedless raspberry jam. If you’d prefer, you can make extra filling and use it in the cake instead of jam. But it has to be seedless, or completely smooth.
  • Raspberries. Fresh or frozen berries both work well.
  • For notes on the frostings, see my chocolate buttercream recipe and raspberry frosting.
a slice of chocolate raspberry cake on a plate with ab ite taken out so the  moist texture of the cake is visible and there is a dark raspberry layer between the two layers of cake, then a layer of raspberry frosting beneath a thicker layer of chocolate frosting. There's a fork and raspberries on the plate and raspberries and a red and white striped towel int he background

How to Make Chocolate Raspberry cake

There are a few steps to making this cake, but each is fairly straightforward and easy to do! Make sure to watch the video for additional guidance.

Make the Raspberry Filling

The raspberry filling needs to chill, so I’ll often make it a full day in advance. Begin by blending the raspberries and raspberry jam together in a high-powered blender until smooth. It’s important to use a high-powered blender with a smaller container – 48-ounce maximum.

making chocolate raspberry cake filling - raspberries and jam in a small blending container before blending
making chocolate raspberry cake filling - raspberries and jam in a small blending container after blending

Then, mix the water and cornstarch together in a small bowl and set it aside.

making chocolate raspberry cake filling - cornstarch and water in a ceramic glass bowl before mixing
making chocolate raspberry cake filling - cornstarch and water in a small ceramic bowl after mixing

Next, transfer the raspberry puree to a small saucepan and stir in the sugar and vanilla.

making chocolate raspberry cake filling - ingredients in a white saucepan before mixing
making chocolate raspberry cake filling - ingredients in a white saucepan after mixing

Remove ½ cup of the mixture from the pan and transfer to a glass jar to be used later to make the frosting.

making raspberry filling for chocolate raspberry cake - ½ cup of the mixture removed from the pan and put into a glass jar to be used in the frosting.

Then, add the water and cornstarch mixture to the filling and stir until it’s fully incorporated.

Next, cook the filling over medium heat, stirring often until thickened – it will thickly coat the back of a spatula. This should take between 5 and 10 minutes.

thickened raspberry filling in a white saucepan being stirred with a white spatula. It's thickened texture and bright pink/red color are both visible in this photo

Transfer the raspberry mixture to a glass jar with a lid or a glass container with a lid and chill overnight, or for at least 6 hours.

The raspberry filling thickens more as it cools.

front view of a stack of two glass jars, the top one has the raspberry puree for the frosting, and the bottom one has the thickened raspberry filling

Make the Cake

Now, it’s time to make the cake. Begin by lining two 6″ round cake pans with parchment paper and lightly greasing.

making chocolate raspberry cake - two round cake pans lined with parchment paper and greased

Then, combine the flour, sugar, cocoa powder, baking soda, baking powder, and sea salt in a medium bowl and set it aside.

making chocolate raspberry cake - sugar, cocoa powder, flour, baking soda, baking powder and salt in a bowl before mixing
making chocolate raspberry cake - dry ingredients in a glass bowl after mixing

Next, in a large bowl, whisk the wet ingredients together until smooth – sour cream, eggs, preserves, vanilla, and canola oil.

making chocolate raspberry cake - eggs, sour cream, raspberry jam, vanilla, and canola oil in a glass bowl before mixing
making chocolate raspberry cake - combined wet ingredients in a glass mixing bowl

Then stir in the dry ingredients until combined.

making chocolate raspberry cake - dry ingredient mixture added to the wet ingredient mixture in a glass bowl before mixing
making chocolate raspberry cake - batter in a glass bowl

Next, divide the batter evenly into the two prepared cake pans. Bake the chocolate rasperry cakes in the preheated oven for 30-35 minutes, or until a toothpick inserted in the center of the cakes comes out clean or with a few crumbs.

Freeze the Cakes

To prevent crumbs from getting into the frosting, freeze the cakes before assembly.

Place cake pans on a wire cooling rack to cool to room temperature (takes about 30 minutes).

Once the cakes are cool, lift them out of the pans and remove parchment paper. Let cool completely on the wire cooling rack.*

Make the Frosting

This chocolate raspberry cake has two layers of frosting, a base coat of raspberry frosting and a top coat of chocolate buttercream frosting You can choose to use both, or only one flavor – whatever you prefer.

See the detailed instructions on how to make the frosting on these posts: raspberry buttercream frosting and chocolate buttercream recipe.

chocolate buttercream frosting in a glass bowl with two beaters on the bottom left side
raspberry buttercream frosting in a glass bowl

Assemble The Chocolate Raspberry Cake

Once the cakes are cooled, spread a little bit of frosting on the bottom of a cake pan and place the first cake round on top. Press it down a bit so it “adheres” to the frosting.

Next, pipe a thin circle of chocolate frosting around the outside edge of the bottom layer. This will prevent the raspberry filling from oozing out of the sides of the cake.

Then, evenly spread the raspberry filling inside the piped circle of frosting. You may have leftovers – it’s better to have a little leftover than put too much in the center because it will ooze out.

Then, put the top layer over the filling and freeze for 1 hour – until the filling sets.

Once the raspberry chocolate cake is frozen, spread the raspberry frosting over the cake. Then, return it to the freezer for about 30 minutes, until the frosting is completely frozen.

Once the base coat of raspberry frosting is frozen, remove the cake from the freezer and spread the chocolate buttercream frosting evenly over the entire cake. It’s important the cake is frozen so the two layers of frosting don’t mix together.

Then, if you feel so inclined, pipe decorations on the top of the cake, or decorate with fresh raspberries. I use a Wilton 1M tip, large coupler and piping bags to make large roses with the leftover of both frosting to give a beautiful finish.

Serve

Chill the cake in the refrigerator until it’s set. Then serve it slightly chilled or room temperature (preferred for best texture).

This cake is very rich, so a little goes a long way. I made this cake to serve at a party of about 30 people and there was plenty to go around.

Making a smaller cake

Or, you can halve this recipe and bake it in two, 6″ round cake pans to make a cake that serves about 8 to 10 people.

chocolate raspberry cake on a white cake plate decorated with both chocolate roses and raspberry frosting roses, and fresh raspberries

Store/Freeze

Store leftover cake in the refrigerator for up to 1 week, or in the freezer for up to 1 month. Let it slowly come to room temperature – do not heat or microwave or the frosting will melt.

More Delicious Cake Recipes

chocolate raspberry cake on a white cake plate, a piece has been cut out so you can see the two layers moist chocolate cake and dark raspberry filling in between. You can also see the bottom layer of raspberry frosting, top and of chocolate buttercream adn the frosting roses and fresh raspberries on top

Chocolate Raspberry Cake Recipe FAQS

A 9″ cake seems big? How many people does it feed?

A double layer, 9″ cake like this serves 20 to 30 people (minimum). A little goes a long way – trust me, it’s very rich!

Can I halve this recipe?

Yes, halve this recipe and bake it in two 6″ round cake pans to make a cake that serves about 10 to 12 people.

Can I use fresh raspberries in the cake instead of raspberry preserves?

Yes, but preserves are better for the batter because they provide concentrated flavor and consistent sweetness. Fresh raspberries vary a lot in sweetness and can add extra moisture to the batter.

Can I make this cake ahead of time?

Yes, it’s actually best when made a day in advance and chilled in the fridge overnight.

What frosting pairs best with raspberry chocolate cake?

Here are my top suggestions:
Chocolate buttercream
-Chocolate ganache
Raspberry buttercream
Or a combination of all three! 😉

a slice of chocolate raspberry cake on a plate with a bite taken out of it  so the moist texture of the cake is visible and there is a dark raspberry layer between the two layers of cake, then a layer of raspberry frosting beneath a thicker layer of chocolate frosting. There's a fork and raspberries on the plate and raspberries and a red and white striped towel int he background

If you make and love my recipes, it would mean so much to me if you would leave a comment and rating! And don’t forget to follow along on Instagram, Pinterest, Facebook, TikTok and Youtube – be sure to tag @joyfoodsunshine and use the hashtag #joyfoodsunshine so I can see your creations!

Chocolate and Raspberry Cake Recipe

Laura Sandford
This chocolate raspberry cake has raspberry preserves in the batter and a fresh, homemade raspberry filling. It’s moist with a perfect crumb and and a deep chocolate and raspberry flavor.
No ratings yet
Course cake, Dessert
Cuisine American
Servings 26 Servings
Calories 232
Prep Time45 minutes
Cook Time30 minutes
Chilling1 day
Total Time1 day 1 hour 2 minutes

Video

Ingredients 
 

Raspberry filling:

Raspberry Frosting

Chocolate Buttercream Frosting (Double Recipe)

Instructions 

Make the Raspberry Filling (Needs to Chill)

  • Blend the raspberries and raspberry jam together in a high-powered blender until smooth. It’s important to use a high-powered blender with a 48 ounce blending container (or smaller).
  • Transfer the raspberry puree to a medium saucepan and stir in the sugar and vanilla.
  • cook over medium-low heat, stirring often, until slightly thickened (about 3-5 minutes).
  • Remove ½ cup of the mixture from the pan and transfer it to a glass jar to be used to make the raspberry frosting.
  • Mix the water and cornstarch together in a small bowl.
  • Add the cornstarch mixture and whisk to combine.
  • Cook over medium heat, stirring often until thickened (thickly coats the back of a spatula) about 5 minutes to 8 minutes.
  • Transfer the raspberry mixture to a glass jar with a lid or a glass container with a lid and chill overnight, or for at least 6 hours. It thickens more as it cools.

Make the Chocolate Raspberry Cake

  • Preheat oven to 350 degrees Fahrenheit (177 degrees Celsius).
  • Line two 9” (23 cm) round cake pans with parchment paper and grease well. Set aside.
  • In a medium bowl, combine flour, sugar, cocoa powder, baking soda, baking powder, and sea salt. Set aside
  • In a large bowl, whisk together canola oil, eggs, sour cream, milk, vanilla and raspberry preserves until the mixture is smooth.
  • Add dry ingredients to the wet ingredients whisk until smooth.
  • Divide the batter evenly into the two prepared cake pans.
  • Bake in the preheated oven for 30-35 minutes, or until a toothpick inserted in the center of the cakes comes out clean or with a few crumbs.
  • Place cake pans on a wire cooling rack to cool to room temperature (takes about 30 minutes).
  • Once cool, lift cakes out of the pans and remove parchment paper. Let cool completely on the wire cooling rack.*
  • I suggest putting it in the freezer overnight or at least in the refrigerator while the raspberry sauce cools. This will reduce crumbs in the frosting.

Make the Raspberry Frosting

  • Beat the butter in a standing mixer until light and fluffy.
  • Add the reserved raspberry puree from the filling and beat until combined.
  • Add the vanilla and 2 cups of powdered sugar and beat until combined.
  • Continue adding powdered sugar, 2 cups at a time, beating well after each addition until the frosting is thick, light and fluffy.

Make the Chocolate Buttercream frosting

  • Beat the butter in a standing mixer fitted with the paddle attachment until smooth.
  • Then add the cocoa powder, vanilla, salt and 1 cup of powder sugar and beat until incorporated.
  • Add half of the remaining powdered sugar and half of the milk and beat until light and fluffy(1-minute).
  • Add the remaining milk and powdered sugar and beat until light and fluffy – 1 to 2minutes.

Assemble the Chocolate Raspberry Cake

  • Spread about 2 Tablespoons of frosting on a cake plate.
  • Then, position the bottom layer on the frosting on the plate.
  • Pipe a thin circle of chocolate frosting around the outside edge of the bottom layer.
  • Then, evenly spread the raspberry filling inside the piped circle of frosting. You may have leftovers – it’s better to have a little leftover than put too much in the center because it will ooze out.
  • Then, put the top layer over the filling and freeze for 1 hour – until the filling sets.
  • Once the cake is frozen, spread or pipe the raspberry buttercream frosting evenly over the outside and top of the cake. Save leftovers for decorating. Return the cake to the freezer for the frosting to set and harden completely (about 30 to 60 minutes).
  • Then spread the chocolate buttercream frosting over the raspberry frosting (quickly before the frosting starts to thaw).
  • Pipe decorations on the outside of the cake with the leftover frostings.
  • Chill in the refrigerator until set (up to overnight), then remove from the refrigerator 1 to 2 hours before serving so the cake can come to room temperature.

Notes

*Nutrition Information: Calculated for the cake and filling not frosting, for one serving being 1/16 of the cake. 
Ingredient Substitution Notes
  • All-purpose flour. you can use cake flour. Or, use a 1:1 gluten-free baking flour to make this recipe gluten-free.
  • Unsweetened cocoa powder. Choose your favorite variety. For an extra-dark cake use dark cocoa powder. 
  • Canola oil. Oil keeps this chocolate raspberry cake extra moist. You can substitute equal amounts of melted butter or another neutral oil like olive oil if desired, however canola oil will yield the best results.  Or try my olive oil chocolate cake.
  • Sour cream. Full-fat, plain yogurt works well in place of sour cream.
  • Whole milk. half and half or heavy cream are the best substitutes.
  • Seedless raspberry jam. If you’d prefer, you can make extra filling and use it in the cake instead of jam. But it has to be seedless, or completely smooth.
  • Raspberries. fresh or frozen berries both work well.
Store/Freeze
Store leftover cake in the refrigerator for up to 1 week, or in the freezer for up to 1 month. Let it slowly come to room temperature – do not heat or microwave or the frosting will melt.
 

Nutrition

Serving: 1slice | Calories: 232kcal | Carbohydrates: 35g | Protein: 3g | Fat: 10g | Saturated Fat: 2g | Polyunsaturated Fat: 2g | Monounsaturated Fat: 5g | Trans Fat: 0.03g | Cholesterol: 26mg | Sodium: 123mg | Potassium: 101mg | Fiber: 2g | Sugar: 24g | Vitamin A: 92IU | Vitamin C: 5mg | Calcium: 34mg | Iron: 1mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Did you enjoy this recipe? Have a question? Leave a comment below!

You’ll love these recipes


latest recipes

Post a Comment or Ask a Question!

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

Recipe Rating