Zainab asked me to make her birthday cake this year — not a store-bought one, not a box mix, a real one from scratch. She said she wanted "pink and white and fancy." This white chocolate raspberry cake is what I landed on, and it cleared the bar by a mile.
What makes this one work is the combination of melted white chocolate folded directly into the batter plus sour cream. Those two things together give you a crumb that's genuinely soft — not cakey-dry, not dense, just that tender middle ground that slices clean and tastes rich without being heavy. The raspberries add a little brightness that cuts through the sweetness in exactly the right way.
I've made this for Zainab's birthday, for a friend's bridal shower, and once just because I had a bag of raspberries in the fridge and a free Saturday afternoon. Every single time, it disappears before I expect it to. My husband, who usually skips dessert, had two slices the first time. That told me everything I needed to know. If you're looking for something celebratory but not impossible to pull off at home, this is it — and if you need something easier for a weeknight, check out my Gooey Brownie Pie for when you want something impressive but fast.
One thing to set your expectations correctly: this is a two-layer cake with a cream cheese white chocolate frosting, so it takes a couple of hours start to finish, mostly waiting for the layers to cool. Don't rush that part. I frosted a slightly warm layer once and the frosting slid right off one side. Let the cakes cool completely — I usually bake them the night before and frost the next day.

Why You'll Love This Recipe
- The texture is genuinely moist: Sour cream and melted white chocolate in the batter do something most cake recipes don't — they give you a crumb that stays soft even after a day in the fridge. I've had slices the next morning that were just as good as the night before. If you've ever had a homemade cake that dried out by day two, this one won't do that to you.
- It looks like a celebration cake without professional skills: The cream cheese frosting spreads smoothly, and a handful of fresh raspberries on top does all the decorating for you. I'm not a pastry chef — I don't own a turntable or fancy piping bags. A regular offset spatula from any kitchen store handles everything here just fine.
- The raspberry-white chocolate combination is not just a trend: There's a reason these two flavors keep showing up together. The tartness of the berries cuts right through the sweetness of the white chocolate, so you get something that tastes balanced rather than cloying. The fresh raspberries baked into each layer give you little pockets of fruit flavor in every bite.
- You can make it ahead without sacrificing anything: The cake layers can be baked a day in advance, wrapped tightly, and stored at room temperature overnight. I actually prefer it this way — it gives me time to frost calmly instead of rushing. The assembled, frosted cake keeps well in the fridge for up to four days, so it works for parties where you need to prep early.
- It works for nearly any celebration: Birthdays, obviously — that's where this cake started for me. But I've also brought it to a bridal shower and once to a friend's Eid get-together where it sat next to a table of Pakistani sweets and still got cleaned out first. It's the kind of cake that doesn't need an occasion to justify making it.
Ingredients
- For the Cake:
- 2½ cups all-purpose flour
- 2 teaspoons baking powder
- ½ teaspoon salt
- ¾ cup unsalted butter, softened
- 1½ cups granulated sugar
- 4 large eggs
- 2 teaspoons vanilla extract
- 1 cup whole milk
- ½ cup sour cream (or full-fat Greek yogurt)
- 1 cup fresh or frozen raspberries, lightly dusted with flour
- ¾ cup white chocolate chips or chopped white chocolate
- For the Frosting:
- 8 oz cream cheese, softened
- ½ cup unsalted butter, softened
- 3 cups powdered sugar
- 1 teaspoon vanilla extract
- 4 oz white chocolate, melted and cooled slightly
- For Garnish (Optional):
- Fresh raspberries
- White chocolate curls or shavings
Directions
- Preheat the oven: Set your oven to 350°F (175°C). Grease and flour two 8-inch round cake pans, or line them with parchment paper. I do both — grease the pan, lay the parchment, then grease the parchment too. Nothing sticks that way.
- Mix the dry ingredients: In a medium bowl, whisk together the flour, baking powder, and salt. Set it aside. This takes about 30 seconds but it matters — evenly distributed baking powder means the cake rises evenly.
- Cream the butter and sugar: Beat the softened butter and sugar together until light and fluffy, about 3 minutes with a hand mixer. If you don't have a mixer, a wooden spoon and some patience works — I've done it. The mixture should look pale and almost airy before you move on.
- Add the eggs and vanilla: Add the eggs one at a time, beating well after each one. Then mix in the vanilla extract. The batter might look slightly curdled at this stage — that's normal, it comes together once the dry ingredients go in.
- Add the wet and dry ingredients: Mix in the milk and sour cream. Then gradually add the dry ingredients, mixing until just combined. Do not overmix here — stop as soon as you don't see dry streaks. Overmixing is what makes cakes tough.
- Fold in the raspberries and white chocolate: Gently fold in the flour-dusted raspberries and white chocolate chips. The flour dusting keeps the berries from sinking to the bottom. Use a spatula, not the mixer, and be gentle — you want intact berries in the final cake, not purple streaks.
- Bake the cake: Divide the batter evenly between the two pans and smooth the tops. Bake for 25–30 minutes, until a toothpick inserted in the center comes out clean. Start checking at 25 minutes — ovens vary and you don't want dry edges.
- Cool completely: Let the cakes cool in their pans for 10 minutes, then turn out onto a wire rack. Cool completely before frosting — completely means no warmth when you touch the bottom of the layer. This usually takes at least an hour at room temperature.
- Make the frosting: Beat the softened cream cheese and butter together until smooth and creamy, a few minutes with a hand mixer. Add the vanilla, then pour in the melted and cooled white chocolate. Gradually beat in the powdered sugar until you have a fluffy, spreadable frosting.
- Assemble and frost: Place the first cake layer on your serving plate. Spread a generous layer of frosting on top. Add the second layer, then frost the top and sides. Decorate with fresh raspberries and white chocolate curls if you like.

