Raspberry Cake Filling Recipe

Making the most delectable raspberry cake filling is easier than you think! Using frozen or fresh raspberries and just 5 other ingredients, it comes together in less than 15 minutes. Prepare it in advance so it has time to cool completely before spreading onto your frosted cake layers.

3 layer white vanilla cake cut open to reveal raspberry cake filling inside.

One reader, Gina, commented:Quick, easy, thick, and a delicious balance of tart and sweet. I used this with your lemon layer cake recipe and it was amazing. I will reach for this recipe again and again. ★★★★★

For years, readers have asked if I have a raspberry cake filling recipe. The answer has always been no, because I’ve never really made a successful batch that tastes great AND holds up between cake layers. But that changed the other week as I reduced down endless packages of frozen raspberries over the stove. (And enjoyed plenty of the leftovers stirred into oatmeal.)

When developing this recipe, I started with my recipe for raspberry sauce. I knew I wanted to make it thicker, without straining the seeds, and that it needed to set up nicely so that it wouldn’t ooze out of a cake. It also needed to be a little sticky, so it wouldn’t cause the cake layers to slide around. Oozing, slippery cakes are NOT on the menu today.

The recipes are pretty similar, but this one thickens up into a jam-like consistency thanks to a little more cornstarch and longer cooking time. I first tested it with this epic chocolate raspberry cake!


Key Ingredients You Need for Raspberry Cake Filling & Why:

bowls of ingredients on marble counter including frozen raspberries, water, cornstarch, vanilla, and sugar with half of a lemon next to it.
  1. Water & Cornstarch: Cornstarch is the magic thickener for this raspberry filling. You don’t need much, but you must dissolve it in a little water before using. This is called a “slurry”; see strawberry sauce as an example.
  2. Raspberries: You’ll love the convenience of using frozen berries (just like I do for raspberry sweet rolls!), which are typically frozen at their peak freshness and sweetness. You need 12 ounces (340g). Fresh raspberries work just as well.
  3. Sugar: You only need 1/3 cup (67g). The raspberry filling should be a little tart, because you’ll pair it with cake and frosting.
  4. Lemon Juice: The filling needs *something* to balance the berry and sugar, and lemon juice provides that hint of freshness. Do not leave it out or the filling will taste pretty flat.
  5. Vanilla Extract: Add a little splash of vanilla extract to the filling once it comes off the heat. It tastes and smells incredible!

Just a Few Minutes on the Stove

Stir together all the ingredients—except for the vanilla—in a saucepan set over medium heat. As the mixture heats up and the frozen raspberries thaw, use a silicone spatula to smash the berries. This gets easier as the raspberries soften. By the time it begins to boil, the raspberries should be mostly crushed, so the mixture has an even consistency with no big lumps.

Allow it to boil, still on medium heat, for 5 full minutes, stirring occasionally.

Remove from heat and stir in the vanilla extract. Take a big whiff—it smells amazing!

seeded thickened raspberry mixture in black saucepan with red spatula.

Let it cool at room temperature for about 15 minutes and then transfer to a heatproof bowl and refrigerate. It will continue to thicken and set up as it chills.

bowl of thickened raspberry sauce filling.

How to Assemble a Cake With Raspberry Filling

I.e., how to prevent the ooze factor.

You’ll have the most success with this raspberry filling in your cake if you partner it with some frosting. My team and I tested a cake with just the raspberry filling in between the cake layers—frosting only on the outside of the cake—and determined it really needs a buttercream base layer to keep the cake stable.

Choose a sturdy frosting, like a vanilla buttercream or Swiss meringue buttercream (more suggestions below). Spread a thin layer on your cake layers, to work as the base for your raspberry filling to cling to.


You Also Need a Buttercream “Dam”

Spoon frosting into a piping bag fitted with a large round tip, such as Wilton 2A. (Or just use a disposable piping bag and cut about 3/4 inch (2cm) off the tip and use that without a piping tip.) This is for piping a “dam” around the frosted cake layer before spreading the raspberry filling inside its border.

Why am I doing this? The buttercream dam keeps the jammy filling in place, so it doesn’t seep out the sides of your cake. You’ll have an oozy mess otherwise.

