• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Bake Offs
  • Recipes
  • Travel
  • About
  • Work With Me
  • Nav Widget Area

    • Facebook
    • Instagram
    • Pinterest
    • YouTube
The Pancake Princess

The Pancake Princess

A baking blog curating internet recipes.

You're here: Home > Recipes

Lemon Raspberry Cake

by erika Published: Apr 2, 2025 Modified: Oct 13, 2025 41 Comments

JUMP TO RECIPE JUMP TO VIDEO PRINT RECIPE

This lemon raspberry cake features a tender vanilla cake with a bright lemon curd and a fresh raspberry compote. It’s a perfect cake for a spring birthday, Easter, Mother’s Day, or any celebration!

A three layer vanilla cake with raspberries and lemon curd on a cake stand with a slice cut out to show the interior.

This lemon raspberry cake was inspired by a surplus of fresh lemons and a craving for all things bright and tangy for spring! The combination of lemon and raspberry in a cake along with a super plush and tender vanilla cake base is the perfect dessert for fruit lovers.

Why you’ll love this cake

  • Tender sour cream vanilla cake: This is my new, all-time favorite vanilla cake base. You can read all about how I developed the formula in this coconut cake post. Reverse creaming along with a combination of oil, butter, sour cream and milk yields the tender, slightly shaggy and flavorful crumb of my dreams!
  • Fresh raspberries galore: Raspberries get sprinkled into the cake batter as well as made into a simple and fresh compote that gets layered into the cake for the perfect complement to the tangy lemon curd.
  • Bright lemon curd: I prefer using whole eggs in lemon curd so you don’t have to find a use for the extra egg whites. Pure lemon curd layered on top of the frosting adds a powerful pop of lemon to the cake for a bright citrusy flair.
  • Vanilla buttercream: Several tasters who tried this cake said the frosting was their favorite part! In order to let the lemon and raspberry shine, I used a simple American-style vanilla buttercream for the frosting. This frosting is quite sweet, so if you prefer a tangier frosting, your favorite cream cheese frosting would work well in place of the buttercream!
A three layer vanilla cake with raspberries and lemon curd on a cake stand with a slice cut out to show the interior.

Recipe Ingredients

Below are some of the key ingredients you’ll need for this cake.

Ingredients laid out on the counter: flour, sugar, coconut milk, sour cream, oil, eggs, butter, salt, vanilla and baking powder.
  • Sour cream: Full fat sour cream is key to the plushness and richness of the cake crumb and a hint of tang. Make sure it’s at room temperature before adding to the batter–you can whisk it with the milk and microwave for 30 seconds if it’s still cold!
  • Whole milk: You can swap in any kind of milk in a pinch if you don’t have whole milk, but whole milk will give you the best flavor and texture with its fat content. My preferred substitute if you don’t have whole milk is a 1:1 mixture of water to half and half or heavy cream. (Plant-based milks will work, but won’t yield as plush a texture.) Make sure the milk at room temperature before adding to the batter!
  • Neutral oil: I used vegetable oil, but canola, grapeseed, safflower, sunflower oil or any neutral oil will work.
  • Lemon zest: I used the zest of two large lemons that goes into the cake. Rub the zest directly into the sugar to help release the lemon oil for maximum flavor! The juice of two large lemons should also yield the perfect amount for the lemon curd.
  • Fresh raspberries: I would recommend using fresh raspberries in this cake as frozen fruit tends to bleed into cake batter and look less appealing. If you can can’t find fresh raspberries, try swapping fresh strawberries or blueberries instead!
  • Unsalted butter: I always use unsalted butter when baking to control the amount of salt in the final product.
  • Vanilla extract: A full tablespoon of vanilla extract goes into this cake for a very vanilla-forward cake.
A three layer slice of vanilla cake with raspberries and white frosting on a white plate.

Use room temperature ingredients

