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 26 reviews
  • Author: Sally McKenney
  • 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. Casey says:
    February 15, 2024

    I changed recipe a bit, due to supplies limitations. I couldn’t find frozen raspberries and they are about 5$ a pint right now, so I grabbed a bag of frozen mixed berries. I did have to mash down the strawberries during the cooking process, but they worked and tasted fabulous. Additionally, I subbed the cornstarch for tapioca starch. (You have to add it at the end of the cooking process, not the beginning!) It set much faster than cornstarch and I was able to get it on the cake with only a thirty minute chill time. So, if you are baking in a time crunch. It’s a good change.

    Reply
  2. Lilah bean says:
    February 3, 2024

    What recipe did you use for the Whipped cream frosting?

    Reply
      1. Lilah bean says:
        February 3, 2024

        Thank you

  3. Amanda says:
    January 28, 2024

    Turned out great! I made your triple layer chocolate cake (from your German chocolate cake recipe) and used this between the layers and made a stabilized whipped cream frosting. Was a huge hit!

    Reply
  4. Linda says:
    October 15, 2023

    How would raspberry work with your yellow cake? I was going to use the whipped frosting for the cake because I didn’t want to have too sweet of a frosting / but do you think the consistency of the whipped frosting will be enough to create the “dam” for the filling. I didn’t want to use straight up cream cheese frosting for the cake. The cake is for my daughter’s birthday-she prefers frosting that is not too sweet. I was also going to coat the cake with coconut.

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

      Hi Linda! This cake filling would work well with just about any cake, yellow cake included. This frosting will be fine to create a dam for the filling. Would love to hear how it goes!

      Reply
  5. Cheryl Carroll says:
    September 8, 2023

    Love raspberry & do a lot of cakes for customers. However, I don’t like seeds . How do you strain the seeds and at what point?

    Reply
    1. Lexi @ Sally's Baking says:
      September 8, 2023

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

      Reply
  6. Pam Smith says:
    August 30, 2023

    Just what I have been looking for. Can I use your lemon cream cheese icing with this filling? A few things I have tried!!! I heat up some raspberry jam in microwave for a few moments, then brush a thin layer over the layers of cake. As it dries, it forms a kind of seal. Then, if we are eating the cake within a day or two, I use fresh raspberries and mix in a bowl with a little jam and mash gently. You get such a nice fresh taste of raspberries, but of course,this wouldn’t work if you wanted to do it ahead,of time as the fresh raspberries would go bad. Thank your for your great raspberries.
    Pam

    Reply
  7. Ashley C says:
    August 25, 2023

    Great recipe! Very easy to follow and delicious! Question – is it possible to mix this into vanilla buttercream to make raspberry buttercream or would that not work? Too wet? I’ll leave it as a jam layer if not but just curious if that’s an option.

    Reply
    1. Beth @ Sally's Baking says:
      August 26, 2023

      Hi Ashley, we don’t recommend that. In testing the strawberry frosting for this strawberry cake, we found that fresh berries mixed with buttercream did not yield good results. You could, however, make that strawberry buttercream recipe with freeze-dried raspberries. Hope this helps!

      Reply
  8. Jess says:
    August 4, 2023

    Found this super easy to follow and use. One batch of this made a birthday cake, a dozen cupcakes and I used the rest on pancakes for brekky! YUM

    Reply
  9. Coleen Balch says:
    July 15, 2023

    This was fantastic and the hit of the birthday party for my friend. I used a tripled white recipe and a very fluffy white buttercream frosting from a family recipe. Got rave reviews. I felt like a professional bakery chef! Will make again. Thank you for the clear instructions and a keeper of a recipe!

    Reply
  10. Bonnie says:
    July 10, 2023

    I want make Raspberry cake, it calls for corn starch, and lemon juice. Can you use lemon extract? On the corn starch, I have other two things, that you replied back with. Any suggestions

    Reply
    1. Trina @ Sally's Baking says:
      July 10, 2023

      Hi Bonnie! Lemon juice is really best here. Tapioca or arrowroot powder can often be used as substitutes for cornstarch, but we have not tested either of these in this recipe. Let us know if you try anything!

      Reply
  11. Lori uribe says:
    June 27, 2023

    The aroma from the raspberries is amazing and the right consistency for a good filling that doesn’t run. The border with the frosting is an ideal method to help hold it in also. Love this recipe!!

    Reply
  12. abby says:
    June 12, 2023

    can I use like juice instead of lemon juice

    Reply
  13. Linda Stearns says:
    June 6, 2023

    Great flavor but removed the seeds. I doubled the recipe, added some blackberries that I picked from the garden and then strained out the seeds. Perfect in every way.

    Reply
  14. Shannon says:
    May 30, 2023

    I’m planning on making this filling with your vanilla cake recipe and your lemon buttercream frosting recipe, would that buttercream recipe yield enough frosting in combination with the raspberry filling? If not, how many cups of frosting would I need? I love your recipes by the way, they always turn out great!

    Reply
    1. Lexi @ Sally's Baking says:
      May 30, 2023

      Hi Shannon, what a delicious flavor combination! We’d recommend 1.5x or 2x the lemon buttercream recipe for a three layer cake like the vanilla cake, depending on how heavily you like to frost your cakes.

      Reply
      1. Shannon says:
        May 31, 2023

        Thank you so much, I will try that!

  15. Tess says:
    May 19, 2023

    Can you suggest anything else to use in place of cornstarch? For someone with a severe corn sensitivity

    Reply
    1. Michelle @ Sally's Baking says:
      May 20, 2023

      Hi Tess, Tapioca or arrowroot powder can be used as substitutes for cornstarch, but we have not tested either of these in this recipe. Let us know if you try anything.

      Reply
  16. Sara says:
    May 15, 2023

    I made this once before and it was great, but I’m wondering if I could add some blue food coloring to get a deeper purple color for a themed cake? Would the color take?

    Reply
    1. Trina @ Sally's Baking says:
      May 15, 2023

      Hi Sara, we would try adding gel food coloring – you could mix it in at the end.

      Reply
  17. Mel says:
    May 1, 2023

    Does a cake using this as a filling need to be refrigerated?

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

      Hi Mel! See the recipe instructions above: 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.

      Reply
  18. Barbara says:
    April 21, 2023

    Hi, I love your recipes, I’m going to make a cake for my daughter birthday. Can you tell me if I can pair this raspberry filling with your coconut cake filling? My daughter want coconut and raspberry filling in her chocolate cake.

    Reply
    1. Lexi @ Sally's Baking says:
      April 21, 2023

      Hi Barbara, this raspberry filling would be fantastic with the coconut buttercream from our coconut cake. Hope it’s a hit!

      Reply
  19. Angel says:
    February 28, 2023

    I can’t wait to make this cake! What cake recipe did you use?

    Reply
    1. Trina @ Sally's Baking says:
      February 28, 2023

      Hi Angel! The cake pictured above is our 6 inch vanilla cake recipe.

      Reply
  20. Nicole Shugars says:
    February 28, 2023

    This turned out great and super easy. I used it as a filling in your vanilla cupcakes that were amazing. I didn’t use all of it — would the filling freeze well?

    Reply
    1. Lexi @ Sally's Baking says:
      February 28, 2023

      Hi Nicole, absolutely! See recipe Notes for full freezing instructions. Glad you enjoyed it!

      Reply
  21. Maymay says:
    February 26, 2023

    So I’m gonna do this with your flourless Chocolate cake with mocha whip cream!! I’m so excited to see how it turns out, I was thinking of just using some cream cheese then putting the raspberry filling on top of that so it won’t run … But I’m just not sure if that would be a good combo or if I should just put the filling on by itself… What do you think?? I’m also making it a 2 layer cake( or I’m gonna try) I’m hoping that it works out, but even if it doesn’t stay together it’ll still be delicious in the end lol

    I made the flourless Chocolate cake for my bfs bday and he loved it!! Said it was one of the best cakes he’s ever had,and everyone else LOVED IT as well!! Your recipes are so delicious and will definitely be some of my Go to’s ❤️

    Reply
    1. Michelle @ Sally's Baking says:
      February 26, 2023

      Hi Maymay, we’re so glad you love the flourless chocolate cake. This raspberry filling is delicious on top of that cake! Enjoy.

      Reply
  22. Joan Balliram says:
    February 13, 2023

    Sally your recipes are awesome, and great way you explain is simple and without flaws. Thankyou you’re the best. God bless those hands.

    Reply
  23. Janice says:
    February 12, 2023

    Has anyone used orange juice instead of the lemon juice?

    Reply
  24. Sally Akavickas says:
    February 6, 2023

    I’m going to try this with your Red Velvet Cake and a chocolate ganache!!!

    Reply
    1. Sally @ Sally's Baking says:
      February 6, 2023

      Sounds incredible!

      Reply
  25. Karen Sousa says:
    February 5, 2023

    I made this for the lemon cake. Did not read all the way through and put the vanilla in with everything else before cooking. I add a dash of white pepper to cut the vanilla flavor a little. It worked. After letting it sit in the refrigerator the flavors were good.

    Reply
  26. HH says:
    February 5, 2023

    I made this raspberry filling for your 3 layer lemon cake (one of my favourites). The frosting “dam” broke at one part on the lower layer and the jam leaked out a bit. I think next time I will use buttercream instead of the cream cheese buttercream for extra stability in the jam layer. The cake was a huge hit at the party, thank you! I think the seeds are pretty noticeable but also this adds to the raspberry-ness of the experience. Especially great to get a strong flavour using frozen raspberries when they are out of season. Will definitely make again, thank you 🙂

    Reply
  27. Coolmoomama says:
    February 4, 2023

    Can this be used as filling for Linzer Cookies?

    Reply
    1. Sally @ Sally's Baking says:
      February 5, 2023

      Absolutely.

      Reply
  28. Sally @ Sally's Baking says:
    February 4, 2023

    Hi Cheri, thank you! It’s definitely possible, but the filling isn’t as thick. (And you’ll want to double the recipe since after straining, you’ll have about half of the filling.) See my recipe Note.

    Reply
  29. Lisa P says:
    February 4, 2023

    This looks awesome. I don’t like raspberries, however. Could I substitute strawberries?

    Reply
    1. Trina @ Sally's Baking says:
      February 4, 2023

      Hi Lisa! See recipe notes, you could use blackberries. Strawberries won’t cook down the same way raspberries do. For a strawberry cake filling, we use and recommend the filling from these strawberry shortcake cupcakes.

      Reply
    2. Sandy says:
      April 5, 2023

      Hey Sally!
      I am planning on making a vanilla cake with this filling but I don’t know if the not-so-sweet whipped frosting would work with everything and raspberry filling? Let me know! 🙂

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

        Hi Sandy! We haven’t tested it so can’t say for sure, but we usually recommend using a very stable buttercream with this raspberry cake filling, like our vanilla buttercream or Swiss meringue buttercream.

  30. Amanda says:
    February 3, 2023

    I love raspberry filled cupcakes but have never tried to make my own filling. I highly recommend frosting the cupcakes with Biscoff icing. Such a great combination!

    Reply
    1. Paula says:
      February 3, 2023

      I do make a seedless raspberry puree from scratch, but I go through the trouble of using a strainer with my frozen raspberries because of the seeds. I was wondering, do you think it makes a huge difference one way or the other? When you tried with and without seeds, were the seeds bothersome? I’d love to not be straining them!

      Reply
      1. Sally @ Sally's Baking says:
        February 4, 2023

        Hi Paula, when inside a cake, you can’t really detect the seeds but that’s just the consensus I got from taste testers. I didn’t mind them at all! Keeping the seeds in the filling keeps it thicker. Feel free to strain them out, but you’ll likely want to make a double batch (because you’ll end up with about 1/2 the amount) and perhaps add a little more cornstarch to help keep it thicker.