5 from 12 votes

Chocolate Raspberry Cake

Jump to Recipe ▼

43 Comments

Servings: 14 servings

1 hr 10 mins

This post may contain affiliate links. As an Amazon Associate I earn from qualifying purchases. Please read my disclosure policy.

Decadent, yet refreshing, my chocolate raspberry cake ticks all the boxes for an indulgent dessert. Moist dark chocolate cake layers, fresh raspberry filling, and a raspberry-infused chocolate buttercream come together in this winning cake recipe. Recipe includes a how-to video tutorial.

Chocolate raspberry cake with chocolate ganache and fresh raspberries on top.

Chocolate Raspberry Perfection

Today’s chocolate raspberry cake was an experiment in balance. I wanted near-even measures of indulgent chocolate and bright raspberry without skewing too far on either side of the spectrum.

After lots of tweaking and testing, I think you’re going to love the end result just as much as I do. It’s both decadent and refreshing with clear notes of both flavors. Between the rich, moist, fudgy chocolate cake layers, the raspberry-infused chocolate frosting, and the sweet-tart raspberry filling, it’s the perfect blend of the best flavors and textures of both worlds.

Cross section of a chocolate raspberry cake made with a raspberry filling and chocolate ganache topping.

Why This Recipe Works:

  • Never dry or dense: my technique prevents over-mixing (just like when making my triple chocolate cake), and we’ll use carefully chosen ingredients so this chocolate raspberry cake stays moist for days (despite needing to be refrigerated!).
  • Impressive appearance: three cake layers means this is a big cake, and adding the ganache drip and fresh berries on top just makes it look so fancy.
  • Only one bowl and NO mixer needed for the cake itself. My goal was to make the cake as uncomplicated as possible since we are making three components here (cake, filling, frosting).
  • Celebration-worthy. This cake isn’t just for birthdays! It would make a lovely anniversary or Valentine’s Day dessert too ❤️

What You Need (& Substitutions)

For the Cake Layers

You’ll find these ingredients are quite similar to a few other chocolate cakes I’ve shared around here (namely my peanut butter chocolate cake). When you have a good thing, you stick with it!

Overhead view of labelled ingredients including cocoa powder, brown sugar, coffee, and more.
  • Dark cocoa powder. Dark chocolate & raspberry was a no-brainer, the darker cocoa pairs beautifully with the brightness of the fresh raspberries. If you don’t have dark cocoa, any other Dutch process cocoa will work. Note that I do recommend natural cocoa for the frosting.
  • Butter & oil. A combination of unsalted butter and a neutral oil (I like avocado!) makes this cake both flavorful and moist. It’s especially helpful to use oil when you are making a cake that needs refrigerating like this chocolate raspberry cake.
  • Buttermilk. Not only does buttermilk add flavor and moisture, but it also helps to activate our baking soda, since we’re using an alkaline cocoa powder.
  • Sugar. A blend of regular granulated and light brown work well here, with the brown sugar adding a bit of extra flavor and moisture. Dark brown sugar could be a bit too rich and strong, so stick with light brown.
  • Hot water/coffee. I talk more about this in the FAQ section below. Either will work, but coffee will give your cake a stronger chocolate (not coffee) flavor, just like in my mint chocolate cake. Whichever you opt for, make sure it is hot!

SAM’S TIP: This recipe works best when all of your ingredients are at room temperature. Try to remember to set out your eggs, buttermilk, etc. so they have time to warm up before you get started!

For the Chocolate Raspberry Buttercream

Overhead view of labelled ingredients including fresh raspberries, lemon halves, cocoa powder, and more.
  • Raspberries. Either fresh or frozen berries will work here. I recommend using fresh raspberries if they are in season though.
  • Lemon juice. A squeeze of lemon juice brightens the flavor of our filling. Bottled is fine, but fresh is best, just like when making raspberry lemonade!
  • Cornstarch. This helps thicken our raspberry cake filling and keeps it from spilling out of the cake!
  • Cocoa powder. I went back and forth with this ingredient. For ease, I wanted to use the same type of cocoa in the frosting that I used in the cake layers (dark or Dutch). However, these simply did not work well in the frosting; they overpowered the balance of chocolate raspberry and natural cocoa powder was just honestly the best choice for a superior tasting cake.
  • Heavy cream. You may not need this, but if your frosting isn’t quite as smooth and silky and spreadable as you need it to be, feel free to add a splash or two of cream.

Optional: Add a chocolate drip! This adds a nice touch in terms of appearance, taste, and texture. In the recipe card below I linked to my detailed instructions on how to do a ganache drip on a cake and I also briefly demonstrate it in today’s video, it’s easier than you might think!