After you add the dam, spread the raspberry cake filling in the center:

small offset spatula shown spreading raspberry filling on layer of cake with white frosting underneath and around it.
This is my 6-inch vanilla cake with vanilla buttercream. An offset spatula is helpful for spreading.

Best Frostings to Pair With Raspberry Filling

Here are some sturdy frostings that you can use as the thin base layer under your raspberry cake filling and piped as a “dam” around it:

3 layer white vanilla cake slice on white plate with vanilla frosting and raspberry cake filling in the layers.

Uses for Raspberry Cake Filling (Even Beyond Cake!)

This recipe makes a little more than 1 cup of raspberry filling (about 340g). I find it to be just the right amount for a 3-layer 8-inch or 9-inch cake (with 2 layers of raspberry filling). Use a heaping 1/2 cup between each layer. Or you can use it on a 2-layer 8-inch or 9-inch cake or a 3-layer 6-inch cake, pictured in this post, and have a little left over to serve alongside the cake slices (or stir into yogurt, oatmeal, etc.). Try it in one of these recipes:


FAQ: Can I Make Raspberry-Filled Cupcakes?

Absolutely, and I hope you try it! Have you ever made my cream-filled chocolate cupcakes before? You’ll fill your cupcakes the exact same way with this raspberry cake filling, and I include those instructions in the filling recipe below and in my How to Fill Cupcakes tutorial. You can use any flavor cupcake, so browse my cupcake recipes to find some inspiration. Pictured here are my vanilla cupcakes.

4 cupcakes filled with raspberry cake filling shown with an overhead camera angle.
vanilla cupcake with white chocolate frosting cut open to show raspberry filling.
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
3 layer white vanilla cake slice on white plate with vanilla frosting and raspberry cake filling in the layers.

Raspberry Cake Filling

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 5 from 24 reviews
  • Author: Sally
  • Prep Time: 5 minutes
  • Cook Time: 10 minutes
  • Total Time: 15 minutes (plus cooling)
  • Yield: 1 heaping cup
  • Category: Dessert
  • Method: Cooking
  • Cuisine: American
Save Recipe

Description

Using fresh or frozen raspberries and just 5 other ingredients, this raspberry cake filling comes together in less than 15 minutes. Make it in advance so it has time to cool completely before assembling your cake. For best results, I recommend spreading a layer of frosting on your cake layer, piping a frosting dam around the edge, and then spreading the raspberry filling inside the frosting border. See above for a visual.


Ingredients

  • 1.5 Tablespoons (22ml) water
  • 1.5 Tablespoons (4.5 teaspoons or 12g) cornstarch
  • 3 cups (12 ounces/about 340–375g) fresh or frozen raspberries (do not thaw)*
  • 1/3 cup (67g) granulated sugar
  • 1 teaspoon lemon juice
  • 1/2 teaspoon pure vanilla extract


