There’s something special about baking that brings comfort and warmth to our daily routines. The gentle aroma of citrus and the sweet-tartness of fresh berries create a scene of quiet joy, especially when gathering with friends or enjoying a peaceful afternoon at home. This lemon raspberry cake is an inviting treat that’s perfect for weeknight desserts or weekend celebrations. Its layers of vibrant flavors and textures inspire moments of simple indulgence, inviting you into the heart of homemade goodness.
Why You’ll Love This Lemon Raspberry Cake
This lemon raspberry cake is a delightful balance of sweet and tangy flavors, making it a comforting choice for any occasion. It’s straightforward to make and relies on familiar ingredients, ensuring it fits easily into your everyday routine. The cake’s tender crumb paired with the creamy lemon curd and the bright raspberry compote offers a satisfying harmony. Whether enjoyed with family or shared during gatherings, it embodies comfort and reliability that you’ll appreciate again and again.
Kitchen Tools You’ll Need
- Stand mixer
- Three 8-inch cake pans
- Parchment paper
- Mixing bowls
- Whisk
- Saucepan
- Spatula
Ingredients
- 2 1/4 cups sugar (sweetness)
- 2 large lemons (zest of) (citrusy aroma)
- 3 3/4 cups all-purpose flour (structure)
- 3 1/4 tsp baking powder (leavening)
- 1 tsp kosher salt (enhances flavor)
- 3/4 cup unsalted butter (softened to room temperature) (richness)
- 1 cup + 2 tbsp sour cream (at room temperature) (moisture)
- 3/4 cup whole milk (at room temperature) (texture)
- 6 tbsp neutral oil (moisture)
- 3 large eggs (at room temperature) (binding)
- 1 tbsp vanilla extract (flavor)
- 6 oz fresh raspberries (tartness)
For the lemon curd:
- 1/3 cup lemon juice (tartness)
- 1/3 cup sugar (sweetness)
- 2 large eggs (binding)
- pinch kosher salt (enhances flavor)
- 2 tbsp unsalted butter (richness)
For the raspberry compote:
- 6 oz fresh raspberries (tartness)
- 2 tbsp sugar (sweetness)
- 1 tsp lemon juice (tartness)
- 1 tsp water (moisture)
- 1 tsp cornstarch (thickener)
For the vanilla buttercream:
- 2.5 sticks unsalted butter (softened to room temperature) (richness)
- 5 cups powdered sugar (sweetness and texture)
- 2 tsp vanilla extract (flavor)
- 1/2 tsp kosher salt (enhances flavor)
- 3-4 tbsp heavy cream or milk (moisture)
- More fresh raspberries for garnish (decoration)

How to Make Lemon Raspberry Cake
Step 1. Preheat your oven to 350°F. Prepare three 8-inch cake pans by greasing them and lining the bottoms with parchment paper. This preparation helps the cakes to release easily after baking.
Step 2. In a stand mixer, combine the sugar and lemon zest. Using your fingers or the mixer, rub them together until the mixture is fragrant. This process releases aromatic oils from the zest, enhancing the lemony flavor of the cake.
Step 3. Add the all-purpose flour, baking powder, and kosher salt to the bowl. Mix these dry ingredients together, and then blend in the softened butter until the mixture resembles coarse crumbs. This will create a solid base for your cake.
Step 4. In a separate mixing bowl, whisk together the sour cream, whole milk, neutral oil, large eggs, and vanilla until smooth. This mixture contributes moistness and richness to the cake.
Step 5. Pour the wet mixture into the bowl with the dry ingredients. Gently combine until everything is well mixed and smooth. Take care not to overmix. Once combined, fold in the fresh raspberries carefully to avoid breaking them up too much.
Step 6. Divide the batter evenly among the prepared cake pans. Bake for 30-33 minutes until the edges are golden and a toothpick inserted in the center comes out clean. Allow the cakes to cool completely in the pans.
Step 7. For the lemon curd, whisk together the lemon juice, sugar, eggs, and a pinch of kosher salt in a saucepan over medium heat. Cook, stirring constantly, until the mixture thickens. Remove it from the heat and stir in the butter until melted. Let it cool to set.
Step 8. To make the raspberry compote, heat the raspberries, sugar, and lemon juice in a saucepan over medium heat. Once it starts to simmer, mix the cornstarch with a teaspoon of water and add this slurry to the simmering mixture, cooking until thick. Set aside to cool completely.
Step 9. For the buttercream, beat softened unsalted butter in the stand mixer until creamy. Gradually add powdered sugar, vanilla extract, and kosher salt. Mix until smooth and fluffy, adjusting with heavy cream or milk as needed for the desired consistency.
Step 10. Once the cake layers are completely cooled, level them with a knife. On the first layer, pipe a dam of buttercream around the edge and fill the center with lemon curd and raspberry compote. Place the next layer on top and repeat the process. Frost the entire cake with remaining buttercream and add fresh raspberries for garnish.