To get the perfect texture on the vanilla cake, it’s key to use room temperature ingredients! This includes your butter, eggs, sour cream and milk. Room temperature ingredients are key for a few reasons:

  • Leads to a fluffier, more airy texture: Eggs, butter, milk and sour cream at room temperature will form an emulsion when beaten. This emulsion will trap more air into the batter, leading to a fluffier texture.
  • Incorporates into a smooth batter: Room temperature ingredients will always combine more smoothly together while cold ingredients can lead to a lumpy, less cohesive batter. In pancakes, for example, if you’ve ever added warm melted butter to cold milk, you’ll likely notice little bits of cold butter that seize in the milk. We want to avoid this!
  • Gives a headstart on baking: Using room temperature ingredients leads to a room temperature batter that can immediately get going once put in a hot oven. Using cold ingredients means it will take that much longer for the chemical reactions to begin once you start baking, potentially leading to a longer bake time.

To quickly bring your ingredients to room temperature:

  • Cut cold butter into small chunks or slices and let sit in a warm place.
  • Soak cold eggs in hot water for 5-10 minutes.
  • Whisk sour cream and milk together and microwave them for 30 seconds to remove the chill. It’s better for them to be slightly warm rather than cold (but not too hot–you don’t want to cook the egg!).

Make the lemon raspberry cake

This cake makes a substantial 3 layer 8″ cake. If you’d like a smaller cake, you can make a single layer cake by reducing the ingredients by a third.

I highly recommend having an electric mixer on hand to make this cake. While you can attempt the reverse creaming method by hand, this will be way easier with an electric or stand mixer.

Step 1: In the bowl of a stand mixer, combine the flour, sugar, baking powder and salt.

Step 2: With the mixer on low speed, add the butter 1 tbsp at time until all the butter is incorporated. Continue mixing for 3 full minutes–the mixture should look sandy with tiny chunks of butter. This is the reverse creaming method and you’re aiming to coat all the flour molecules in butter at this point.

Step 3: In a separate bowl, whisk together the sour cream, milk, oil, eggs and vanilla extract.

Step 4: Stream the sour cream mixture into the butter mixture and mix on medium speed for 1 minute until you have a silky batter. Add raspberries to the batter and mix on low for 30 seconds just to incorporate.

Step 5: Divide batter equally between 3 prepared 8″ cake pans (around 625g per layer). Bake at 350 F for 30-35 minutes, or until fragrant with golden edges and the middle springs back under your finger.

Step 6: Make the lemon curd by combining the sugar, lemon juice, eggs and salt in a small saucepan.

Step 7: Whisk constantly over medium to medium-low heat until thickened and bubbling, around 3-5 minutes. Remove from heat and whisk in the butter.

Step 8: Wipe out the saucepan and make the raspberry compote by combining the raspberries, sugar, lemon juice and salt and set over medium heat. In a separate small bowl, whisk together the cornstarch and water.

Step 7: Once the raspberries have begun to break down and release liquid (1-2 minutes), add the cornstarch slurry and stir to combine. Cook for 3-4 more minutes, stirring occasionally, until the mixture is thickened and bubbly. Remove from heat and let cool completely.

A silky white frosting being mixed in the bowl of a stand mixer.

Step 8: Make the frosting by beating the softened butter until creamy. Gradually add the powdered sugar and beat until incorporated. Add the milk, vanilla and salt and beat on medium speed for 3 minutes, or until pale white and very fluffy.

Step 9: Place a cooled layer of cake on a cake stand. Top with 1/4 of the frosting, a few tbsp of lemon curd and a few tbsp of raspberry compote, smoothing with an offset spatula to incorporate.

Step 10: Repeat with the rest of the cake layers and finish with a garnish of curd and compote!

A fork taking a bite out of a three layer slice of vanilla cake with raspberries and white frosting on a white plate.

Storage and make ahead

Here are my recommendations on making the components ahead of time:

  • Bake the layers up to 2 weeks ahead of time: If time allows, I always prefer baking the cake layers a few days ahead of serving the cake. After baking, I’ll wrap them in plastic wrap and freeze for up to 2 weeks (I like this compostable plastic wrap). Because this is a relatively tender cake, freezing the layers ahead of time helps firm up the layers and reduces the crumbs when you frost the cake.
  • Make the lemon curd and raspberry compote 1-2 days before: Store the lemon curd and/or compote in the fridge in an airtight container until ready to assemble the cake.
  • Make the frosting the day of: The day you plan to serve the cake, make the frosting right before assembling. The cake is best served the day it’s assembled!

