There’s something truly special about the combination of bright, sunny lemon and sweet-tart raspberries. It’s a pairing that sings of summer, but honestly, I crave this flavor profile year-round. As a pastry chef, I’ve always believed a great layer cake should offer a beautiful contrast of textures and a harmonious balance of flavors.
This Lemon Raspberry Cake is exactly that: tender, moist crumb, bursts of fresh berry, and a frosting that’s rich yet tangy enough to keep every bite interesting. It’s the kind of dessert that looks impressive on a celebration table but is built on solid, reliable baking techniques you can master at home.
- Perfect Flavor Balance: The tartness of fresh lemon and raspberries cuts through the sweetness of the cake and frosting, creating a sophisticated taste that’s never cloying.
- Moist & Tender Crumb: The combination of buttermilk, oil, and careful mixing ensures a cake that stays deliciously moist for days.
- Sturdy Yet Silky Frosting: My professional method using cold cream cheese results in a frosting that’s stable enough to pipe and layer but melts luxuriously on your tongue.
- Make-Ahead Friendly: You can bake the layers, make the filling, and prepare the frosting all a day in advance, making assembly on the day of serving a breeze.
- Visually Stunning: The vibrant yellow cake, pink filling, and white frosting dotted with red berries make for a naturally beautiful dessert that requires minimal decoration.
- Crowd-Pleasing Versatility: This cake fits everything from a casual weekend treat to a birthday, baby shower, or Mother’s Day centerpiece.
Ingredients You’ll Need
Let’s gather our ingredients—this is where the magic starts. Using quality components and paying attention to temperature will set you up for the best possible cake. For the lemon flavor, we’re using both zest and juice; the zest provides potent aromatic oils, while the juice gives that direct tang.
I highly recommend using fresh lemons for both. For the raspberries, fresh is ideal for the filling and garnish, but frozen (thawed and drained) work perfectly in the cake batter itself if needed.
- All-purpose flour: Spooned and leveled into your measuring cup to avoid a dense cake.
- Baking powder & baking soda: Our dual leaveners for a good rise and an open crumb.
- Salt: A critical flavor enhancer that makes the sweet and tart notes pop.
- Unsalted butter: Room temperature for proper creaming. It should leave a slight indent when pressed.
- Granulated sugar: For sweetness and, when creamed with butter, for creating air pockets.
- Eggs: Room temperature eggs incorporate more evenly, creating a smoother batter.
- Vegetable oil: Adds guaranteed moisture that butter alone can’t provide.
- Lemon zest & juice: The dynamic duo for intense lemon flavor. Use a microplane for the finest zest.
- Buttermilk: Room temperature. Its acidity tenderizes the gluten and reacts with the baking soda.
- Vanilla extract: A background note that rounds out all the flavors.
- Fresh raspberries: We’ll use some in the batter, some for the cooked filling, and some for garnish.
- Cornstarch: To thicken our fresh raspberry filling so it stays neatly between the layers.
- Cream cheese: Use full-fat, brick-style cream cheese. Keep it cold for the frosting method I use.
- Powdered sugar: Sifted to avoid lumps in your silky-smooth frosting.
Note: You’ll find the complete list of ingredients, along with their exact measurements, in the printable recipe card at the bottom of this post.
Kitchen Equipment Needed
You don’t need overly specialized tools, but a few key items will make the process smoother. A stand mixer is fantastic for the creaming and frosting steps, but a sturdy hand mixer will work. The most important item is your cake pans: three 8-inch rounds.
If you only have two pans, you can bake the third layer after the first two cool, but the batter will wait best if kept at cool room temperature. An offset spatula is my secret weapon for frosting cakes neatly, and a fine-mesh sieve is essential for straining the seeds from the raspberry filling for a smooth texture.
How to Make Lemon Raspberry Cake Recipe
Step 1: Prep and Mix Dry Ingredients
Preheat your oven to 350°F (175°C)—an accurate oven temperature is the first step to even baking. Grease your three 8-inch pans, line the bottoms with parchment paper circles, and grease the paper too. This guarantees easy release.
In a medium bowl, whisk together your flour, baking powder, baking soda, and salt. Whisking for 30 seconds does more than just combine; it aerates the dry ingredients, leading to a lighter cake. Set this bowl aside while you work on the wet ingredients.
Step 2: Cream Butter and Sugar
In your stand mixer bowl, combine the room-temperature butter and granulated sugar. Beat on medium-high speed for a full 4 to 5 minutes. Trust me, this isn’t a step to rush.
You want the mixture to become very pale, fluffy, and almost whipped. This process incorporates tiny air bubbles that will expand in the oven, giving your cake its lift and tender texture. Scrape down the bowl and paddle halfway through to ensure everything is evenly mixed.
Step 3: Build the Wet Ingredients
With the mixer on medium, add your room-temperature eggs one at a time, letting each fully incorporate before adding the next. This prevents the batter from breaking. Then, mix in the vegetable oil—this is our insurance policy for a moist cake.
Finally, beat in the lemon zest and vanilla extract. The batter might look a bit curdled at this point if your eggs were cool; that’s okay and will fix itself when you add the dry ingredients.
Step 4: Combine Wet and Dry
Reduce the mixer speed to low. Add about one-third of your flour mixture, mixing just until combined. Follow with half of the buttermilk and lemon juice (mixed together), then another third of flour, the remaining buttermilk, and finally the last of the flour.
Mix only until the last streaks of flour disappear. Overmixing develops gluten and leads to toughness. Now, gently fold in a half-cup of fresh raspberries by hand with a spatula.
Step 5: Bake and Cool
Divide the batter evenly among your three prepared pans. I like to use a kitchen scale for precision, aiming for about 2 cups or 500g of batter per pan. Smooth the tops.
Bake for 25-30 minutes. The cakes are done when they spring back lightly to the touch and a toothpick inserted in the center comes out clean. Let them cool in the pans on a wire rack for just 10 minutes, then carefully turn them out to cool completely.
Believe me, frosting a warm cake is a recipe for disaster.
Step 6: Prepare Fillings and Frosting
While the cakes cool, make the raspberry filling. Simmer raspberries and sugar until juicy, then stir in the cornstarch slurry and cook until thick. Press this through a sieve to remove the seeds—it’s worth the extra step for that smooth, vibrant filling.
Let it cool completely. For the frosting, beat the cold cream cheese first until smooth. Add the room-temperature butter and beat until combined.
Tip from me: Starting with cold cream cheese is the trick to a frosting that’s stable and not runny. Gradually add the sifted sugar, lemon juice, zest, vanilla, and salt, then whip until fluffy.
Step 7: Assemble and Decorate
Place your first cake layer on a serving plate or cake board. Spread half of the cooled raspberry filling over it, but leave a 1/2-inch border around the edge. Using a piping bag or spoon, create a “dam” or wall of frosting around that border.
This crucial step contains the filling and prevents a soggy cake or messy leaks. Add the second layer, repeat with the remaining filling and another frosting dam, then top with the final layer. Apply a thin “crumb coat” of frosting over the entire cake, chill for 20 minutes, then apply your beautiful final coat.
Decorate with fresh raspberries and a sprinkle of lemon zest.
- Ingredient Temperature is Key: Room-temperature butter, eggs, and buttermilk (around 65-70°F) emulsify into a smooth, homogeneous batter that traps air, leading to a better rise. Cold ingredients can cause the batter to curdle and result in a dense cake.
- The Frosting Dam is Non-Negotiable: That barrier of frosting you pipe around the edge of each layer before adding the raspberry filling is what keeps your cake structurally sound and visually clean when sliced. Skipping it often leads to bulging sides and filling oozing out.
- Chill Before Slicing: After decorating, refrigerate the assembled cake for at least one hour. This firms up the frosting and filling, allowing you to get those perfectly clean, sharp slices that showcase all the beautiful layers.
- How to Fix Runny Frosting: If your cream cheese frosting seems too soft after mixing, simply chill the entire bowl in the refrigerator for 20-30 minutes, then re-whip. The cold cream cheese method usually prevents this, but kitchen temperatures vary.
- Testing for Doneness: Beyond the toothpick test, look for the cakes pulling away slightly from the sides of the pan and the top springing back when gently pressed with a fingertip.
Recipe Variations
- Lemon Blueberry Cake: Swap the raspberries for an equal amount of fresh blueberries. Toss the blueberries for the batter in 1 tablespoon of the measured flour to prevent them from sinking.
- Gluten-Free Adaptation: Use a 1:1 gluten-free all-purpose flour blend that contains xanthan gum. I’ve had excellent results with brands like Bob’s Red Mill or King Arthur. The texture will be slightly more delicate.
- Raspberry Swiss Meringue Buttercream: For a less sweet, super-silky frosting, replace the cream cheese frosting with a lemon Swiss meringue buttercream and fold in 1/4 cup of the seedless raspberry puree.
- Sheet Cake Simplicity: Bake the batter in a greased 9×13-inch pan for 35-40 minutes. Spread with frosting and swirl in the raspberry filling for a simpler, crowd-feeding version.
- Individual Cakes: Divide the batter among 18-20 lined cupcake tins and bake for 18-22 minutes. Fill with a bit of raspberry filling using a piping tip and frost as usual.
- Dairy-Free Version: Use plant-based butter and buttermilk (1 cup unsweetened soy milk + 1 tbsp lemon juice, let sit 5 mins). For frosting, use a thick, firm vegan cream cheese alternative.
- Enhanced Lemon Flavor: Add 1/4 teaspoon of pure lemon oil (not extract) to the batter along with the vanilla for an extra punch of citrus aroma.
What to Serve With This Recipe
This cake is a complete dessert on its own, but a few thoughtful pairings can elevate the experience. For beverages, a glass of crisp Prosecco or Champagne plays wonderfully with the berries and citrus. For a non-alcoholic option, sparkling water with a twist of lemon or a pot of Earl Grey tea are perfect.
If you’re serving it as part of a larger dessert spread, keep companions light and fresh. A simple fruit salad, lemon sorbet, or a plate of buttery shortbread cookies would complement it without competing. This cake is ideal for spring and summer celebrations like bridal showers, graduations, and garden parties, but its bright flavor is a welcome antidote to winter gloom, too.
Storage & Make-Ahead Instructions
- Storage: Due to the perishable cream cheese frosting and fresh fruit, this cake must be stored in the refrigerator. Cover it with a cake dome or invert a large bowl over it to protect it. It will keep beautifully for up to 4 days.
- Freezing: You can freeze the unfrosted, cooled cake layers tightly wrapped in plastic wrap and then foil for up to 3 months. Thaw overnight in the refrigerator. The frosting and filling are best made fresh.
- Make-Ahead Strategy: You can bake the cake layers up to 2 days ahead; wrap them individually in plastic wrap once cool and store at room temperature. The raspberry filling can be made 3 days ahead and stored in the fridge. The frosting can be made 1 day ahead, stored in an airtight container in the fridge, then re-whipped for a minute before using.
- Serving from the Fridge: For the best texture and flavor, let the refrigerated cake sit at cool room temperature for about 30 minutes before serving. This allows the frosting to soften slightly and the flavors to bloom.
Frequently Asked Questions
Q: Can I use frozen raspberries?
A: Absolutely. For the filling, use frozen berries directly. For folding into the batter, thaw them completely, drain all excess liquid on paper towels, and toss them in a tablespoon of flour first to prevent a soggy batter and color bleed.
Q: My frosting is too soft. What did I do wrong?
A: The most common culprit is cream cheese that was too warm. Always start with cold, straight-from-the-fridge cream cheese. If it’s already soft, chill the mixed frosting for 20-30 minutes, then re-whip.
Q: Can I make this into a 2-layer cake instead of 3?
A: Yes, but you’ll need to use two 9-inch round pans. The baking time may be slightly less, so start checking at 22 minutes. The layers will be thicker, so adjust your filling amounts accordingly.
Q: How do I prevent the raspberry filling from making the cake soggy?
A: The combination of letting the filling cool completely, applying it in a thin layer, and using that critical frosting dam around the edge creates a protective barrier that keeps the cake layers perfectly moist, not soggy.
Q: Can I use lemon extract instead of fresh lemon?
A: I don’t recommend it for the primary flavor. The complex brightness of fresh lemon juice and zest is irreplaceable. You could add 1/2 teaspoon of extract in addition to the fresh lemon for an extra boost, but not as a substitute.
Q: Why did my cake layers dome in the middle?
A: This is often due to an oven that runs hot, causing the edges to set too quickly. Ensure your oven temperature is accurate with an oven thermometer. You can also try using cake strips (wet fabric strips wrapped around the pan) to promote even baking.
Q: How far in advance can I assemble the whole cake?
A: You can fully assemble and decorate the cake 1 day before serving. Store it in the refrigerator. The flavors actually meld and improve overnight.
Add the final fresh raspberry garnish just before serving for the best appearance.
Final Thoughts
This Lemon Raspberry Cake is more than just a dessert; it’s a testament to how beautiful, balanced flavors and solid technique can create something truly memorable. It has the wow factor for special occasions but is built on foundational baking principles that are completely achievable in a home kitchen. The joy of presenting a cake you’ve layered and frosted yourself is unmatched.
I encourage you to take your time, enjoy the process of zesting lemons and folding in berries, and trust the methods outlined here. They come from years of testing in both restaurant and home kitchens. When you slice into that chilled cake and see the distinct layers of yellow cake, pink filling, and white frosting, you’ll feel that pride.
I’d love to hear how it turns out for you—share your creations online and tag me. Happy baking