Instructions

  1. Whisk the cornstarch and water together until all the cornstarch has dissolved. (I just use a fork to mix—very easy.) Combine cornstarch mixture, raspberries (no need to thaw if using frozen), granulated sugar, and lemon juice in a medium saucepan set over medium heat. Using a silicone spatula, stir the mixture, mashing the raspberries as they begin to thaw and soften.
  2. Bring to a boil and let it boil for 5 full minutes, stirring occasionally. Remove pan from heat and stir in vanilla extract.
  3. Allow the raspberry filling to cool at room temperature for 10–15 minutes, then transfer it to a bowl or container and place it in the refrigerator for at least 4 hours and up to 1 week (the longer, the better). No need to cover it; but if refrigerating for longer than 4 hours, cover tightly. It will continue to thicken up as it chills. Raspberry filling must be completely cooled before using in your cake. If freezing, see Note below for instructions.
  4. To fill cake: You can use the completely cooled and thickened raspberry filling to fill a 2-layer or 3-layer cake. You’ll have the most success with this raspberry filling if you partner it with some frosting filling; it really needs a buttercream base layer to keep the cake layers stable. Spread a thin layer of buttercream/frosting on your cake layers, to work as the sturdy base for your raspberry filling. Doesn’t need to be much; just a thin layer. You also need a buttercream “dam” around the cake layers to keep the jammy raspberry filling inside the cake layers. Spoon some buttercream into a piping bag fitted with a large round tip, such as Wilton 2A. Pipe a border around the cake. Then, spread the raspberry filling inside the buttercream border. An offset spatula is helpful for spreading. Assemble next cake layer on top, and repeat. For a 3-layer 8-inch or 9-inch cake, use a heaping 1/2 cup between each layer. For a 2-layer 8-inch or 9-inch cake, use about 3/4 cup filling; you’ll have some left over. See Note below for other cake sizes.
  5. To fill cupcakes: With a sharp knife, cut a circle in a cooled cupcake, and remove the center, which will be roughly the shape of a cone. Using a small spoon, fill the middle of the cupcake with as much raspberry filling as you can. (Usually between 1–2 teaspoons.) Slice/tear off the pointed tip of the cone-shaped piece of cupcake, and gently press the round piece back on top of the filling. Repeat with remaining cupcakes. Makes enough filling to fill 2 dozen cupcakes. Or fill 1 dozen, and have some filling left over.
  6. Cake or cupcakes filled with raspberry filling and topped with buttercream are typically fine covered at room temperature for 1 day. Cover and store in the refrigerator after that.

Notes

  1. Freezing Instructions: After the raspberry filling cools completely, freeze in a freezer-friendly container for up to 3–6 months. Thaw on the counter or in the refrigerator before using. It will be very thick.
  2. Special Tools (affiliate links): Saucepan | Fork or Whisk | Silicone Spatula | Piping Bags (Disposable or Reusable) and Wilton 2A (for the frosting dam) | Offset Spatula (for the filling)
  3. What size cake should I make? This recipe makes a little more than 1 cup of raspberry filling (about 340g). I find it to be just the right amount for a 3-layer 8-inch or 9-inch cake (with 2 layers of raspberry filling). Use a heaping 1/2 cup between each layer. Or you can use it on a 2-layer 8-inch or 9-inch cake, and fit about 3/4 cup in the center; you’ll have some left over. Or try a 3-layer 6-inch cake, pictured today, with about 1/3 cup between each layer.
  4. Uses for Leftover Raspberry Cake Filling: Serve leftover raspberry filling alongside the cake slices or cupcakes. You can also add it to smoothies; stir into yogurt, cottage cheese, or oatmeal; and use as a jam on toast, biscuits, or scones.
  5. Should I use fresh or frozen raspberries? I prefer frozen. You can find them year round, they’re always flavorful, and they typically come in 12-ounce bags, which is the exact amount you need in this recipe. You can definitely use the same amount of fresh raspberries if you have them. The end result is pretty much the same.
  6. Can I strain out the seeds? You can, but the raspberry filling doesn’t stay as thick. You’ll need to add at least 1 more teaspoon cornstarch. And you’ll have a lot less filling. I strongly recommend keeping the seeds in the filling.
  7. Can I use other berries? I have only tested this with the same amount of fresh or frozen blackberries, and it works wonderfully. No changes to the recipe, just swap the berries. For a strawberry cake filling, I use and recommend the filling from these strawberry shortcake cupcakes. Still working on a blueberry version.
  8. Does this work as a topping for cakes and cheesecakes? It’s quite thick. Instead, I recommend my raspberry sauce recipe.
sally mckenney headshot purple shirt.
About the Author

Sally McKenney

Sally McKenney is a baker, food photographer, and New York Times best-selling author. Her kitchen-tested recipes and step-by-step tutorials have given millions of readers the knowledge and confidence to bake from scratch. Sally’s work has been featured on TODAY, Good Morning America, Taste of Home, People, and more.

Read More