Store any leftover cake in the fridge in an airtight container. If you’d like to store it for longer, you can wrap individual slices of cake in plastic wrap and freeze for up to a few weeks.

A three layer slice of vanilla cake with raspberries and white frosting on a white plate.

Lemon Raspberry Cake

Erika Kwee
This lemon raspberry cake has layers of tender sour cream vanilla cake with fresh raspberries, bright lemon curd, a raspberry compote and a sweet vanilla buttercream. This is the perfect spring cake bursting with bright flavors!
4.19 from 11 votes
Print Recipe Pin Recipe
Prep Time 1 hour hr 30 minutes mins
Cook Time 35 minutes mins
Course Dessert
Cuisine American
Servings 1 8″ 3 layer cake

Equipment

  • 3 8" cake pans
  • Stand mixer or electric mixer

Ingredients
  

For the cake

  • 2 1/4 cups sugar 450g
  • Zest of 2 large lemons (about 1.5-2 tbsp)
  • 3 3/4 cups all-purpose flour 450g
  • 3 1/4 tsp baking powder
  • 1 tsp kosher salt
  • 3/4 cup unsalted butter, softened to room temperature 170g
  • 1 cup + 2 tbsp sour cream, at room temperature 254g
  • 3/4 cup whole milk, at room temperature 170g
  • 6 tbsp neutral oil (canola, vegetable, coconut, grapeseed, etc. will all work) 75g
  • 3 large eggs, at room temperature 150g
  • 1 tbsp vanilla extract
  • 6 oz fresh raspberries

For the lemon curd

  • 1/3 cup lemon juice 75g
  • 1/3 cup sugar 67g
  • 2 large eggs 100g
  • pinch kosher salt
  • 2 tbsp unsalted butter 28g

For the raspberry compote

  • 6 oz fresh raspberries
  • 2 tbsp sugar 25g
  • 1 tsp lemon juice
  • 1 tsp water
  • 1 tsp cornstarch

For the vanilla buttercream

  • 2.5 sticks unsalted butter, softened to room temperature 282g
  • 5 cups powdered sugar 565g
  • 2 tsp vanilla extract
  • 1/2 tsp kosher salt
  • 3-4 tbsp heavy cream or milk
  • More fresh raspberries for garnish, if desired

Instructions
 

Make the cake

  • Preheat the oven to 350 F. Grease and line 3 8" cake pans with parchment.
  • In the bowl of a stand mixer fitted with a paddle attachment, add 2 1/4 cups sugar and Zest of 2 large lemons (about 1.5-2 tbsp). Rub the zest into the sugar with your fingers until fragrant.
  • To the same bowl, add 3 3/4 cups all-purpose flour, 3 1/4 tsp baking powder and 1 tsp kosher salt.
  • With the mixer on low speed, add 3/4 cup unsalted butter 1 tbsp at a time until all the butter is incorporated. Continue mixing for a full minute–the mixture should look sandy with tiny chunks of butter.
  • Meanwhile, in a large measuring cup or medium mixing bowl, whisk together 1 cup + 2 tbsp sour cream, 3/4 cup whole milk, 6 tbsp neutral oil, 3 large eggs, and 1 tbsp vanilla extract. (Make sure all your ingredients are at room temperature!)
  • Slowly stream the sour cream mixture into the dry ingredients. Once the mixture is fully incorporated, mix on medium speed for 1 minute until you have a smooth and silky batter. Add 6 oz fresh raspberries and mix on low for another 15 seconds to combine.
  • Divide batter equally between the 3 prepared pans (around 625g per layer). Bake for 30-33 minutes, or until fragrant with golden edges and the middle springs back under your finger.

For the lemon curd

  • In a small saucepan, whisk together 1/3 cup lemon juice , 1/3 cup sugar, 2 large eggs and pinch kosher salt. Set over medium to medium-low heat, whisking constantly for 2-4 minutes, or mixture has thickened and is bubbling.
  • Remove from heat and stir in 2 tbsp unsalted butter. Set aside to cool completely.

For the raspberry compote

  • Rinse out the saucepan and add 6 oz fresh raspberries, 2 tbsp sugar and 1 tsp lemon juice. In a separate small bowl, whisk together 1 tsp water and 1 tsp cornstarch.
  • Set the saucepan over medium heat and cook for 2-3 minutes, or until the raspberries start to release their juice, stirring occasionally. Add the cornstarch slurry and stir to combine. Cook for another 2-3 minutes or until the mixture is thickened and bubbling, stirring occasionally. Remove from heat and set aside to cool completely.