Tips for Success
- Take your butter and cream cheese out early: Cold butter doesn't cream properly — you end up with little lumps in the batter instead of that light, fluffy base you need. I leave mine out for at least an hour before I start. Same goes for the cream cheese in the frosting. Cold cream cheese in frosting clumps up badly and won't smooth out no matter how long you beat it.
- Don't skip the flour dusting on the raspberries: I skipped this the first time I made this cake and all the berries sank to the bottom of both layers. Tossing them in a tablespoon of flour before folding them in gives them something to grip. It takes 30 extra seconds and it genuinely makes a difference in where they end up in the finished slice.
- Cool your melted white chocolate before adding it to anything: If it's still warm when it hits your room-temperature butter in the batter, it can melt the fat and change the texture. Same with the frosting — warm chocolate poured into cream cheese frosting makes it runny and hard to fix. I melt mine first, then set it aside while I prep everything else, so by the time I need it, it's cooled to room temperature.
- Use real white chocolate, not white chips: White baking chips (the shelf-stable ones in the baking aisle) often contain no actual cocoa butter — they're made with vegetable fat and taste waxy in both the batter and the frosting. A bar of good white chocolate from Trader Joe's, Aldi, or the Ghirardelli section at Walmart costs a couple of dollars more and makes the whole cake taste noticeably better.
- Refrigerate the frosted cake before slicing: I know it's hard to wait, but 30 minutes in the fridge after frosting sets everything up. The frosting firms slightly, the layers settle, and you get clean slices instead of the frosting squishing out the sides when you cut. I usually frost it, put it in the fridge while we eat dinner, and bring it out just before dessert.
Variations
- Raspberry jam filling: Spread a thin layer of good raspberry jam on each cake layer before adding the frosting. It adds concentrated fruit flavor and a little extra moisture that makes the cake taste almost like a fancy bakery version. My husband actually prefers it this way — he likes a stronger raspberry hit against the white chocolate.
- Lemon zest addition: Add 1 tablespoon of fresh lemon zest to the batter when you add the vanilla. It lifts everything — the white chocolate sweetness, the raspberry tartness — and gives the cake a brightness that makes it feel a little lighter. I've made this version in spring and summer and it disappears even faster than the original.
- Mixed berry version: Swap half the raspberries for blueberries or blackberries. I do this when raspberries are expensive or out of season. The blueberries are milder and the blackberries add a slightly deeper flavor. Either way, the white chocolate base works with all of them. I've also made this with frozen mixed berries from Costco when I needed to bake on short notice — just keep them frozen and flour-dusted.
- Cupcake version: Pour the batter into lined cupcake tins — this makes about 18–20 cupcakes. Bake at 350°F for 18–20 minutes. I made this version for Zainab's school bake sale because individual portions are easier to handle than slicing a whole cake. The same frosting pipes beautifully on top with a simple round tip or just a spoon swirl.
- Sheet cake format: Pour the batter into a greased 9x13-inch pan and bake at 350°F for 35–40 minutes. This is the low-effort version that still tastes exactly the same — no stacking, no leveling, just frost the top and add raspberries. For potlucks or casual gatherings where appearance matters less than convenience, this is what I'd do. If you want more no-fuss summer dessert ideas, my 15 No-Bake Summer Desserts roundup has options for when you don't want the oven on at all.
Serving and Storage
Serving
Serve this cake chilled or at room temperature — both work, but I prefer it after it's sat out of the fridge for about 20 minutes. Cold cake straight from the refrigerator can taste a little muted; letting it come up slightly in temperature brings out the white chocolate flavor in the frosting. Garnish with a few fresh raspberries right before serving so they look bright and fresh. White chocolate curls on top look impressive and take about two minutes to make with a vegetable peeler run along the edge of a cold white chocolate bar.
Storage
Store the frosted cake covered in the refrigerator for up to 4 days. I use a large cake dome or just tent it with plastic wrap — just make sure it's covered so the frosting doesn't dry out or pick up any fridge smells. Individual slices can be wrapped in plastic wrap and refrigerated the same way. The unfrosted cake layers can be wrapped tightly in plastic wrap and frozen for up to 1 month — just thaw them at room temperature for a few hours before frosting. I've done this before big gatherings so I'm not baking and frosting on the same day.

