Magic Custard Cake

One thin batter that separates into three layers in the oven, on its own.

Prep Time20 mins
Cook Time50 mins
Total Time3 hr 10 mins
YieldServes 9
The Baking Cookbook, 100 recipes cover Loved this recipe? The Baking Cookbook, 100 recipes Every ingredient in cups and grams, with a photo for every recipe. 211 pages, instant PDF. Get it $3+ →

Before You Start

Magic cake is the one that looks like a trick because it kind of is: a single thin, almost milky batter goes into the oven and separates on its own into a dense base, a custardy middle and a light sponge top, no layering by hand required. It looks like hours of work and is genuinely just one bowl and a whisk.

Instructions

  1. 1

    Heat the oven to 150°C / 300°F and line an 20 cm square tin with baking paper.

  2. 2

    Whisk the yolks and sugar until pale, then whisk in the melted butter and vanilla.

  3. 3

    Whisk in the flour until smooth, then slowly whisk in the warm milk until you have a thin, almost pourable batter.

  4. 4

    In a separate clean bowl, whisk the whites to soft peaks. Fold them into the batter in three additions; it will look a little lumpy at the end, don't try to fully smooth it out, that unevenness is what lets the layers form.

  5. 5

    Pour into the tin and bake for 45 to 50 minutes, until the top is golden and set but the cake still has a gentle wobble in the centre.

  6. 6

    Cool completely, then chill for at least 2 hours before slicing, so the custard layer sets. Dust with powdered sugar to serve.

💡 Baker's tips

  • The batter looking curdled and thin before baking is normal and necessary. A smooth, thick batter won't separate into layers.
  • Chilling is what firms the custard middle enough to slice cleanly. Cutting it warm gives a runnier, less distinct layer.

🔀 Make it your own

  • Add lemon zest to the batter for a lemon version, or swap 2 tbsp flour for cocoa powder for chocolate.
  • Serve with a spoon of berry compote alongside, since the custard layer pairs well with something tart.

📦 Storing & freezing

Fridge, covered, for 3 days. Best eaten cold or at cool room temperature; it does not freeze well due to the custard layer.

Frequently asked

Why does magic cake separate into layers on its own?

The very thin, egg-heavy batter is dense enough that the flour and egg solids sink while baking, while the whipped whites rise, creating a dense base, custard middle and sponge top without any layering by hand.

Why is my magic cake all one texture, no layers?

The batter was likely too thick, or the egg whites were overmixed into it and lost their separate structure. Keep the batter thin and fold the whites in gently, leaving a little unevenness.

Baking in a different unit? Use the cups ↔ grams converter or the recipe scaler to halve or double this recipe.

🛒 Our baking picks

Tools for foolproof bakes

Weighing beats scooping every time. These inexpensive tools make every recipe more reliable.

As an Amazon Associate, GramCups earns from qualifying purchases, at no extra cost to you.

Play GramCups Café 🎮