For the vanilla buttercream

  • Add 2.5 sticks unsalted butter, softened to room temperatureto the bowl of a stand mixer and beat on low until creamy, about 1 minute.
  • Gradually add 5 cups powdered sugar about 1/2 cup at a time on low speed until incorporated. Add 2 tsp vanilla extract and 1/2 tsp kosher salt and beat on medium speed for about 3 minutes, or until pale white and fluffy. Add heavy cream or milk 1 tbsp at a time until you reach your desired frosting consistency.
  • To assemble the cake, place one cake layer on a cake stand. Top with 1/4 frosting, a few tbsp of the lemon curd and a few tbsp of the raspberry compote, swirling to incorporate. Repeat with the rest of the layers before frosting the entire cake and garnishing the top with extra curd, compote and fresh raspberries if desired.

Video

Notes

To quickly bring your eggs to room temperature, soak them in hot water for 5-10 minutes.
If your sour cream and milk are still cold from the fridge, whisk them together and microwave for 30 seconds to remove the chill. Better for the liquid to be a bit warm rather than too cold (but not too hot so that they cook the eggs!).
Cake adapted from Preppy Kitchen’s vanilla cake.
Frosting adapted from Sally’s Baking Addiction. 
Tried this recipe?Let us know how it was!

Reader Interactions

