Vanilla Custard Cake That Magically Makes Three Layers
This vanilla custard cake is the one that separates into a fudgy base, a silky custard center, and a fluffy sponge top, all from a single, simple batter.

It feels like a pastry chef trick, but your mixer and a 9-inch pan are the only things standing between you and dessert tonight.
Why This Cake Feels Like a Party Trick
The first time you pull this cake from the oven and see those three distinct layers, you’ll feel like you pulled off something brilliant. The bottom is dense and rich, almost like a vanilla fudge, the middle is a soft spoonable custard, and the top is a light, airy cake.
It’s the kind of dessert that makes people ask how you did it, and the answer is satisfyingly low-effort: whip some egg whites, fold them into a thin batter, and let the oven work its quiet magic.
Ingredients

- 4 large eggs, separated, at room temperature: the separation is what makes the layers happen.
- 3/4 cup (150 g) granulated sugar, divided: you’ll use part for the yolks and part for the whites.
- 1/2 cup (113 g) unsalted butter, melted and cooled slightly: warm, not hot, so it doesn’t cook the eggs.
- 1 tablespoon vanilla extract: the main flavor, use the good stuff.
- 3/4 cup (95 g) all-purpose flour, sifted: sifting keeps the thin batter lump-free.
- 2 cups (480 ml) whole milk, lukewarm: whole milk makes the creamiest custard layer.
- 1/4 teaspoon salt: just enough to round out the sweetness.
- Powdered sugar, for dusting: optional but makes the top look finished.
Variations / Substitutions
- Dairy-free: use oat milk and vegan butter; the custard layer will be slightly softer but still works.
- Flavor swaps: replace vanilla with almond extract (start with 1 teaspoon, it’s strong) or add the zest of a lemon for a citrusy version.
- Chocolate twist: sift 2 tablespoons cocoa powder with the flour for a darker, cocoa-flecked cake.
- Sugar alternative: you can use coconut sugar, though the cake will turn out a shade darker.
If you love simple custard desserts, Vanilla Bean Panna Cotta is another no-fuss favorite.
How To Make Vanilla Custard Cake
Step 1: Whip the Egg Whites

Preheat the oven to 325°F (160°C) and butter a 9-inch springform pan or line an 8×8-inch baking dish with parchment. In a clean bowl, whip the 4 egg whites until foamy, then gradually add 1/2 cup (100 g) of the sugar and beat to stiff, glossy peaks. This takes about 3 to 4 minutes with a hand mixer on high. Set the whites aside.
The whites need to be stiff enough that the bowl can be flipped without them moving, but not dry. Stop as soon as the peaks hold their shape and look shiny.
Getting this foam right is the single most important part. Underwhipped whites won’t trap enough air and the top layer will be thin; overwhipped ones turn grainy and hard to fold.
Step 2: Beat the Yolk Mixture

In a large bowl, whisk the 4 egg yolks with the remaining 1/4 cup (50 g) sugar until thick and pale yellow, about 2 minutes. Pour in the 1/2 cup (113 g) melted butter and 1 tablespoon vanilla extract, whisking until smooth.
The mixture will become glossy and lighten in color as the sugar dissolves. If the butter is too hot it can scramble the yolks slightly, so it should feel just warm to your finger.
Don’t skip this creaming step. It gives the base layer its dense, almost fudgy texture.
Step 3: Add the Flour and Milk

Sift the 3/4 cup (95 g) flour and 1/4 teaspoon salt directly into the yolk mixture. Stir until just combined and no dry streaks remain. Now add the 2 cups (480 ml) lukewarm milk, about half a cup at a time, whisking gently between additions. The batter will be thin, like heavy cream.
At this point, the batter will look almost like soup, which is exactly right. If you see a few tiny lumps they will dissolve during folding and baking, so don’t overmix.
The milk must be lukewarm, not cold. Cold milk will firm up the melted butter and the batter won’t blend as smoothly.
Step 4: Fold in the Whites

Add about a third of the stiff egg whites to the thin batter and stir them in vigorously to lighten the mixture. Then gently fold in the remaining whites in two additions, using a spatula to cut down through the center and lift the batter up and over until no large white streaks remain. A few small streaks are fine, they will become the top layer.
The batter will look lumpy and uneven, with ribbons of white and yellow. That’s the secret to the three layers. Pour it into the prepared pan and give the pan a very gentle tap on the counter to settle it.
Folding with a light hand keeps the batter airy. Overmixing at this stage deflates the whites and you’ll lose the distinct sponge top.
Step 5: Pour the Batter and Bake

