• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Cambrea Bakes
  • Fall Baking
  • Recipes
  • About
  • Contact
  • Subscribe
menu icon
go to homepage
  • Fall Baking
  • Recipes
  • About
  • Contact
  • Subscribe
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
  • subscribe
    search icon
    Homepage link
    • Fall Baking
    • Recipes
    • About
    • Contact
    • Subscribe
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
  • ×
    Cambrea Bakes » Recipes » Cake and Cupcake Recipes

    Chocolate Cake with Raspberry Filling

    Published: July 21, 2022 Modified: Aug 20, 2023 by Cambrea Gordon. This post may contain affiliate links.

    4.1K shares
    • Facebook
    • Twitter
    • Tumblr
    Jump to Recipe
    chocolate raspberry cake pinterest pin.
    chocolate raspberry cake pinterest pin.
    chocolate raspberry cake pinterest pin.

    This chocolate cake with raspberry filling is a lusciously moist and rich chocolate layer cake with homemade raspberry jam. This impressive but simple dessert is perfect for celebrating any occasion!

    a slice of dark chocolate raspberry cake on a plate.

    Chocolate and raspberries are a match made in heaven to me. My chocolate coffee cake is one of my favorite desserts to make when I'm craving something rich so I swapped out buttercream for raspberry filling and it turned out perfect!

    This chocolate raspberry cake is easy to make with simple ingredients; I love sharing this cake at birthday parties, holidays, or year-round for a weeknight dessert. Every bite is full of fresh raspberry jam and rich chocolate cake; it's super decadent!

    Jump to:
    • Why You'll Love This Chocolate Raspberry Cake
    • Ingredient Notes and Substitutions
    • Recipe Instructions
    • Expert Baking Tips
    • Recipe FAQs
    • other chocolate desserts you'll love
    • Recipe 📖
    • Reviews

    Why You'll Love This Chocolate Raspberry Cake

    • This cake has three layers of rich chocolate cake, silky chocolate buttercream, and raspberry filling.
    • It has a rich chocolate flavor thanks to the chocolate cake and chocolate frosting.
    • Although it looks fancy, it is very easy to make with simple ingredients! I use the same base recipe for my black velvet cake too!
    • You will love this chocolate raspberry cake for celebrating any occasion, like birthdays or holidays!

    Ingredient Notes and Substitutions

    ingredients needed to make this recipe.

    Raspberries: I tested this chocolate raspberry cake with both frozen raspberries and fresh raspberries; both will work. The top of the cake is best decorated with fresh raspberries, though!

    Cocoa powder: Dark cocoa powder is best for a rich and dark chocolate flavor and look. I use this in my chocolate cream cake, too!

    Milk: Whole or 2% milk is best to keep the cake super moist. I use whole milk in all of my chocolate cake recipes, like my chocolate ganache cake!

    Coffee: Don't worry, you won't taste the coffee at all but it makes it extra moist and tender. I use coffee in my mint ice cream cake too!

    Full ingredient measurements and instructions can be found in the recipe card below!

    Recipe Instructions

    Here is how to make this delicious chocolate raspberry cake! Before you start, preheat the oven to 325 F/165 C. Butter and line three 8-inch cake pans with parchment paper.

    Step 1: Make the raspberry jam. In a small pot, combine the frozen raspberries, lemon juice, and sugar. Cook until boiling, then use a spoon to mash the berries. Stir in the cornstarch slurry. Cook a few minutes longer, until the jam is thick, then transfer it to a bowl to cool completely (image 1 below).

    Step 2: Make the chocolate batter. In a large bowl, whisk together the vegetable oil and sugar. Then mix in room temperature eggs and milk. Whisk in the all-purpose flour, cocoa powder, baking powder, baking soda, and salt. Finally, whisk in the hot coffee (image 2 below).

    a process collage of the steps for making chocolate raspberry cake.

    Step 3: Bake the cake layers. Evenly distribute the cake batter into the prepared pans. Bake them on the middle oven rack until a toothpick inserted into the center comes out covered in a few moist crumbs. Allow the layers to cool on a wire rack then remove them from the pans (image 3 above).

    Step 4: Make the chocolate buttercream frosting. In a stand mixer, cream the softened butter with the paddle attachment until smooth. Gradually mix in the powdered sugar and cocoa powder until combined. Then mix in the heavy cream and vanilla and mix until light and fluffy (image 4 above).

    Step 5: Assemble the cake. Place one of the cake layers on a cardboard round or cake plate. Spread a thin layer of the chocolate buttercream on top of the cake, then use a pastry bag to pipe a border of the buttercream around the edge (image 5 below).

    a process collage of the steps for making chocolate raspberry cake.

    Step 6: Fill with raspberry jam. Evenly spread ⅓ cup of the raspberry jam in the center, making sure not to go higher than your buttercream border. Continue with the next layer in the same way (image 6 above).

    Step 7: Frost the outside of the cake. Place the last layer upside down so that the top of it is perfectly flat. Use the rest of the buttercream to cover the entire cake. Use a small offset spatula in a swooping motion to create swirls (image 7 above).

    Step 8: Decorate with raspberries. Decorate the top edge of the cake with lots of fresh raspberries (image 8 above)!

    Expert Baking Tips

    • Use a kitchen scale. Baking with a scale is much more accurate than cup measurements. To convert this recipe, click the "metric" button next to the ingredients title on the recipe card. If you do not have a scale, use a spoon to fluff the flour first, then spoon it into your measuring cup.
    • Don't overbake the cake! This chocolate cake is extremely moist and delicious if baked correctly. A toothpick inserted into the center should come out covered in a few moist crumbs when they are done baking.
    • Make ahead! Make and assemble it ahead of time and store it in the fridge until ready to serve. Let it sit out at room temperature for at least 30 minutes before serving.

    Recipe FAQs

    Can I use store-bought jam instead?

    Yes, but I found that store-bought jams are much sweeter than homemade and can make it too sweet.

    Can I use a different filling flavor?

    Absolutely! You could easily make this with strawberry, blackberry, or any other jam you love in place of the raspberries!

    What is the best way to store chocolate cake with raspberry filling?

    Store any slices of leftover cake wrapped in plastic wrap or in an airtight container for 5 days in the fridge. You can also store the cake whole in the fridge for up to 1 week.

    Can I use a different-sized cake pan?

    Yes! Pour the batter into two 9-inch pans. The layers will take longer than 18-20 minutes so be sure to check them occasionally so they don't overbake.

    Can a chocolate raspberry cake be frozen?

    Yes! Store it whole and uncut in an airtight cake container for up to one month. You can also cut it into slices, wrap them in plastic wrap, and store them in a freezer bag or airtight container for up to one month.

    chocolate cake with raspberry filling on a cake stand.

    other chocolate desserts you'll love

    • slices of chocolate chip pumpkin cake on parchment paper.
      Brown Butter Chocolate Chip Pumpkin Cake
    • chocolate chip blondies stacked on top of each other.
      Brown Butter Chocolate Chip Blondies
    • chocolate snickerdoodle with a bite taken out of it on a tray.
      Chewy Chocolate Snickerdoodles
    • biscoff brownie with a layer of cookie butter in the center.
      Biscoff Brownies

    If you tried this or any other recipe on my website, please let me know how it went in the comments below, I love hearing from you! Also, please leave a star rating while you're there! You can also tag me on Instagram or Facebook so I can check it out!

    Recipe 📖

    a slice of chocolate raspberry cake on a plate with fresh raspberries.
    5 from 52 votes
    Rate this Recipe Print Recipe Pin Recipe

    Chocolate Cake with Raspberry Filling

    This chocolate cake with raspberry filling is a lusciously moist and rich chocolate layer cake with homemade raspberry jam. This impressive but simple dessert is perfect for celebrating any occasion!
    Servings 10 servings
    Prep 45 minutes mins
    Cook 18 minutes mins
    Total 1 hour hr 3 minutes mins
    Course : Dessert
    Cuisine : American
    Author : Cambrea Gordon
    Prevent your screen from going dark

    Equipment

    • 3 8 inch cake pans *SEE NOTES FOR OTHER PAN SIZES*
    Need Metric Measurements?Use the button options below to toggle between US cups and Metric grams!

    Ingredients 
     

    For the Batter

    • 1¾ cups all-purpose flour
    • ¾ cups unsweetened dark cocoa powder
    • ½ teaspoon baking soda
    • 1½ teaspoon baking powder
    • 1 teaspoon salt
    • 2 cups granulated sugar
    • ½ cup canola oil
    • 2 large whole eggs room temperature
    • 1 cup whole or 2% milk room temperature
    • ⅔ cup hot coffee or water I recommend coffee for an even richer flavor. You won't taste it in the cake at all!

    For the Buttercream

    • 1 ½ cup unsalted butter room temperature
    • 2 cups powdered sugar
    • 1 tablespoon unsweetened dark cocoa powder
    • 1 tablespoon heavy cream or milk
    • 2 teaspoon vanilla extract
    • fresh raspberries, for decorating

    For the Raspberry Jam

    • 3 cups frozen raspberries can sub fresh berries
    • ⅓ cup granulated sugar
    • 2 tablespoon lemon juice
    • 1 ½ tablespoon corn starch
    • 1 tablespoon water

    Instructions

    Make the Jam

    • In a small pot, combine the raspberries, sugar, and lemon juice. Cook over medium heat for 12 minutes until they are boiling, then mash them with the back of your spoon.
      3 cups frozen raspberries, ⅓ cup granulated sugar, 2 tablespoon lemon juice
    • Whisk together the corn starch and water and pour it into the jam. Let it cook for another 2-3 minutes until it has thickened.
      1 ½ tablespoon corn starch, 1 tablespoon water
    • Transfer the jam to a bowl to cool completely before using.

    Make the Batter

    • Lightly oil and line the bottoms of three round 8-inch cake pans. Preheat the oven to 325 F/165 C.
    • In a medium bowl, whisk together the flour, cocoa powder, baking soda, baking powder, and salt. Set aside.
      1¾ cups all-purpose flour, ¾ cups unsweetened dark cocoa powder, ½ teaspoon baking soda, 1½ teaspoon baking powder, 1 teaspoon salt
    • In a large bowl, whisk together the oil and sugar until combined.
      2 cups granulated sugar, ½ cup canola oil
    • Whisk in the eggs one at a time until completely combined.
      2 large whole eggs
    • Whisk in the milk.
      1 cup whole or 2% milk
    • Whisk in the dry ingredients until just combined.
    • Finally whisk in the hot coffee until just combined.
      ⅔ cup hot coffee or water
    • Pour the batter evenly between the prepared pans. (about 385 grams in each)
    • Bake the layers on the middle rack for 18-20 minutes, or until a toothpick inserted into the center comes out with just a few moist crumbs.
    • Let the layers cool on a wire rack for 15 minutes, then run a small offset spatula around the sides to release and remove them from the pan. Let them cool completely.

    Making the Buttercream

    • In a stand mixing bowl, cream the butter until smooth with the paddle.
      1 ½ cup unsalted butter
    • Gradually mix the powdered sugar and cocoa powder into the butter.
      2 cups powdered sugar, 1 tablespoon unsweetened dark cocoa powder
    • Mix in the heavy cream and vanilla, then increase the speed to medium and let the buttercream mix for 1-3 minutes or until it looks light and fluffy.
      1 tablespoon heavy cream or milk, 2 teaspoon vanilla extract

    Assembling

    • Place one layer on a platter or cardboard round. Evenly spread a thin layer of frosting across the top.
    • Pipe a border of frosting around the edge.
    • Fill the center with ⅓ cup of the raspberry jam and evenly spread it to the buttercream border. The jam should not go higher than your border otherwise it will leak out of the sides!
    • Continue layering the next layer the same way.
    • For the last layer, place it upside down so that the top is completely flat.
    • Cover the sides and top of the cake with the rest of the buttercream. Use a small offset spatula or spoon in a circular motion to create swirls on the side or decorate it as you wish.
    • Decorate the top border with fresh raspberries and enjoy!
      fresh raspberries, for decorating

    Notes

    *Measure your flour properly. This is my #1 baking tip! Do not ever scoop a measuring cup into your flour as this always leads to using too much flour. Instead, use the spoon-level method. This means fluffing the flour first, then spooning it into your measuring cup/spoon. For the BEST results, use a kitchen scale!*
    FOR A 9-INCH CAKE: Evenly distribute the batter into three 9-inch cake pans. The layers will bake quicker than the indicated baking time so make sure to keep an eye on them for 12-15 minutes.
    FOR A 6-INCH CAKE: Eliminate the baking soda and reduce the baking powder to 1 ½ teaspoons. Evenly distribute the batter into three 6-inch cake pans. Bake the layers at 350 F and begin checking for doneness at 25 minutes.
    Use room temperature ingredients: Using room temperature ingredients creates a smooth, fully blended batter that will result in a uniform texture and even baking.
    Baking times may vary: All ovens are different, and your layers may bake quicker or take longer than the indicated baking time. I recommend always checking on them occasionally and testing for doneness!
    Don't overbake the layers! This chocolate cake is extremely moist and delicious if baked correctly. A toothpick inserted into the center should come out covered in a few moist crumbs when they are done baking.
    Storage & Freezing
    • Make ahead: Make and assemble it ahead of time and store it in the fridge until ready to serve. Let it sit out at room temperature for at least 30 minutes before serving.
    • Fridge: To keep it super moist, store the slices in the fridge after cutting.
    • Freezer: Store the whole cake in an airtight container for 1-2 weeks. You can also cut it into slices, wrap them in plastic wrap, and store them in a freezer bag or airtight container for up to one month!

    Nutrition

    Serving: 1serving | Calories: 772kcal | Carbohydrates: 98g | Protein: 6g | Fat: 43g | Saturated Fat: 20g | Polyunsaturated Fat: 5g | Monounsaturated Fat: 15g | Trans Fat: 1g | Cholesterol: 115mg | Sodium: 382mg | Potassium: 257mg | Fiber: 6g | Sugar: 73g | Vitamin A: 979IU | Vitamin C: 11mg | Calcium: 103mg | Iron: 3mg

    More Cake and Cupcake Recipes

    • Chocolate turtle cupcakes with caramel swirled buttercream, chocolate ganache, and pecans.
      Chocolate Turtle Cupcakes
    • a slice of oatmeal cream pie cake on a plate with a fork.
      Oatmeal Cream Pie Cake
    • Slices of apple cake on a wire rack with vanilla glaze drizzled on top.
      The BEST Cinnamon Apple Cake
    • Ding dong cake on a cake stand cut in half to show the cream filling layer.
      Ding Dong Cake with Cream Filling

    Reader Interactions

    Comments

      Leave a Reply Cancel reply

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

      Recipe Rating




    1. Patricia says

      May 28, 2023 at 8:49 pm

      5 stars
      I made is cake for my Mom's birthday it turn out great. I was a little apprehensive about trying it, because I am new to baking but this turn out well.

      Reply
    2. Alena Hills says

      April 04, 2023 at 10:44 am

      I'm going to try this recipe for Easter! Any idea how i should adjust the cooking time/recipe if i want to make mini round cakes?

      Reply
      • Cambrea Gordon says

        April 04, 2023 at 12:00 pm

        Hi Alena, I'm not sure because I haven't personally tested it, but I would bake them at 350 F and check them around 15-16 minutes for doneness!

        Reply
    3. Robin says

      February 16, 2023 at 5:58 pm

      5 stars
      Hi Cambrea. I am a fan of your recipes. I made the raspberry chocolate cake in 2 6in pans and did 4 layers. It was wonderful. I use Whisk app to save recipes. I went through a chefs program where I worked, a country club. I also had a private chef gig.
      I am just getting back into cooking and baking at home.
      Thanks for your inspiration.

      Reply
      • Cambrea Gordon says

        February 16, 2023 at 6:13 pm

        Aw, thank you Robin! I'm so glad to hear it was enjoyed 🙂

        Reply
    4. Mani says

      February 12, 2023 at 3:03 pm

      5 stars
      Loved this recipe! Absolutely delicious and soooo soft 🤤 However I was wondering how much batter this recipe makes? Thank you x

      Reply
      • Cambrea Gordon says

        February 13, 2023 at 10:55 am

        Hi Mani! That is so wonderful to hear! I'm honestly not sure how many cups it makes, I have never measured it before!

        Reply
    5. Diana Sokhachev says

      February 12, 2023 at 7:43 am

      5 stars
      Made this for my son’s birthday party. It was a huge hit! It was the only dessert that completely disappeared! The only thing I would’ve changed is put a little less powdered sugar in the frosting, but that’s just my preference. Thank you for a dreamy chocolate raspberry cake ❤️

      Reply
      • Cambrea Gordon says

        February 13, 2023 at 10:54 am

        That is so wonderful to hear! Thank you for the kind review Diana! 🙂

        Reply
    6. Tina says

      February 03, 2023 at 1:52 pm

      5 stars
      I strain the raspberries and they are delicious without the seeds. Our favorite cake 👍🏻

      Reply
      • Cambrea Gordon says

        February 03, 2023 at 6:19 pm

        Thank you so much for the kind review Tina!

        Reply
    7. Judy says

      January 25, 2023 at 7:22 pm

      Can this be made into cupcakes? Pipe some of the jam into the cake?

      Reply
      • Cambrea Gordon says

        January 26, 2023 at 8:47 am

        Hi Judy! You could definitely make it into cupcakes. Once they are cool you can use a knife to cut out some of the center and fill it with the jam.

        Reply
    8. Amanda says

      January 20, 2023 at 2:18 am

      Can you clarify the cocoa powder, should I used the Dutch process powder or like a hersheys chocolate powder?

      Reply
      • Cambrea Gordon says

        January 24, 2023 at 9:54 am

        You can definitely use Hershey's chocolate powder! I recommend using the "dark cocoa powder" specifically if you can find it!

        Reply
    9. Ann says

      December 07, 2022 at 8:20 am

      I'm so eager to try making this beauty 😍
      Can I use anything else for canola oil? Maybe olive or coconut? Thank you ♥️

      Reply
      • Cambrea Gordon says

        December 07, 2022 at 8:43 am

        You could use either one or grapeseed, vegetable, etc. It will definitely give the cake a slightly different flavor depending on which one but it will work just fine 🙂

        Reply
        • Ann says

          December 14, 2022 at 7:36 am

          5 stars
          I used an extra virgin olive oil and the cake was so delicious! Moist chocolate layers, the filling is a huge win and overall, it's such an incredible treat! Absolutely loved it, thank you so much for this marvelous recipe! ✨🎉

          Reply
          • Cambrea Gordon says

            December 14, 2022 at 9:18 am

            Yay! I am so happy to hear that Ann, thank you so much for coming back to leave a review! 🙂

            Reply
    10. Lisa says

      November 26, 2022 at 8:47 pm

      5 stars
      Absolutely delicious. So moist and not too sweet. I go TM loads of compliments on this. I didn't have enough frosting so I made an extra third of the butter cream recipe. Had plenty of the jam filling leftover and should have used more of it in the cake. The tip to,pipe the edges of the layers Tom keep the jam from spilling it of the side was spot on.. Thanks for this recipe-can't wait to try another one of yours.

      Reply
      • Cambrea Gordon says

        November 27, 2022 at 8:48 am

        Thanks so much Lisa! I'm so glad you enjoyed this cake, it's one of my favorites! 🙂

        Reply
    11. Chrissy says

      October 23, 2022 at 10:17 pm

      5 stars
      omggg my mom made this for my birthday but instead of chocolate frosting we did vanilla and it was so good!

      Reply
    12. Liza says

      October 14, 2022 at 3:15 pm

      5 stars
      This chocolate cake is so delicious, moist and filled with "berry" wonderful flavors. Love the homemade frosting, too!

      Reply
    « Older Comments

    Primary Sidebar

    head shot of cambrea.

    Hey, I'm Cambrea!

    Cambrea is a professionally trained pastry chef and food photographer. Here you'll find bakery-worthy sweet and savory kitchen-tested recipes that are unique twists on classics. Cambrea has been featured on Fox News, Shoutout Arizona, The Feed Feed, Domino Sugar, and more.

    More about me →

    Fall Recipes

    • toffee chocolate chip cookie on a baking tray topped with extra toffee pieces.
      Brown Butter Toffee Chocolate Chip Cookies
    • A collage of four pumpkin dessert photos.
      18 Unique Pumpkin Desserts
    • Chocolate turtle cupcakes with caramel swirled buttercream, chocolate ganache, and pecans.
      Chocolate Turtle Cupcakes
    • Chocolate chip pumpkin cookies on parchment paper.
      Chewy Pumpkin Chocolate Chip Cookies
    • a slice of oatmeal cream pie cake on a plate with a fork.
      Oatmeal Cream Pie Cake
    • Slices of apple cake on a wire rack with vanilla glaze drizzled on top.
      The BEST Cinnamon Apple Cake

    Cookie Recipes

    • a pile of chocolate chip pecan cookies topped with chocolate chips and flaky sea salt.
      Molasses Chocolate Chip Pecan Cookies
    • a few brownie crinkle cookies on brown parchment paper sprinkled with sea salt.
      Salted Mocha Brownie Cookies
    • butterscotch cookies with chocolate chips on parchment paper.
      Chewy Butterscotch Chocolate Chip Cookies
    • a stack of mango cookies with the top one missing a bite.
      Coconut Mango Cookies
    • oreo cheesecake cookie cut in half to show the cheesecake center.
      Oreo Cheesecake Cookies
    • peach cobbler cookies with peach jam and glaze on top.
      Peach Cobbler Cookies

    Cake Recipes

    • chocolate ganache cake cut in half on a wooden cake stand.
      Malted Chocolate Ganache Cake
    • slices of mint chocolate chip ice cream cake on parchment paper.
      Mint Chocolate Chip Ice Cream Cake
    • lemon poppy seed cupcakes on a white marble plate.
      Angel Food Lemon Poppy Seed Cupcakes
    • cookie butter cake with cookie butter on top.
      Biscoff Cookie Butter Cake

    Brownie Recipes

    • nutella bars stuffed with gooey nutella in the center.
      Easy Brown Butter Nutella Bars
    • oreo brownie topped with chopped oreo cookies.
      Oreo Brownies
    • mm brownies on a wire rack with one on its side to show the texture.
      M&M Brownies
    • a rocky road brownie on top of another.
      Rocky Road Brownies

    Footer

    ^ back to top

    read our terms

    • Privacy Policy
    • Accessibility Policy

    keep in touch

    • Sign Up! for emails and exclusive email-only recipes.
    • Find us on Instagram
    • Find us on Facebook
    • Find us on Pinterest

    about

    • About
    • Contact Me

    As an affiliate partner, I earn a small commission from qualifying purchases, at no cost to you. I only recommend products I really use and love.

    Copyright © 2023 Cambrea Bakes LLC