There’s something magical about the combination of bright, sunny lemon and sweet-tart raspberries. It’s a pairing that sings of summer but brings a welcome burst of cheer to any table, any time of year. As a pastry chef, I’ve frosted countless cakes, but this lemon raspberry layer cake holds a special place in my repertoire.
It’s the one I’m asked to bring to family gatherings and the one that consistently earns the most compliments. The secret isn’t a single exotic ingredient; it’s a series of small, intentional techniques that ensure a moist, tender crumb, a vibrant berry filling that doesn’t sog out the cake, and a frosting that’s tangy, creamy, and perfectly balanced. If you’re looking for a show-stopping dessert that delivers on both flavor and texture, you’ve found it.
Let’s bake a cake that’s as beautiful as it is delicious.
- Perfect Flavor Balance: The tartness of fresh lemon and raspberries is expertly tempered by the sweet, creamy frosting, creating a sophisticated taste profile that’s never cloying.
- Exceptionally Moist Texture: Using a combination of butter for flavor and oil for moisture guarantees a cake that stays tender for days, defying the typical dry layer cake fate.
- Sturdy Yet Elegant Structure: The method of creating a “frosting dam” allows you to use a lush, juicy fruit filling without compromising the cake’s structure, making it ideal for transport.
- Make-Ahead Friendly: Each component—cake layers, filling, and frosting—can be prepared a day in advance, making assembly for a special occasion calm and straightforward.
- Endlessly Customizable: This recipe provides a masterclass in technique that you can adapt with different citrus or berries, making it a versatile foundation for your baking adventures.
Ingredients You’ll Need
Let’s gather our ingredients. This list may look long, but it’s composed mostly of pantry staples that, when combined with care, create something truly extraordinary. The magic lies in the quality of a few key items: use the freshest, plumpest raspberries you can find and take the time to zest your lemons before juicing them—that bright citrus oil in the zest is non-negotiable for flavor.
For the cake, room temperature ingredients are crucial for proper emulsification, so plan to pull your eggs, buttermilk, and butter out about an hour before you start. Trust me, this simple step makes a world of difference in achieving a light, uniform crumb. If you don’t have buttermilk, a reliable substitute is 1 cup of whole milk mixed with 1 tablespoon of white vinegar or lemon juice, left to curdle for 5 minutes.
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 professional-grade equipment, but a few key tools will set you up for success. Three 8-inch round cake pans are ideal for creating impressive layers. If you only have two pans, you can bake in batches, but be sure the batter for the third layer waits at room temperature, not in the fridge.
A stand mixer or a sturdy hand mixer is essential for properly creaming the butter and sugar and for achieving a fluffy frosting. An offset spatula is my secret weapon for smooth frosting, and a serrated knife is perfect for leveling cake tops. Finally, don’t skip the parchment paper for lining your pans—it’s the best insurance for clean releases.
How to Make Lemon Raspberry Cake Recipe
Step 1: Prepare the Dry Ingredients and Pans
Preheat your oven to 350°F (175°C). Properly preparing your pans is the first step to cake success. Grease the bottoms and sides of three 8-inch round pans, then line the bottoms with parchment paper circles.
This guarantees your cakes will release perfectly. In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Whisking, rather than sifting, is my preferred method as it thoroughly aerates and combines these dry ingredients, which helps create an even rise.
Set this bowl aside while you work on the wet ingredients.
Step 2: Cream the Butter and Sugar
In the bowl of your stand mixer fitted with the paddle attachment, beat the room-temperature butter and granulated sugar together on medium-high speed. Believe me, this isn’t a step to rush. Cream for a full 3 to 4 minutes until the mixture is very pale, fluffy, and almost glossy.
This process incorporates tiny air bubbles that will expand in the oven, giving your cake its light texture. Scrape down the bowl and beater halfway through to ensure everything is evenly mixed.
Step 3: Build the Cake Batter
With the mixer on medium, add the eggs one at a time, letting each fully incorporate before adding the next. This prevents the batter from breaking. Now, mix in the vegetable oil—this is our moisture insurance policy—followed by the fragrant lemon zest and vanilla extract.
Tip from me: zest your lemons directly over the mixing bowl to capture every drop of the essential oils. Now, with the mixer on low, add your dry ingredients and wet ingredients (buttermilk and lemon juice) in alternating additions, starting and ending with the dry. Mix just until the last streaks of flour disappear; overmixing at this stage leads to toughness.
Step 4: Bake and Cool the Layers
Divide the batter evenly among your prepared pans. I use a kitchen scale for precision (about 520 grams per pan), but you can also use a large scoop. Smooth the tops with a spatula and tap the pans lightly on the counter to release any large air bubbles.
Bake for 25-30 minutes. The cakes are done when they spring back lightly to the touch and a toothpick inserted into the center comes out clean. Let them cool in the pans for exactly 10 minutes—this allows them to set—before inverting them onto a wire rack to cool completely.
Once cool, use a serrated knife to level the tops if they have a slight dome.
Step 5: Prepare the Fillings and Frosting
Now for the fun part: creating the components that define this cake. For the raspberry filling, cook half the berries with sugar and cornstarch until jammy, then stir in the remaining fresh berries off the heat. This gives you a filling with both concentrated flavor and bright, fresh bursts.
For the cream cheese frosting, ensure both the butter and cream cheese are truly soft. Beat them together until perfectly smooth before gradually adding the sifted powdered sugar. The final beat on medium-high for 2-3 minutes is what makes it wonderfully light and spreadable.
Step 6: Assemble and Frost the Masterpiece
Place your first cake layer on a serving plate or cake board. Using a piping bag or a spoon, pipe a thick dam of frosting around the very edge of the layer. This dam is the structural hero—it will contain the juicy raspberry filling.
Spread half the filling inside this dam. Repeat with the second layer. Top with the final cake layer.
Apply a thin “crumb coat” of frosting over the entire cake and chill for 20 minutes. This seals in crumbs. Finally, use the remaining frosting to create a beautiful final coat.
Step back and admire your work before garnishing with a cascade of fresh raspberries and a sprinkle of lemon zest.
- Ingredient Temperature is Key: Room temperature dairy (butter, eggs, cream cheese, buttermilk) emulsifies into the batter properly, creating a smooth, homogeneous mixture that bakes up evenly. Cold ingredients can cause the batter to curdle or the frosting to be lumpy.
- The Frosting Dam is Non-Negotiable: When using a wet filling like fruit compote, a buttercream dam around the edge of each layer is essential. It acts as a barrier, preventing the filling from seeping out the sides and causing the layers to slide or the frosting to become stained and soggy.
- Don’t Overmix the Final Batter: Once you begin adding the dry ingredients, mix on low speed and stop as soon as the flour is incorporated. Overmixing develops the gluten in the flour, which can lead to a dense, chewy cake instead of a tender, delicate crumb.
- Cool Cakes Completely Before Frosting: Attempting to frost even slightly warm cakes is a recipe for disaster. The frosting will melt, slide, and become a mess. Patience here ensures a clean, professional-looking finish.
Recipe Variations
- Lemon Blueberry Cake: Substitute an equal amount of fresh blueberries for the raspberries in the filling. Gently fold 1 cup of fresh blueberries into the cake batter for the final layer before baking for extra berry flavor.
- Gluten-Free Adaptation: Replace the all-purpose flour with a 1:1 gluten-free baking blend that contains xanthan gum. Be sure to whisk it thoroughly with the leaveners. The texture will be slightly more delicate but still delicious.
- Lavender Infusion: Add 1 teaspoon of culinary-grade dried lavender to the sugar when creaming the butter. The subtle floral note pairs beautifully with the lemon and raspberry, creating a more sophisticated, aromatic cake.
- White Chocolate Frosting: Replace the cream cheese frosting with a white chocolate buttercream. Melt and cool 6 ounces of quality white chocolate. Beat it into 1 cup of softened butter, then gradually add 3 cups of sifted powdered sugar and a pinch of salt.
- Individual Cupcakes: This batter is perfect for cupcakes! Line muffin tins and fill cups 2/3 full. Bake at 350°F for 18-22 minutes. Fill with a small amount of raspberry jam and top with cream cheese frosting.
What to Serve With This Recipe
This cake is a celebration in itself, but it can be beautifully incorporated into a larger menu. For a summer garden party, serve it alongside a platter of light, fresh fruit and a pitcher of sparkling raspberry lemonade or iced tea. After a richer meal, like a herb-roasted chicken or grilled salmon, this cake provides a bright, palate-cleansing finish.
For a truly elegant dessert course, pair a slice with a small glass of late-harvest Riesling, Moscato d’Asti, or even a cup of lightly sweetened Earl Grey tea. The citrus and berry notes complement these beverages perfectly.
Storage & Make-Ahead Instructions
- Refrigeration: Due to the cream cheese frosting and fresh fruit filling, this cake must be stored in the refrigerator. Cover it with a cake dome or place it in an airtight container. 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 aluminum foil for up to 2 months. Thaw overnight in the refrigerator. The frosting and filling are best made fresh.
- Make-Ahead Strategy: For stress-free assembly, bake the cake layers up to a day ahead. Once completely cool, wrap them tightly in plastic wrap and store at room temperature. The raspberry filling and cream cheese frosting can also be made a day ahead and stored separately in airtight containers in the refrigerator. Let the frosting come to room temperature and re-whip briefly before using.
- Serving from the Fridge: For the best texture and flavor, let the cake sit at room temperature for about 30 minutes before serving. This allows the frosting to soften slightly and the flavors to fully bloom.
Frequently Asked Questions
Q: Can I use frozen raspberries for the filling?
Yes, you can use frozen raspberries without thawing. There’s no need to adjust the cooking time. The compote may release slightly more liquid, so you might need to cook it for a minute or two longer until properly thickened.
Q: My frosting is too soft. How can I fix it?
A soft frosting is usually due to ingredients being too warm. Immediately pop the bowl of frosting into the refrigerator for 20-30 minutes to firm up the fats, then re-whip it. If it’s still soft, you can carefully add a bit more sifted powdered sugar, a quarter cup at a time.
Q: Why did my cake layers sink in the middle?
Sinking is typically caused by underbaking, opening the oven door too early (before the cake has set), or an incorrect amount of leavener. Ensure your baking powder and soda are fresh, bake until a toothpick is clean, and avoid opening the oven door during the first 20 minutes of baking.
Q: Can I make this cake in a 9×13 inch pan?
Absolutely. Grease and line the pan, pour in all the batter, and bake at 350°F. Start checking for doneness at 35-40 minutes.
You can frost it as a simple sheet cake, swirling the raspberry filling into the frosting on top.
Q: How do I get really clean slices?
For picture-perfect slices, dip a long, sharp knife in hot water and wipe it dry before each cut. The heat helps the knife glide smoothly through the frosting and filling without dragging.
Q: Is there a way to make the filling less seedy?
For a smoother filling, you can puree the cooked raspberry mixture after the initial cooking step and then press it through a fine-mesh sieve to remove the seeds before adding the fresh berries.
Q: Can I use lemon extract instead of fresh zest and juice?
I don’t recommend it. Fresh lemon zest provides the true, vibrant citrus oil that extract cannot replicate. The juice adds necessary acidity.
For the best flavor, fresh citrus is essential.
Final Thoughts
This lemon raspberry cake is more than just a dessert; it’s a testament to how thoughtful technique can elevate simple ingredients into something extraordinary. From the moist, lemony layers to the burst of berry filling and the tangy frosting, every element has a purpose. It’s a recipe that rewards your effort with stunning results and the kind of compliments that make any baker proud.
Whether it’s for a birthday, an anniversary, or just a bright spot in an ordinary week, this cake is guaranteed to delight. I’ve shared this recipe with countless students and friends, and the feedback is always the same: it’s now their go-to celebration cake. I hope it becomes yours, too.
Give it a try, share your beautiful creations, and don’t forget to let me know how it turned out! Happy baking