How to Make Chocolate Raspberry Cake

Make the Cake Layers

Four photos showing chocolate cake batter being prepared.

We skip the traditional creaming process here (beating together butter and sugar) and instead add melted butter and oil to our dry ingredients and sugar. This cake can be made with or without a mixer, but it’s very important to scrape the sides and bottom of the bowl periodically and aim for a batter that is smooth and uniform. Using ingredients that are all room temperature will help with this.

SAM’S TIP: Buttermilk expands as it warms to room temperature. Measure it cold and let it sit at room temperature before using (rather than trying to measure it warm).

Prepare the Raspberry Filling

Three photos showing raspberry cake filling being prepared.

Some helpful hints: Make sure that you don’t crank up the heat too high or you’ll evaporate too much of the water and end up burning the mixture (or even if you don’t, you could lose too much flavor this way). Stir frequently, which will also keep things from burning. If you’ve made my raspberry cake filling, you’ve done this all before.

You’ll know the mixture is done when your spatula leaves distinct trails through the mixture. Remove it from the heat and pour into a heatproof bowl to stop the cooking process (and note the

SAM’S NOTE: Raspberries have seeds, and, well, so does this chocolate raspberry cake! While in some recipes I’ll strain out the seeds (like my raspberry cheesecake) I opted to keep them here for the best raspberry texture and flavor. You actually can’t leave the seeds out of this recipe or you won’t be left with much to work with!

Make the Frosting

Three photos showing chocolate cake batter being prepared.

The frosting comes together simply and starts just like a classic chocolate buttercream, until we get to the raspberry infusion. You’ll need 1/3 cup of raspberry filling (from above) but don’t add it all at once!

Add the (cooled!) raspberry filling just a spoonful at a time. It’s very important to do this gradually, because adding it too quickly can break or curdle the frosting.

Assembly

Three photos showing a chocolate cake being filled with raspberry cake filling, frosted with chocolate frosting, and decorated with a ganache drip.

A piping bag will be your friend here for creating the dam that holds in the raspberry filling; this is essential so the filling doesn’t squeeze out of the cake! If your frosting seems too stiff and isn’t spreading smoothly on the cake or is tearing up the delicate fudgy crumbs as you try to spread it, don’t hesitate to stir in a splash of cream or milk to thin things a bit (but, also consider doing a crumb coating, mentioned below).

A ganache drip is optional, but so pretty and decadent, and don’t miss my tips on how to decorate a cake for beginners.

SAM’S TIP: While optional, a crumb coat will make decorating your chocolate raspberry cake much easier. To do this, spread a very thin, even layer of frosting around the cake, catching any crumbs (it doesn’t have to be pretty!). Place the cake in the freezer for 15 minutes, then remove and add your final layer of frosting. Should be smooth and crumb-free!

Slice of chocolate raspberry cake made with a raspberry filling and chocolate ganache topping.

Frequently Asked Questions

Can I use raspberry frosting instead?

Yes, you could use my raspberry buttercream instead of the chocolate frosting called for. For another fun twist, I think this chocolate raspberry cake would also be tasty with my white chocolate buttercream.

Do I have to use hot coffee?

Using hot liquid of any kind will bloom the cocoa powder and enhance its flavor (like steeping tea!), so using a hot liquid is essential. Hot water works just fine here, but coffee in particular enhances the chocolate flavor even more. If you don’t want to use coffee, just use water, but if you’re worried about your chocolate raspberry cake tasting like coffee, don’t worry it won’t. It’ll just have a deeper chocolate flavor.

Why did my frosting curdle?

This usually happens when the raspberry filling mixture is added to the frosting too quickly, or if it was still too warm.

To fix this, you can try to place your frosting in the fridge or adding a bit more sugar. It can be hard to recover frosting that breaks though, so prevention is key here!

Overhead view of a cake topped with chocolate ganache and fresh raspberries.

Enjoy!

Let’s bake together! Subscribe to my newsletter to be notified of all the newest recipes, and find my free recipe tutorials on YouTube 💜

Cross section of a chocolate raspberry cake made with a raspberry filling and chocolate ganache topping.
5 from 12 votes

Chocolate Raspberry Cake

Decadent, yet refreshing, this chocolate raspberry cake is a must-try! Moist dark chocolate cake layers, fresh raspberry filling, and a raspberry-infused chocolate buttercream come together in this stunning cake recipe.
Recipe includes a how-to video!
Prep: 35 minutes
Cook: 35 minutes
Total: 1 hour 10 minutes
Servings: 14 servings
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

Ingredients

Cake

  • 1 ¾ cups (220 g) all-purpose flour
  • 1 cup (200 g) granulated sugar
  • 1 cup (200 g) light brown sugar, firmly packed
  • ¾ cup (75 g) dark cocoa powder
  • 1 ½ teaspoons baking soda
  • ¾ teaspoon table salt
  • cup (155 ml) neutral cooking oil
  • ½ cup (113 g) unsalted butter, melted
  • 2 large eggs, room temperature preferred
  • 2 teaspoons vanilla extract
  • 1 cup (236 ml) buttermilk, room temperature preferred
  • ½ cup (118 ml) very hot/boiling water or hot coffee

Raspberry Filling

  • ½ cup (100 g) granulated sugar
  • 3 Tablespoons cornstarch
  • 3 cups (340 g) fresh or frozen raspberries
  • 3 Tablespoons water
  • 1 ½ Tablespoons lemon juice

Chocolate Raspberry Frosting

  • 1 cup (226 g) unsalted butter, softened
  • 3 cups (375 g) powdered sugar
  • cup (65 g) natural cocoa powder
  • heaping teaspoon salt
  • cup (94 g) raspberry filling, from above
  • 1-2 Tablespoons heavy cream, as needed
  • Ganache drip for decorating, optional

Instructions 

Cake

  • Preheat oven to 350F (175C) and line the bottoms of three 8” round cake pans with parchment paper and grease and flour the sides. Set aside.
  • In a large mixing bowl, whisk together flour, sugars, cocoa powder, baking soda, and salt.
    1 ¾ cups (220 g) all-purpose flour, 1 cup (200 g) granulated sugar, 1 cup (200 g) light brown sugar, ¾ cup (75 g) dark cocoa powder, 1 ½ teaspoons baking soda, ¾ teaspoon table salt
  • Add oil and melted butter to flour mixture, stir until fully combined.
    ⅔ cup (155 ml) neutral cooking oil, ½ cup (113 g) unsalted butter
  • Add eggs and vanilla extract and stir until fully combined and batter is uniform.
    2 large eggs, 2 teaspoons vanilla extract
  • Gradually add buttermilk, stirring until combined.
    1 cup (236 ml) buttermilk
  • Slowly and carefully, add hot water or coffee, stirring until completely combined. Scrape sides and bottom of the bowl with a spatula to ensure all ingredients get incorporated.
    ½ cup (118 ml) very hot/boiling water or hot coffee
  • Divide batter evenly into prepared cake pans and bake in preheated 350F (175C) oven for 24-25 minutes. When cakes are finished baking, a toothpick inserted into the center should come out completely clean or with a few moist crumbs.
  • Allow cakes to cool in their pans for 10-15 minutes, then run a knife along the edges to loosen from pans and carefully invert onto cooling racks. Allow to cool completely before decorating.
  • While cakes are cooling, prepare the raspberry filling.

Raspberry Filling

  • In a small saucepan, combine sugar and cornstarch, whisk until combined.
    ½ cup (100 g) granulated sugar, 3 Tablespoons cornstarch
  • Add raspberries, water, and lemon juice and stir together.
    3 cups (340 g) fresh or frozen raspberries, 3 Tablespoons water, 1 ½ Tablespoons lemon juice
  • Heat saucepan on your stovetop over medium heat and cook, stirring constantly, until berries release their juices and mixture starts to bubble. This can take 5-10 minutes, do not increase your heat from medium, you want everything to heat slowly.
  • Continue stirring constantly and cook until thickened (this usually takes me about 2 minutes after the mixture begins bubbling). This mixture will appear to only slightly thicken, you’ll notice that when you pull your spatula through the mixture you leave a trail.
  • Transfer mixture to a heatproof container and allow to cool to room temperature before proceeding.

Raspberry Frosting

  • In a large mixing bowl (or the bowl of your stand mixer with a paddle attachment) use an electric mixer to beat butter on low speed until smooth and creamy.
    1 cup (226 g) unsalted butter
  • Add about half of the powdered sugar, cocoa powder, and salt and beat on low speed until well combined.
    3 cups (375 g) powdered sugar, ⅔ cup (65 g) natural cocoa powder, ⅛ heaping teaspoon salt
  • Gradually add remaining powdered sugar, mixing on low speed, until all sugar is added.
  • While mixing on low speed, add ⅓ cup of the raspberry filling, a heaping spoonful (about a tablespoon) at a time, until all filling is evenly incorporated.
    ⅓ cup (94 g) raspberry filling
  • Gradually add heavy cream as needed and stir until icing is a smooth, pipe-able consistency. Place frosting into a piping bag with a large open tip.
    1-2 Tablespoons heavy cream

Assembly

  • Once cakes are completely cooled, level cakes if needed.
  • Place one cake layer on serving platter. Spread a very thin layer of frosting over the top of the cake layer. Pipe a dam of frosting around the edge of the cake.
  • Spread half of your remaining raspberry filling inside the piped dam. Top with the next layer of cake and repeat the process.
  • Top with the last layer of cake. Use the rest of the frosting to spread an even layer around the sides and top of the cake. (I like to do a crumb coating on the cake and refrigerate for 15 minutes before doing the final layer of frosting). If desired, follow my instructions (linked in the ingredients above) for adding a ganache drip.
    Ganache drip for decorating
  • For best results, chill cake in the refrigerator for at least 30 minutes before slicing and serving.

Notes

Filling

You should end up with approximately 1 ⅔ cup of filling (before any is removed for the frosting).

Storing

Store cake in an airtight container in the refrigerator for up to 4 days.

Nutrition

Serving: 1serving | Calories: 633kcal | Carbohydrates: 85g | Protein: 5g | Fat: 34g | Saturated Fat: 15g | Polyunsaturated Fat: 4g | Monounsaturated Fat: 13g | Trans Fat: 1g | Cholesterol: 79mg | Sodium: 280mg | Potassium: 251mg | Fiber: 5g | Sugar: 64g | Vitamin A: 694IU | Vitamin C: 7mg | Calcium: 64mg | Iron: 2mg

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

Like this? Leave a comment below!

Bowl of soup made with vegetables and veggie broth.
FREE recipes!
Sign up for my newsletter to receive weekly recipes and seasonal updates. Over 200K others have already subscribed!

You May Also Like:

5 from 12 votes (4 ratings without comment)

Leave a comment

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

Recipe Rating




43 Comments

  1. Susan says:

    5 stars
    I only used the cake from this recipe. It was the best chocolate cake I have ever made! The flavor was so deep and chocolaty, it was moist and had the perfect texture. I used a different raspberry filling recipe and a dark chocolate buttercream (as requested by the birthday person) so I can’t comment on those recipes. However One of the guests asked which bakery the cake was from!

    1. Sam Merritt says:

      I’m glad you enjoyed the cake, Susan! 🙂

    2. Annie says:

      Did u add coffee to yours?

  2. Ann Marie Mettam-fox says:

    Hi Sam,
    I’m making this cake tomorrow for my daughters birthday barbicue party. I have read all the comments and so it comes highly recommended. Thank you for the recipe
    Marie from Chesterfield, England

    1. Sam says:

      Happy birthday to your daughter! I hope everyone loves the cake! 🙂

  3. Sandra Stewart says:

    Thank you Sam for getting back to me with an answer. I plan on making the great looking cake for my husband’s birthday. At that time I will write a review about the cake.
    Sandra

  4. Sandra Stewart says:

    Sam do this cake have baking powder in it don’t say in recipe just baking soda. I would like to make the cake but I’m worried about the baking powder.

    1. Sam says:

      Hi Sandra! No baking powder in this recipe. 🙂

  5. Sandra Brandl says:

    5 stars
    Sam I just made your chocolate raspberry cake out of this world absolutely delicious I’ve never made a chocolate cake always box thank you so much for your expertise in baking now I made this today for a birthday cake tomorrow I have to make a red velvet cake my question to you is if I put less cocoa into the same recipe that you have with the chocolate could I turn that into a red velvet cake by just adding the red food coloring if you could help me out I really appreciate this I do have a box cake but I don’t want to make it since I made this excellent chocolate cake thank you for all your great recipes I enjoy watching you I’m 80 years old but I wish you the very best of luck I probably looked at an old video you were pregnant but if you had your baby congratulations you’re such a beautiful person you have a great day make sure you stay good and healthy in this crazy world we live in thank you so much if you can answer my question

  6. Amber Cullen says:

    5 stars
    A decadent chocolate cake with the right hint of raspberry. Can’t describe how delicious this is – try it!

    1. Emily @ Sugar Spun Run says:

      Thanks for the five star review, Amber! We are so happy this one was a hit for you too 🩷

      1. Beth says:

        I’m planning on making this cake and am super excited! I currently only have 2 9″ inch cake pans though, and am wondering if I need to adjust the recipe volume for this.

      2. Sam Merritt says:

        Hi Beth! I would bake 2 of the cakes, let them cool and then bake the third. They may take a few minutes less being in a 9 inch pan. Ideally you want 3 layers here to have more of the raspberry filling. 🙂

  7. Jei says:

    Hi! Excited to try this. Thanks for the recipe, I love your blog. Could I make these as cupcakes and pipe the raspberry filling inside? Thank you!

    1. Sam says:

      That should work just fine. 🙂

  8. Jill says:

    Hi Sam. I made this truly wonderful decadent cake at least three times since the first time I tried it. I made it for Mother’s Day, my daughter’s birthday, a treat to share with my friends and colleagues and now my husband asks for this cake for his birthday. Thank you so much for sharing your wonderful recipes.

    1. Sam says:

      You’re very welcome, Jill! Thank you so much for trusting my recipes and your support. 🙂

      1. Alice says:

        5 stars
        I made this for Christmas Eve hoping there would be leftovers tomorrow, but it was an absolute hit! It was all gone in my family of 6 and I want to thank you for making me seem like such a good baker! All credits to you! thanks for this delicious raspberry cake recipe, I will make it again for new Year!

      2. Emily @ Sugar Spun Run says:

        We are so happy everyone enjoyed it so much, Alice! Thanks for trying our recipe 🥰

  9. Theo Johnston says:

    How can I make this cake with only 2 layers? Is there difference in the recipe?

    1. Sam says:

      Hi Theo! The cake layers are thinner so you could likely split it between 2 pans making sure to not overfill them. I’m not sure on a bake time so you will want to keep an eye on them. You won’t want to use all of the raspberry filling as the cakes would likely end up sliding off of each other if you did. You won’t have quite the same ratio of raspberry to chocolate in the end.

  10. Leslie K says:

    Do you think I could make this as a sheet cake and have it sturdy enough to hold the filling? I realize I’ll need to adjust filling/frosting amount to cover. Thanks!

    1. Sam says:

      Hi Leslie! That’s actually a great question. The cake layers are pretty delicate so I’m not sure how it would hold up. The cake layer may crumble a bit. If you do try it, I would love to know how it goes. 🙂

  11. Anji says:

    5 stars
    This is a foolproof recipe💕. This is the first cake I managed to bake to perfection. Super moist and decadent. Love this cake. Thank you for the amazing recipe. This is my favourite cake so far.

    1. Sam says:

      I’m so glad you enjoyed it so much, Anji! 🙂

  12. Maureen Casey from New Zealand. says:

    5 stars
    Hello Sam,
    I made the beautiful cake for my partner to take to work and the verdict—–Absolutely beautiful!!!!! So much so, now I have to make a Vanilla One for a workmates wife’s Birthday, so I have just printed off your Chantilly Cake recipe.

    Thank you for your recipes
    ps, I didn’t even get to taste this cake so I guess I will be making another one for me!!!!

    1. Sam says:

      I’m so glad it was such a hit, Maureen! 🙂

    2. Vicki says:

      5 stars
      I made this cake for my daughter’s birthday and it was a hit!! Couple questions – what is the recipe for the crunchy topping you mentioned to use before the ganache? Also, is there a way to seed your raspberries before making your jam filling? I cooked and made jam according to recipe and then tried to puree it a little to help with seeds!

      1. Sam says:

        Hi Vicki! I’m so glad you enjoyed it so much! I’m not sure what crunchy topping you are referring to. You could reduce the seeds in the jam by straining it, but you will lose a good bit of jam doing that.

  13. Georgia says:

    Hi! Can I use just two tins for this recipe, instead of three?

    1. Sam says:

      Hi Georgia! You could make this 2 layers. You’d likely need less filling and I’m not sure on a bake time for the cakes.

  14. Sallie says:

    I am looking forward to trying this recipe. Can I use same measurements to make 2 8 or 9 inch cakes instead of three?

    1. Sam says:

      Hi Sallie! The cake will work as a 2 layer cake, but you won’t be able to use all of the filling. It would just be too much. 🙂

  15. Jill says:

    Hi Sam. This is a very interesting recipe and one I would like to try for Mother’s Day. One thing I’d like to know, can this cake once filled and frosted be kept on the counter or does it have to be refrigerated? Thank you.

    1. Sam says:

      Hi Jill! I have storage instructions provided below the recipe in the notes section. 🙂

      1. Jill says:

        Hi again Sam. Thank you for your reply. I re read your recipe and all the notes and tips and found your storage advice. Should have noticed it in the first place. My mistake. Thanks. Will make this cake soon. Cheers!

      2. Sam says:

        No worries! I hope you love the cake! 🙂