Decadent White Chocolate Raspberry Layer Cake Recipe

Although I usually prefer dark chocolate, white chocolate has its place—especially paired with red fruit. The bright tartness of raspberries and the creamy sweetness of white chocolate create a delightful contrast. This White Chocolate Raspberry Cake combines tender vanilla cake layers studded with fresh raspberries, a vibrant homemade raspberry compote, and a silky whipped white chocolate ganache frosting. The frosting is remarkably light and creamy, made without butter and with just a few ingredients whipped into a cloud-like texture. The result is an elegant, crowd-pleasing layer cake that’s perfect for celebrations or a special dessert.

white chocolate raspberry cake sliced on serving plate

Why this recipe works

  • Soft, tender vanilla cake – buttermilk-like richness from sour cream and the right balance of fats make the cake delicate and plush while raspberries add bursts of flavor.
  • Moist texture – a small amount of neutral oil plus butter help maintain softness and a pleasing crumb.
  • Intense raspberry compote – a simple cooked filling from raspberries, sugar, lemon and a little cornstarch provides a bright, ruby-colored layer that pairs perfectly with the white chocolate.
  • Silky whipped white chocolate ganache – pure white chocolate melted with cream and chilled, then whipped to a light, airy frosting that tastes rich without being overly sweet.
white chocolate raspberry cake slice on a plate

Ingredients overview

Below are notes on the main ingredients. The full quantities and detailed ingredient list appear in the recipe card further down.

  • All-purpose flour – measured accurately for best texture. Use a scale or the spoon-and-level method to avoid packing the cup.
  • Granulated sugar – keeps the flavor clean so the vanilla and raspberry shine.
  • Pure vanilla – good-quality Madagascar vanilla or vanilla bean will elevate the cake’s flavor.
  • Unsalted butter – provides flavor and structure; if using salted butter, reduce added salt slightly.
  • Neutral oil – a small amount of sunflower or canola oil keeps the crumb soft and adds perceived moistness.
  • Egg and egg whites – a whole egg plus extra whites lighten the crumb while providing structure.
  • Sour cream – adds richness and tenderizes the cake.
  • Whole milk – use 2% or full-fat milk for best results; avoid very low-fat options.
  • Fresh raspberries – recommended for the batter to avoid excess moisture; frozen berries can be used for the compote.
  • White chocolate – choose real white chocolate made with cocoa butter (not compound chocolate) for the cleanest flavor and best texture in the ganache.
  • Heavy whipping cream – cold cream with at least 35% fat is required for the whipped ganache.
white chocolate raspberry cake slice with bite

Step-by-step method

  • Make the raspberry compote first. Cook raspberries with sugar, a squeeze of lemon and a touch of cornstarch until thickened. Cool completely and chill for at least 30 minutes so the filling sets.
  • Prepare the cake batter. Cream softened butter with oil, sugar and vanilla until pale and fluffy. Beat in the egg, then the egg whites, followed by sour cream.
  • Combine dry ingredients. Sift and whisk flour, baking powder, baking soda and salt to distribute leavening and prevent lumps.
  • Alternate dry and wet additions. Add the dry ingredients in two additions, alternating with milk. Finish by briefly mixing at high speed to emulsify, then gently fold in the raspberries.
  • Bake. Divide batter evenly between prepared pans and bake at 350°F (175°C) until lightly golden and a toothpick comes out clean, about 25–30 minutes. Cool in the pans briefly, then transfer to wire racks to cool completely.
  • Make the whipped white chocolate ganache. Pour hot cream (infused with vanilla bean if using) over chopped white chocolate and let sit, then whisk until smooth. Cool slightly, add remaining cold cream, then chill until fully cold. Whip until thick and fluffy.
  • Assemble the cake. Place one layer on your serving plate, pipe a frosting rim, add raspberry compote inside the ring, then top with the second layer. Frost the cake with the whipped ganache, smooth the sides and create swirls on top. Garnish with small spoonfuls of compote and fresh raspberries.
white chocolate raspberry cake slice with bite