The Best Lemon Raspberry Cake
Equipment
- Stand mixer or hand mixer
- Three 8-inch round cake pans
- Parchment paper
- Cooling racks
- Serrated knife or cake leveler
- Offset spatula
- Piping bag (optional, for dam)
Ingredients
- 2.5 cups all-purpose flour spooned and leveled
- 2 tsp baking powder
- 0.5 tsp baking soda
- 1 tsp salt
- 0.75 cup unsalted butter room temperature
- 1.5 cups granulated sugar
- 3 large eggs room temperature
- 0.25 cup vegetable oil
- 2 tbsp lemon zest from about 3 medium lemons
- 0.33 cup fresh lemon juice
- 1 cup buttermilk room temperature
- 1 tsp pure vanilla extract
- 12 oz fresh raspberries plus more for garnish
- 0.25 cup granulated sugar for filling
- 1 tbsp cornstarch
- 1 tbsp water
- 16 oz cream cheese full-fat, room temperature
- 1 cup unsalted butter room temperature
- 5 cups powdered sugar sifted
- 1 tbsp fresh lemon juice
- 1 tsp pure vanilla extract
- 0.25 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 3-4 minutes until light and fluffy. Scrape down the bowl. Add eggs one at a time, beating well after each. Mix in the oil, lemon zest, and vanilla.
- With the mixer on low, add the dry ingredients in three additions, alternating with the buttermilk and lemon juice, beginning and ending with the dry ingredients. Mix just until combined. Divide batter evenly among the prepared pans (about 520g per pan).
- 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. Level the tops with a serrated knife if needed.
- Make the filling: In a small saucepan, combine 8oz raspberries, 1/4 cup sugar, cornstarch, and water. Cook over medium heat, mashing berries, until thickened (about 5-7 min). Remove from heat, stir in remaining 4oz fresh raspberries, and cool completely.
- Make the frosting: Beat cream cheese and butter on medium until smooth. Gradually add powdered sugar on low speed. Add lemon juice, vanilla, and salt. Beat on medium-high for 2-3 minutes until fluffy.
- Assemble: Place one cake layer on a serving plate. Pipe a frosting dam around the edge. Spread half the raspberry filling inside. Repeat with second layer. Top with final cake layer. Apply a thin crumb coat of frosting and chill for 20 minutes. Frost the entire cake with remaining frosting. Garnish with fresh raspberries and lemon zest.
