• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Sweetly Cakes
  • Home
  • Recipe index
  • Cakes
  • Frosting & filling
  • Cupcakes
  • Cake basics
  • Brownies
  • Cookies
  • About
  • Contact
  • Français
menu icon
go to homepage
subscribe
search icon
Homepage link
  • Home
  • Recipe index
  • Cakes
  • Frosting & filling
  • Cupcakes
  • Cake basics
  • Brownies
  • Cookies
  • About
  • Contact
  • Français
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • YouTube
  • ×
    Home / Desserts / Cakes

    Chocolate Raspberry Cake

    Last update: Oct 1, 2025 Published: Sep 9, 2023 by Fadela This post may contain affiliate links

    Jump to Recipe·Print Recipe·5 from 3 reviews

    This chocolate raspberry cake has moist chocolate layers, a homemade raspberry compote filling, and a smooth ganache drip. Rich, fruity, and perfect for any celebration.

    Slice of chocolate raspberry cake on a plate with ganache and fresh raspberries
    Jump to:
    • Why you'll love this recipe
    • Ingredient for chocolate raspberry cake
    • How To Make Chocolate Raspberry Cake
    • Tips for this recipe
    • Variations & Substitutions
    • Recipe Questions
    • You will also love
    • Chocolate Raspberry Cake

    I love making this chocolate raspberry cake when I need a dessert that looks gorgeous but is simple enough to bake at home.

    The mix of chocolate and raspberry is always a hit, and this cake is perfect for birthdays, Valentine’s Day, or any family celebration.

    It’s built with soft, moist chocolate cake layers, a homemade raspberry compote that adds a fresh fruity touch, and a smooth chocolate ganache on top with that shiny drip everyone loves. Every slice has the perfect balance of rich chocolate and tangy raspberry flavor.

    Why you'll love this recipe


    • Moist & Rich - Soft chocolate cake layers that stay tender and full of flavor.
    • Fresh & Fruity - A homemade raspberry compote adds a tangy, refreshing twist.
    • Showstopping Finish - Covered in smooth ganache with a glossy drip that looks bakery-worthy.

    Ingredient for chocolate raspberry cake

    • Chocolate Cake: Vegetable oil, granulated sugar, large eggs at room temperature, cake flour, unsweetened cocoa powder, baking powder, baking soda, buttermilk, vanilla extract, and a pinch of salt.
    • Raspberry Filling: Fresh or frozen raspberries, sugar, and a splash of lemon juice.
    • Chocolate Ganache Frosting: Baking chocolate and heavy cream.
    Chocolate raspberry cake cut to show moist layers and raspberry filling

    How To Make Chocolate Raspberry Cake

    Here are some quick visual instructions. Don't forget that full instructions with exact ingredients can be found in the main recipe card below!

    In a large mixing bowl, whisk together the vegetable oil, granulated sugar, eggs, and vanilla extract until smooth and well combined.

    Combine dry and wet Incorporate the sifted dry ingredients (cake flour, cocoa powder, baking powder, baking soda, and salt) into the batter in two additions, alternating with the buttermilk mixed with warm coffee.

    Mixing bowl with oil, sugar, eggs and vanilla for chocolate cake batter
    Chocolate cake batter with cocoa powder and flour in a bowl

    Divide the batter evenly between three 6-inch (15 cm) round cake pans lined with parchment paper on the bottom.

    Bake in a preheated oven at 325°F / 165°C for about 35–40 minutes, or until a toothpick inserted in the center comes out clean.

    Chocolate cake batter in a prepared round cake pan
    Three baked chocolate cake layers cooling on a wire rack

    Place the fresh or frozen raspberries, sugar, and lemon juice in a medium saucepan.

    Cook over medium heat for about 10 minutes, stirring often, until the mixture thickens into a jam-like raspberry compote.

    Fresh raspberries, sugar and lemon juice in a saucepan for raspberry filling
    Homemade raspberry compote for chocolate raspberry cake filling

    Finely chop the chocolate and place it in a large bowl. Heat the heavy cream until just simmering, then pour it over the chocolate. Let sit a minute, then stir until smooth and glossy. Cover with plastic wrap and chill in the fridge for 2–3 hours, until slightly firm.

    Once cooled, whip the ganache with an electric mixer on medium speed for about 2 minutes, until lighter, airy, and spreadable. Keep at room temperature until ready to frost the cake.

    Heavy cream poured over chopped chocolate to make ganache frosting
    Mixing bowl with whipped chocolate ganache frosting


    Level the chocolate cake layers. Place the first layer on a cake board, add chocolate ganache, pipe a border, and fill the center with raspberry compote. Repeat with the next layers.

    Cover the cake with a thin crumb coat, chill, then frost with a smooth layer of ganache. Finish with a glossy chocolate drip and decorate with fresh raspberries.

    >> You'll also love: How to frost a cake for perfect results

    Cake turntable with two layers of chocolate cake filled with ganache and raspberry compote
    Three layers of chocolate raspberry cake stacked before frosting

    Tips for this recipe

    • Level the cakes → Trim the tops so the layers stack evenly.
    • Chill the ganache → Let it set before whipping for a smooth texture.
    • Seal with a crumb coat → A thin first layer locks in crumbs for a clean finish.
    Chocolate raspberry ganache layer cake decorated with fresh raspberries

    Variations & Substitutions

    • Chocolate Raspberry Cupcakes – Turn this recipe into chocolate raspberry cupcakes by baking the batter in a muffin tin and filling each center with raspberry compote.
    • Chocolate Strawberry Cake – Try the same idea with strawberries instead of raspberries like this strawberry chocolate cake.
    • White Chocolate Raspberry Cake – Swap the dark chocolate ganache for a sweet white chocolate frosting to change up the flavor.

    Recipe Questions

    Can I use frozen raspberries for the filling?

    Yes! Frozen raspberries work perfectly for the compote.

    Can I make the cake ahead of time?

    You can bake the chocolate cake layers 1–2 days ahead and keep them wrapped in the fridge, or freeze them for up to 1 month.

    How do I get a smooth ganache drip?

    Make sure your ganache is slightly cooled but still pourable. Test on the side of the bowl before dripping.

    How should I store this chocolate raspberry cake?

    Keep it covered in the fridge for up to 3–4 days. Bring to room temperature before serving for the best texture.

    You will also love

    • Cinnamon Roll Cake
    • Rainbow Cake
    • Which Cake is Best for Layer Cakes? 5 Foolproof Recipes You’ll Love
    • Pistachio Raspberry Cake
    Slice of chocolate cake with raspberry filling and ganache drip, served with fresh berries

    I hope you love this chocolate raspberry cake. If you make it, be sure to leave a comment and a rating so I know how you liked it. Happy Baking!

    Print
    clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon

    Chocolate Raspberry Cake


    5 Stars 4 Stars 3 Stars 2 Stars 1 Star

    5 from 3 reviews

    • Author: Fadela
    • Total Time: 1 hour 25 minutes
    • Yield: 8 slices
    Print Recipe
    Save Recipe Recipe Saved

    Description

    A delicious chocolate raspberry cake made from a moist buttermilk chocolate cake layer filled with a fruity raspberry filling, chocolate ganache and chocolate drip (for a 6 inches / 15 cm diameter cake, 8-10 slices).


    Ingredients

    Chocolate cake

    • 225 g (1 ¾ cups) cake flour
    • 80 g (¾ cup) unsweetened cocoa powder
    • 1 tsp baking soda
    • ½ tsp baking powder
    • ¾ tsp salt
    • 160 ml (⅔ cup) vegetable oil
    • 340 g (1 ¾ cups) granulated sugar
    • 3 large eggs, room temperature
    • 1 ½ tsp vanilla extract
    • 150 ml (⅔ cup) buttermilk
    • 125 ml (½ cup) hot coffee/water

    Raspberry cake filling

    Make my raspberry compote recipe

    Chocolate ganache

    • 400 g (2 ½ cups - 14 0z)  semi-sweet chocolate
    • 450 ml (2 cups) Heavy Cream - full fat

    Chocolate drip

    • 50 g (1.8 oz) chocolate
    • 50 ml (3 tbsp) heavy cream

    Instructions

    Chocolate cake

    1. Preheat the oven to 329°F/165°C° and line 3 6 inches/ 15 cm-diameter baking pans with parchment paper (if you only have one pan, plan to bake the mixture in 3 batches).
    2. In a bowl, mix and sift together the dry ingredients: cake flour, cocoa powder, baking soda, baking powder and salt.
    3. In another bowl, mix together the buttermilk and cooled black coffee and set aside.
    4. In the bowl of a mixer, mix the oil with the sugar, then add the eggs and vanilla extract and mix for at least 3 minutes with an electric mixer.
    5. Add the dry ingredients and the buttermilk and coffee mixture alternately and in batches, mixing with a rubber spatula until you have a smooth, slightly liquid batter.
    6. Divide the mixture into 3 and distribute into the 3 prepared pans, then bake in the oven for around 30-35 minutes until puffed on top and cooked through in the center.
    7. Take the chocolate cakes out of the pans and leave them to cool for a few minutes before unmolding, then cool completely on a wire rack.

    Raspberry filling

    Follow my recipe for raspberry compote.

    Chocolate ganache

    1. Finely break or chop the chocolate and place in a large bowl.
    2. Heat the heavy cream in a saucepan over medium heat until simmering.
    3. Pour the hot cream over the chocolate all at once and leave for a few moments.
    4. Mix with a hand whisk or spatula until you have a smooth, lump-free liquid ganache (use a hand blender if necessary to smooth the ganache).
    5. Cover on contact and place in the fridge for 2-3 hours, until the ganache is at around 71°F / 22°C.
    6. Whip the cooled ganache with an electric mixer or a stand mixer fitted with the whisk attachment for about 2 minutes at medium speed until you obtain a smooth ganache.

    Chocolate drip

    1. In a double boiler or in the microwave, melt the chopped chocolate with the heavy cream until you have a liquid glaze.
    2. Allow to cool at room temperature to 32°C before using on the cake.

    Assemble the cake

    1. Cut out the bumps on the 3 cakes using a cake leveler or large saw knife.
    2. Place the first layer of chocolate cake on a cake board placed on a cake decorating turntable.
    3. If necessary, apply a ring of chocolate ganache to the outer edges of the cake, then fill the inside with the raspberry filling.
    4. Place a second layer of cake and repeat this last step for the remaining layers of cake.
    5. Cover the whole cake with a thin layer of chocolate ganache, and spread with an angled spatula to seal in the crumbs. If necessary, place the cake in the fridge for 20 minutes.
    6. Apply a new layer of chocolate ganache to the cake and smooth it with icing smoother.
    7. Drizzle the runny chocolate glaze over the top of the cake and decorate with fresh raspberries.
    8. Place in the fridge for about 1 hour before serving.

    Equipment

    Airtight container

    Buy Now →
    Image of Angled Spatula

    Angled Spatula

    Buy Now →
    Image of cake carrier

    cake carrier

    Buy Now →

    cake pan

    Buy Now →

    Hand mixer

    Buy Now →

    Stand mixer

    Buy Now →

    Notes

    Storage: Keep the chocolate raspberry cake in the fridge for 4–5 days, or freeze for up to 3 months.

    Tips:

    • Use a digital kitchen scale for the most accurate measurements.
    • No buttermilk? Replace with plain yogurt thinned with milk, or milk mixed with 1 tbsp vinegar or lemon juice.
    • If you don’t want to use coffee, simply substitute with water.
    • Prep Time: 50 minutes
    • Cook Time: 35 minutes
    • Category: cake, layer cake, dessert
    • Cuisine: American

    Did you make this recipe?

    Tag @sweetlycakes on Instagram

    « Strawberry Cake Pops
    Chocolate Cake Pops »

    Reader Interactions

    Comments

    1. Prettypendants

      July 15, 2015 at 12:54 pm

      WA-HOU it is superb, what a job. Tasty, beautiful, perfect ! Kisses

      Reply
      • Fadela

        July 18, 2015 at 5:30 am

        Yes too greedy, thank you very much

        Reply
    2. Mélina & Chocolat

      July 15, 2015 at 4:02 pm

      Oulala what a beautiful cake!

      Reply
      • Fadela

        July 18, 2015 at 5:29 am

        Thank you very much

        Reply
    3. Fais-moi croquer

      July 15, 2015 at 4:59 pm

      I'm impressed, it's really wow!

      Reply
      • Fadela

        July 18, 2015 at 5:28 am

        Thank you Bénédicte, even if I find it full of faults, it was very good

        Reply
    4. Elodie

      July 22, 2015 at 11:52 am

      Hello, is it possible to freeze it?

      Reply
      • Fadela

        July 23, 2015 at 9:20 am

        Hello yes it is possible, I give the information in the article for freezing.

        Reply
    5. Brun

      November 13, 2018 at 1:20 pm

      Hi, I'd like to know what buttermilk is... is unsweetened condensed milk the same thing?
      Cake yeast ... is it baking powder?
      And black coffee ... just water with a few spoonfuls of coffee?
      I hope you can answer me .... this recipe looks perfect ^^
      Sincerely

      Reply
      • Fadela

        November 14, 2018 at 9:23 am

        buttermilk and sweetened condensed milk are not at all the same thing. You'll find buttermilk in the dairy section of supermarkets next to fresh milk. If you don't have any, you can replace it with semi-skimmed milk.
        Cake yeast is bagged baking powder (not dry baker's yeast).
        Black coffee stick is optional, but you can also replace it with coffee diluted in hot water.

        Reply
    6. Monika

      September 12, 2023 at 3:58 pm

      Being that I am too lazy and poor to make (or buy) raspberries for the compote, could I replace that with raspberry jam? If so, how much jam would I use for the filling? Thank you and God bless you.

      Reply
      • Fadela

        September 12, 2023 at 4:03 pm

        Hi Monika, no worries, I mentioned on the post that you can replace it with raspberry jam, you need about 2 large tablespoons of jam for the 2 layers, that's about 80 g of jam (1/3 cup). See you soon and don't hesitate to leave a review of the recipe when you've made it.

        Reply
    7. Fadela

      August 25, 2025 at 7:14 pm

      Hi! Just to clarify — it’s a raspberry compote, not a ganache, so it’s naturally softer. For a firmer texture you can cook it longer to reduce the liquid, or mix in a little cornstarch or raspberry jam so it holds better between the layers.

      Reply

    Leave a Reply Cancel reply

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

    Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

    Primary Sidebar

    Hello and welcome to my blog! Fully addicted to cakes, blogging, and beautiful pictures! I share with you on this blog some tips and my favorite baking recipes which I hope will help you to enjoy your loved ones!

    More about me →

     Popular Posts

    • Cinnamon Sugar Cookies
    • The Best Brown Butter Snickerdoodles
    • Cinnamon Whipped Cream (Mascarpone Frosting)
    • Cinnamon Cupcakes

    Follow us

    Search on the blog

    Footer

    ↑ back to top

    About

    • Privacy Policy
    • About me
    • Recipes

    Newsletter

    • Sign Up! for emails and updates

    Contact

    • Contact
    • Work with me
    • Français

    As an Amazon Associate, I earn from qualifying purchases.

    Copyright © 2023 SWEETLYCAKES