• Skip to main content
  • Skip to primary sidebar
Julia's Album
menu icon
go to homepage
  • Subscribe
  • Save Recipes!
  • About
  • Salads
  • Pasta
  • Chicken
  • Seafood
  • All Main Courses
  • Latest Recipes
  • Recipe Index
    • Facebook
    • Instagram
    • Pinterest
  • subscribe
    search icon
    Homepage link
    • Subscribe
    • Save Recipes!
    • About
    • Salads
    • Pasta
    • Chicken
    • Seafood
    • All Main Courses
    • Latest Recipes
    • Recipe Index
    • Facebook
    • Instagram
    • Pinterest
  • ×

    Chocolate Raspberry Cake

    By Julia | Updated: Nov 23, 2026 | Published: Nov 23, 2026 | Leave a Comment

    • Facebook
    Jump to Recipe Print SaveSaved!

    My chocolate raspberry cake has three moist chocolate layers, a sweet-tart homemade raspberry filling, and a fluffy chocolate buttercream. It's a showstopper for birthdays, Valentine's Day, and holiday dinners!

    A slice of three-layer chocolate cake with chocolate frosting and raspberry jam filling, topped with fresh raspberries and chocolate shavings.

    Three-Layer Chocolate Raspberry Cake

    Chocolate and raspberry is my favorite dessert pairing, and this cake puts both front and center. You get three tall chocolate layers, a bright raspberry filling, and a silky chocolate buttercream in every slice. If you loved my flourless chocolate cake with raspberries and my simple raspberry lemon cake, I encourage you to save this one for your next celebration!

    A sliced chocolate cake topped with fresh raspberries and chocolate shavings.

    The cake layers stay moist for days thanks to sour cream and hot coffee. The coffee deepens the chocolate flavor, but you won't taste it in the finished cake. I use Dutch-process cocoa in both the cake and the buttercream for a darker, smoother chocolate taste. It's the same rich flavor you'll find in my Guinness chocolate cake with cream cheese filling.

    The raspberry filling cooks on the stovetop in about 10 minutes. It's tangy and fruity, and it cuts through the rich buttercream so every bite tastes balanced. I pipe a buttercream dam around each layer to keep the filling in place. Love raspberries as much as I do? Try my stunning creamy raspberry cheesecake, easy no-bake raspberry cream pie with a chocolate crust, or fan-favorite raspberry cheesecake bars next!

    A slice of three-layer chocolate cake with raspberry filling, topped with fresh raspberries and chocolate shavings.

    Why You'll Love It (In a Nutshell)

    • Moist, tender chocolate layers that stay soft for days
    • Homemade raspberry filling with just 7 simple ingredients
    • Works with fresh or frozen raspberries
    • Make-ahead friendly (bake the layers and cook the filling a day early)
    • Serves a crowd, with 12-14 generous slices
    • Did I say it's a stunning cake? Gorgeous for birthdays, holidays, and Valentine's Day
    Chocolate frosted cake topped with fresh raspberries and chocolate shavings.
    A chocolate-frosted cake topped with fresh raspberries and chocolate shavings, viewed from directly above.

    My Favorite Raspberry Filling for Cake

    This raspberry filling is thick, glossy, and tastes like real fruit. I cook the berries with sugar, lemon juice, vanilla, and a pinch of salt. Then I thicken everything with a quick cornstarch slurry. It sets up nicely once chilled, so it stays put between the layers.

    I left the seeds in because I like the texture. If seeds bother you, press the filling through a fine mesh sieve. It's one extra step, and it gives you a silky, jam-like filling.

    You may have a little filling left over. Spoon it over a slice of my classic New York-style cheesecake or stir it into yogurt. If you love a pretty berry swirl, my raspberry cheesecake bars are another great way to use raspberries.

    A slice of chocolate layer cake with chocolate frosting and a bright red raspberry filling on a small plate, garnished with fresh raspberries and chocolate shavings.

    Ingredients and Substitutions

    This recipe has 4 components: chocolate cake layers, raspberry filling, chocolate buttercream, and a simple decoration. You can find the complete recipe in the recipe card below.

    1) Chocolate Cake Ingredients

    • All-purpose flour + cornstarch: I use all-purpose flour plus 2 tablespoons of cornstarch. The cornstarch makes the crumb softer and more tender. If you skip it, the cake still works, with a slightly sturdier crumb.
    • Dutch-process cocoa powder: This gives the layers a deep, dark color and a smooth chocolate flavor. Natural unsweetened cocoa works too, but the cake will be lighter in color.
    • Baking soda + baking powder:  I use both so the layers rise evenly. Make sure they're fresh.
    • Granulated sugar + light brown sugar: The brown sugar adds moisture and a soft caramel flavor. Pack it into the cup. Dark brown sugar works too.
    • Eggs + egg yolk: The extra yolk makes the layers richer. Use room-temperature eggs so the batter mixes smoothly.
    • Sour cream: Full-fat sour cream keeps the crumb soft and moist. Plain full-fat Greek yogurt is the best swap.
    • Vegetable oil: Oil keeps the cake moist, even straight from the fridge. Canola or any neutral oil works.
    • Hot coffee: I make it with espresso powder or a double espresso topped up with hot water. It deepens the chocolate flavor, and the cake doesn't taste like coffee. Hot water works if you prefer.
    Chocolate cake topped with fresh raspberries and chocolate shavings.

    2) Raspberry Filling Ingredients

    • Raspberries: Fresh or frozen both work. I used frozen and added them straight to the pan.
    • Granulated Sugar: Sweetens the berries and balances their tartness.
    • Cornstarch + water: This is what thickens the filling. I don't recommend skipping it, or the filling will run out the sides.
    • Lemon juice, vanilla, and salt: These small additions make the raspberry flavor taste brighter.
    A slice of chocolate layer cake filled with raspberry jam, served with fresh raspberries.

    3) Chocolate Buttercream Ingredients

    • Butter: It should be softened to room temperature, not melted. It should hold a fingerprint. I beat it on its own for 3-5 minutes first, so the frosting turns out light and fluffy.
    • Dutch-process cocoa powder: Same cocoa as the cake. Sift it if it's lumpy.
    • Powdered sugar: Sifting gives you the smoothest frosting.
    • Heavy cream: Start with 4 tablespoons and add the fifth only if the buttercream is too stiff. Whole milk works too.
    • Vanilla extract + fine salt: The salt keeps the frosting from tasting overly sweet.

    4) Decoration

    • Fresh raspberries: Pat them dry so they don't bleed into the frosting.
    • Dark chocolate: I shave 2 squares of dark chocolate with a vegetable peeler. If the chocolate is too cold, it breaks into flakes. Hold it in your hands for a minute first for longer curls.
    This photo shows the ingredients for Raspberry Chocolate Cake: flour, cocoa powder, sugar, eggs, raspberries, butter, sour cream, oil, hot coffee, and chocolate-are arranged neatly on a light surface, each labeled clearly.
    A slice of chocolate cake with raspberry filling, topped with fresh raspberries and chocolate shavings on a plate.

    FAQ

    1. Can I use raspberry jam instead of homemade filling? Yes. Use about 1 cup of good-quality seedless raspberry jam. The cake will be a bit sweeter. My lemon raspberry layer cake uses jam for the filling, and it works beautifully.
    2. Why is my cake batter so thin? That's normal! The hot coffee thins the batter a lot, and that's exactly what keeps these chocolate layers so moist. Pour it into the pans and bake as written.
    3. Can I bake this in two 9-inch pans? You can. You'll get two thicker layers with one layer of filling. Start checking at about 30 minutes, and bake until a toothpick comes out with a few moist crumbs.
    4. Why does the cake need to chill before slicing? The chill sets the buttercream and the filling. That gives you clean, neat layers. Let slices sit out for about 30 minutes before serving so the frosting softens.
    5. Can I make this cake ahead of time? Absolutely. Bake the layers and cook the filling a day ahead. You can also assemble the whole cake the day before and keep it in the fridge.
    A slice of chocolate cake with raspberry filling and chocolate frosting on a plate with fresh raspberries and chocolate shavings.
    A sliced chocolate layer cake filled with raspberry jam and topped with fresh raspberries and chocolate shavings.
    No ratings yet

    Chocolate Raspberry Cake (3 Layers, Chocolate Buttercream)

    This chocolate raspberry cake has three moist chocolate layers, a homemade raspberry filling made with fresh or frozen berries, and a silky chocolate buttercream. It's rich, tangy, and perfect for birthdays, holidays, and any celebration.
    Print Recipe Pin Recipe Save RecipeSaved!
    Prep Time 45 minutes mins
    Cook Time 32 minutes mins
    Total Time 1 hour hr 17 minutes mins
    Course Dessert
    Cuisine American
    Servings 14 slices
    Calories per serving 827 kcal
    Author: Julia

    Ingredients

    For the Chocolate Cake

    • 2 ½ cups all-purpose flour
    • 2 tablespoons cornstarch
    • ¾ cup Dutch-process cocoa powder
    • 2 teaspoons baking soda
    • 1 teaspoon baking powder
    • ¾ teaspoon fine salt
    • 1 cup granulated sugar
    • 1 ¼ cups light brown sugar packed
    • 3 large eggs room temperature
    • 1 large egg yolk room temperature
    • 1 cup sour cream full-fat, room temperature
    • ¾ cup vegetable oil
    • 1 tablespoon vanilla extract
    • 1 cup hot coffee made with espresso powder or a double espresso topped up with hot water

    For the Raspberry Filling

    • 3 cups fresh raspberries or frozen raspberries, we used frozen
    • ½ cup granulated sugar
    • 2 teaspoons lemon juice
    • ½ teaspoon vanilla extract
    • pinch fine salt
    • 2 tablespoons water
    • 1 tablespoon cornstarch

    For the Chocolate Buttercream

    • 1 ½ cups unsalted butter softened to room temperature
    • ¾ cup Dutch-process cocoa powder
    • 5 ¼ cups powdered sugar
    • 4-5 tablespoons heavy cream
    • ¼ teaspoon fine salt
    • 2 ½ teaspoons vanilla extract

    For the Decoration

    • Fresh raspberries
    • 2 squares dark chocolate shaved with a vegetable peeler to make curls
    US Customary - Metric
    Prevent your screen from going dark

    Instructions 

    • Prep: Preheat the oven to 350°F (175°C). Grease three 8-inch round cake pans and line the bottoms with parchment paper.
    • Make the cake batter: In a large mixing bowl, whisk together the flour, cornstarch, cocoa powder, baking soda, baking powder, salt, granulated sugar, and brown sugar.
    • In a separate bowl, whisk together the eggs, egg yolk, sour cream, oil, and vanilla until smooth.
    • Pour the wet ingredients into the dry ingredients and mix until just combined. Slowly pour in the hot coffee, mixing gently until a smooth batter forms. The batter will be thin, which is expected.
    • Divide the batter evenly between the prepared cake pans. For the most even layers, use a kitchen scale and divide the batter by three.
    • Bake for 28-32 minutes, or until a toothpick inserted into the center comes out with a few moist crumbs attached.
    • Allow the cakes to cool in the pans for 15 minutes before turning them out onto a wire rack to cool completely.
    • Make the raspberry filling: Add the raspberries, sugar, lemon juice, vanilla, and salt to a medium saucepan. Cook over medium heat, stirring occasionally, until the berries begin to break down and release their juices.
    • In a small bowl, whisk together the water and cornstarch until smooth.
    • Stir the cornstarch slurry into the raspberry mixture. Keep cooking for 1-2 minutes, stirring constantly, until the filling thickens and bubbles gently.
    • For a smoother filling, press the mixture through a fine mesh sieve to remove the seeds. This step is optional.
    • Transfer the filling to a bowl and cover with plastic wrap pressed directly against the surface. Chill completely before using.
    • Make the chocolate buttercream: Beat the butter for 3-5 minutes until very light and fluffy.
    • Add the cocoa powder and mix until fully incorporated.
    • Gradually add the powdered sugar, mixing on low speed between additions.
    • Add the heavy cream, salt, and vanilla. Beat until smooth and creamy.
    • Keep mixing for another 3-5 minutes until light and fluffy. Transfer a portion of the buttercream to a piping bag with the end snipped off. You'll use it to pipe the buttercream dam.
    • Assemble the cake: Place one cake layer onto a serving plate or cake stand.
    • Spread a thin layer of chocolate buttercream over the cake. Then use the piping bag to pipe a thick buttercream border around the edge to create a dam.
    • Spread a heaping ½ cup of the raspberry filling inside the border.
    • Repeat with the second cake layer.
    • Top with the final cake layer.
    • Apply a thin crumb coat of buttercream on the top and up the sides of the cake, then refrigerate for 20 minutes.
    • Cover the cake with the remaining buttercream and smooth as desired.
    • Chill and decorate: Refrigerate the cake for at least 1 hour before slicing for the cleanest layers. Decorate with fresh raspberries and chocolate curls.

    Notes

    • Make Ahead: Bake the cake layers up to 1 day ahead. Wrap the cooled layers tightly and keep them at room temperature. The raspberry filling can be made up to 2 days ahead and kept covered in the fridge.
    • Thin batter: The batter is supposed to be thin after the coffee goes in. Don't add more flour.
    • No coffee? Use the same amount of hot water. The chocolate flavor will be slightly lighter.
    • Raspberry seeds: I didn't strain the filling. If raspberry seeds bother you, press it through a fine mesh sieve before chilling.
    • Use a kitchen scale: Weighing the batter is the easiest way to get three even layers that bake in the same amount of time.
    • Fresh or frozen berries: Frozen raspberries work just as well as fresh, and you don't need to thaw them first.
    • Fix a loose filling: If the filling is too runny after chilling, return it to the saucepan. Add 1 teaspoon cornstarch mixed with 1 teaspoon water and cook briefly.
    • Chill the filling completely: Cold filling spreads cleanly between the layers. Warm filling softens the buttercream dam and can leak out the sides.
    • Cool the layers completely: Even slightly warm cake will melt the buttercream as you stack.
    • Pipe a buttercream dam: A thick ring of buttercream around the edge of each layer keeps the filling from squeezing out when you stack.
    • Chocolate curls: If the chocolate breaks into flakes, warm the squares in your hands for a minute and try again.
    • Chill before slicing: This cake is very moist, so chilling makes it easier to slice. An overnight chill gives the cleanest slices and lets the flavors meld.
    • Level the Layers: If your cakes dome in the center, trim the tops with a serrated knife before stacking.
    • Clean Slices: Dip a large knife in hot water and wipe it dry between cuts.
    • Special Tools: Three 8-inch Round Cake Pans | Parchment Paper | Kitchen Scale | Medium Saucepan | Fine Mesh Sieve (optional) | Stand Mixer or Hand Mixer | Piping Bag | Offset Spatula | Wire Rack | Cake Stand | Vegetable Peeler

    Storage Instructions

    • Refrigerator: Store covered for up to 5 days. For the best texture, let it sit at room temperature for 30-60 minutes before serving.
    • Freezer: Freeze the whole cake or individual slices, well wrapped, for up to 3 months. Thaw overnight in the refrigerator before serving.

    Nutrition

    Nutrition Information
    Chocolate Raspberry Cake (3 Layers, Chocolate Buttercream)
    Amount per Serving
    Calories
    827
    % Daily Value*
    Fat
     
    41
    g
    63
    %
    Saturated Fat
     
    19
    g
    119
    %
    Trans Fat
     
    1
    g
    Polyunsaturated Fat
     
    3
    g
    Monounsaturated Fat
     
    16
    g
    Cholesterol
     
    120
    mg
    40
    %
    Sodium
     
    389
    mg
    17
    %
    Potassium
     
    317
    mg
    9
    %
    Carbohydrates
     
    116
    g
    39
    %
    Fiber
     
    6
    g
    25
    %
    Sugar
     
    88
    g
    98
    %
    Protein
     
    7
    g
    14
    %
    Vitamin A
     
    859
    IU
    17
    %
    Vitamin C
     
    7
    mg
    8
    %
    Calcium
     
    92
    mg
    9
    %
    Iron
     
    3
    mg
    17
    %
    * Percent Daily Values are based on a 2000 calorie diet.

    Nutrition Disclaimer:

    The nutritional information on this website is only an estimate and is provided for convenience and as a courtesy only. The accuracy of the nutritional information for any recipe on this site is not guaranteed. It should not be used as a substitute for a professional nutritionist's advice.

    Keyword Chocolate Raspberry Cake

    How to Make Chocolate Raspberry Cake (STEP-BY-STEP PHOTOS)

    For exact amounts and full instructions, scroll up to the printable recipe card.

    • Make the cake batter. Whisk the dry ingredients in one bowl and the wet ingredients in another. Combine them, then slowly pour in the hot coffee. The batter will be thin. That's normal!
    Two glass bowls: the left shows cocoa powder, flour, baking powder, and other dry ingredients; the right shows the ingredients mixed into a uniform, light brown powder.
    Side-by-side images: Left, eggs, vanilla, and cream in a metal mixing bowl. Right, the ingredients are blended into a smooth, light tan batter in the same bowl.
    Side-by-side images: left shows a bowl with dry chocolate cake mix; right shows the same bowl with the ingredients mixed into a smooth, dark chocolate batter.
    • Bake the layers. Divide the batter between three 8-inch pans. I use a kitchen scale for even layers. Bake at 350°F (175°C) for 28-32 minutes.
    Side-by-side images show three round cake pans with chocolate batter on the left and the same pans with baked chocolate cakes on the right.
    • Cook the raspberry filling. Simmer the berries until they break down, then stir in the cornstarch slurry. Cook until thick and bubbly, then chill completely.
    Two images: Left shows a saucepan with raspberries and sugar. Right shows the same saucepan with the berries and sugar cooked into a thick, red sauce.
    Left: A saucepan with red raspberry jam being stirred with a wooden spoon. Right: A bowl of red raspberry jam covered with plastic wrap.
    • Make the chocolate buttercream. Beat the butter, add the cocoa and powdered sugar, then the cream, salt, and vanilla. Beat until fluffy and fill a piping bag.
    Side-by-side images of a metal mixing bowl: the left shows whipped yellow butter, and the right shows the same butter with cocoa powder added on top, ready to be mixed.
    Two metal mixing bowls: one with chocolate frosting, the other with powdered sugar.
    Two side-by-side bowls: the left shows cocoa powder, cream, and other ingredients before mixing; the right shows smooth, blended chocolate frosting.
    • Assemble. Spread a thin layer of buttercream on the first layer. Pipe a thick ring around the edge. That piped ring of buttercream is called a dam, and it keeps the soft filling from squeezing out the sides. Then fill the center with raspberry filling. Repeat, then add the top layer.
    Side-by-side images of a chocolate cake layer: the left shows chocolate frosting with a border, and the right shows the center filled with red raspberry jam, surrounded by the same chocolate frosting border.
    • Crumb coat and chill. Spread a thin coat of buttercream over the cake and chill for 20 minutes.
    • Frost and decorate. Cover the cake with the rest of the buttercream and chill for at least 1 hour. Top with fresh raspberries and chocolate curls.
    Left: A round chocolate cake layer on a marble surface. Right: An offset spatula spreading chocolate frosting on the side of a layered chocolate cake.
    Chocolate frosted layer cake topped with fresh raspberries and chocolate shavings.

    More Chocolate Cakes and Raspberry Desserts

    • German Chocolate Cake
    • Raspberry Brownies
    • Lemon Raspberry Cake
    • Black Forest Cheesecake
    • Flourless Chocolate Cake (Torte)
    • Raspberry Cheesecake Bars
    • Lemon Raspberry Bundt Cake
    • No-Bake Raspberry Cream Pie
    • Soft Raspberry Cookies (with Raspberry Glaze)
    • Double Chocolate Loaf Cake with Ganache
    • Chocolate Tres Leches Cake
    A slice of chocolate cake with a raspberry filling layer.
    A chocolate frosted cake topped with fresh raspberries and chocolate shavings.
    « 45 Vegetarian Thanksgiving Recipes
    • Facebook

    Reader Interactions

    Submit your question or provide a review of the recipe + star rating RIGHT HERE. Cancel reply

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

    Recipe Rating




    Primary Sidebar

    Julia is the author of JuliasAlbum.com (a food blog focused on easy dinner recipes, pasta dishes, salads made with seasonal ingredients). In this photo, Julia is pictured wearing a yellow sweater against an Autumn background.

    Hi, I'm Julia!

    I am a full-time food blogger living in beautiful Colorado. I focus primarily on savory recipes (protein-based & fiber-rich main dishes, pasta, salads) using fresh & seasonal ingredients. A food blogger since 2012, I help home cooks create well-balanced and visually appealing dinners (many of which are 30-minute ONE-PAN meals). Find out more about me and my cooking philosophy. 

    Connect with Julia on Social Media:

    • Facebook
    • Pinterest
    • Instagram
    Get Julia's new recipes by e-mail:
    Subscribe by E-mail

    Footer

    ↑ back to top

    Privacy and Disclosure

    • Privacy Policy
    • Disclaimer
    • Terms & Conditions
    • Affiliate Disclosure

    About

    • About
    • Featured On
    • Contact Me

    Connect on Social Media

    • Pinterest
    • Facebook
    • Instagram

    Copyright © 2012-2026 JuliasAlbum.com

    Julia's Album is a participant in the Amazon Services LLC Associates Program. As an Amazon Associate I earn from qualifying purchases.

    Site Design: Foodie Pro Theme by Feast Design Co.

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required