Scrape every last bit of batter into the pan, tap it once more, and slide it into the center of the oven. Bake for 50 to 55 minutes, until the top is deep golden and springs back when lightly pressed. The cake will still jiggle quite a bit in the center, like a baked custard.
A toothpick inserted near the edge should come out clean, while the center will leave a little moist crumb on it. That jiggle is not a sign of under-baking, it’s the custard layer that sets as the cake cools.
Resist the urge to open the oven door before 45 minutes. A sudden rush of cool air can cause the fragile structure to collapse.
Step 6: Cool, Dust, and Slice the Cake

Remove the pan from the oven and let the cake cool completely in the pan set on a wire rack. It will deflate slightly as it cools, pulling the layers together. Once cool, dust generously with powdered sugar and cut into squares to serve.
While it cools, the custard middle will firm into that soft, spoonable texture. Trying to slice warm can cause the custard to run.
Serving it fully cooled, straight from the pan, is the most drama-free way to enjoy those distinct layers. The dusting of powdered sugar also covers any cracks in the airy top and makes the whole thing look bakery-finished.
A Few Tips for a Foolproof Custard Cake
- Bring all your ingredients to room temperature. Cold milk or eggs will prevent the batter from blending smoothly and can affect how the layers separate.
- Don’t over-fold the egg whites. Too much mixing deflates the batter and you’ll lose the distinct top layer. A few streaks are your insurance policy.
- Use a 9-inch pan or 8×8 square; a larger pan will spread the batter too thin and the layers won’t be as pronounced. The cake needs depth.
- Resist the urge to open the oven door before 45 minutes. A sudden drop in temperature can cause the cake to collapse.
Bake time varies slightly with the pan you choose.
| Pan type | Bake time at 325°F | How to tell it’s done |
|---|---|---|
| 9-inch round springform | 50-55 mins | Golden top, jiggly center |
| 8×8-inch square dish | 55-60 mins | Deeper bake, needs a few more minutes |
Storing and Keeping Leftovers
- Refrigerate: Store covered in the fridge for up to 3 days. The custard layer stays creamy.
- Reheating: Eat it cold straight from the fridge; warming can melt the custard. If you prefer warm, a quick 10-second microwave zap will take the chill off but don’t overheat.
- Serve Cold: Yes, it’s delicious cold, almost like a vanilla slice.
What To Serve With Vanilla Custard Cake
A handful of fresh berries and a dollop of whipped cream cut the richness of the custard without overpowering the vanilla. The slight tartness of raspberries or blueberries works especially well.
For a cozy dessert spread, serve it with a cup of hot coffee or espresso; the bitterness balances the sweet vanilla. A glass of cold milk never hurts either.
Frequently Asked Questions
Why didn’t my cake separate into three layers?
This usually happens if the egg whites were underwhipped or overmixed during folding. The batter must be lumpy with distinct streaks before baking.
My cake sank in the center. Is that normal?
Yes, a slight sink is expected as the cake cools and the custard layer settles. If it collapses severely, the egg whites may have been underbeaten or the cake was underbaked.
Can I double the recipe?
Doubling isn’t recommended because the layers depend on the batter depth in the pan. Make two separate cakes instead.
How do I know when it’s fully cooled?
The bottom of the pan should feel room temperature, which takes about 2 hours. Rushing the cooling will make the slices messy.

Vanilla Custard Cake Recipe
Ingredients
Method
- Preheat oven to 325°F (160°C). Butter a 9-inch springform pan or line an 8×8-inch baking dish. In a bowl, whip egg whites until foamy, then gradually add 1/2 cup sugar and beat to stiff, glossy peaks.
- In a large bowl, whisk yolks with remaining 1/4 cup sugar until pale, about 2 minutes. Whisk in melted butter and vanilla until smooth.
- Sift flour and salt into yolk mixture. Stir to combine, then gradually whisk in lukewarm milk until batter is thin and smooth.
- Stir about 1/3 of the egg whites into the batter to lighten it. Gently fold in remaining whites in two additions, leaving a few small streaks.
- Pour batter into prepared pan, tap once on the counter, and bake 50-55 minutes until top is golden and springs back; center will jiggle.
- Cool completely in the pan on a wire rack. Dust with powdered sugar, slice, and serve.