Comments

    4.19 from 11 votes

    Leave a Reply Cancel reply

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

    Recipe Rating




  1. Bella

    May 13, 2025 at 7:32 pm

    I baked this cake entirely by hand (I don’t own an electric mixer) and it came out flawlessly. I have never had that much success while making a cake before. I substituted the sour cream with Greek yogurt and cut the recipe by 2/3rds, multiplying everything by .66 as I found those numbers easier to work with than the previous commenters’ .57
    It made just a bit too much lemon curd and compote but regardless the cake came out perfect, would make this recipe again! Thank you!

    Reply
    • erika

      May 15, 2025 at 3:35 pm

      So thrilled to hear it was a success by hand!! And helpful to know it came out well using Greek yogurt and cutting everything by 2/3. Thank you for reporting back!

      Reply
  2. Bethany

    May 11, 2025 at 8:23 pm

    Hi Erika!

    I want to try this out for a friend’s birthday but in my part of the world, we don’t really have sour cream. What would you suggest as a substitute? Maybe plain yogurt?

    Thanks!

    Reply
    • erika

      May 12, 2025 at 9:10 am

      Yes, or I think full-fat plain Greek yogurt would be best!

      Reply
  3. Angela

    May 11, 2025 at 3:56 pm

    5 stars
    This is a great recipe! I have no experience baking cakes like this and I appreciated how detailed and descriptive the recipe is. I followed the recipe precisely and the results were so well worth the effort. We loved how all the flavours come together and it was delicious! I am now hooked on cake making and will for sure make more cakes from this blog.

    Reply
    • erika

      May 12, 2025 at 9:10 am

      Angela!! Thank you so much for the review and so happy it turned out well for your first cake!!

      Reply
  4. Anna

    May 9, 2025 at 5:45 pm

    5 stars
    This recipe is SO good! I baked in 5.5oz cup molds for a work pot luck and it was a smashing hit! Homemade lemon curd is by far the best confection on Earth!

    Reply
    • erika

      May 12, 2025 at 9:11 am

      Omg YAY!! Cake cup molds sound like a dream!

      Reply
  5. Sadie

    May 6, 2025 at 12:29 pm

    Hi Erika,

    Hoping to make this recipe, but unfortunately only have 2 9″ round pans instead of 3 8″ pans. Any recommendations for scaling/timing?

    Reply
    • erika

      May 7, 2025 at 10:10 am

      Hi! If you don’t mind doing some math, I think scaling this to 2/3 and baking in the 2 9″ pans would be perfect (guessing they’ll bake for 28-32 min ish).

      Reply
  6. Liz

    May 6, 2025 at 9:30 am

    This cake looks amazing! Would love to make this for Mothers day but what if I wanted to do 2 layers instead of 3. How should I modify the recipe or is making as is ok?

    Reply
    • erika

      May 7, 2025 at 10:11 am

      Honestly it is a lot of batter! If you tried to make this as is in 2 9″ pans, I *think* it could be okay but you might have to bake for 40 min+ to get it to bake through all the way. To be safe, I just recommended to another commenter that you can try scaling the cake down by 1/3 and bake in 2 9″ pans.

      Reply
      • Liz

        May 11, 2025 at 12:17 pm

        3 stars
        I made the cake! The flavor was definitely there and amazing but my cake came out dense. Seemed undercooked and not as fluffy as I thought it would. Any thoughts to where I could have gone wrong? Hoping to try again and correct.

      • erika

        May 12, 2025 at 9:14 am

        Hi Liz, so sorry to hear the cake didn’t turn out the way you wanted! Was it at all gummy/how did it seem undercooked? Did the batter look similar to the step by step photos? Were all your ingredients at room temperature? Did the cake spring back under your finger when you pulled it from the oven? Those would probably be the things I’d consider first!

  7. Tina

    April 26, 2025 at 8:40 pm

    This was fantastic. Even my chocolate-only loving husband said this was excellent! I scaled down the recipe in order to use 6 inch cake pans by multiplying all the ingredients by .57. I baked for 23 minutes. The custard and compote are on the tart side, but in the cake, they are the perfect complement to the sweet cake and buttercream.

    Reply
    • erika

      April 28, 2025 at 10:44 pm

      Wow incredible work scaling this down–thanks so much for reporting back Tina!

      Reply
  8. Keila

    April 21, 2025 at 7:40 pm

    5 stars
    This cake was absolutely a hit! I made this cake for my sister’s 11th wedding anniversary and everyone absolutely loved it. The cake itself is so soft and moist and the raspberries add a delicious touch to them. I paired this cake with a Swiss Meringue buttercream and it was the cherry on top. Unfortunately, the lemon curd had a very egg-y aftertaste so I omitted it and just used the raspberry compote as a filling instead. Other than that, it was a very easy recipe to make and so delicious. Definitely one of my top favs!

    Reply
    • erika

      April 23, 2025 at 10:21 am

      Aww wow so honored that you made this for her wedding anniversary! And thank you for the feedback on the lemon curd–I was trying to find a way to incorporate the entire egg into the curd but I do think the extra egg white does lend an eggier taste. Will retest this again and update if I find a better solution–thank you for the review!

      Reply
  9. Catherine E Sanderson

    April 21, 2025 at 8:38 am

    3 stars
    I have little experience with cakes made from scratch. Cake came out heavy and with a bit of a bitter lemon after taste. My buttercream was heavy even though I added almost 5 T of cream. I made the mistake of keeping frosted cake in refrigerator so frosting was almost hard, even though it sat out for 30 minutes. Not on my list to try again. The fillings were great.

    Reply
    • erika

      May 7, 2025 at 1:10 pm

      I’m so sorry this cake didn’t turn out well for you! The crumb is definitely on the moist side but it shouldn’t have a bitter lemon aftertaste. Thank you for the feedback.

      Reply
  10. Victoria

    April 20, 2025 at 6:49 pm

    3 stars
    I I worked so hard on this cake but was disappointed. Cake was dry and crumbly. Seemed to be missing some needed fat.

    Reply
    • erika

      April 21, 2025 at 9:13 am

      I’m so sorry you were disappointed with this cake Victoria! I’ll re-test this again to make sure, but the measurements in terms of fat should be correct!

      Reply
  11. Tristyn B

    April 17, 2025 at 2:04 pm

    Can’t wait to make this!! If I freeze the cake layers, when should I take them out of the freezer before frosting? Should I let them defrost in the fridge or leave on the counter?

    Reply
    • erika

      April 18, 2025 at 8:14 am

      I’d move the layers from the freezer to the fridge at least 3-4 hours before you plan to assemble the cake! I wouldn’t put them at room temperature because you still want the layers a bit chilled when you frost them!

      Reply
  12. Karen

    April 12, 2025 at 9:27 pm

    5 stars
    I need this with gluten-free flour and it came out absolutely delicious! I am definitely making this again! the cake looked so beautiful and tasted so delicious! love the combination of lemon and raspberry

    Reply
    • erika

      April 13, 2025 at 9:00 pm

      Thank you Karen for letting us know it worked well with gluten-free flour! So happy you enjoyed it!

      Reply
  13. RF

    April 9, 2025 at 12:56 pm

    Could I half this recipe and bake the cake in a sheet pan or casserole dish then cut it out into rounds? Similar to a milk bar cake?

    Reply
    • erika

      July 13, 2025 at 11:39 am

      Yes that should work well!

      Reply
  14. Sara

    April 7, 2025 at 11:14 pm

    5 stars
    Amazing cake. So delicious, light, and refreshing!

    Reply
    • erika

      April 8, 2025 at 4:31 pm

      So glad you enjoyed, Sara!! <3

      Reply
  15. Linda

    April 5, 2025 at 2:12 pm

    Hi! I’m not really experienced in baking but excited to try to make this! I’m planning to make smaller cakes in a 4 inch pan, do you recommend less time? And how much?

    Reply
    • erika

      April 8, 2025 at 4:35 pm

      Hi Linda! Are you planning to halve the recipe or make many layers in a 4-inch pan? I haven’t baked in a 4-inch pan maybe ever, so I might start with baking for 10 minutes and adding 2-5 minutes of baking time as needed until the cake layers spring back under your finger.

      Reply
