This fresh lemon raspberry cake recipe is packed full of lemon flavor and swirled with a fresh raspberry filling throughout the cake. Get a sweet and tangy bite of lemon and raspberry in each mouthful and pair it with homemade raspberry buttercream, cream cheese frosting, or stabilized whipped cream.
The buttermilk in this lemon raspberry layer cake gives it an extra tender crumb. Paired with tart raspberries, it makes the perfect combination for a summer BBQ dessert, Mother's Day cake, or springtime treat!
This cake also works beautifully with my cream cheese frosting without powdered sugar. The tangy frosting complements the bright lemon and raspberry flavors perfectly.
Table of contents
Ingredients
Lemon: In this tender cake, the lemon flavor is added in 3 ways. Lemon peel from a fresh lemon, lemon extract that enhances the natural lemon flavor, and lemon juice to add some acid and a hint of tartness.
Buttermilk: Buttermilk tenderizes the gluten in the cake flour, which is already soft, creating a melt-in-your-mouth feel with this cake crumb. Learn how to make your own with milk and vinegar, sour cream, or Greek yogurt in my buttermilk substitutes blog post.
Raspberries: Juicy raspberries are a perfect match for lemon flavor, they both enhance each other's natural flavors. A little bit of lemon is added to the berries in the filling to brighten the berry flavor. 
How to Make a Lemon Raspberry Cake
To make this lemon raspberry cake, you'll want to start off by making the raspberry filling first. I like to make it the day ahead and strain out the seeds, but you can leave them in if you prefer. Then make the lemon cake and swirl in the filling, bake it, and then make the buttercream while the cakes are cooling.
Making Raspberry Filling
- Add your raspberries and sugar to a medium-sized saucepan over medium heat.

- Heat your raspberry puree until it begins to bubble. Increase the heat to medium-high heat if needed.

- In a small bowl, combine the water and the ClearJel (or cornstarch) and mix until smooth. Don't just add the ClearJel (or cornstarch) directly to the hot liquid or you'll end up with lumps of thickener in your filling.

- Add your ClearJel mixture (or cornstarch slurry) to the hot liquid and mix for one more minute to thicken the mixture.

- Add in the lemon juice and lemon zest and continue cooking for one more minute until thickened.