Serving Suggestions
This lemon raspberry cake shines as a versatile treat that can fit into many daily occasions. It makes for a lovely breakfast paired with coffee or tea, offering a sweet start to the day. Cut it into generous slices for enjoyable afternoon snacks that everyone can appreciate. It serves beautifully at family gatherings, where its bright flavors surely delight guests. Leftovers can be stored for a few days, making it a comforting option you can savor long after the baking is done.
Pro Tips for Best Results
- Ensure all ingredients are at room temperature for smooth mixing and even baking.
- Gently fold the raspberries into the batter to keep their shape and enhance the texture.
- For a more intense lemon flavor, add a bit more lemon zest to the batter.
- Level cake layers after cooling to ensure even stacking.
- Chill the buttercream slightly if it seems too soft for frosting.
- Allow the lemon curd and raspberry compote to cool completely before filling the cake to maintain its structure.
Common Mistakes to Avoid
- Not using room temperature ingredients: Cold ingredients can lead to uneven mixing and a dense cake. Bring butter, eggs, and dairy to room temperature before using.
- Overmixing the batter: This can lead to tough cake layers rather than a light texture. Mix just until combined to keep the cake tender.
- Skipping the parchment paper: This can result in cakes sticking to the pans, making them difficult to remove. Always line the bottoms of the pans for easy release.
- Forgetting to level the cake layers: This can create instability and uneven stacking. Always use a knife to remove any domes for flat layers.
- Using old baking powder: This can affect the leavening and cause a dense cake. Check the expiration date and replace it if necessary.
- Rushing the cooling process: Cutting the cake too early can make it crumble. Allow it to cool completely in the pans before removing it.
Variations & Substitutions
For a twist, consider adding a layer of cream cheese frosting instead of buttercream or using other berries like blueberries or strawberries. You can also infuse the lemon curd with herbs like thyme or mint for a different flavor profile. For a gluten-free option, try using a gluten-free flour blend in place of all-purpose flour, though texture may vary.
Storage & Reheating
Store leftover cake at room temperature for a day, covering it lightly to keep it fresh. If you need to keep it longer, refrigerate in an airtight container for up to a week. The cake can also be frozen if wrapped tightly; however, it’s best to consume it within three months for optimal freshness. When reheating, let it come back to room temperature rather than warming it up to preserve texture.
Frequently Asked Questions
Can I make this recipe ahead of time?
Yes, you can prepare the cake layers and freeze them for later use. Make the lemon curd and raspberry compote a day ahead for convenience as well. Just assemble everything when you’re ready to serve.
How long does it last in the fridge?
The frosted cake can last about a week in the refrigerator when stored in an airtight container. Just be sure to keep it covered to prevent it from drying out.
Can I freeze this recipe?
Yes, unassembled cake layers freeze nicely. Wrap them well in plastic wrap and aluminum foil. When you’re ready to enjoy, just thaw them before frosting.
What can I substitute for one ingredient?
If you need to replace sour cream, plain Greek yogurt can work well, maintaining similar acidity and texture. For a dairy-free version, try using a plant-based yogurt.
Why didn’t my recipe turn out as expected?
Common issues include not measuring ingredients accurately or using the wrong oven temperature. Make sure to follow all steps closely and check the freshness of leavening agents.
Final Thoughts
Creating this lemon raspberry cake is a straightforward and rewarding process. It’s an excellent way to bring a touch of brightness to your table, whether enjoyed during casual moments or special celebrations. The combination of flavors and textures is sure to satisfy, making it a beloved recipe you’ll return to time and again. Embrace the comfort of baking and share this treat with those around you.

Lemon Raspberry Cake
Ingredients
Cake Ingredients
- 2 1/4 cups sugar sweetness
- 2 large lemons, zest of citrusy aroma
- 3 3/4 cups all-purpose flour structure
- 3 1/4 tsp baking powder leavening
- 1 tsp kosher salt enhances flavor
- 3/4 cup unsalted butter, softened to room temperature richness
- 1 cup sour cream, at room temperature moisture
- 3/4 cup whole milk, at room temperature texture
- 6 tbsp neutral oil moisture
- 3 large eggs, at room temperature binding
- 1 tbsp vanilla extract flavor
- 6 oz fresh raspberries tartness
For the Lemon Curd
- 1/3 cup lemon juice tartness
- 1/3 cup sugar sweetness
- 2 large eggs binding
- 1 pinch kosher salt enhances flavor
- 2 tbsp unsalted butter richness
For the Raspberry Compote
- 6 oz fresh raspberries tartness
- 2 tbsp sugar sweetness
- 1 tsp lemon juice tartness
- 1 tsp water moisture
- 1 tsp cornstarch thickener
For the Vanilla Buttercream
- 2.5 sticks unsalted butter, softened to room temperature richness
- 5 cups powdered sugar sweetness and texture
- 2 tsp vanilla extract flavor
- 1/2 tsp kosher salt enhances flavor
- 3-4 tbsp heavy cream or milk moisture
- More fresh raspberries for garnish decoration
Instructions
Preparation
- Preheat your oven to 350°F. Prepare three 8-inch cake pans by greasing them and lining the bottoms with parchment paper.
- In a stand mixer, combine the sugar and lemon zest. Rub them together until the mixture is fragrant.
- Add the all-purpose flour, baking powder, and kosher salt. Mix these dry ingredients together, then blend in the softened butter until the mixture resembles coarse crumbs.
- In a separate bowl, whisk together the sour cream, whole milk, neutral oil, eggs, and vanilla until smooth.
- Pour the wet mixture into the dry ingredients. Gently combine until everything is smooth, being careful not to overmix. Fold in the raspberries.
Baking
- Divide the batter among the prepared cake pans. Bake for 30-33 minutes, until golden and a toothpick comes out clean. Let cool completely.
Making the Fillings
- For the lemon curd, whisk lemon juice, sugar, eggs, and salt in a saucepan over medium heat, stirring until thick. Remove from heat, add butter, and let cool.
- For the raspberry compote, heat raspberries, sugar, and lemon juice in a saucepan. Once simmering, mix cornstarch with water and add to the mixture, cooking until thick. Let cool.
- For the buttercream, beat softened butter until creamy. Gradually add powdered sugar, vanilla extract, and salt. Mix until smooth and fluffy, adding cream or milk as needed.
Assembling the Cake
- Once the cake layers are cooled, level them. On the first layer, pipe a dam of buttercream and fill it with lemon curd and raspberry compote. Repeat with the next layer.
- Frost the entire cake with remaining buttercream and garnish with fresh raspberries.


