This magic gluten free custard cake creates 3 layers all by itself. The simplest ingredients make the most amazing, light and fluffy cake with a magical custard base!
WANT TO SAVE THIS RECIPE?
What is a gluten free magic cake?
When I first saw this spongelike custard cake, I figured it was some kind of fancy pants cake that had 3 distinct layers, each baked separately and then assembled or something. (It's not like I'm one to shy away from some fancy pants recipes, like classic yeasted gluten free croissants.)
Imagine my relief (and now I hope yours!) to see that it has the simplest, most basic ingredient list ever (butter, sugar, eggs, vanilla, flour, salt). Don't you love it when that happens?
By the way, if it looks like the most tender and moist vanilla cake you've ever tasted, buckle up. That's exactly what this magic tastes-like-custard-cake is: like our gf sponge cake, but with the richness of added butter and milk, and a creaminess you never imagined.
Why this is the best gluten free magic custard cake recipe
The magic of this custard cake is that it “separates” itself in the oven into 3 creamy, soft layers of cake. The bottom layer of the cake is the densest, most custardy layer. The middle is a fluffier style of custard. The top is the lightest, fluffiest cake, most similar to a sponge cake.
Every single layer of this rich, but light, vanilla cake melts in your mouth. It's an elegant-looking dessert that will impress your guests, your family, or just yourself!
GF custard cake ingredients
- Gluten free flour – I use Better Batter's classic gluten free flour blend here, and get consistently good results. It already contains xanthan gum, so be sure not to add more or your cake will be tough.
- Cornstarch – Adding some cornstarch to the flour blend gives a lighter, softer result. If you use a high starch gluten free flour blend, like Cup4Cup, just use more of that blend to replace the cornstarch.
- Eggs – There are 4 whole eggs in this recipe, and they must be carefully separated into yolks and whites. If you have any yolks at all in your whites, they won't whip into the peaks that you need to help this cake develop its unique baked texture.
- Lemon juice – The lemon juice acts as a stabilizing agent that helps the egg whites to hold their shape when they're beaten. In its place, you can use 1/2 teaspoon of cream of tartar, but I really prefer the bright flavor of the lemon juice.
- Sugar – Sugar is both a tenderizer and a sweetener. Don't reduce the amount in this lightly sweet cake!
- Pure vanilla extract – Vanilla is added for some depth of flavor since this is technically a “vanilla” cake.
- Butter – Unlike our gluten free sponge cake, which is very similar, this cake has butter that's been melted and cooled before being added to the batter. It adds a richness that sponge cake doesn't have, and helps the cake to form that dense, creamy bottom custard layer.
- Milk – Use something with plenty of fat here, like whole milk, to add richness, tenderness, and moisture.
Tips for making this cake perfect every time
Whipping those egg whites right
I donโt mean to brag, but I happen to know the most important details when it comes to beating egg whites until theyโre them light and fluffy but still stable enough to handle some manhandling as you incorporate them into a cake batter.
First, you must beat the whites until theyโre stiff (but not ever dry, where they start to look a bit curdled when handled) on medium-high speedโnot high! Egg whites are a lot like whipping heavy cream in that way: whip them too quickly, and you have an unstable mixture.
Second, you always want to add some sort of stabilizer to the whites as you beat them (here, I used lemon juice, but sometimes I use cream of tartar or a tiny touch of mild vinegar).
Finally, if your recipes calls for sugar, beat some sugar into the whites. It creates a glossy, stiff and more stable peak.
Choosing the right baking pan
I recommend baking this cake in an 8-inch square baking pan, one that's ideally made from cast aluminum or stainless steel since a cake that's light in color and sturdy bakes evenly and never too quickly. I don't like baking this cake in a round cake pan since the flat sides help the cake rise steadily and evenly.
Give your custard cake the space to rise
This super special cake actually smells and tastes like youโre eating custard by the forkful. To get it right, other than beating the whites just right, thereโs another secret to success. You need to know what to expect as it bakes.
The cake bakes up pretty tall at a relatively low (325ยฐF) oven temperature (itโs ready when the top is lightly golden brown and the center springs back when pressed gently), and then shrinks as it cools. Thatโs how you get that custard-like center.
Itโs like you made a soufflรฉ, and you intended that it would collapse a bit. Hey, I wonder if that is how this magically delicious vanilla cake got its start?!
Don't rush to slice the magic custard cake
Be sure to let the cake cool completely before slicing into it, or you may artificially deflate the cake. Plus, slice it into squares while it's still in the pan, rather than removing the whole, baked cake to a wire rack to cool. It's meant to cool in a contained environment, so it compresses a bit.
How to store your custard cake
Can I make magic custard cake in advance?
This cake is really best the day that it's made. Otherwise, you'll need to store it in the refrigerator and that can be drying.
Can I freeze leftover gf custard cake?
Yes, you can freeze this cake after it's made. Just let it cool completely, slice it into squares with a sharp knife, then lift each piece out and wrap it tightly in freezer-safe wrap. The pieces may shrink a bit in the freezer, and won't taste as fresh when you defrost them.
Custard cake ingredients and substitution suggestions
Dairy free custard cake
The dairy in this cake is in the form of melted butter and warm milk. In place of melted butter, I think you could use vegan butter (the best brands are Miyoko's Kitchen and Melt). In place of milk, try using an unsweetened plant-based milk like unsweetened Ripple brand (it tastes so good, and has tons of protein and good fat!) or almond milk. Avoid anything that's fat free.
Egg free custard cake?
This cake has 4 whole eggs, separated into yolks and whites. The yolks are emulsified with the other wet ingredients and provide richness; the whites are whipped into peaks that are folded into the batter and help create the fluffier layers. It would be quite difficult to replace the yolks, but the whites may be replaceable with whipped aquafaba (the brine from a can of chickpeas).
Custard cake variations
This is a really simple cake and there's a lot of fancy chemistry going on in the oven, but we can still change its flavor profile gently but effectively without ruining anything. Here are some suggestions:
- Almond gluten free custard cake: replace the vanilla extract with almond extract and sprinkle with very top of the cake lightly with some shaved, raw almonds;
- Coconut gluten free custard cake: replace the vanilla extract with coconut extract, and sprinkle with very top of the cake lightly with some dried coconut flakes;
- Lemon custard cake recipe: again use lemon extract in place of vanilla, use 1 tablespoon more freshly-squeezed lemon juice in place of 1 tablespoon of the milk, and add some finely grated lemon zest to the raw batter.
FAQs
Yes, most custard is naturally gluten free, as it's made simply with grain-free ingredients like milk, sugar, and eggs. If your custard is flavored, read the ingredients list carefully, as it may have added gluten. However, this is a custard cake, and that contains flour, which is only gluten free if you're using a gluten free recipe.
This is called a magic cake since it separates itself into relatively distinct layers, each with a unique texture and density, in the oven all by itselfโlike magic!
No! The batter for this simple gluten free custard cake is made in a few steps, preparing the recipe in multiple parts, but it goes into the oven in a single layerโand then separates itself!
The raw custard cake batter is very light and fluffy, and pours easily into the pan. It isn't a thin liquid, but it also isn't a thick batter that has to be painstakingly spread out in the pan either.
Your custard cake is done when it is lightly golden brown on top, springs back when pressed gently in the center with your finger, and jiggles in a controlled way when moved gently from side to side (like cheesecake). If it seems to move more loosely toward the center, it's not done yet.
You can store this cake in the pan, with the top of the pan covered, for up to one day at room temperature. After that, individual pieces should be wrapped and refrigerated or even frozen.
No, coconut flour is a truly unique flour that absorbs massive amounts of moisture during baking and can only be used in recipes that are developed with it as an ingredient, specifically. It cannot be used as an all purpose gluten free flour, which is what this recipe calls for.
Magic Gluten Free Custard Cake Recipe | Vanilla Sponge with Creamy Custard
Ingredients
- ยพ cup (105 g) all purpose gluten free flour blend (I used Better Batter; click thru for appropriate blends)
- ยผ teaspoon xanthan gum omit if your blend already contains it
- 2 tablespoons (18 g) cornstarch (or try potato starch or arrowroot in its place)
- 4 (200 g (weighed out of shell)) eggs at room temperature, separated
- 1 tablespoon freshly squeezed lemon juice
- ยพ cup (150 g) granulated sugar
- 1 tablespoon pure vanilla extract
- 9 tablespoons (126 g) unsalted butter melted and cooled
- 2 cups (16 fluid ounces) warm milk (about 95ยฐF)
- Confectionersโ sugar for dusting
Instructions
- Preheat your oven to 325ยฐF. Grease well the bottom and sides of an 8-inch square baking dish, and set it aside. In a small bowl, place the flour, xanthan gum and cornstarch, whisk to combine well and set the bowl aside.
- In the bowl of a stand mixer fitted with the whisk attachment, or a large bowl with a handheld mixer, beat the egg whites and lemon juice on medium-high speed until frothy.
- Add about half of the granulated sugar, and continue to beat on medium-high speed until stiff, glossy (but not dry) peaks form (about 2 minutes).
If using a stand mixer.
- Transfer the egg white mixture to another bowl, set the egg whites aside and place the egg yolks, remaining sugar and vanilla in the mixer bowl.
- Beat the yolks, sugar and vanilla on medium-high speed with the paddle attachment until well-combined and pale.
If using a hand mixer.
- Set the bowl of egg whites aside. Place the egg yolks, remaining sugar and vanilla in a separate, large bowl and beat on medium-high speed until well-combined and pale.
Assemble the rest of the batter.
- No matter what mixer you're using, to the egg yolk mixture, add the melted butter, and beat to combine well.
- Add the flour mixture and the warm milk to the bowl in three parts each, beginning and ending with the flour and beating until just combined after each addition. The mixture will be thin.
- Add the beaten egg whites to the batter in three parts, whisking gently to combine after each addition until no obvious white streaks remain. The final cake batter should be light and fluffy.
- Pour the batter into the prepared pan. Place the pan in the center of the preheated oven.
- Bake until the top of the cake is lightly golden brown and springs back when pressed gently in the center (about 50 minutes). The cake will expand quite a lot in size, but will still be a bit jiggly when shaken gently back and forth.
- Remove the cake from the oven and allow to cool for at least 15 minutes in the pan before slicing into squares with a sharp knife, while the cake is still in the pan.
- The cake will shrink on all sides as it cools. Dust lightly with confectionersโ sugar before serving.
Notes
WANT TO SAVE THIS RECIPE?
Thanks for stopping by!
Hi, Iโm Nicole. I create gluten free recipes that really work and taste as good as you remember. No more making separate meals when someone is GF, or buying packaged foods that arenโt good enough to justify the price. At Gluten Free on a Shoestring, โgood, for gluten freeโ just isnโt good enough! Come visit my bio!
Barb says
can this be made dairy free
Nicole Hunn says
Please see the substitutions section of the post for suggestions on how to avoid dairy in this recipe, Barb. That section is in every recipe.
Louise M Soweski says
Hi, love your recipesโฆmy sister is Celiac, I bake for her all the timeโฆ
Could I use pastry flour to make it for myself?
Nicole Hunn says
Hi, Louise, if you mean can you use conventional, gluten-containing pastry flour to make this recipe for yourself, I’m afraid I don’t recommend that. My gluten free recipes are designed to be made with gluten free flour blends, and the whole recipe is balanced differently. The recipe that this is adapted from is a conventional recipe, and I have it linked in the recipe notes. Maybe try her recipe?
CAROL says
#6 REMOVE THE CAKE “FROM” THE OVEN ETC. I LET YOU YOU KNOW THE WORD FROM HAD BEEN OMITTED. I DID THIS BECAUSE AS I READ OVER THE ENTIRE RECIPE ON SEVERAL OF YOU RECIPES THERE ARE SO MANY QUESTIONS FROM PEOPLE THAT ARE SO OBVIOUS THAT THEY ASK ANYWAY.
Nicole Hunn says
Thank you for pointing that out, Carol. I’ve added the word! And yes, there are often questions that are answered in the text of the post, but I’m used to people asking without having read. Answering is part of the job! ๐
Sue Carter says
Hello. I really want to try this recipe. However, I am in the Uk and can’t seem to get ‘Better Batterโs classic gluten free flour blend’. Is there an alternative I can get here? many thanks
Nicole Hunn says
Please click the link associated with that ingredient in the recipe card, Sue, and you’ll be taken to the all purpose gluten free flour blends page that discusses how to build your own comparable blend and provides comprehensive information on the subject.
Renee Kraus says
I am trying to make a Gf boston cream pie. I was thinking this would work well. just topped with chocolate ganache. any thoughts? or ideas on what to use instead?
Autumn says
Could you make this in a round cake pan for a layer cake? This looks so yummy, I think it would great for a birthday cake tonight!
Nicole Hunn says
You could definitely make it in a round cake pan, Autumn, but I’m not sure it would really work as a layer cake. It’s very light and kind of fluffy, and layering two cakes on top of each other would weigh down and compress the bottom layer quite a lot. I think it would be great as a birthday cake as is, maybe topped with some fresh whipped cream?
Dylan JS says
Made this last night. Definitely needs salt. I only had salted butter, so I used that, and even with that it was under-salted. Also, I subbed coconut milk for the cow milk, and it totally worked. (Yes, I’m one of *those* dairy-free people who still eats butter.) For next time, I want to add some more salt and also some lemon or orange zest (the citrus hints were there, but just barely) and a tad less sugar. All of that said, I think this is a very good recipe.
Suze says
Can this cake be made with your gum free flour blend?
Nicole Hunn says
I haven’t tried it, Suze, but it’s definitely worth a shot. I would still add that bit of xanthan gum to it, as listed in the ingredients.
Mare Masterson says
Nicole, I have a friend allergic to citrus. How much cream of tartar would you use to whip the egg whites instead? I cannot wait to try this one!
Anneke says
Hey Mare — not much, a half teaspoon for that many eggs should be plenty. Usually about 1/8 teaspoon for one egg white, although my mother never gives me exact info on things like this! Hope that helps. Anneke
Nicole Hunn says
Thanks for jumping in, Anneke! I’d say 1/4 teaspoon total should do it, Mare. :)
Mare Masterson says
Thanks to both of you. I will start with 1/4 teaspoon for first time and let you know how it turns out.
Carole says
Just found out I have to do Thanksgiving for 22 this year. Are you going to come out with a new stuffing recipe with enough time to practice it ??
The Grandsons are coming out this weekend , think I’ll try this cake on them.
Lauren says
MMmmm! Stuffing is the best part of the Thanksgiving spread!
Nicole Hunn says
I’ll definitely post at least one new stuffing recipe in plenty of time, Carole. Promise. :)
Lauren says
Hey! I just knew you’d bake a cake for my birthday. Thanks! :D It looks wonderful!
Guest says
Hey! I just knew you’d bake a cake for my birthday. Thanks! :D I
Silver says
This reminds me of 3-Layer Cornbread, a recipe I’ve been meaning to convert to GF myself. Mmmmmmm, this looks wonderful.
tailorjoan says
Can this be made dairy free using earth balance butter and coconut milk?
Nicole Hunn says
I haven’t tried, but I generally prefer Spectrum nonhydrogenated vegetable shortening, not Earth Balance, as a butter sub. Maybe try the butter-flavored kind. For the milk, I’d go with almond milk.
Jennifer S. says
Um, yum. That is all that needs to be said.
Lucy says
You shy away from a fancypants cake? Is there such a thing!?
I might but never the queen of GF baking :)
This does look yummy, many thanks Nicole :)
Nicole Hunn says
No, no Lucy, I definitely don’t shy away from fancypants recipes, but it’s always nice when something simply looks fancypants and is actually quite simple. :)