
This lemon raspberry cake has a soft, buttery crumb, fresh lemon flavor, and pockets of tart berries in every slice. A tangy cream cheese frosting brings the layers together without making the cake overly sweet.
The method keeps the cake tender by combining butter and sugar thoroughly, then adding the flour and dairy in turns. Raspberries go in at the end, so they stay as whole as possible. The result is a bright, gently tangy layer cake that feels special but is straightforward to make at home.
Why This Recipe Works
Butter and sugar are beaten until light before the eggs are added. That step creates tiny air pockets that help the cake rise and gives the crumb a fine, soft texture. Adding the eggs gradually helps the mixture stay smooth rather than separating.
Sour cream and milk bring moisture without making the batter heavy. Lemon zest carries much of the fresh citrus aroma, while lemon juice adds a sharper flavor. The combination gives the cake a clear lemon taste without relying on extract.
The dry ingredients are mixed separately and added in turns with the dairy. This keeps mixing brief once the flour is in, which helps avoid a tough crumb. A small amount of flour around the raspberries helps them distribute through the batter instead of sinking quickly to the bottom.
The frosting combines cream cheese and butter for a smooth, spreadable finish with enough tang to balance the fruit. Chilling the assembled cake briefly firms the frosting and makes neat slices easier.
Ingredients
- 2 1/2 cups all-purpose flour, plus 1 tablespoon for the raspberries
- 1 1/2 teaspoons baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon fine salt
- 3/4 cup unsalted butter, softened
- 1 1/2 cups granulated sugar
- 3 large eggs, at room temperature
- 2 tablespoons finely grated lemon zest
- 2 teaspoons vanilla extract
- 3/4 cup sour cream, at room temperature
- 1/2 cup milk, at room temperature
- 1/4 cup fresh lemon juice
- 1 1/2 cups fresh raspberries, washed and thoroughly dried
- 8 ounces cream cheese, softened but still cool
- 1/2 cup unsalted butter, softened
- 3 1/2 cups powdered sugar, sifted if lumpy
- 1 tablespoon fresh lemon juice for the frosting
- 1 teaspoon vanilla extract for the frosting
Ingredient Notes
Flour: All-purpose flour gives the cake enough structure to hold the berries and support two layers. Spoon it into the measuring cup and level the top rather than packing it down. Cake flour can be used by weight in the same amount, though the crumb will be more delicate and the layers may be a little less sturdy.
Lemon zest and juice: Zest provides fragrant lemon oils, so grate only the yellow outer peel and stop before reaching the bitter white pith. Fresh juice gives the cleanest flavor. Bottled juice can work in a pinch, but it usually tastes less bright; do not replace the zest with extra juice, because the added liquid changes the batter.
Sour cream, milk, and eggs: These ingredients are easiest to blend when they are not very cold. Sour cream adds richness and moisture; plain full-fat yogurt can replace it. Whole milk gives a tender crumb, while lower-fat milk also works. Room-temperature eggs blend more evenly into the butter mixture.
Raspberries: Fresh, firm berries are easiest to fold in without crushing. Dry them well after washing so excess water does not streak the batter. Frozen raspberries can be used without thawing, but they are more likely to color the cake and may need a few extra minutes in the oven.
Cream cheese: Choose plain block-style cream cheese for a frosting that holds its shape. Whipped or spreadable cream cheese tends to be softer. If needed, use finely grated lemon zest in the frosting instead of adding extra juice; too much liquid can make it loose.
Instructions
- Prepare the pans and oven. Heat the oven to 350°F. Grease two 8-inch round cake pans, line their bottoms with parchment, and lightly grease the parchment. Set a rack in the middle of the oven. The parchment helps the cooled layers release cleanly, and bringing the oven fully to temperature before baking supports an even rise.
- Mix the dry ingredients. Whisk the 2 1/2 cups flour, baking powder, baking soda, and salt in a medium bowl until evenly combined. Break up any small lumps of baking powder as you whisk. Mixing these ingredients first helps the cake rise evenly rather than leaving concentrated pockets of leavener.
- Beat the butter, sugar, and zest. In a large bowl, beat the 3/4 cup butter, granulated sugar, and lemon zest on medium speed for about 3 minutes, scraping the bowl once or twice. The mixture should look paler and fluffy, not greasy or densely packed. This aeration helps form a light crumb.
- Add the eggs and vanilla. Beat in the eggs one at a time, mixing until each is incorporated before adding the next. Scrape the bowl, then mix in the 2 teaspoons vanilla. If the mixture looks slightly curdled, continue with the recipe; the flour will help bring it together. Adding eggs gradually helps the butter mixture emulsify.
- Combine the dairy and lemon juice. In a small bowl, stir together the sour cream, milk, and 1/4 cup lemon juice. The mixture may look a little textured because the acid thickens the dairy; that is expected. Keeping the liquid ingredients together makes it easier to add them evenly without overworking the batter.
- Finish the batter. Add about one-third of the flour mixture to the butter mixture and mix on low just until the flour mostly disappears. Add about half of the dairy mixture and mix briefly. Repeat, ending with the remaining flour. Stop as soon as no broad streaks of dry flour remain. A few small lumps are preferable to prolonged mixing, which can make the cake firm.
- Fold in the berries. Toss the raspberries gently with the remaining 1 tablespoon flour. Add them to the batter and fold with a flexible spatula just until distributed. Some berries may break, but avoid stirring until the batter turns pink. Dividing the batter between the pans promptly helps keep the fruit spread evenly.
- Bake the layers. Divide the batter between the prepared pans and smooth the tops gently. Bake at 350°F for 28 to 34 minutes, rotating the pans only if your oven browns unevenly. The cakes are ready when the centers spring back lightly, the edges begin to pull from the pans, and a tester inserted into cake rather than a berry comes out with a few moist crumbs. Wet batter on the tester means they need more time.
- Cool completely. Set the pans on a cooling rack for 15 minutes. Run a thin knife around the edges, turn the layers out, remove the parchment, and let them cool completely with their flat sides down. Warm cake will soften the frosting and can make the layers slide, so allow enough time before assembling.
- Make the frosting. Beat the 1/2 cup butter until smooth. Add the cream cheese and mix on low just until combined, then beat in the powdered sugar in several additions. Mix in the frosting lemon juice and 1 teaspoon vanilla. The frosting should be smooth and thick enough to hold soft peaks. Stop once it is smooth; extended beating can make cream cheese frosting looser.
- Fill and frost the cake. Place one completely cool layer on a serving plate. Spread a generous layer of frosting over it, then set the second layer on top with its flat side facing up. Cover the top and sides with the remaining frosting. If the layers are uneven, trim only the high spots with a serrated knife. Chill the finished cake for about 30 minutes if you want firmer frosting and cleaner slices.
Serves: eight to ten; Prep time: 35 minutes; Cook time: 30 minutes; Total time: 2 hours 15 minutes, including cooling.
Tips for Success
- Measure flour lightly. Too much flour is a common reason for a dry, dense cake. Fluff it in its container, spoon it into the measuring cup, and level it with a straight edge.
- Use softened, not melted, butter. Butter should yield to a light press but still hold its shape. Melted butter cannot trap air in the same way during creaming.
- Bring refrigerated ingredients closer to room temperature. Cold eggs and dairy can firm the butter and make the batter look uneven. If you are short on time, place the eggs in a bowl of warm tap water for a few minutes and stir the dairy until it is no longer very cold.
- Keep the berries dry and handle them gently. Wet berries can add unwanted moisture, while vigorous folding breaks them up and streaks the batter. Fold only until they are spread through it.
- Use the same amount of batter in each pan. Dividing it evenly helps the layers bake at the same pace. A kitchen scale is useful, but you can also alternate spoonfuls between pans and compare the fill level.
- Let the layers cool fully before frosting. If you are unsure, touch the center and underside; neither should feel warm. A short chill can help a soft layer firm up, but do not frost it while it is still warm.
- Adjust frosting texture carefully. If it seems too soft, chill the bowl briefly before adding more sugar. If it is too stiff to spread, let it stand at room temperature for a few minutes and stir gently.
Troubleshooting
The cake is dry or crumbly. It may have been overbaked, or too much flour may have gone into the batter. Check early in the baking window and rely on the spring-back and moist-crumb cues. For the next bake, measure flour without packing it and avoid mixing once it is incorporated.
The center sank. Opening the oven early, underbaking, or using leaveners that have lost their strength can cause a dip. Keep the oven door closed until the cake is near the end of its baking time, then check the center carefully. A slight dip can be covered with frosting; a deeply underbaked center is best served only after it has baked through.
The berries sank or clumped together. Very wet or soft fruit is difficult to distribute. Dry fresh berries thoroughly, coat them lightly with the reserved flour, fold with a few broad strokes, and get the pans into the oven soon after mixing.
The frosting is runny. The cream cheese or butter may have become too warm, or the frosting may have been beaten for too long. Chill it for 15 to 20 minutes, then stir gently. If it remains too soft, add powdered sugar a little at a time, keeping in mind that this will make it sweeter.
The cake sticks to the pan. Make sure the pans are greased and lined at the bottom, then let the cakes rest for 15 minutes before turning them out. If a layer resists, run a thin knife around the edge and invert it gently rather than pulling at the cake.
Variations
Make it a single-layer cake. Bake the batter in a greased and parchment-lined 9-by-13-inch pan. Begin checking at about 30 minutes; the exact time depends on the pan and oven. Cool completely and spread frosting over the top.
Use a different berry. Blueberries or chopped strawberries can replace the raspberries in the same volume. Choose firm fruit, dry it well, and fold gently. Strawberries release more juice, so cut them into small pieces and expect some color in the crumb.
Add a lemon finish. Sprinkle a little extra finely grated lemon zest over the frosted cake just before serving. Keep the zest on the surface rather than mixing a large amount of extra juice into the frosting.
Make cupcakes. Divide the batter among lined muffin cups, filling each about two-thirds full, and bake at 350°F. Start checking at 18 minutes; they are done when the tops spring back and a tester inserted into plain cake comes out with a few moist crumbs. Cool fully before frosting.
What to Serve With It
This cake is rich enough to serve on its own, especially after a meal. For a lighter plate, add fresh berries or slices of seasonal fruit. Unsweetened tea or coffee balances the creamy frosting, while sparkling water with a squeeze of lemon keeps the citrus theme going without adding more sweetness.
If you are serving it as part of a dessert spread, pair it with a simple fruit salad or a small dish of lightly sweetened whipped cream. The cake already has a creamy topping, so keep any accompaniments plain and let the lemon and raspberry flavors stay in focus.
Make-Ahead, Storage and Reheating
You can bake the layers a day ahead. Once completely cool, wrap each layer well and keep it at room temperature if the room is cool, or refrigerate it if your kitchen is warm. For longer storage, wrap the unfrosted layers securely and freeze them for up to two months for best quality. Thaw wrapped layers in the refrigerator or at room temperature until they are easy to handle, then frost once fully thawed.
Because the frosting contains cream cheese, refrigerate the frosted cake. Cover it once the frosting has set and keep it chilled for three to four days. Refrigerate leftovers within two hours of serving; if the room is hotter than 90°F, refrigerate them within one hour. For the best texture, let a slice stand at room temperature briefly before eating, but return the rest of the cake to the refrigerator promptly.
To freeze frosted slices, first chill them until the frosting is firm, then wrap each slice well and place it in a freezer-safe container. Freeze for up to two months for best quality. Thaw in the refrigerator, still covered, so condensation forms on the wrapping rather than the frosting. This cake is not suited to reheating: warming it can melt the frosting and soften the fruit.
Frequently Asked Questions
Can I use frozen raspberries?
Yes. Add them straight from the freezer without thawing, and fold them in while still firm. They can release more color than fresh berries and may make the batter colder, so the cake could need a little longer in the oven. Check the center and use the same doneness cues.
Can I make the cake without sour cream?
Plain full-fat yogurt is the closest easy substitute. Use the same amount and make sure it is not very cold. The cake may have a slightly different tang, but the yogurt provides similar moisture and richness.
Can I bake the layers in advance?
Yes. Cool them completely, wrap each layer tightly, and keep them at room temperature for a day or freeze them for longer storage. If frozen, thaw while wrapped and frost only after the layers have thawed completely.
Why does the recipe use both lemon zest and lemon juice?
Zest gives the cake a fragrant, rounded lemon aroma, while juice supplies a sharper citrus taste. Using both makes the lemon flavor noticeable without adding so much liquid that the batter becomes unbalanced.
Can I use a different pan size?
Yes, but baking time will change. A wider, shallower pan usually bakes the batter faster than two round pans, while a deeper pan takes longer. Keep the oven temperature the same and begin checking when the cake looks set around the edges; the center should spring back and a tester should show moist crumbs, not wet batter.
How do I keep the layers from sliding?
Make sure both layers are completely cool and use a level surface for the bottom layer. Spread the filling evenly, avoid an excessively thick layer of frosting between the cakes, and chill the assembled cake until the frosting firms. If a layer is domed, trim the high point carefully before stacking.
Can I make the frosting less sweet?
Powdered sugar gives cream cheese frosting its structure, so reducing it too much can make the topping soft. Start with the listed amount and balance the sweetness with the lemon juice and cream cheese. A little extra zest adds citrus flavor without thinning the frosting.