Skip to Content

Raspberry Cake Filling

A couple weeks ago I made a white chocolate raspberry cake, and the real star of the show was its raspberry cake filling!

It was deliciously sweet and tart, and the perfect consistency to fill a cake.

The cake recipe was a pretty detailed, so I wanted to make a post sharing just the raspberry filling. I also hope this will encourage people to get creative and add this filling to their favorite cake and cupcake recipes.

image of white cake with delicious tart raspberry cake filling

This filling would be incredible with my chocolate layer cake recipe, or even my matcha cake recipe. The sky’s the limit!!

Giving This Raspberry Cake Filling Its Silky-Smooth Texture

I love the texture of seeds in a fresh raspberry and in raspberry jam, but I have strong feelings when it comes to the texture of raspberry filling. It really needs to be seedless.

Raspberry filling is usually made with fresh or frozen raspberries that are cooked down to help concentrate the mixture.

image of raspberry cake filling being cooked down on a stove top in a sauce pot

This thickens the mixture and enhances the flavor of the filling.

When doing this, the seeds in the mixture also become more concentrated.

If you don’t strain the mixture, the texture of the seeds can be overwhelming. I think the filling is so much better without the seeds!!

The photo below shows the filling after it was strained, but before it was thickened with the cornstarch slurry.

image of stained raspberry cake filling, before being thickened with cornstarch

My Advice: Use A Strainer

I hate straining things, but this is one situation where I’m willing to whip out my mesh strainer and put in the work.

This helps us get the filling to have that gorgeous consistency shown in the photo above.

image of pouring raspberry compote through a strainer to make it seedless for a cake filling

The mixture is pretty thick once it’s been cooked down, so you really need to push firmly with a rubber spatula to get it through the sieve.

It takes a few minutes to do, and is a bit of an arm workout.

But it is 100% worth it!! You should be left with about ½ cup concentrated raspberry seeds, which can be composted.

image of leftover raspberry seeds after straining raspberry compote

Frozen vs. Fresh Raspberries

I test out this recipe with both fresh raspberries and frozen raspberries. Both types work great, so you can make this recipe with either!

If raspberries are in season, using fresh raspberries is a great idea! Frozen raspberries work great in the offseason, or if you can’t get your hands on fresh raspberries.

Frozen raspberries are also quite a bit cheaper than fresh raspberries. For convenience I like to use frozen raspberries, because I don’t have to worry about them spoiling if I don’t use them immediately.

image of the ingredients used in this raspberry cake filling including frozen raspberries, sugar, and lemon juice

I also think that frozen raspberries are picked at peak ripeness, while some fresh raspberries are picked before they’re fully ripe to make transportation easier.

Getting the Consistency Just Right For a Cake

While cooking down the raspberries does thicken the mixture, it doesn’t make it quite thick enough to add to cake.

If you’ve ever tried to add a bunch of jam between the layers of a tall cake, you know that you need a thick filling or else your cake layers slide all over the place!

I like to call it the slip and slide, and it makes cake decorating a nightmare.

image of fluffy and soft white cake layers filled with white chocolate buttercream and a raspberry filling

You also need a cake filling to be thick to ensure it won’t ooze out the sides of your cake once it’s stacked and frosted.

Even with the help of a piped ring of frosting (i.e. a frosting dam), the filling can still ooze out as the cake settles.

Trust me, I’ve had my share of oozing fruit-filled cakes, and nothing is worse!!

Thickening This Raspberry Cake Filling with Cornstarch

This recipe is designed to make a really thick filling once it’s fully cooled.

It ends up being just about as thick as jelly. The secret to making this raspberry cake filling so thick is cornstarch!

This recipe adds a slurry (a mixture of cornstarch and water) to the partially cooked down raspberry mixture.

image of raspberry cake filling in a bowl

Using a slurry rather than adding cornstarch directly into the filling makes it so much easier to incorporate the cornstarch into the filling.

I hate making extra dishes, but you simply can’t add the cornstarch straight into the raspberry mixture.

I’ve tried it, and you end up with tons of tiny clumps of cornstarch in your filling!!

My Secret Ingredient

Whenever I make anything with strawberries or raspberries, I love to incorporate a bit of fresh lemon juice and zest. This recipe uses both!

I think it really enhances the flavor of the fruit, and adds a bright pop of flavor.

Just be sure you a fresh lemon! Pre-squeezed lemon juice doesn’t have the same effect.

image of slice of white chocolate raspberry cake

Even if you plan to add this filling to something with chocolate in it, I still recommend adding the lemon.

The lemon really just acts an accent, and isn’t a dominant flavor in the filling.

Tips for Making the Best Raspberry Cake Filling:

  • Make the raspberry cake filling at least a day in advance to allow it to properly thicken and develop its flavor.
  • Be sure to use fresh lemon juice and zest to enhance the tartness of the raspberries.
  • Strain the raspberry mixture to remove the seeds, to give it a silky-smooth texture.
  • Save leftover filling to fill cupcakes, add to thumbprint cookies, or even to top ice cream!

