A fudgey base. Soft custard center. Topped with fluffy sponge. Made with one simple batter. Magic Three Layer Custard Cake: It’s like, well ….MAGIC!
If you love vanilla sponge cakes and custard, you are going to be as obsessed with this cake as I am. It looks like it’s been carefully layered with three different components. But it’s not! You just pour one simple batter into a cake tin, pop in the oven, and this is how it comes out!!
There is no special ingredient nor any tricky technique. The batter is made pretty much like a traditional vanilla sponge cake, it is just much thinner. It’s the consistency of crepe batter. Almost like a thick pouring cream.
The magic happens in the oven. It is baked at a lower temperature than usual – 325F/160C. And when it comes out, the top layer is a sponge, the middle is custard and the bottom is almost like a fudge.
I was dubious the first time I made it, and even when I turned the cake out because you can’t see the layers on the edges. But then when I cut into it, I gasped with astonishment! I mean, look at how perfect the layers are!!
This recipe is the Magic Cake from Jo Cooks. I’ve been reading Jo Cooks for a long time, but it wasn’t until recently that I got to know Jo herself. Though actually, her real name is Ioana – a Romanian name, a beautiful one at that, and one of the first things I nagged her about was why she doesn’t go by her real name!
Jo and I have very similar tastes. We both love food that is absolutely scrumptious, we never compromise on flavour to follow trends or hacks (or diet versions!), we aren’t into the “cool food” scene and there are less salads on our blogs than there probably should be (though she has a lot more than me!!).
What I didn’t realise is that she is probably the reason the world discovered “Magic Cake“. She was very quick to make the point that it was not an original recipe. Perhaps she wasn’t the pioneer of it, but a search on Pinterest clearly shows that she is the reason that the world discovered it.
So I’m adding myself to the long line of people who have tried and been astonished by the miracle of this cake. 🙂
One simple batter.
A three layered custard cake.
It really is….like magic! 🙂
– Nagi
Hungry for more? Subscribe to my newsletter and follow along on Facebook, Pinterest and Instagram for all of the latest updates.

Magic Three Layer Custard Cake (From One Batter)
Ingredients
- 4 eggs , yolks and whites separated (at room temperature)
- 3/4 cup (150g) sugar (ordinary or caster sugar)
- 1 tsp vanilla extract
- 1 stick (4oz / 125g / 1/2 cup) unsalted butter , melted
- 3/4 cup (4oz / 115g) plain all purpose flour
- 2 cups (500 ml / 1 pint) milk (lukewarm) (full fat or low fat but not zero fat)
To Serve (optional)
- Icing sugar (powdered sugar), for dusting
- Fresh strawberries
- Whipped cream
Instructions
- Preheat oven to 325F/160C (standard oven / fan forced or convection)
- Butter a 8" x 8" / 20cm x 20cm square cake tin (Note 4).
- Beat egg whites with a mixer until stiff peaks form. Set aside.
- Place the egg yolks and sugar in a bowl and beat until it turns pale yellow - about 1 minute.
- Add the vanilla extract and butter and beat until well incorporated - about 30 seconds to 1 minute.
- Add the flour and beat until just combined.
- Pour the milk in slowly while beating, and beat until well combined (or if using a hand held mixer, add 1/4 milk at a time, beating in between).
- Use a spatula to fold in the egg whites in the batter, one third at a time, until just incorporated. You don't want to knock the air out of the egg whites. Don't worry if there are a few egg white lumps in the batter. The batter should be very thin, almost like a thick pouring cream.
- Pour the batter into the prepared cake tin.
Baking Directions
- Bake until the top is golden brown and the cake does not "jiggle" when you gently shake the tin - around 40 to 50 minutes. Check the cake at 30 minutes - if the top is already golden brown but the cake is not yet set (i.e. it jiggles), cover loosely with foil and return to the oven, 10 minutes at a time, until set.
- Allow to cool in the tin for 10 minutes, then turn out onto a cooling rack.(Note 3) Cool completely before serving.
To Serve
- Cut into squares - I cut it into 12 in the photo, but 9 is more realistic serving size portions.
- Dust with icing sugar just before serving.
- Serve with a side of whipped cream and strawberries, if using.
Recipe Notes:
a) The cake is ready when the top is golden brown and the cake doesn't "jiggle" when you gently shake the pan. If it jiggles, there is still raw batter inside.
b) I found that 4 of the 5 times I made it, the top became golden brown before the cake was set.
c) So to get the bake time right, check it first at 30 minutes. If the top is golden brown, cover loosely with foil and return to the oven until the cake is set. Check every 10 minutes - any longer, and you'll risk the cake overcooking. 3. Tor get the cake out of the tin, just turn it out like a normal cake. The custard is set, it is not like super soft jelly. What I do is place a cutting board on top of the tin, flip it upside down (it slips right out) then place a cooling rack on top then flip it again (so you end up with the right side up on the cooling rack). 4. I myself have not tried this in a glass pan but readers have - if you scroll through the comments, you will find feedback from a reader on 3 February 2017 confirming this! 5. Nutrition assuming 1 cake is cut into 9 pieces. Note that I cut the cake into 16 pieces for the photo but that is far too small!

