This bright and moist lemon cake features layers filled with tangy raspberry compote and finished with a smooth lemon cream cheese frosting. The cake balance combines zesty lemon juice, fresh zest, and a buttery crumb, complemented by the vibrant raspberry filling that is cooked until just thickened. The frosting blends softened cream cheese with butter, powdered sugar, and lemon for a rich, silky topping. Ideal for spring occasions or any festive gathering, the cake is assembled with care to highlight every layer's distinct flavors and colors, then decorated with fresh raspberries and lemon zest for an elegant touch.
Last spring, my neighbor Sarah stopped by with an armful of fresh raspberries from her garden and mentioned her daughter's birthday was coming up. We spent the afternoon experimenting with what became this cake, wiping flour off our counters and laughing about how much butter went into everything.
What I love most is how the tartness cuts through all that sweet frosting. Sarah's daughter blew out candles with raspberry stained lips, and every birthday since, I get a text asking when the lemon cake is arriving.
Ingredients
- All-purpose flour: The foundation of the cake layers, providing structure for all that moisture
- Unsalted butter: Room temperature is nonnegotiable here for that fluffy texture
- Granulated sugar: Creamed with the butter to create tiny air pockets for tenderness
- Lemon zest: Those tiny flecks pack so much more flavor than juice alone
- Fresh raspberries: Frozen work too but fresh ones break down into the most gorgeous ruby jam
Instructions
- Prep your pans:
- Line three 8-inch rounds with parchment and grease everything thoroughly
- Whisk the dry ingredients:
- Combine flour with baking powder, baking soda, and salt in one bowl
- Cream butter and sugar:
- Beat until pale and fluffy, about 3 minutes, then add eggs one at a time
- Combine wet and dry:
- Alternate adding flour and the lemon milk mixture, starting and ending with flour
- Bake the layers:
- Divide batter evenly and bake for 22-26 minutes until a toothpick comes out clean
- Make raspberry filling:
- Simmer berries with sugar and lemon juice until they break down, then thicken with cornstarch
- Whip up the frosting:
- Beat cream cheese and butter until smooth, then gradually incorporate powdered sugar
- Assemble with love:
- Stack layers with raspberry filling between, piping a frosting ring to keep it contained
There is something deeply satisfying about watching people's faces when that first slice reveals those pink streaks running through the yellow cake. It is the kind of dessert that makes people pull out their phones for photos before anyone even takes a bite.
Making It Ahead
The cake layers and filling can both be made a day ahead and stored separately. Wrap each cake layer tightly in plastic and keep the raspberry filling in an airtight container in the refrigerator.
Getting The Layers Even
I weigh my mixing bowl before adding batter, then divide the total weight by three. It sounds fussy but it beats having one thin layer and one towering one.
Serving Suggestions
This cake tastes best at room temperature, so pull it out 30 minutes before serving. The frosting softens up beautifully.
- Serve with fresh raspberries on top for that pop of color
- A light dusting of lemon zest makes it look bakery worthy
- Chill for 30 minutes before slicing for cleaner cuts
Sometimes the simplest flavor combinations create the most memorable desserts. This one has become my go to for celebration cakes, and I hope it finds its way into your rotation too.
Questions & Answers About the Recipe
- → How do I ensure the lemon cake stays moist?
-
Use room temperature butter, eggs, and milk for better mixing and moisture retention. Avoid overbaking and check with a toothpick to keep the crumb tender and soft.
- → What’s the best way to prepare the raspberry filling?
-
Cook fresh raspberries with sugar and lemon juice until broken down, then thicken with a cornstarch slurry while stirring to avoid lumps. Let it cool completely before assembling.
- → Can I make the layers ahead of time?
-
Yes, cake layers and filling can be made a day in advance. Wrap the layers tightly to keep them moist and refrigerate until ready to assemble.
- → How should the frosting be handled for easy application?
-
Make sure cream cheese and butter are softened to room temperature for smooth beating. Gradually add powdered sugar and mix until fluffy for easy spreading.
- → Any tips for assembling the layers neatly?
-
Level cake layers with a serrated knife if needed, spread filling evenly with a border to prevent overflow, and pipe a ring of frosting around filling edges before adding the next layer.
- → Can I substitute gluten-free flour in this cake?
-
Yes, a 1:1 gluten-free flour blend works well without significantly changing texture or flavor.