Frequently Asked Questions
Can I use frozen raspberries instead of fresh?
Yes, and I do this often. Keep them frozen — do not thaw them first. Thawed raspberries release too much liquid into the batter and you end up with wet pockets and a tinted pink crumb. Pull them straight from the freezer, toss in a little flour, and fold them in immediately. They'll bake through just fine.
Can I make this cake a day ahead?
Absolutely — I actually recommend it. Bake the layers the day before, wrap them tightly in plastic wrap, and leave them at room temperature overnight. Frost on the day you're serving. The layers might even be slightly more moist the next day, which sounds strange but holds true. The fully frosted cake also keeps well in the fridge for up to 4 days.
What can I use instead of sour cream?
Full-fat Greek yogurt is a direct swap — same tang, same moisture, same creaminess. Use the same quantity. I've made this cake with Greek yogurt several times when I didn't have sour cream and couldn't tell the difference in the final result. Don't use low-fat yogurt; it has more water and can affect the texture.
Why did my raspberries all sink to the bottom?
This happens when the berries aren't coated in flour before they go into the batter. The flour gives them something to grip so they stay suspended as the cake bakes. Toss them in about 1 tablespoon of flour before folding them in — it takes seconds and it solves the sinking problem completely. This is true for any fruit or chocolate chips added to cake batter, not just raspberries.
Can I bake this as a sheet cake instead of layers?
Yes. Pour the batter into a greased 9x13-inch pan and bake at 350°F for 35–40 minutes, checking for doneness with a toothpick. The texture is the same, it's easier to transport, and you skip the whole layer-stacking process. The frosting still goes on top and you can still decorate with raspberries. This is the version I'd make for a casual potluck or a school event.

WHITE CHOCOLATE RASPBERRY CAKE
Ingredients
For the Cake:
- 2 ½ cups all-purpose flour
- 2 teaspoons baking powder
- ½ teaspoon salt
- ¾ cup unsalted butter softened
- 1 ½ cups granulated sugar
- 4 large eggs
- 2 teaspoons vanilla extract
- 1 cup milk
- ½ cup sour cream
- 1 cup fresh or frozen raspberries lightly dusted with flour
- ¾ cup white chocolate chips or chopped white chocolate
For the Frosting:
- 8 oz cream cheese softened
- ½ cup unsalted butter softened
- 3 cups powdered sugar
- 1 teaspoon vanilla extract
- 4 oz white chocolate melted and cooled slightly
For Garnish (Optional):
- Fresh raspberries
- White chocolate curls or shavings
Instructions
Preheat Oven:
- Preheat to 350°F (175°C). Grease and flour two 8-inch round cake pans or line with parchment paper.
Mix Dry Ingredients:
- In a bowl, whisk together flour, baking powder, and salt. Set aside.
Cream Butter and Sugar:
- Beat butter and sugar until light and fluffy. Add eggs one at a time, then vanilla.
Add Wet and Dry:
- Mix in milk and sour cream. Gradually add dry ingredients. Fold in raspberries and white chocolate.
Bake:
- Divide batter between pans. Bake for 25–30 minutes or until a toothpick comes out clean. Cool completely.
Make Frosting:
- Beat cream cheese and butter until smooth. Add vanilla and melted white chocolate. Gradually beat in powdered sugar until fluffy.
Assemble Cake:
- Spread frosting between layers and over the top and sides. Decorate with raspberries and white chocolate curls if desired.
Notes
- Make Ahead:
Bake the cake layers a day in advance and store wrapped at room temperature or freeze up to 1 month. - Customizing:
Use raspberry jam between layers for extra flavour. Substitute sour cream with Greek yogurt if preferred. - Serving Suggestions:
Serve chilled or at room temperature with tea or coffee. - Storage Tips:
Refrigerate in an airtight container for up to 4 days. - Allergy-Friendly Options:
Use dairy-free alternatives for cream cheese, butter, and milk to make it lactose-free.
This cake has become the one I reach for whenever someone in the family has a birthday or I need to bring something to a gathering and want people to actually be excited about dessert. It's not the fastest bake I have in my rotation, but it's not complicated either — it's just a matter of doing each





Comments
No Comments