Nutrition Information:
Hi Nagi,
I have a question, I am so excited to make this cake it looks and sounds delish!! Although I am interested in also doing the chocolate version as well, is it possible to put one of these magic cakes on top of another to do the whole chocolate and vanilla theme?
Hi Summer! Do you mean making 2 separate cakes and then stacking them on top of each other? If so, then yes, certainly! The cake is not super fragile so they will stand fine with one on top of the other 🙂 Will you sandwich anything between them?! N x
I loved this receipe, however I live at almost 9000 feet, and it took 90 minutes cooking time to finish cooking. Any suggestions to shorten the time?
OH MY GOSH! I’m floored – I actually had no idea that altitude could affect the baking time so much! I will do some research and get back to you. BUT I’m so glad you enjoyed it!! 🙂
This looks fantastic! However, I am trying to bake it in a 6 inches round cake tin; any idea how much of the reduction on the recipe I should make? Thank you so much!
Hi Angela! I just did the maths (I know, I know, I’m SUCH a nerd!) and it will work best if you reduce it by 1/3 but even around 1/4 will work too.
To make your life easier, I would make the full batch but then just do not pour around 1/3 of it into your cake tin. OR even better, pour the leftovers into a well battered ramekin and make a mini one with the leftover batter! 🙂
Thank you so much for your reply! I actually made a full batch and pour it about 3/4 way into my 6 inch round cake tin and the cake came out with only two layers with the top only just a bit browned and the rest of it were just pudding-ish. But it was indeed delicious and I would definitely try it again. (btw, did I pour too much of the batter into the cake tin? Should I have only poured in about half way so get the three layers)
Hi Angel! Round cake tins are taller than square cake tins so it does sound like you poured too much in. It should only be about 1.5″ / 3cm deep in the cake tin, then the cake part on top rises. It is a bit hard to give exact directions because I haven’t tried it but I will try it next time I make it an update the instructions! 🙂
Hi,
I would like to try out this recipe right after I read it. However I have a few questions, can I use cake flour to replace the all purpose flour? Can I put the cake in the fridge? Would the refrigerator dehydrate the cake? How many days can I keep??
Hi Kiu! Yes, cake flour works, I used it for one of the batches I made. It can be put in the fridge but make sure it is covered so it doesn’t dry out, and bring it to room temperature before serving. It will last around 3 to 4 days in the fridge – after that, the custard is fine but I found the sponge was starting to dry out. 🙂
Nagi I am drooling all over this cake!! I like everything this cake has to offer now all I need is a quick grocery run and I can have this at home!! Yohoo and thanks for such a delicious recipe!
Hi Ami! This really is incredible, and all credit goes to Jo from Jo Cooks for introducing this to me 🙂 I hope you love it! N x
As a lover of anything Vanilla, I’m definitely going to try this tonight! Thank you Nagi, I love your blog!
As a lover of anything Vanilla, I’m definitely trying this recipe tonight! It looks amazing, thanks so much Nagi! I love your blog!
Thank you so much Sonne!! I appreciate your kind words. I hope you enjoy this!! It really is magical!! N x
I am probably the only unlucky one that didn’t get the expected results. Maybe I got impatient, maybe my oven is super wonky but my cake was in the oven for almost 70 minutes and every time I opened the oven I saw smoke so I was afraid it was going to burn! I took it out and flipped it over and the whole thing fell apart completely. It smells incredible and the top was very yummy ( I didn’t eat the raw custard, just picked a bit from the top which was past the golden brown and into the unhealthy salon tan brown) but I’ll have to chalk it up as a complete failure. I am not discouraged however, I will DEFINITELY try it again as soon as I have more eggs (and I’ve cried the disappointment off) Thank you for such a wonderful recipe.
Oh no! I am so sorry to hear that. Something must’ve gone really wrong – smoke?? This definitely should not smoke, there is no fat in it like with meats that can cause smoking. Maybe you had some fat from something else you baked left in the oven? That would explain the smoking and it has happened to me before! Sorry again to hear of your kitchen problems – believe me, I feel your pain, I have my share of disasters!! 🙂
It looks fantastic!
I really appreciate the fact you’ve given amounts for different measurement systems. I was wondering if it would work in a ring mould? what do you think?
Hi Lee! You know, as I was falling asleep last night, my last thought was wondering whether it would work in cupcake form!! I am sorry, I don’t know but I will ask the creator of this recipe. My concern would be that the bundt cake will bake faster and so it might not have enough time in the oven. 🙂 I’ll get back to you when I hear back from Jo!
how did you get the cake out of the pan? I’m gonna try to make this tonight but I would be afraid to turn the pan over like you normally do to remove a cake.
Hi Lindsey! Yep, you just turn it out like a normal cake. The custard is set, it is not like super soft jelly. What I do is place a cutting board on top of the tin, flip it upside down (it slips right out) then place a cooling tray on top then flip it again. 🙂 I should put these tips in the recipe, thanks for the question!
N O W A Y!! That is incredible – and looks delicious
It’s AMAZING!! Seriously The custard is so good, it tastes like the custard you get in egg tarts. Not too sweet. 🙂 Just how I like it!
This is so crazy cool, love it. I think I’ll add cocoa – because, well just because. Ha!
Ooh, pop over to Jo’s site to get the chocolate recipe!! I can’t wait to try it 🙂
OK! I have an experiment in the oven right now…trying to make this with coconut flour and dairy-free so that the whole family can eat it! Will let you know how I get on 😉
Oh my gosh, I am totally curious to hear how that turns out!! 🙂
One of the absolutely favourites on my repertoire! It reminds me so much a Hungarian Kremes, a recipe that my mother used to make.
Oh! I’ve never heard of that cake! I’m off to do some research 🙂
I made a blood orange version – it’s the bomb! So magical and delicious.
A blood orange version? MUST check it out!!
I love custard! Adding this to the list. Knowing me I might man-handle this, my last sponge was very dense. Any tips on how to be more gentle with it?
Hi Curious Charlie! The only thing to be sure about is to FOLD the egg whites into the batter, not stir vigorously 🙂 It takes a couple of minutes, but that’s the tip to a fluffy sponge and light custard!! (PS Trust me, I’m about as heavy handed as you can get, it’s the reason why I don’t share many delicate baked foods on my blog 🙂 )
I’ve seen a version of this on facebook and wondered if it actually works. Clearly it does and it looks magnificent. I LOVE custard.
I can’t believe how perfect these layers look!! Magic indeed! Goes on the (growing) list of recipes from your blog I must make….
I know, it’s incredible, isn’t it?? I love this cake. Tastes kinda like an egg tart, soft custard that isn’t too sweet 🙂
Thanks for introduction to this really unique magic 3 layer custard cake from Jo Cooks. I love Jo’s recipes. Your photos are magical too. Does it taste buttery and sinful- it sure looks amazing! It looks like it would be super addicting. Pinning!
You know what? It tastes like Chinese egg tarts!! Well, the custard part does 🙂 It’s really creamy, not too sweet. Doesn’t taste so much like Western custard which I find to be really sweet!
I’ve been planning to make a magic cake for ages and now you’ve definitely inspired me. Isn’t is just incredible what baking can do! Gosh your layers are so perfect. I’m also thinking that a chocolate version could be amazing too!
Jo has a chocolate version on her site! Check it out! She says it’s her favourite. I decided to start with the classic! 🙂