Making this Cake Filling in Advance and Storage Tips:

  • This raspberry cake filling can be made up to two weeks in advance if stored in an airtight container in the fridge.
  • This raspberry cake filling can be stored in the freezer up to a month if stored in an airtight container.
  • Give the filling a stir with a rubber spatula before adding it to your cake to make it easier to spread.
image of raspberry white chocolate cake decorated with fresh raspberries, flowers, and a white chocolate drip with slice in front

Let Me Know What You Think

If you try this raspberry cake filling recipe, I’d love to hear what you think! Please leave a rating below, and a comment to let me know your thoughts 🙂

Other Recipes You Might Like:

Yield: 1.5

Raspberry Cake Filling

image of slice of white chocolate raspberry cake

This raspberry cake filling is the perfect consistency, and is packed with that delicious tart raspberry flavor! It's sure to elevate any dessert!! It's great inside of cakes, cupcakes, and even cookies.

Prep Time 20 minutes
Cook Time 10 minutes
Total Time 30 minutes


Raspberry Cake Filling

  • 4 cups of fresh or frozen raspberries (500 grams)
  • 3/4 cup granulated sugar (150 grams)
  • 1 Tbsp lemon juice (12 grams)
  • 2 tsp fresh lemon zest (5 grams)
  • 1/2 cup water, divided (118 grams) - half added to raspberry mixture, half used to make the cornstarch slurry
  • 1/4 cup cornstarch (31 grams)

Equipment Needed


Raspberry Cake Filling

  1. If possible, make the raspberry filling in advance! The extra time will allow the filling to thicken and develop its flavor.
  2. Place the frozen or fresh raspberries, granulated sugar, lemon juice and lemon zest, and 1/4 cup of water in a saucepan and heat over medium high heat.
  3. Stir the mixture until it begins to boil.
  4. Lower the heat to medium-low, and allow the filling to simmer for 10-15 minutes.
  5. Turn off heat and remove the pot from the stove. Pour the filling into a metal strainer suspended over a medium sized bowl, and push through using a rubber stapula. Use a decent amount of pressure to really get all the liquid through the sieve. You should be left with about 1/2 cup of seedy pulp.
  6. In a separate small bowl, make a slurry by combine the remaining 1/4 cup of water with the cornstarch. Stir until the cornstarch has fully dissolved into the water.
  7. Add this cornstarch mixture into the strained raspberry filling, and stir until it is incorporated.
  8. Rinse out your pot and pour the filling back into it (you don't want any residual seeds getting into the filling).
  9. Heat at a medium high heat, and be sure to stir constantly during this stage to prevent the filling from burning.
  10. Cook until the mixture begins to boil, then reduce the heat to medium low.
  11. Continue to stir, and cook for a few additional minutes.
  12. Turn off heat and pour the raspberry filling into a separate bowl to cool. Cover with plastic wrap and place in the fridge for at least 1 hour, or preferably overnight.


This recipe makes about 1.5 cups of raspberry cake filling, which is enough to fill an 8-inch layer cake.

Making This Cake Filling in Advance and Storage Tips:

  • This raspberry cake filling can be made up to two weeks in advance if stored in an airtight container in the fridge
  • A frosted cake filled with this raspberry cake filling can last in the fridge for up to a week, or in the freezer for up to a month. The buttercream locks in all the moisture, keeping the cake fresh and delicious!

Nutrition Information



Serving Size


Amount Per Serving Calories 1667Total Fat 7gSaturated Fat 0gTrans Fat 0gUnsaturated Fat 1gCholesterol 3mgSodium 609mgCarbohydrates 401gFiber 55gSugar 191gProtein 12g

Jacquie Campion

Saturday 27th of November 2021

Fantastic recipe and great instructions thank you very much .....its delicious and well worth the effort.


Friday 19th of November 2021

Hi, I don't have cornstarch can I use an unflavored gelatin sheet instead? This white cake and raspberry filling is gorgeous! I'm trying it using chocolate cake, and doing three layers. Thanks, love your site!


Tuesday 16th of November 2021

Hi Chelsea- I love this raspberry filling!! Do you have any recommendations for a strawberry filling? Would it work to use this same recipe but substitute strawberries? Thank you!


Sunday 14th of November 2021

Hello, Are you able to put this filling in a chocolate cake and bake it?

Sarah Roberts

Friday 5th of November 2021

I made a batch with half fresh raspberries and half frozen mix of raspberry, blueberry and blackberry. I think the comments on being too thick might be with fresh only? Frozen seem to hold more water. The consistency seemed too thick but I sort of sliced it to the thickness I wanted then spread with a knife and evened it out. Really delicious. I hope freezing it keeps it as good.

Skip to Recipe