Moist White Chocolate Cake from Scratch
This white chocolate cake from scratch is tender, buttery, and full of real white chocolate flavor. It’s topped with a silky white chocolate buttercream that makes it feel special without being overly sweet.

Perfect for a birthday or any day you want a cake that actually tastes like white chocolate. You can pull it off in an afternoon and the layers stay soft for days.
Why This Cake Works
The white chocolate goes right into the batter, so every bite carries that creamy vanilla note without being cloying. Buttermilk keeps the crumb light, and a little oil means it stays moist even after a couple of days.
The buttercream is just white chocolate, butter, and a pinch of salt, whipped until it’s airy enough to stack without tearing the cake. It’s the version I keep coming back to because it’s reliable and the flavor comes through clearly.
Ingredients

- 4 oz white chocolate, chopped: use a good bar, not chips, for the smoothest melt
- 2 ¼ cups all-purpose flour: spoon and level it so you don’t pack it
- 2 tsp baking powder: gives the cake lift
- ½ tsp fine sea salt: balances the sweetness
- ½ cup unsalted butter, very soft: near room temperature but not greasy
- 1 ⅓ cups granulated sugar: keeps the crumb tender
- 3 large eggs, at room temperature: cold eggs can make the batter seize
- ½ cup neutral oil: like vegetable or canola, for moisture
- 1 tbsp vanilla extract: use the real stuff here, white chocolate needs it
- 1 cup buttermilk, at room temperature: if you’re out, stir 1 tbsp lemon juice into 1 cup whole milk and let it sit 5 minutes
- 6 oz white chocolate, chopped: for the frosting
- 1 ½ cups unsalted butter, softened: the base of the buttercream
- 2 ½ cups powdered sugar: sift if it’s lumpy
- ¼ tsp fine sea salt: cuts the sweetness
Variations / Substitutions
- Swap the white chocolate: use a high-quality brand you’d eat on its own, the cake relies on that real cocoa butter flavor
- Turn it into a sheet cake: bake in a greased 9×13 pan and halve the frosting if you want a thinner layer
- Add a berry filling: spread a thin layer of raspberry jam between the layers before frosting for a sharp contrast
- Use cream cheese frosting instead: beat 8 oz cream cheese with the butter and white chocolate, skip most of the powdered sugar
If you want a cake with deeper cocoa flavor, try a straightforward Chocolate Layer Cake next.
How to Make Moist White Chocolate Cake
Step 1: Melt the White Chocolate

Set an oven rack in the center and preheat the oven to 350°F (175°C). Butter two 8-inch round cake pans and line the bottoms with parchment, then butter the parchment. Add the 4 oz white chocolate to a heatproof bowl and melt it gently—either over a pan of barely simmering water or in the microwave in 20-second bursts, stirring every time. Once smooth, let it cool to room temperature while you work on the batter.
The chocolate should still be liquid but not warm to the touch. If you pour hot chocolate into the batter, it can make the butter greasy and deflate the eggs, so give it those few minutes to cool.
Stirring in a figure-eight as it melts keeps the white chocolate from seizing around the edges. White chocolate is more delicate than dark chocolate, so slow and low is your friend here.
Step 2: Whisk the Dry Ingredients

In a large mixing bowl, whisk together the 2 ¼ cups flour, 2 tsp baking powder, and ½ tsp salt until they’re evenly distributed. After about 15 seconds of whisking, you should see no streaks of baking powder. Set this aside.
Hold the bowl up to the light—if the flour looks dusty and uniform, you’re good. This step ensures the baking powder is spread out so you don’t get odd tunnels or dense spots in the crumb.
A quick whisk also works in a little air, which gives the cake a softer rise. Don’t skip it, even if you’re tempted to dump everything in later.
Step 3: Cream the Butter and Sugar

In the bowl of a stand mixer fitted with the paddle, beat the ½ cup soft butter and 1 ⅓ cups granulated sugar on medium-high speed until pale and fluffy, about 3 minutes. Stop once halfway through to scrape down the sides. With the mixer on low, add the eggs one at a time, beating well after each. Pour in the ½ cup oil and 1 tbsp vanilla, then mix on low just until combined.
At the end, the mixture should look glossy and pale yellow, and when you lift the paddle it should fall in ribbons. If it looks curdled, the butter may have been too cold or the eggs too chilly—keep going, it’ll come together when you add the flour.
Don’t rush the creaming. Those three minutes are where the cake gets its fine, even texture, so let the mixer do its work.
Step 4: Build the Batter

Turn the mixer to the lowest speed. Add a third of the flour mixture and mix until almost gone, then pour in half the buttermilk. Repeat: another third of flour, the remaining buttermilk, then the last of the flour. Scrape the bowl well after each addition. Remove the bowl from the mixer and, using a flexible spatula, gently fold in the cooled, melted white chocolate until no white streaks remain.
The batter will be thick and creamy, with a faint glossy sheen from the chocolate. You’re looking for a ribbon that holds its shape on the surface for a second before sinking.
Folding by hand at the end prevents you from overworking the gluten once the chocolate is in, which keeps the cake soft rather than tough. Stop as soon as the color looks uniform.
Step 5: Bake the Cake Layers

Divide the batter evenly between the prepared pans, smoothing the tops with an offset spatula. Bake on the center rack until the tops spring back when pressed lightly and a toothpick inserted in the center comes out with a few moist crumbs, 25 to 28 minutes. Cool the layers in the pans on a wire rack for 10 minutes, then turn them out onto the rack to cool completely before frosting.
The surface should be golden at the edges and firm in the middle, with no wet jiggle. If the tops dome, you can level them with a serrated knife once they’re cool.
Wait until the layers are fully cool, at least an hour. Even a little warmth will melt the buttercream and send the top layer sliding.
Step 6: Whip the Frosting

