Lemon Raspberry Layer Cake That Tastes Like Sunshine
Bright, tangy, and absolutely party-worthy—this Lemon Raspberry Layer Cake is the kind of dessert that makes people hover near the dessert table. You get soft, fluffy lemon cake layers, a punchy raspberry filling, and a silky lemon buttercream that ties it all together. It looks fancy but comes together with simple steps. If you love citrus and berries, you’re in for a treat. Ready to bake something that tastes like sunshine?
Why This Lemon Raspberry Cake Works
- Flavor balance: Fresh lemon zest and juice keep the cake lively, while raspberries bring a sweet-tart pop that never feels heavy.
- Soft, tender crumb: Sour cream and buttermilk add moisture and structure, so the layers stay plush without being dense.
- Approachable technique: No special tools beyond a mixer and cake pans. The filling is quick, and the buttercream is super forgiving.
- Make-ahead friendly: Bake layers in advance, freeze, and assemble the day you serve—stress level stays low.
- Showstopper look: Those layers slice beautifully, and a few raspberries on top make it look bakery-level without a pastry degree.
Ingredients You’ll Need

- All-purpose flour – 2 3/4 cups, spooned and leveled. Tip: Don’t pack it; light flour means lighter cake.
- Baking powder – 2 1/2 teaspoons, for lift.
- Fine sea salt – 1/2 teaspoon, to balance sweetness.
- Unsalted butter (room temp) – 3/4 cup for the cake; 1 1/2 cups for the buttercream. Room temp = slight finger dent.
- Granulated sugar – 1 3/4 cups for the cake.
- Large eggs – 4, room temp. Tip: Warm eggs blend better; set them in warm water for 5 minutes if rushed.
- Sour cream – 1/3 cup, for tenderness.
- Buttermilk – 1 cup, room temp. Sub below if needed.
- Lemons – Zest of 2 large and 1/4 cup fresh juice (about 2 lemons) for cake and buttercream.
- Pure vanilla extract – 2 teaspoons total (cake + buttercream).
- Raspberries – 3 cups (fresh or frozen) for filling and decor. If frozen, don’t thaw before cooking the filling.
- Granulated sugar (for filling) – 1/3 cup, adjust to taste based on berry sweetness.
- Cornstarch – 1 1/2 tablespoons, to thicken the raspberry filling.
- Water – 2 tablespoons, for slurry with cornstarch.
- Powdered sugar – 4 to 5 cups, sifted, for buttercream. Start with 4 and add to reach desired consistency.
- Heavy cream – 3 to 4 tablespoons, for silky buttercream.
- Pinch of salt – for buttercream (balances sweetness).
Instructions
1) Make the raspberry filling: In a small saucepan, combine raspberries and 1/3 cup sugar over medium heat. Cook, stirring and gently mashing, until juicy and bubbling, 5–7 minutes. Mix cornstarch with 2 tablespoons water to make a slurry, then stir into berries. Simmer 1–2 minutes until thick and jammy. Cool completely (it thickens more as it cools). Speed tip: Spread on a plate to chill faster.
2) Prep and preheat: Heat oven to 350°F (175°C). Grease and line three 8-inch round pans (or two 9-inch) with parchment. Lightly flour the sides. For flat layers, use cake strips or lower oven to 340°F if your oven runs hot.
3) Make the cake batter: Whisk flour, baking powder, and salt in a bowl. In a large bowl, beat 3/4 cup butter and 1 3/4 cups sugar on medium-high until pale and fluffy, 3–4 minutes. Beat in eggs one at a time, then mix in sour cream, lemon zest, and 1 tablespoon lemon juice plus 1 teaspoon vanilla.
4) Combine wet and dry: On low, add flour mix in three additions, alternating with buttermilk, beginning and ending with flour. Mix just until smooth. Batter should be thick but pourable. Don’t overmix—this keeps the crumb soft.
5) Bake: Divide batter evenly among pans (a scale helps). Bake 20–24 minutes for 8-inch layers (24–28 for 9-inch), until centers spring back and a toothpick comes out clean. Cool 10 minutes, then turn out onto racks and remove parchment. Cool fully before frosting.
6) Make lemon buttercream: Beat 1 1/2 cups butter until creamy, 1–2 minutes. Add 3 cups powdered sugar, 1 tablespoon lemon juice, 1 teaspoon vanilla, a pinch of salt, and 2 tablespoons cream. Beat on low to combine, then on medium-high until fluffy, 2 minutes. Add more powdered sugar for structure or more cream for silk. Taste and adjust lemon to your liking—aim for bright, not sour.
7) Assemble: Place first cake layer on a board. Pipe a buttercream ring around the edge to create a “dam.” Spoon in half the cooled raspberry filling, spreading to the buttercream border. Top with second layer; repeat ring and filling. Place final layer on top.
8) Crumb coat and chill: Spread a thin layer of buttercream over the whole cake to trap crumbs. Chill 15–20 minutes to set.
9) Finish frosting: Apply a generous final coat. Smooth sides with a bench scraper or go for swoops—your call. Decorate with fresh raspberries and a little lemon zest, if you’re feeling fancy.
Fridge tip: Chill the finished cake 30–60 minutes for cleaner slices. Serve at cool room temp so the buttercream is plush, not firm.
Freezer tip: Wrap unfrosted cake layers tightly in plastic, then foil, up to 2 months. Thaw in fridge (still wrapped) overnight. You can also freeze the fully assembled cake (well-wrapped) for up to 1 month; thaw in fridge 12–24 hours, then bring to room temp before serving.
Reheating? Not really a thing for cake, but if chilled solid, let slices sit at room temp 20–30 minutes so flavors bloom.
Storage Instructions