Leave a Comment

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

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Reader Comments and Reviews

  1. Julie says:
    August 8, 2025

    Hi how much filling would I need for a 4 layer 20cm cake?

    Reply
  2. Sharon Murray says:
    July 9, 2025

    I am making 3 large number cakes and a cutting cake for a huge joint birthday celebration (over 100 people). Can I triple the quantities in this recipe and cook it in one batch? Would triple quantity mean triple the time to boil – 15mins instead of 5?

    Reply
    1. Lexi @ Sally's Baking says:
      July 9, 2025

      Hi Sharon, You can double this recipe, but you may find it difficult to multiply further than that, so we’d recommend a few double batches. Cook time may be just slightly longer.

      Reply
      1. Sharon Murray says:
        July 9, 2025

        I’ll do that. It might turn out that I need 4x the quantity so two double batches works out well for me. Thank you. 🙂

  3. Julie Fleming says:
    July 6, 2025

    The whole family LOVED it! I can’t wait to make it again.

    Reply
  4. Chels says:
    June 24, 2025

    Make this. You will think it is too tart, but remember, Sally has never failed you. Put it in a yellow cake with chocolate icing, realize the filling balances out all this sweetness perfectly, and enjoy the compliments of your friends and family.

    Reply
  5. Isabel says:
    June 12, 2025

    I haven’t tried this recipe yet. Would this pair well with the pistachio cake recipe you have posted?

    Reply
    1. Lexi @ Sally's Baking says:
      June 12, 2025

      Hi Isabel, absolutely!

      Reply
  6. C. Sullivan says:
    May 24, 2025

    I made this raspberry filling yesterday afternoon and put it in the fridge overnight. However, it is so thick it that it doesn’t even move. Am I supposed to leave it on the counter now so that it gets to room temp so it can be spread once the cake is ready?

    Thanks in advance for your help!

    Reply
    1. Lexi @ Sally's Baking says:
      May 28, 2025

      Hi C. Sullivan, you can let the filling sit at room temperature for a few minutes so that it’s a bit easier to spread, but you don’t want it to be too warm when adding to your cake. Hope it’s a hit!

      Reply
  7. Linda Isabella says:
    May 23, 2025

    Hi Sally
    I’m going to use your strawberry filling in a vanilla 2 layer cake.
    Can I use a vanilla buttercream frosting for a thin layer and dam between the layers with the filling and then use your “not so sweet whipped frosting” to frost the sides and top of cake?
    OR would the “not so sweet frosting” be stable enough with the filling in between the layers.

    Reply
    1. Lexi @ Sally's Baking says:
      May 23, 2025

      Hi Linda, that should work fine as long as you are using a sturdy buttercream like you mention for between the layers and the dam. You might even do your crumb coat with buttercream and then frost the outsides with the whipped frosting. Let us know how it goes!

      Reply
      1. Linda Isabella says:
        May 27, 2025

        Thank you for your help. I will share my results.

  8. Cindi says:
    May 13, 2025

    My family does not like seeds, is there any way to strain this and at what point in the process works best?

    Reply
    1. Trina @ Sally's Baking says:
      May 13, 2025

      Hi Cindi, see recipe Notes for details about straining the seeds. We’d recommend doing it in Step 3 after the filling has cooled slightly.

      Reply
  9. Pamela says:
    May 6, 2025

    The raspberry filling is perfect. The right amount of sweet and tart. And so easy and fast to make. I can’t wait to try blackberries in it.

    Reply
  10. Ann Caldwell says:
    April 16, 2025

    The flavor is amazing. I’ve never put vanilla in before, but I will from now on! Thank!!!!

    Reply
  11. AA says:
    April 15, 2025

    I’m looking for a raspberry whipped cream.
    Would folding this filling to whipped cream work nicely?

    Reply
    1. Trina @ Sally's Baking says:
      April 15, 2025

      Can’t see why not, AA! Or you could sub raspberries for blueberries in the blueberry whipped cream from our vertical cake recipe.

      Reply
  12. Sarah says:
    April 1, 2025

    Hi! Our family absolutely loves your “not too sweet whipped frosting” made with heavy cream and a little bit of cream cheese. Do you think this would work well enough as a dam in between layers to keep the raspberry filling in? Thank you!

    Reply
    1. Trina @ Sally's Baking says:
      April 1, 2025

      Yes, definitely!

      Reply
  13. Nicole says:
    March 21, 2025

    My queen, if I wanted to go about doing this with a cherry filling, how would I do so?

    Reply
    1. Trina @ Sally's Baking says:
      March 21, 2025

      Hi Nicole! We haven’t tested this recipe with cherries instead of raspberries, and so are unsure what to recommend in terms of amounts of ingredients that would need to change. If you decide to give it a try, please let us know how it goes!

      Reply
      1. Isabella says:
        March 27, 2025

        Hi , I would like to know, if its okay to leave the Raspberries (already in between the cakes) in the Fridge Overnight to use the nexr day (decoration etc.) ?

  14. Claudie Allen says:
    March 16, 2025

    Ms. Sally
    Love your recipes!! Know it will be good whatever the dish is!! I feel like you are a very special person who loves sharing.
    Thank you!!

    Reply
  15. Heather says:
    March 3, 2025

    This recipe is a winner! I had some frozen strawberries and fresh blueberries to use up, so I thawed everything and blended it up and followed the recipe above. I probably didn’t need to blend it, but it made me feel better haha. I also didn’t have any lemons; so, I …used vinegar HAHA! and I think it actually served its purpose well! Lemon would have been ideal, but the same amount of white vinegar surprisingly successfully balanced the sweetness without adding any weird vinegar-y taste. I also nearly burned the filling because I forgot about it while heating it up to boiling (but I didn’t). I used part of it for a rolled cake in addition to some whipped cream cheese frosting, and it is SO good. (For the cake part I used Sally’s strawberries ‘n’ cream cake roll recipe, and for the frosting I used my own recipe.) This recipe is foolproof (from my experience), and I will certainly use it for future berry cake filling needs!

    Reply
    1. Heather says:
      March 3, 2025

      I forgot to give a rating… 5 stars obviously 😉

      Reply
  16. WahiniSuzi says:
    February 13, 2025

    I’m so glad I found this recipe.
    I replaced the sugar
    with liquid stevia (1/3 teaspoon) and used thawed frozen berries. I cut zero sugar cupcakes in half and put a layer of compote on each then covered in whipped cream. Yummy. I’m making it today with cherries.

    Reply
  17. Sarah says:
    February 7, 2025

    I made this and used it in the 3-layer vanilla cake with the white chocolate buttercrem frosting. It was amazing and my guests all asked to take some home! Can I make it with cherries to fill a chocolate cake?

    Reply
    1. Beth @ Sally's Baking says:
      February 8, 2025

      Your cake sounds amazing, yum! We haven’t tested this recipe with cherries instead of raspberries, and so are unsure what to recommend in terms of amounts of ingredients that would need to change. If you decide to give it a try, please let us know how it goes!

      Reply
    2. keeley says:
      April 28, 2025

      how many cupcakes can this used to be filled?

      Reply
      1. Trina @ Sally's Baking says:
        April 28, 2025

        Hi Keeley! Makes enough filling to fill 2 dozen cupcakes. Or fill 1 dozen, and have some filling left over.

  18. Islah Raoof says:
    February 4, 2025

    Sally, thank so, so much for show me how to better make a cake. Your chocolate truffle cake was a hit Thanksgiving. Also, for showing me to make whipping cream. You’re a great baker.
    Again, THANK YOU

    Reply
  19. jane doe says:
    January 26, 2025

    this recipe worked great!
    i will def use it again

    Reply
  20. Regina Wheeler says:
    January 20, 2025

    I really love this recipe. But how do i keep it from smashing it out between the layers? That is the only problem i’m having with it.

    Reply
    1. Beth @ Sally's Baking says:
      January 20, 2025

      Hi Regina, did you pipe a buttercream dam around the perimeter of the cake layer before adding the raspberry filling?

      Reply
      1. Julia says:
        March 31, 2025

        Thanks for another delicious recipe! Can this be baked into baked goods like muffins or a coffee cake?

  21. Natasha W says:
    December 28, 2024

    Hello,

    Can I use the raspberry puree right after it cools to room temperature? Thank you for taking the time to read this message.

    Reply
    1. Michelle @ Sally's Baking says:
      December 28, 2024

      Hi Natasha, Raspberry filling must be completely cooled before using in your cake. We prefer to let it cool for at least 4 hours in the fridge.

      Reply
  22. Rachel Stafeil says:
    December 27, 2024

    This is sooooo good and I love that it has so little sugar added. I used it for a bit of lightness in a chocolate dessert, but could also see adding it to plain yogurt.

    Reply
  23. aya says:
    December 11, 2024

    this was the best rasberry recipe i ever made in my life . it combanes between sournnest and sweetnest and that give a fantastic taste. should defenitly try it.

    Reply
  24. A Warns says:
    November 27, 2024

    Can this filling be baked into a Bundt cake without destroying the filling?

    Reply
    1. Sally @ Sally's Baking says:
      November 28, 2024

      Hi, I’m not sure; I haven’t tried baking this cake filling before. I can’t see why it wouldn’t work, swirled into cake batter. Let me know how it goes!

      Reply
      1. Arielle says:
        March 18, 2025

        Any concerns with layering this between two 9×13 layers of your white cake?

      2. Erin @ Sally's Baking says:
        March 18, 2025

        No, not at all! Especially if you pipe a “dam” around the border of the cake layers.

  25. Omkar says:
    November 9, 2024

    This was wonderful! Had to make a small substitution of rice flour cus I was outta cornstarch, but I figured starch is starch. It worked out! Cooked it for a couple of minutes extra to get rid of the slightly granular structure introduced by the rice flour tho. Thank you so much 🙂

    Reply
  26. Madalyn says:
    November 7, 2024

    12 oz. is 1.5 cups, not 3 cups of berries. Can you confirm the berry amount please?

    Reply
    1. Lexi @ Sally's Baking says:
      November 7, 2024

      Hi Madalyn, the amounts as written are correct—12 oz. raspberries is about 3 cups of berries.

      Reply
  27. Jennifer says:
    October 15, 2024

    Hi! I plan to make your dark chocolate cupcakes for a Halloween event. Is this filling injectable with a frosting tip? Is it feasible to fill mini cupcakes, or would that be a nightmare? And what flavor frosting would you recommend for a raspberry filled chocolate cupcake? Thanks in advance for your advice!

    Reply
    1. Trina @ Sally's Baking says:
      October 15, 2024

      Hi Jennifer! You can definitely fill cupcakes with this filling, though we haven’t tested mini cupcakes. It may be a little tricky to work with such a small base. Chocolate buttercream or white chocolate buttercream would both be lovely options.

      Reply
  28. Carolyn Leavitt says:
    October 14, 2024

    I am planning to bake your 2-tier wedding cake using red velvet on the bottom 9 in 3 layers, and vanilla with raspberry filling for the 6 in. 3 layer top tier. Can I assemble the two cakes with their frosting and the top tier with the raspberry filling as well and freeze it all 2 weeks before the wedding? Or do I need to wait to frost, fill and assemble up to three days prior. Please, any advice you can offer would be greatly appreciated. Thank you!

    Reply
    1. Lexi @ Sally's Baking says:
      October 15, 2024

      Hi Carolyn, while you can freeze the baked and frosted cakes, we don’t recommend it as the outer layer of frosting and decoration can get a bit messy during the thawing process. It’s best to freeze the components individually and then thaw and assemble closer to the wedding. Hope it’s a hit!

      Reply
      1. Carolyn says:
        October 25, 2024

        Thank you!

  29. Ker says:
    October 14, 2024

    I tried this using half frozen strawberries and half frozen blueberries and it turned out great! Will use it in a wedding cake I’m making for a friend! Thanks for the recipe

    Reply
    1. Trina @ Sally's Baking says:
      October 14, 2024

      Happy to read this, Ker!

      Reply
  30. Sandy says:
    October 8, 2024

    How long does it lasts in the fridge? I want to make it ahead the day of assembling a cake!

    Reply
    1. Lexi @ Sally's Baking says:
      October 8, 2024

      Hi Sandy, this cake filling is good in the refrigerator for up to 1 week.

      Reply
    2. Olivia says:
      June 13, 2025

      Can I use this in macarons if I do a buttercream boarder around it? Looks yummy!

      Reply
      1. Trina @ Sally's Baking says:
        June 13, 2025

        Definitely – yum!