Ultimate Lemon Raspberry Layer Cake
Equipment
- Stand mixer or hand mixer
- Three 8-inch round cake pans
- Parchment paper
- Wire cooling racks
- Fine-mesh sieve
- Offset spatula
- Piping bag (optional, for frosting dam)
Ingredients
- 2 1/2 cups all-purpose flour spooned and leveled
- 2 tsp baking powder
- 1/2 tsp baking soda
- 1 tsp salt
- 1 cup unsalted butter room temperature
- 1 3/4 cups granulated sugar
- 4 large eggs room temperature
- 1/3 cup vegetable oil
- 2 tbsp lemon zest from about 3 medium lemons
- 1/2 cup fresh lemon juice
- 1 cup buttermilk room temperature
- 2 tsp vanilla extract
- 12 oz fresh raspberries plus extra for garnish, divided
- 1/4 cup granulated sugar for raspberry filling
- 1 tbsp cornstarch
- 1 tbsp water
- 16 oz cream cheese full-fat, very cold
- 1 cup unsalted butter room temperature
- 6 cups powdered sugar sifted
- 2 tbsp fresh lemon juice
- 1 tbsp lemon zest
- 1 tsp vanilla extract
- 1/8 tsp salt
Instructions
- Preheat oven to 350°F (175°C). Grease and line three 8-inch round cake pans with parchment paper. In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
- In the bowl of a stand mixer fitted with the paddle attachment, beat the butter and sugar on medium-high speed for 4-5 minutes until very light and fluffy. Scrape down the bowl. Add eggs one at a time, beating well after each addition. Mix in the vegetable oil, lemon zest, and vanilla.
- With the mixer on low, add the dry ingredients in three parts, alternating with the buttermilk and lemon juice, beginning and ending with the dry ingredients. Mix just until combined—do not overmix. Gently fold in 1/2 cup of the fresh raspberries, being careful not to break them.
- Divide the batter evenly among the prepared pans (about 2 cups of batter per pan). Smooth the tops. Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean. Let cakes cool in pans for 10 minutes, then turn out onto a wire rack to cool completely.
- Make the raspberry filling: In a small saucepan, combine 8 oz raspberries and 1/4 cup sugar. Cook over medium heat for 5-7 minutes until berries break down. Mix cornstarch and water into a slurry, stir into berries, and cook 1-2 minutes more until thickened. Strain through a fine-mesh sieve to remove seeds, then cool completely.
- Make the frosting: Using a stand mixer with the paddle, beat the cold cream cheese until smooth. Add the room temperature butter and beat for 2-3 minutes until combined and smooth. With mixer on low, gradually add sifted powdered sugar, lemon juice, zest, vanilla, and salt. Beat on medium-high for 3-4 minutes until very fluffy.
- Assemble the cake: Place one cake layer on a serving plate. Spread half of the cooled raspberry filling evenly over the top, leaving a 1/2-inch border. Pipe or spread a dam of frosting around the edge to contain the filling. Add second layer and repeat with remaining filling. Top with final cake layer.
- Apply a thin crumb coat of frosting over the entire cake and chill for 20 minutes. Apply the final, thick layer of frosting, smoothing the sides and top. Decorate with remaining fresh raspberries and lemon zest. Chill for at least 1 hour before slicing for clean cuts.
