This raspberry cream cheese layer cake is a showstopper dessert that combines tender vanilla cake layers with a tangy, luscious cream cheese frosting and a bright raspberry filling. The acidity of the raspberries cuts through the richness of the frosting, creating a perfectly balanced bite. It’s a reliable recipe for birthdays, celebrations, or any day you want something special—and it comes together with simple ingredients and clear steps.
Ingredients
- For the cake:
- 2 ½ cups (315 g) all-purpose flour
- 2 ½ tsp baking powder
- ½ tsp salt
- ¾ cup (170 g) unsalted butter, softened
- 1 ¾ cups (350 g) granulated sugar
- 3 large eggs, at room temperature
- 1 tbsp vanilla extract
- 1 cup (240 ml) whole milk, at room temperature
- For the raspberry filling:
- 2 cups (240 g) fresh or frozen raspberries
- ¼ cup (50 g) granulated sugar
- 1 tbsp lemon juice
- 1 tbsp cornstarch mixed with 2 tbsp water (slurry)
- For the cream cheese frosting:
- 16 oz (450 g) cream cheese, softened
- 1 cup (226 g) unsalted butter, softened
- 4 cups (480 g) powdered sugar, sifted
- 1 tsp vanilla extract
- Pinch of salt
Instructions
- Make the raspberry filling: In a small saucepan, combine raspberries, sugar, and lemon juice. Cook over medium heat, stirring occasionally, until the raspberries break down and the mixture is bubbling, about 5–7 minutes. Stir in the cornstarch slurry and continue to cook for 1–2 minutes until thickened. Remove from heat and let cool completely. You can strain out seeds if desired, but leaving them adds texture.
- Preheat and prepare pans: Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line the bottoms with parchment paper.
- Mix dry ingredients: In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
- Cream butter and sugar: In a large bowl, beat the softened butter and sugar together until light and fluffy, about 3–4 minutes. Add the eggs one at a time, beating well after each addition, then mix in the vanilla extract.
- Alternate dry and wet: With the mixer on low speed, add the flour mixture in three additions, alternating with the milk in two additions, starting and ending with the flour. Mix just until combined—do not overmix.
- Bake the cakes: Divide the batter evenly between the prepared pans. Bake for 25–30 minutes, or until a toothpick inserted in the center comes out clean. Let the cakes cool in the pans for 10 minutes, then turn out onto a wire rack to cool completely.
- Make the frosting: In a large bowl, beat the softened cream cheese and butter together until smooth and creamy. Gradually add the powdered sugar, beating on low speed until incorporated. Add the vanilla and salt, then increase speed to medium-high and beat for 2–3 minutes until light and fluffy.
- Assemble the cake: Once the cakes are completely cool, level the tops with a serrated knife if they domed. Place one layer on a serving plate. Spread a generous layer of cream cheese frosting (about 1 cup) over the top, then spoon the raspberry filling over the frosting, leaving a ½-inch border. Place the second cake layer on top.
- Frost the outside: Use the remaining frosting to cover the top and sides of the cake. For a smooth finish, use an offset spatula. You can leave the sides rustic or fully covered—either works.
- Chill and serve: Refrigerate the cake for at least 1 hour before slicing to help it set. Serve chilled or at room temperature.
Tips
- Room temperature matters: For a smooth, lump-free frosting and a tender cake, ensure your butter, eggs, and milk are at room temperature before starting. Cold ingredients can cause the batter to curdle.
- Don’t overmix the batter: Once you add the flour, mix only until no streaks remain. Overmixing develops gluten, which can make the cake tough.
- Chill the filling: The raspberry filling must be completely cool before spreading it on the frosting, or it will melt the frosting and slide off the cake.
- Substitutions: You can use frozen raspberries for the filling—just thaw and drain them slightly before cooking. For a dairy-free version, use plant-based butter and cream cheese alternatives, though the texture may vary slightly.
Serving Suggestions
Serve this cake as the centerpiece at a birthday party, bridal shower, or spring brunch. It pairs beautifully with a cup of hot coffee or black tea. For a polished look, garnish the top with fresh raspberries and a few mint leaves just before serving. If you like, add a light dusting of powdered sugar over the berries.
Variations
- Lemon raspberry: Add 1 tablespoon of lemon zest to the cake batter and use lemon juice in the filling for a brighter citrus note.
- White chocolate: Melt 4 oz of white chocolate and fold it into the cream cheese frosting for a sweeter, richer flavor.
- Berry mix: Replace half the raspberries with blackberries or chopped strawberries for a mixed-berry filling.
- Gluten-free: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture will be slightly more delicate, so handle the layers gently.
Storage and Reheating
Store the assembled cake in an airtight container in the refrigerator for up to 4 days. Because the frosting contains cream cheese, it must stay chilled when not being served. Remove the cake from the fridge about 30 minutes before serving to let it soften slightly for the best flavor and texture. You can freeze unfrosted cake layers, wrapped tightly in plastic wrap and foil, for up to 2 months. Thaw them in the refrigerator overnight before frosting. Frosted cake can also be frozen for up to 1 month, but the texture of the berries in the filling may soften upon thawing.
Frequently Asked Questions
Can I make this cake ahead of time?
Yes, you can bake the cake layers up to 2 days in advance and store them tightly wrapped at room temperature. The frosting and filling can be made 1 day ahead and refrigerated—just bring the frosting to room temperature and re-whip before using.
Why did my cream cheese frosting turn out runny?
Runny frosting usually happens when the cream cheese is too soft or the butter is over-whipped. Use cream cheese straight from the fridge, but let the butter soften at room temperature. Beat just until fluffy, and avoid overbeating after adding the powdered sugar.
Can I use store-bought raspberry jam instead of making the filling?
Yes, you can use a good-quality seedless raspberry jam. Spread it thinly over the frosting, but note that it will be sweeter and less tangy than the homemade filling.
How do I prevent the cake layers from sticking to the pan?
Grease the pans thoroughly with butter or nonstick spray, then dust with flour, tapping out the excess. Alternatively, line the bottom with parchment paper for an extra guarantee.
Can I use a different size pan?
You can use three 8-inch pans for thinner layers—just reduce the baking time to about 20–22 minutes. If using a 9x13-inch pan, bake for 30–35 minutes and serve as a sheet cake.
Is it safe to leave the cake out at room temperature?
Because the frosting contains cream cheese, the cake should not sit out for more than 2 hours total. If serving outdoors on a warm day, keep it in the fridge until just before serving and return leftovers to the refrigerator promptly.