While the cake cools, melt the 6 oz white chocolate using the same low, gentle method as before. Let it cool to room temperature. In the stand mixer with the paddle, beat the 1 ½ cups softened butter on medium until creamy, about 2 minutes. Add the 2 ½ cups powdered sugar and ¼ tsp salt, beating on low until combined, then increase to medium-high and whip for a full 3 minutes. Pour in the cooled white chocolate and beat on medium until the frosting is light and spreadable, another 1 to 2 minutes.
It should look like whipped cream cheese in body, holding soft peaks when you lift the paddle. If it’s too stiff, add a teaspoon of milk or cream; if it’s too loose, pop it in the fridge for 10 minutes.
Frosting right away works best, but you can refrigerate it for up to a day. If you do, let it come back to room temperature and re-whip for 30 seconds before using.
Step 7: Stack and Frost the Cake

Place one cooled cake layer on a serving plate or cake stand. Drop a generous dollop of frosting in the center and spread it outward with an offset spatula until it reaches the edges. Top with the second layer, flat side up. Spread a thin crumb coat of frosting over the entire cake, then chill it for 20 minutes to set. After that, mound the remaining frosting on top and work it down the sides, smoothing and swirling it as you like. Serve the cake right away or refrigerate, then bring slices to cool room temperature for the best texture.
You’ll see the stark white frosting against the golden crumb when you cut the first slice. The buttercream should be soft enough to leave a clean trail from the knife.
If you’re not confident with decorating, spoon the frosting on top and push it gently off the edges—rustic looks just as pretty and tastes exactly the same.
Tips for Baking White Chocolate Cake
- Use cake flour if you want an even softer crumb. Swap it 1:1 for all-purpose but note the cake will be a little more delicate when stacking.
- White chocolate scorches easily, so melt it in a double boiler or at 50% power in the microwave and stop while a few lumps remain, then stir until smooth.
- Make sure all your cold ingredients—eggs, buttermilk, butter—truly come to room temperature. Cold ingredients can make the batter separate and create a heavy cake.
- Let the frosted cake sit at room temperature for 30 minutes before serving. The buttercream softens just enough to meld with each bite.
Bake times for different pans:
| Pan Size | Temperature | Time |
|---|---|---|
| Two 8-inch rounds | 350°F (175°C) | 25–28 mins |
| Two 9-inch rounds | 350°F (175°C) | 22–25 mins |
| One 9×13-inch sheet | 350°F (175°C) | 30–33 mins |
Storing Leftovers
- Refrigerate: Covered loosely in the fridge, the frosted cake stays fresh for up to 4 days. Keep it in a cake carrier or under a large overturned bowl so the frosting doesn’t pick up fridge smells.
- Reheating: No reheating needed, but letting a cold slice sit at room temperature for 20 minutes brings back the soft texture.
- Freeze unfrosted layers: Wrap each completely cooled cake round tightly in plastic wrap, then foil, and freeze for up to 2 months. Thaw overnight in the fridge before frosting.
What to Serve with White Chocolate Cake
Fresh raspberries or a quick berry compote cuts through the sweetness and adds a bright pop of tartness. A drizzle of barely sweetened heavy cream on the side makes each bite feel extra rich. A cup of strong black coffee balances the vanilla notes and keeps the sweetness in check.
Frequently Asked Questions
Can I use white chocolate chips instead of a bar?
Yes, but use a brand with real cocoa butter listed in the ingredients. Chips with palm oil don’t melt as smoothly and can leave a waxy texture in the cake.
How do I keep the cake from browning too much?
Tent the pans loosely with foil during the last 5 to 8 minutes of baking if the tops are taking on color past a light golden. White cake can darken quickly around the edges.
Can I make this cake ahead of time?
Absolutely. Bake the layers a day ahead, wrap them tightly, and store them at room temperature. Make the frosting the next day before assembling.
My frosting split when I added the white chocolate. What went wrong?
The white chocolate was likely too warm when poured in, which made the butter separate. Next time, let the chocolate cool until it’s barely lukewarm to the touch before mixing it in. If it’s already split, whip in a tablespoon of cold heavy cream and see if it pulls together.

White Chocolate Cake Recipe
Ingredients
Method
- Preheat oven to 350°F (175°C). Butter and line two 8-inch round cake pans. Melt 4 oz white chocolate gently, then set aside to cool to room temperature.
- Whisk together flour, baking powder, and salt in a bowl.
- Using a stand mixer, cream soft butter and sugar on medium-high until pale and fluffy, about 3 minutes. Add eggs one at a time, then mix in oil and vanilla on low.
- On the lowest speed, alternate adding the flour mixture and buttermilk in three parts, beginning and ending with flour. Fold in the cooled white chocolate by hand until no streaks remain.
- Divide batter between pans and bake 25 to 28 minutes, until tops spring back and a toothpick has a few moist crumbs. Cool 10 minutes in pans, then remove and cool completely on a rack.
- Melt 6 oz white chocolate and cool. Beat softened butter until creamy, add powdered sugar and salt, whip 3 minutes, then beat in cooled white chocolate until light and spreadable.
- Place one cake layer on a plate, spread with frosting, top with second layer. Apply a crumb coat, chill 20 minutes, then finish frosting. Slice and serve at room temperature.
