A lemon raspberry cake is a soft, buttery lemon layer cake with fresh raspberries folded into the batter and a tangy lemon cream cheese frosting — bright, a little tart, and right at home at a spring party, potluck or birthday. The standard method is a two-layer 8-inch cake: fold the berries into the batter, bake, cool completely, then fill and frost. The method changes only if you want a bundt cake, which needs a longer bake and a glaze instead of frosting.
Ingredients
Cake
- 2 1/4 cups (280 g) all-purpose flour
- 2 tsp baking powder
- 1/2 tsp salt
- 3/4 cup (170 g) unsalted butter, softened
- 1 1/2 cups (300 g) granulated sugar
- 3 large eggs, room temperature
- 2 tbsp lemon zest (about 2 lemons)
- 1/3 cup (80 ml) fresh lemon juice
- 1 tsp vanilla extract
- 3/4 cup (180 ml) whole milk, room temperature
- 1 1/2 cups (about 190 g) fresh or frozen raspberries, tossed with 1 tbsp flour
Lemon Cream Cheese Frosting
- 8 oz (225 g) cream cheese, softened
- 1/2 cup (115 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar
- 2 tbsp lemon juice
- 1 tsp vanilla extract
- Pinch of salt
Instructions
- Heat the oven to 350°F (175°C). Grease two 8-inch (20 cm) round cake pans and line the bottoms with parchment paper.
- Whisk the flour (2 1/4 cups / 280 g), baking powder and salt in a medium bowl.
- Beat the butter (3/4 cup / 170 g) and sugar (1 1/2 cups / 300 g) in a large bowl with an electric mixer on medium speed for 2-3 minutes, until pale and fluffy.
- Add the 3 eggs one at a time, beating 30 seconds after each. Mix in the lemon zest, lemon juice and vanilla.
- Add the flour mixture in three additions, alternating with the milk (3/4 cup / 180 ml) in two additions, mixing on low just until each addition disappears. Stop as soon as the batter is smooth.
- Fold in the raspberries with a spatula in 2-3 strokes, just until distributed. Frozen berries go in straight from the freezer — do not thaw them.
- Divide the batter between the pans and smooth the tops. Bake at 350°F (175°C) for 30-35 minutes, until a toothpick in the center comes out with a few moist crumbs and the cake springs back when lightly pressed.
- Cool the cakes in the pans for 10 minutes, then turn them out onto a wire rack and cool completely, about 1 hour. Frosting a warm cake makes it slide off.
- Beat the cream cheese (8 oz / 225 g) and butter (1/2 cup / 115 g) on medium for 1 minute until smooth, then add the powdered sugar (3 cups / 360 g), lemon juice, vanilla and salt and beat 1-2 minutes until fluffy.
- Place one layer on a plate, spread about 1 cup of frosting on top, set the second layer on it, and spread the remaining frosting over the top and sides. Add extra raspberries on top if you like.
Pan Sizes and Bake Times
The batter fits several pans; only the bake time changes, and the doneness cue stays the same (toothpick with moist crumbs).
| Pan | Bake time at 350°F (175°C) |
|---|---|
| Two 8-inch (20 cm) rounds | 30-35 min |
| Two 9-inch (23 cm) rounds | 22-27 min |
| One 9×13-inch (23×33 cm) sheet | 28-33 min |
| One 10-cup (2.5 L) bundt | 45-55 min |
| 24 cupcakes | 18-22 min |
A bundt cake is the one case where the method differs: skip the frosting and pour a simple lemon glaze (1 cup / 120 g powdered sugar whisked with 1-2 tbsp lemon juice) over the cooled cake instead.
What Goes Wrong and Why
Most problems with this cake trace back to three things: cold ingredients, overmixing, or wet berries.
| Symptom | Cause | Fix |
|---|---|---|
| Dense, heavy layers | Butter, eggs or milk straight from the fridge | Set them out 30-60 minutes first; cold ingredients don’t whip into the batter properly |
| Blue-purple streaks in the crumb | Raspberries folded too long or thawed | Fold 2-3 strokes only; use frozen berries unthawed or pat fresh ones dry |
| Berries all sunk to the bottom | Berries not coated and batter too thin | Toss berries in 1 tbsp flour before folding; the batter should be thick enough to mound on a spoon |
| Tough, dry crumb | Overmixing once the flour went in | Mix on low and stop when the streaks of flour just disappear |
| Frosting runny or sliding | Warm cake, or soft cream cheese | Cool the cake fully; if frosting is loose, chill it 15-20 minutes, then re-beat |
| Top cracked and domed | Oven running hot | Check with an oven thermometer; level domes with a serrated knife before filling |
Telling It Worked, Swaps and Storage
A good lemon raspberry cake has a fine, even crumb with berries suspended throughout, a level top, and a frosting that holds a swirl. The toothpick test is your main doneness cue: a few moist crumbs are right, wet batter means more time, and a clean pick means it may be slightly overbaked.
Swaps: frozen raspberries work in the batter (unthawed) but weep on top, so use fresh for decorating. Buttermilk can replace the whole milk 1:1 for a slightly more tender crumb. No cream cheese? Use 1 cup (230 g) softened butter and 4 cups (480 g) powdered sugar for a plain lemon buttercream that’s less tangy and sets firmer. Don’t swap self-rising flour in without dropping the baking powder and salt — the leavening won’t match.
Storage: refrigerate the frosted cake within 2 hours (it contains cream cheese and eggs). Cover and keep it in the fridge up to 4 days; bring slices to room temperature about 30 minutes before serving so the crumb softens. Unfrosted layers can be wrapped tightly and frozen up to 3 months — thaw them still wrapped in the fridge overnight. Perishable cake should not sit out more than 2 hours, or 1 hour if the room is above 90°F (32°C).
One note on raw batter: this recipe is baked through, but don’t let kids snack on the dough — raw flour and raw eggs can carry bacteria. If you want a lick-safe batter, use heat-treated flour (heated to 160°F / 71°C and cooled) and pasteurised eggs.
Related
- Can You Make Bread with Self-Raising Flour and Water?
- How to Make Mushroom Sauce for Burgers
- What Is Sugar Plum Pie? Meaning and How to Make It
Spotted a mistake? Tell us and we will correct it. How we write and check articles.