Picture this: a tall, pale cake sitting on a stand, its frosting swooped into gentle peaks, fresh raspberries tumbling over the top in a cascade of jewel-bright red. You slice through and find the layers inside, blush-pink compote peeking out between clouds of ivory cream. Before you have even taken a bite, the room smells faintly of warm vanilla and something floral and fruity, like a summer afternoon in a single breath. This is the kind of cake that makes people go quiet when it arrives at the table.
What sets this recipe apart is the combination of two things that rarely appear together in a layer cake: a properly made raspberry compote (not jam from a jar, though we will give you that shortcut if you need it) and a white chocolate mascarpone frosting that relies on real melted white chocolate, not pudding mix or flavoring. The white chocolate is gently melted and folded into whipped mascarpone and cream cheese, giving the frosting a subtle ivory color, a delicate sweetness, and a stability that holds up beautifully at room temperature without being cloying. The compote, made in under ten minutes with fresh or frozen raspberries, brings the tart contrast that keeps every single bite interesting.
This is a medium-difficulty cake, the kind that rewards you for following the steps carefully but does not demand professional skills. If you have made a layer cake before, you will feel right at home. If this is your first, take it one component at a time and you will be just fine. It is perfect for birthdays, anniversaries, Mother’s Day, or any occasion where you want the cake to do the talking.
12
servings
Ingredients
- Compote
- 375 gall-purpose flour (about 3 cups, spooned and leveled)
- 2.5 tspbaking powder
- 0.5 tspbaking soda
- 0.75 tspfine sea salt
- 225 gunsalted butter, softened to room temperature (1 cup or 2 sticks)
- 350 ggranulated sugar (1 and 3/4 cups)
- 4 largeeggs, at room temperature
- 2 tsppure vanilla extract
- 240 mlfull-fat sour cream, at room temperature (1 cup)
- 120 mlwhole milk, at room temperature (1/2 cup)
- 300 gfresh or frozen raspberries (about 2 and 1/2 cups)
- 80 ggranulated sugar (6 tbsp)
- 1 tbspfresh lemon juice
- 1.5 tspcornstarch
- 1 tbspcold water
- Frosting
- 200 ggood-quality white chocolate, finely chopped (about 7 oz)
- 450 gmascarpone cheese, cold (about 2 cups)
- 225 gfull-fat cream cheese, softened to room temperature (8 oz)
- 120 gpowdered sugar, sifted (about 1 cup)
- 240 mlheavy whipping cream, cold (1 cup)
- 1 tsppure vanilla extract
- Decorating
- —150g (about 1 and 1/4 cups) fresh raspberries
- Decorating (optional)
- —White chocolate shavings or curls
Ingredient Substitutions
Instructions
🔧 Equipment
- Preheat your oven to 350°F (175°C). Grease three 9-inch round cake pans with butter or nonstick spray, line the bottoms with parchment paper rounds, then grease the parchment and lightly dust the pans with flour, tapping out any excess.
- Make the raspberry compote first so it has time to cool completely. Combine the raspberries, 80g sugar, and lemon juice in a small saucepan over medium heat. Cook, stirring occasionally, for 6 to 8 minutes until the berries have broken down and the mixture bubbles. Stir together the cornstarch and cold water in a small bowl until smooth, then pour it into the simmering compote and stir constantly for 1 minute until the mixture thickens noticeably. Remove from heat, press through a fine-mesh sieve if you prefer a seedless filling, and transfer to a bowl. Cover the surface directly with plastic wrap and refrigerate until fully cold, at least 1 hour.
- Make the cake batter. Whisk together the flour, baking powder, baking soda, and salt in a medium bowl and set aside. In a large bowl using a stand mixer fitted with the paddle attachment (or a hand mixer), beat the softened butter and 350g granulated sugar on medium-high speed for 4 to 5 minutes until the mixture is very pale, fluffy, and noticeably increased in volume. Scrape down the sides of the bowl thoroughly.
- With the mixer on medium speed, add the eggs one at a time, beating for 30 seconds after each addition and scraping down the bowl. Add the vanilla extract and beat for another 30 seconds. The mixture may look slightly curdled at this point; that is normal and will come together once the flour is added.
- Reduce the mixer to low speed. Add the flour mixture in three additions, alternating with the sour cream and milk combined (add dry, then wet, then dry, then wet, then dry), beginning and ending with the flour. Mix just until no dry streaks remain after each addition. Do not overmix once the flour goes in, as this develops gluten and can make the cake tough.
- Divide the batter evenly among the three prepared pans (about 530g per pan if you have a kitchen scale). Smooth the tops with an offset spatula. Bake for 30 to 35 minutes, rotating the pans halfway through, until the tops spring back when lightly pressed in the center and a toothpick inserted in the middle comes out with just a few moist crumbs. Begin checking at 28 minutes.
- Cool the cakes in their pans on a wire rack for 15 minutes, then run a thin knife or offset spatula around the edges and invert onto the rack. Peel off the parchment and allow to cool completely, at least 1 hour. Do not frost a warm cake.
- Make the white chocolate mascarpone frosting. Place the finely chopped white chocolate in a heatproof bowl set over a saucepan of barely simmering water, making sure the bowl does not touch the water. Stir frequently until just melted and smooth. Remove from heat and cool to room temperature, about 20 to 25 minutes. The chocolate must be at room temperature before folding into the cheese, or it will seize.
- In a large bowl using a stand mixer with the paddle attachment, beat the softened cream cheese on medium speed for 2 minutes until completely smooth. Add the cold mascarpone and beat on medium speed for 1 minute, just until combined. Do not overbeat mascarpone as it can turn grainy. Add the sifted powdered sugar and vanilla extract and mix on low until incorporated, then increase to medium for 30 seconds.
- Drizzle in the cooled melted white chocolate with the mixer on low speed, mixing until just combined. In a separate bowl, whip the cold heavy cream to medium-stiff peaks (the cream should hold its shape but still look silky, not dry). Fold the whipped cream into the white chocolate mixture in two additions using a large rubber spatula, working gently to preserve the volume. The frosting should be smooth, glossy, and hold its shape on a spoon. If it seems too soft, refrigerate for 20 minutes.
- Assemble the cake. Place one cooled cake layer on a cake board or serving plate. Spread a thin, even layer of frosting over the surface (about 3 to 4 tablespoons), then pipe or spoon a border of frosting around the edge of the layer to act as a dam that will hold the filling in. Spoon half of the cold raspberry compote inside the dam and spread evenly. Repeat with the second layer. Place the third layer on top, bottom-side up for a flat surface.
- Apply a thin crumb coat of frosting all over the outside of the cake using an offset spatula. Refrigerate for 20 to 30 minutes until the crumb coat is set and firm to the touch. Apply the remaining frosting in an even, generous layer over the top and sides. Decorate with fresh raspberries and white chocolate shavings. Refrigerate for at least 30 minutes before slicing for clean cuts.
- Preheat your oven to 350°F (175°C). Grease a 9×13-inch (23x33cm) baking pan, line with parchment paper leaving an overhang on the long sides, and grease the parchment.
- Make the raspberry compote and set it aside to cool completely as described in the oven method (steps 2). For the sheet cake, there is no need to make a dam, so you can leave it slightly looser (skip the cornstarch slurry if you prefer a more sauce-like topping). Refrigerate until needed.
- Prepare the full cake batter exactly as described in the oven method (steps 3 through 5). Pour all of the batter into the prepared pan and spread evenly with an offset spatula.
- Bake for 35 to 40 minutes, rotating the pan once at the 20-minute mark, until the top is golden, springs back when pressed, and a toothpick inserted in the center comes out with just a few moist crumbs. Cool in the pan on a wire rack for 20 minutes, then use the parchment overhang to lift the cake out and cool completely on the rack.
- Prepare the full white chocolate mascarpone frosting as described in the oven method (steps 8 through 10). Spread the frosting generously over the top of the cooled cake in swooping peaks and swirls. Spoon the chilled raspberry compote over the frosting in a rustic zigzag, then use a butter knife or skewer to lightly swirl it into the frosting for a marbled effect. Do not over-swirl or the colors will muddy.
- Scatter fresh raspberries over the top and add white chocolate shavings if desired. The sheet cake can be served directly from the pan or sliced into squares. Refrigerate leftovers covered with plastic wrap for up to 4 days.
- Preheat your oven to 350°F (175°C). Line two standard 12-cup muffin tins with paper liners. Do not skip the liners; the batter is soft and will stick to an unlined pan.
- Make the raspberry compote as described in the oven method, ensuring it is thick enough to hold its shape inside a cupcake (if it seems thin, simmer an extra minute or two after adding the cornstarch slurry). Cool completely and refrigerate.
- Prepare the full cake batter as described in the oven method (steps 3 through 5). Fill each cupcake liner two-thirds full, about 70 to 75g of batter per cup. Use an ice cream scoop for speed and consistency.
- Bake for 18 to 22 minutes, rotating the pans at the 10-minute mark, until the tops are domed and spring back when gently pressed and a toothpick comes out with just a few moist crumbs. Do not overbake; cupcakes dry out quickly. Cool in the pan for 5 minutes, then transfer to a wire rack to cool completely.
- Once the cupcakes are fully cool, use a small sharp knife or a cupcake corer to cut a cone or cylinder from the center of each cupcake, going about two-thirds of the way down. Cut the pointed bottom off the removed cone piece (you want a small plug to cap the filling). Spoon or pipe about 1 teaspoon of cold raspberry compote into each cavity, then replace the cap. This step can be done up to 24 hours ahead and refrigerated.
- Prepare the white chocolate mascarpone frosting as directed in the oven method (steps 8 through 10). Transfer to a piping bag fitted with a large open-star tip (such as Wilton 1M). Pipe generous swirls of frosting onto each cupcake starting from the outside and spiraling inward. Top each with a fresh raspberry and a curl of white chocolate. Refrigerate for 20 minutes to firm up before serving.
Nutrition Per Serving
Per 1 serving (makes one 9-inch three-layer cake)
Why This Recipe Works
The foundation of a tender layer cake is the creaming method, and here it is taken seriously. Beating the butter and sugar together for a full 4 to 5 minutes is not decorative; it is doing real structural work. As the paddle beats air into the fat, millions of tiny bubbles form and become trapped. When baking soda and baking powder react with the heat and the acidic sour cream, they release carbon dioxide gas that fills those pre-formed air pockets and expands them, giving the cake its lift and open crumb. Rushing the creaming step means fewer air pockets and a denser cake, so set a timer and let the mixer run.
Sour cream is the secret weapon in this batter. Its high fat content (around 20 percent) tenderizes the crumb by coating gluten strands before they can link together too tightly, while its acidity activates the baking soda for extra lift and also enhances the vanilla flavor through a subtle browning reaction. It also adds moisture that stays in the cake even after days in the refrigerator. This is why the cake slices well even cold, without crumbling apart. The alternating additions of the dry and wet ingredients keep the gluten network from overdeveloping; starting and ending with flour ensures the emulsion in the batter stays stable.
The white chocolate mascarpone frosting is stabilized by two clever tricks. First, cream cheese is beaten until completely smooth before the mascarpone is added. Cream cheese is more elastic and stable than mascarpone on its own, so it provides structure. Second, the whipped cream is folded in at medium-stiff peaks rather than stiff peaks, which means the fat globules in the cream are still slightly fluid enough to bond with the cheese mixture without deflating the foam. If the frosting ever feels too soft to spread cleanly, a 20-minute chill in the refrigerator will firm it up without compromising its texture. Always melt white chocolate slowly over a double boiler; white chocolate is sensitive to heat and can seize (turn grainy and stiff) if it gets too hot or comes into contact with even a drop of water.
Baker’s Tips
- Bring all refrigerated ingredients (butter, eggs, sour cream, milk, cream cheese) to room temperature before you start. Cold butter will not cream properly, and cold eggs can cause the batter to break and look curdled.
- Weigh your ingredients if possible, especially the flour. Spooning flour into a cup compacts it and can add 20 to 30 percent more flour than intended, leading to a dry, dense cake.
- Cool the melted white chocolate completely before folding it into the mascarpone mixture. If it is even slightly warm, it can melt the fats in the cheese and cause the frosting to become runny.
- The crumb coat is not optional for a beautiful finish. It seals in crumbs so they do not drag through your final layer of frosting. Even a thin, messy crumb coat chilled for 20 minutes makes the final frosting step dramatically easier.
- If you want perfectly even layers, use a kitchen scale to weigh the batter into each pan. Even distribution means all three layers bake at the same rate and the assembled cake will stand straight.
- For the cleanest slices, refrigerate the assembled cake for at least 30 minutes before cutting, then use a sharp knife dipped in hot water and wiped dry between each cut.
- If your compote is too loose after cooling (it should be the consistency of thick jam), return it to the saucepan and simmer over medium-low heat for 2 to 3 more minutes. A loose compote will seep out from between the layers.
Variations
- Lemon and Raspberry: Add the zest of 2 lemons and 1 tbsp fresh lemon juice to the cake batter for a bright citrus lift that pairs beautifully with the raspberry filling.
- Strawberry version: Swap raspberries for fresh strawberries (hulled and roughly chopped) in both the compote and the garnish. Increase the sugar in the compote to 100g as strawberries are less tart.
- White chocolate drip finish: Melt an extra 100g of white chocolate with 2 tbsp heavy cream to make a simple ganache. Let it cool until slightly thickened (about 15 minutes), then pour over the chilled frosted cake and coax it gently over the edges with an offset spatula for a dramatic drip effect.
- Gluten-free adaptation: Substitute the all-purpose flour with a good-quality 1-to-1 gluten-free baking flour blend (such as Bob’s Red Mill 1-to-1 or King Arthur Measure for Measure). Add 1/2 tsp xanthan gum if your blend does not already contain it. The texture will be slightly denser but still moist and delicious.
Troubleshooting & FAQ
My cake layers domed and cracked on top. How do I prevent this?
My white chocolate frosting turned grainy or lumpy. What went wrong?
The raspberry compote is leaking out from between the layers. How do I fix this?
My cake layers came out dense and gummy, not light and fluffy. What happened?
The frosting is too soft to frost the cake and is sliding off. What should I do?
Storage & Make-Ahead
- Storage: Store the assembled cake covered in the refrigerator for up to 4 days. Bring individual slices to room temperature for 20 to 30 minutes before serving for the best texture and flavor. Unfrosted cake layers can be wrapped tightly in plastic wrap and stored at room temperature for up to 2 days, or frozen for up to 3 months. The frosting can be refrigerated in an airtight container for up to 3 days; re-whip gently before using.
- Make-Ahead: The raspberry compote can be made up to 5 days ahead and refrigerated in a jar. The cake layers can be baked up to 2 days ahead, wrapped well in plastic, and stored at room temperature, or frozen (double-wrapped) for up to 3 months. The frosting can be made up to 2 days ahead and refrigerated; let it sit at room temperature for 10 minutes and stir gently before frosting. The fully assembled cake can be made 1 day ahead and refrigerated.