Expert tips for success

  • Don’t overbake. The cakes will be lightly golden and should spring back gently when done; a toothpick should come out clean.
  • Use very soft, not melted, butter. Soft butter creams best and helps trap air for a light texture.
  • Bring eggs to room temperature. They incorporate more easily and help create a uniform batter.
  • Sift dry ingredients. Sifting helps even distribution of leavening and prevents tunnels or dense spots.
  • Fold raspberries gently. Add them at the end to avoid breaking the fruit and turning the batter pink.
  • Make compote in advance. The raspberry filling can be prepared up to two days ahead for convenience.
white chocolate raspberry cake cross section

Common questions

  • What oil should I use? Use a fresh neutral oil such as sunflower, canola or safflower for a clean flavor and soft crumb.
  • How do I know the cakes are done? Centers should be springy and a toothpick should come out clean; tops will be lightly golden rather than deeply browned.
  • Can I use frozen raspberries? Fresh raspberries are recommended for the batter to avoid extra moisture. Frozen berries can be used for the compote.
  • Can I make this ahead? You can bake the layers a day ahead (unfrosted) and store them refrigerated due to the fresh fruit inside. The compote keeps for up to two days refrigerated.
  • Is a vanilla bean required for the frosting? No—vanilla extract works fine, though a vanilla bean adds aroma and pretty specks to the ganache.
white chocolate raspberry cake slice on a plate

Storing and freezing

  • Refrigerate: Store the assembled cake in the refrigerator because it contains fresh fruit and a cream-based frosting.
  • Freeze layers: Unfrosted, unfilled cake layers can be wrapped tightly and frozen for up to three months. Thawed raspberries may be softer, so freeze layers without the fruit if texture is a concern.
white chocolate raspberry cake slice on a plate

If you enjoy raspberry and white chocolate flavors, this cake is an elegant, flavorful choice. The tender vanilla layers, bright compote and airy whipped white chocolate ganache combine for a refined dessert that’s both impressive and approachable.

White Chocolate Raspberry Cake

Christina Marsigliese

Soft, tender vanilla cake layers studded with fresh raspberries are filled with a bold raspberry compote and covered in a silky whipped white chocolate ganache flavored with vanilla bean.
Prep Time 25 mins
Cook Time 35 mins
Chill Time 4 hrs
Servings 10 servings

Ingredients

Cake batter:

  • 1 ¾ cups (250g) all-purpose flour
  • 1 ¼ tsp baking powder
  • ¼ tsp baking soda
  • ½ tsp salt
  • 6 tbsp (84g) unsalted butter, softened
  • 2 tbsp (30ml) sunflower or neutral oil
  • 1 ⅓ cups (265g) granulated sugar
  • 1 ½ tsp pure vanilla extract
  • 1 large egg, room temperature
  • 2 large egg whites, room temperature
  • ½ cup (120ml) full-fat sour cream
  • ½ cup (120ml) whole milk
  • 1 ¼ cups (150g) fresh raspberries

Plus

  • 1 recipe raspberry compote (see notes)
  • 1 recipe vanilla whipped white chocolate ganache (see notes)

Instructions

  1. Make the raspberry compote and chill until cold.
  2. Preheat oven to 350°F (175°C). Line two 8-inch round pans with parchment.
  3. Sift and whisk the flour, baking powder, baking soda and salt.
  4. Cream butter, oil, sugar and vanilla until pale. Beat in egg, then egg whites, then sour cream.
  5. Alternate adding the dry mixture and milk in two additions, ending with milk. Briefly beat at high speed to emulsify. Fold in raspberries gently.
  6. Divide batter between pans and bake 25–30 minutes until lightly golden and a skewer comes out clean. Cool completely on wire racks.
  7. Prepare the whipped white chocolate ganache: heat cream with vanilla, pour over chopped white chocolate, whisk smooth, cool, then chill until cold. Whip until thick and fluffy.
  8. Assemble: pipe a frosting ring on the bottom layer, spread compote inside, top with second layer, then frost the cake and garnish with extra raspberries.