Keep the cake covered at cool room temperature for 1 day, or refrigerate up to 4 days. The buttercream seals in moisture, but if your kitchen is warm, the fridge is safer. Store leftover slices in airtight containers to prevent drying. The raspberry filling stays happy and bright throughout.
Benefits of This Recipe
- Make-ahead flexibility: Bake layers in advance and assemble later—weeknight friendly, celebration ready.
- Balanced sweetness: Lemon and raspberry keep things fresh, so it tastes light even after a big meal.
- Customizable buttercream: Adjust lemon and sugar to your exact vibe—tangy, mellow, or somewhere in between.
- Beginner-approved methods: Straightforward steps with clear cues for texture and doneness.
Common Mistakes to Avoid

- Overmixing the batter after adding flour—this toughens the cake. Stop as soon as it’s smooth.
- Skipping the buttercream “dam.” The filling can squish out and make layers slide.
- Frosting warm cakes. Always cool completely or the buttercream will melt and slide.
- Using too much lemon juice in the batter. It can throw off structure; stick to the measurements.
- Under-thickening the raspberry filling. If it’s runny, simmer another minute after adding cornstarch slurry.
Alternatives
No buttermilk? Mix 1 cup milk with 1 tablespoon lemon juice or white vinegar. Let sit 5 minutes, then use.
Buttercream swap: Try a lemon cream cheese frosting—beat 8 ounces cream cheese with 1/2 cup butter, then add 3–3 1/2 cups powdered sugar, lemon zest, and juice to taste. Slightly tangier, still dreamy.
Fruit twist:
- Blueberry filling instead of raspberry for a softer, sweeter vibe.
- Strawberry-raspberry mix for extra berry intensity.
- Add poppy seeds (1–2 tablespoons) to the batter for a lemon-poppy variation.
Gluten-free: Use a quality 1:1 gluten-free flour with xanthan gum. Let batter rest 10 minutes before baking to hydrate.
Dairy-free: Use vegan butter, dairy-free sour cream or thick coconut yogurt, and plant-based milk soured with lemon juice. Texture will change slightly but still delish.
FAQ
Can I bake this as a sheet cake?
Yes! Use a 9×13-inch pan and bake 30–38 minutes, checking for a clean toothpick. Frost the top and swirl raspberry filling over like a ripple for a pretty finish.
Do I have to strain the raspberry filling?
Nope. If seeds bother you, press the cooked filling through a fine-mesh sieve while warm. Otherwise, leave it as is for extra texture and fiber.
How do I get super flat cake layers?
Use cake strips or wrap damp strips of towel around the pans. Also avoid overfilling pans and rotate once during baking if your oven has hot spots.
My buttercream looks curdled—help?
It’s often a temperature mismatch. Keep beating; if still funky, add a spoonful of powdered sugar and a splash of cream. If too cold, warm the bowl’s exterior briefly with your hands and continue whipping.
Can I use store-bought jam instead of making the filling?
Absolutely. Choose a high-quality raspberry jam and warm it slightly with a squeeze of lemon to brighten the flavor. Let it cool before layering.
How far in advance can I assemble the cake?
Assemble up to 24 hours ahead and refrigerate. Bring to room temp 30–45 minutes before serving so the crumb and buttercream are soft.
Final Thoughts
This Lemon Raspberry Layer Cake brings big sunshine energy with minimal fuss. It’s elegant enough for celebrations but easy enough for a casual weekend bake. Tweak the tang, play with the filling, make it yours. Slice it up and watch it disappear—quickly.
Printable Recipe Card
Want just the essential recipe details without scrolling through the article? Get our printable recipe card with just the ingredients and instructions.