- Transfer the mixture to a heat-proof container and cover it with plastic wrap (so that it's touching the surface) and allow it to cool to room temperature or place it into the refrigerator to cool before using it.

Making Lemon Raspberry Cake
- Preheat the oven to 335º F/168º C or 350º F/177º C and prepare three 6-inch cake pans (or two 8-inch pans) with cake goop or another preferred pan spray or parchment paper. Make sure all ingredients are at room temperature or slightly warm (eggs, buttermilk, butter).

- Measure out the buttermilk and place 4 ounces in a separate measuring cup.

- Add oil to the 4 ounces of buttermilk and set aside.

- To the remaining buttermilk, add your eggs (lightly whisked to break them up), lemon extract, lemon juice, and lemon zest.

- Measure out the cake flour, sugar, salt, baking powder, and baking soda into the bowl of your stand mixer.

- Attach the paddle to the mixer and mix on low speed (setting 1 on Kitchen Aid mixers) until the dry ingredients are combined. I recommend a stand mixer for this recipe, but you can do this with a large bowl and electric mixer, just mix by texture instead of time.
- Slowly add chunks of softened butter to the flour mixture and mix on medium speed until the batter resembles coarse sand.

- Add the milk/oil mixture all at once to the dry ingredients and mix on medium speed (speed 4 on Kitchenaid) for 2 full minutes until it's white and fluffy.

- Scrape the bowl. This is an important step because if you skip it, you will have hard lumps of flour in your batter. If you do it later, they will not mix in fully.

- Slowly add in the rest of your wet ingredients in 3 parts and mix until combined. Stop to scrape the sides of the bowl one more time halfway through. Your batter should be thick and not too runny.

- Fill the pans ¾ full and give each a tap to level out the batter and get rid of any air bubbles.

- Add 3 to 4 large dollops of your raspberry filling to the cake batter and use a spoon or knife to swirl it through the batter.

- Bake the cakes for 35 to 40 minutes until a toothpick inserted in the center comes out with a few crumbs.

- After the cakes have cooled for 10 minutes, flip them onto cooling racks to cool completely. Or wrap them in plastic wrap and freeze them.
How to Make Raspberry Buttercream
- Place the egg whites and powdered sugar in the bowl of your stand mixer with the whisk attachment and whip on high speed for 3-5 minutes.

- Add the softened butter in small chunks then vanilla and salt. Whip on high until light and fluffy and white, about 8 to 10 minutes.

- Set aside 2 cups of vanilla buttercream if you want to do the ombre design. Add a drop of yellow food color to give it a slight tint.
- Add about ½ cup of the strained raspberry purée to the buttercream and continue to whip until combined.
- Mix in about 1-2 drops of pink food coloring to enhance the raspberry color if you choose.
- Optional: switch to the paddle attachment and mix on low for 15-20 minutes until all air bubbles are gone.
- Stored it in an airtight container for up to a week in the refrigerator or for 3 months in the freezer.
Assembling and Decorating the Cake
- Trim the dome from the top of the cake rounds and the browned edges.

- Place the first cake layer on the cake board and spread raspberry buttercream over the top. Using a piping bag and round tip, pipe a dam around the outer edge of the cake.

- Spread 1 to 2 tablespoons of raspberry filling within the dammed area. If you overfill the center it could possibly squeeze out once you start stacking other layers.

- Place a few fresh raspberries on top of the raspberry filling.

- Spread a thin layer of raspberry frosting on the bottom of the next layer to sandwich in the berries.

- Repeat the process with the remaining cake layers.

- Once all 3 layers are placed, cover it in a crumb coat of buttercream. Chill it for 5-10 minutes until the buttercream has set.

- Spread a final coat of buttercream on the cake. I used the yellow buttercream to make an ombré, but you can do all raspberry if you prefer.

- Spread some raspberry buttercream around the bottom half of the cake.

- Then smooth the whole cake using the bench scraper, creating an ombré, watercolor effect between the 2 buttercream colors.

- Using a piping bag fitted with a star tip, pipe 8-10 dollops on top around the cake. (Make sure the dollops and raspberries are touching, to create a dam for the center raspberry filling.)

- Then, fill the center of the top of the cake with 2-3 tablespoons of raspberry filling.

- Make sure to keep the cake chilled, but take it out a few hours before you're going to serve it. This cake is best eaten at room temperature!

Tips for Baking From Scratch
- Weigh your ingredients to avoid cake failure. Using a kitchen scale for baking is super easy and gives you the best results every single time.
- Make sure all your cold ingredients are room temperature or slightly warm (butter, milk, eggs, to create a cohesive batter. Curdled batter causes cakes to collapse.
- No buttermilk? You can make your own buttermilk
- Need more help with making your first cake? Check out my how to decorate your first cake blog post.
- Make your own pan release (cake goop!) The best pan release ever!
- Chill your cakes before frosting and filling. You can cover a frosted and chilled cake in fondant if you wish. This cake is also great for stacking. I always keep my cakes chilled in the refrigerator before delivery for easy transportation.
FAQ
Yes, you can use any frozen or fresh berries you prefer and they all pair well with this lemon cake. You will find other berry-filling recipes on the blog. This cake would also be delicious with the addition of homemade lemon curd.
To make the raspberry filling, I prefer to use frozen because they are already partially broken down through the freezing process, this makes the reduction process quicker. You can also use frozen berries when filling the cake, however, they will be softer as they thaw. I prefer to use fresh raspberries for the inside of the cake and the decor on top, however, both are delicious!
Yes! If you are pinched on time, you can use store-bought raspberry preserves or jam in place of the filling.
Related Recipes
Lemon Blueberry Buttermilk Cake
Cake Batter and Frosting Calculator
Select an option below to calculate how much batter or frosting you need. Adjust the servings slider on the recipe card to change the amounts the recipe makes.
Choose a pan type
Choose a cake pan size
(based on 2" tall cake pan)
Choose a cake pan size
(based on 2" tall cake pan)
Cupcake Tin Size
Choose number of pans
Cups of Batter Needed
8 cups
Cups of Frosting Needed
5 cups
Note: measurements are estimated based off the vanilla cake recipe using standard US cake pans and sizes. Measurements used are for 2" tall cake pans only. Your results may vary. Do not overfill cake pans above manufacturer's recommended guidelines.
Recipe

Ingredients
Raspberry Filling
- 16 ounces fresh or frozen raspberries
- 5 ounces sugar
- 1 Tablespoon lemon zest
- 1 Tablespoon lemon juice
- 4 ounces cool water
- 1 Tablespoon corn starch
Lemon Raspberry Cake
- 13 ounces cake flour
- 12 ounces granulated sugar
- ½ teaspoon salt
- 2 teaspoons baking powder
- ½ teaspoon baking soda
- 8 ounces unsalted butter
- 8 ounces buttermilk
- 3 ounces vegetable oil
- 3 large eggs
- 2 Tablespoon lemon zest
- 2 Tablespoon fresh lemon juice
- 2 teaspoons lemon extract
- 2 Tablespoons AP Flour for dusting berries
- 10 ounces raspberries You can use frozen but don't thaw them
Raspberry Buttercream
- 4 ounces pasteurized egg whites room temperature
- 16 ounces unsalted butter room temperature
- 16 ounces powdered sugar sifted
- 1 teaspoon lemon extract
- ½ teaspoon salt
- 4 ounces raspberry puree strained
Instructions
Making Raspberry Filling
- Add your raspberries and sugar to a medium-sized saucepan over medium heat.
- Heat your raspberry puree until it begins to bubble. Increase the heat to medium-high heat if needed.
- In a small bowl, combine the water and the ClearJel (or cornstarch) and mix until smooth. Don't just add the ClearJel (or cornstarch) directly to the hot liquid or you'll end up with lumps of thickener in your filling.
- Add your ClearJel mixture (or cornstarch slurry) to the hot liquid and mix for one more minute to thicken the mixture.
- Add in the lemon juice and lemon zest and continue cooking for one more minute until thickened.
- Transfer the mixture to a heat-proof container and cover it with plastic wrap (so that it's touching the surface) and allow it to cool to room temperature or place it into the refrigerator to cool before using it.
Making Lemon Raspberry Cake
- Preheat the oven to 335º F/168º C or 350º F/177º C and prepare three 6-inch cake pans (or two 8-inch pans) with cake goop or another preferred pan spray or parchment paper. Make sure all ingredients are at room temperature or slightly warm (eggs, buttermilk, butter).
- Measure out the buttermilk and place 4 ounces in a separate measuring cup.
- Add oil to the 4 ounces of buttermilk and set aside.
- To the remaining buttermilk, add your eggs (lightly whisked to break them up), lemon extract, lemon juice, and lemon zest.
- Measure out the cake flour, sugar, salt, baking powder, and baking soda into the bowl of your stand mixer.
- Attach the paddle to the mixer and mix on low speed (setting 1 on Kitchen Aid mixers) until the dry ingredients are combined. I recommend a stand mixer for this recipe, but you can do this with a large bowl and electric mixer, just mix by texture instead of time.
- Slowly add chunks of softened butter to the flour mixture and mix on medium speed until the batter resembles coarse sand.
- Add the milk/oil mixture all at once to the dry ingredients and mix on medium speed (speed 4 on Kitchenaid) for 2 full minutes until it's white and fluffy.
- Scrape the bowl. This is an important step because if you skip it, you will have hard lumps of flour in your batter. If you do it later, they will not mix in fully.
- Slowly add in the rest of your wet ingredients in 3 parts and mix until combined. Stop to scrape the sides of the bowl one more time halfway through. Your batter should be thick and not too runny.
- Fill the pans ¾ full and give each a tap to level out the batter and get rid of any air bubbles.
- Add 3 to 4 large dollops of your raspberry filling to the cake batter and use a spoon or knife to swirl it through the batter.
- Bake the cakes for 35 to 40 minutes until a toothpick inserted in the center comes out with a few crumbs.
- After the cakes have cooled for 10 minutes, flip them onto cooling racks to cool completely. Or wrap them in plastic wrap and freeze them.
How to Make Raspberry Buttercream
- Place the egg whites and powdered sugar in the bowl of your stand mixer with the whisk attachment and whip on high speed for 3-5 minutes.
- Add the softened butter in small chunks then vanilla and salt. Whip on high until light and fluffy and white, about 8 to 10 minutes.
- Set aside 2 cups of vanilla buttercream if you want to do the ombre design. Add a drop of yellow food color to give it a slight tint.
- Add about ½ cup of the strained raspberry purée to the buttercream and continue to whip until combined.
- Mix in about 1-2 drops of pink food coloring to enhance the raspberry color if you choose.
- Optional: switch to the paddle attachment and mix on low for 15-20 minutes until all air bubbles are gone.
- Stored it in an airtight container for up to a week in the refrigerator or for 3 months in the freezer.
Assembling and Decorating the Cake
- Trim the dome from the top of the cake rounds and the browned edges.
- Place the first cake layer on the cake board and spread raspberry buttercream over the top. Using a piping bag and round tip, pipe a dam around the outer edge of the cake.
- Spread 1 to 2 tablespoons of raspberry filling within the dammed area. If you overfill the center it could possibly squeeze out once you start stacking other layers.
- Place a few fresh raspberries on top of the raspberry filling.
- Spread a thin layer of raspberry frosting on the bottom of the next layer to sandwich in the berries.
- Repeat the process with the remaining cake layers.
- Once all 3 layers are placed, cover it in a crumb coat of buttercream. Chill it for 5-10 minutes until the buttercream has set.
- Spread a final coat of buttercream on the cake. I used the yellow buttercream to make an ombré, but you can do all raspberry if you prefer.
- Spread some raspberry buttercream around the bottom half of the cake.
- Then smooth the whole cake using the bench scraper, creating an ombré, watercolor effect between the 2 buttercream colors.
- Using a piping bag fitted with a star tip, pipe 8-10 dollops on top around the cake. (Make sure the dollops and raspberries are touching, to create a dam for the center raspberry filling.)
- Then, fill the center of the top of the cake with 2-3 tablespoons of raspberry filling.
- Make sure to keep the cake chilled, but take it out a few hours before you're going to serve it. This cake is best eaten at room temperature!
Notes
- Weigh your ingredients to avoid cake failure. Using a kitchen scale for baking is super easy and gives you the best results every single time.
- Make sure all your cold ingredients are room temperature or slightly warm (butter, milk, eggs, to create a cohesive batter. Curdled batter causes cakes to collapse.
- No buttermilk? You can make your own buttermilk
- To prevent blueberries from sinking, I wash them (to get them wet) then roll them in flour. Then I add them to the batter halfway through baking
- Do not fall for the "just add cornstarch to regular flour" trick. It does not work for this recipe. Your cake will look and taste like cornbread. If you can't find cake flour, use pastry flour which isn't quite as soft as cake flour but it's better than all-purpose flour.
- Make your own pan release (cake goop!) The best pan release ever!
- If you're in the UK search for Shipton mills cake and pastry flour. If you're in another part of the country, search for low protein cake flour.
- Need more help with making your first cake? Check out my how to decorate your first cake blog post.
- Make the raspberry filling first, then make the lemon cake and swirl in the filling, bake it, and then make the buttercream while the cakes are cooling.







Renee Altman says
I made this cake for my friend's birthday and everyone loved it! Thank you for an amazing recipe! I will definitely will be making it again 🙂 I wish I could post a picture of how it came out.
Kelly says
Hi Liz. I’m trying to make this recipe but am confused about a few things. The recipe calls for buttermilk but the video uses milk and there was a comment from someone asking if they could use buttermilk and you replied that they would have to adjust the baking soda/powder. Also the recipe calls for lemon extract, lemon zest and lemon juice but again, the video doesn’t show when to add the lemon juice and the recipe also doesn’t say to add it. Help! And thank you!
The Sugar Geek Show says
The recipe has been updated to include buttermilk. Lemon juice goes in with the buttermilk
Janna L Oleszkowicz says
Loved this recipe. Only one problem.........measurements in oz not cups. Was a little difficult converting exact measurements. Would love to make this cake again but in Canadian cups and how many eggs.
Made this for my son's girlfriend's birthday. She said it was the best Lemon Raspberry Cake she ever had.
We all really enjoyed this cake. Love love love the butter cream frosting.
The Sugar Geek Show says
Hi Janna, unfortunately, I only provide my recipes in oz. The reason is that measuring ingredients by weight is much more accurate and I hate to see people waste good ingredients using cups. A food scale can be purchased at most grocery stores 🙂
Maria says
Liz, thanks again for another WONDERFUL recipe! I made this cake and frosting last week for an Auntie's special birthday party. There were all types of homemade cakes at the event, many of her favorites. I must say thought, everyone was asking who make this cake and raved at how good it was! I was so proud!! I really loved the reversing creaming method and the texture of the cake. I added extra zest in the batter as I really wanted a lemon punch. The frosting was DIVINE! Smooth, velvety and not at all overly sweet which allowed the zing of the lemon and raspberries to really shine through. Believe it or not, I have a couple of orders to make this again!
Thanks again Liz for making me look good!!!
GP says
in the cake recipe, do you weigh the liquid (milk, oil) ingredients? I have seen in discussions where some people say no and others that you weigh not the liquid and dry ingredients. Thank you for your time and generosity in sharing your knowledge.
The Sugar Geek Show says
I weigh everything. I do not use volume measurements.
GP says
Thank you so much for responding. I really appreciate it.
Manju says
Hi Liz,
Just curious of a difference between this recipe and your Lemon cake recipe. I see you use milk here and buttermilk in the other one...is there a reason for not using buttermilk in this recipe as well? TIA 🙂
The Sugar Geek Show says
This is just an older recipe 🙂 You can definitely use buttermilk but update the baking powder/soda as well to work with the acidic levels of the buttermilk
Sally says
Hi there,
This recipe looks amazing. I would like to use 9" tins - can you please tell me how I should alter the measurements for the ingredients and the baking time.
Thank you so much!
The Sugar Geek Show says
No need to adjust 🙂 There is enough batter for two 9" tins, they will just bake a little faster than the 8" cakes
Patricia Salas Marlow says
Hi Liz. Would you put the recipe in grms instead og oz? Thank you!!
The Sugar Geek Show says
Done!
Chris says
Would cranberries work in place of the raspberry?
The Sugar Geek Show says
Yes you can use cranberries
Paula says
Can we use raspberry jam instead of the raspberry filling or would that be too sweet?
The Sugar Geek Show says
Yes you can! So yummy
Manju says
Can I use oil instead of butter?
The Sugar Geek Show says
Butter is important to the structure of the cake in this recipe.
New At Baking says
I am brand new at baking cakes and using frosting. I recently made this cake and it was delicious. I never got to frost it as the family ate it up. Thank you for a great recipe. I have some questions. Can this cake sit out at home temperature of 76F? And for how long? Also for the cake to be taken to someone else’s party traveling in an air conditioned car what type of frosting should be used? Thank you.
The Sugar Geek Show says
Fresh fruit cakes should be refrigerated at all times except before consuming. It can be left out for 2 hours at room temperature safely
Idabel says
Thank you very much for the reply. I appreciate it.
Ann says
I'm one of the few minority who hate lemon zest. If I omit the zest would I increase the lemon juice?
Thanks
The Sugar Geek Show says
Lemon juice doesn't have much flavor and waters down the recipe. If you want more lemon flavor increase the lemon oil.
karen parma says
Hi Liz, will it be ok to add buttermilk instead of whole milk? please advise. thank you!!!!
The Sugar Geek Show says
Buttermilk is more acidic than regular milk so it could affect the recipe. I'd advise doing a test first.
Jason says
What's the best way to store the cake if making the day before eating?
The Sugar Geek Show says
Room temperature