Newer Comments »

Primary Sidebar

A girl surrounded by plates of baked goods holding a cookie up to her eye.

Baking recipe curator and tester.

I’m here to give you confidence that you are finding the recipe that’s right for you.

I test recipes side-by-side and use a data-driven approach to analyze and rank the “best” recipes and put it all together for you.

Named by Southern Living as the Cook of the Year for 2021, and the recipient of a Saveur award, as well features in the WSJ, the Houston Chronicle, and more.

Get to know me.

  • Email
  • Facebook
  • Instagram
  • Pinterest
  • YouTube

Subscribe to get the latest

More Cake Recipes:

A white pie plate filled with pumpkin, pecan and apple mini hand pies.

Thanksgiving Tri Pie

pumpkin white chocolate cookies on a baking sheet.

Chewy Pumpkin Cookies

Two squares of apple crumb cake stacked on top of each other on a white plate.

Cinnamon Apple Crumb Cake

Three pumpkin panckes laid out on a white plate.

Pumpkin Cottage Cheese Pancakes

A slice of pumpkin sheet cake on a white plate.

Pumpkin Spice Mini Sheet Cake (Trader Joe’s copycat)

slice of pumpkin cheesecake on a blue plate.

Pumpkin Cottage Cheese Cheesecake

See more cake recipes >>

A sticker saying \"Winner: Saveur Blog \'19 Awards for Best Baking & Sweets Blog.\"

More Cookie Recipes:

pumpkin white chocolate cookies on a baking sheet.

Chewy Pumpkin Cookies

An apple pie cookie on a white plate.

Apple Pie Cookies

A cheesy jam thumbprint cookie on a cookie sheet.

Cheese Cookies (with Pecorino Romano PDO)

a thick chocolate crinkle cookie on a sheet of parchment paper.

Dark Chocolate Crinkle Cookies (Levain-style!)

Alejandra Salas M&M cookie.

Alejandra Salas’ M&M Cookies

A smore's cookie broken in half on a wire baking rack.

S’mores Graham Cracker Shortbread

See more cookie recipes >>

Featured In

An image showing icons for various publications like Southern Living, Huffington Post and Daily Burn.

Footer

Links:

Back to Top
Bake Offs
Recipes
Travel
About
Work With Me
  • Email
  • Facebook
  • Instagram
  • Pinterest
  • Substack
  • TikTok
  • YouTube

Latest:

  • Thanksgiving Tri Pie
  • Chewy Pumpkin Cookies
  • Cinnamon Apple Crumb Cake
  • Best White Chocolate Macadamia Nut Cookie Bake Off
  • Pumpkin Cottage Cheese Pancakes

Privacy Policy and Terms of Service · Accessibility Policy ·   © Pancake Princess 2025

Rate This Recipe

Your vote:




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

Recipe Ratings without Comment

Something went wrong. Please try again.