Vanilla Flan Cake
If you’re a fan of flan and cake but are looking for something extra special, you’ve come to the right place! This Vanilla Flan Cake is the perfect combination of soft vanilla cake, creamy flan custard, and a luscious homemade caramel sauce. It’s also known as Magic Cake because the layers switch places during baking, creating a stunning dessert that tastes just as good as it looks.

What is Vanilla Flan Cake?
Vanilla Flan Cake is a stunning dessert featuring three irresistible layers:
- A soft vanilla sponge cake that absorbs caramel and remains perfectly moist.
- A rich, creamy flan custard with a smooth, velvety texture.
- A glossy caramel sauce that ties everything together.
As it bakes, the layers magically switch places, creating a show-stopping dessert. This is why it’s also called Magic Cake or Pastel Imposible (Impossible Cake).

What You Need to Make Vanilla Flan Cake
Caramel Syrup
- Sugar: This is the main ingredient we’ll need to make our delicious caramel sauce for the Flan Cake. All you need is basic granulated white sugar.
- Water: The next thing we’ll need is water to turn it into the perfect syrup consistency we’re looking for.
Flan Mixture
- Eggs: This is by far the most important flan ingredient, and it makes Flan Cake what it is! We’ll be using three large eggs at room temperature for the custard layer.
- Milk: This will allow us to get the right consistency for our Flan mixture.
- Sugar: Add some regular white sugar to sweeten the flan to the perfect level!
The Cake Batter
- Eggs: We’ll be making a classic vanilla cake with a sponge-like texture. Eggs are one of the most important ingredients to get that spongy texture. It will soak up the caramel without making the cake soggy.
- Sugar: You’ll need some sugar to sweeten the cake lightly. Sugar also helps add moistness to the cake.
- Oil: Speaking of moistness. Adding some vegetable oil is my secret ingredient to making sure that the cake never gets too dry. Even if it’s like a sponge cake texture.
- All-purpose flour: All we need is some simple ol’ all-purpose flour to give structure to this delicious cake layer.

How to Make Vanilla Flan Cake (Step-by-Step)
1. Make the Caramel Sauce
- In a saucepan over medium heat, combine sugar and water.
- Swirl (don’t stir) until the sugar dissolves and turns light golden brown.
- Pour into an 8” cake pan, coating the bottom evenly. Set aside.
2. Prepare the Flan Custard
- In a saucepan, heat milk, heavy cream, and sugar until warm (don’t boil).
- In a bowl, whisk eggs and vanilla, then slowly add the warm milk mixture while stirring.
- Strain the mixture for a silky texture and pour over the caramel layer in the pan.
3. Make the Cake Batter
- Beat eggs and sugar until fluffy.
- Add oil and vanilla, mixing gently.
- Sift in flour and baking powder, folding until just combined.
4. Assemble the Cake
- Gently pour the cake batter over the flan layer.
- Don’t tap the pan to avoid mixing layers.
5. Bake Using a Water Bath
- Place the cake pan in a larger roasting pan.
- Pour boiling water into the outer pan until it reaches halfway up the cake pan.
- Bake at 350°F (180°C) for 30-35 minutes or until a toothpick comes out clean.
- Let cool, then refrigerate for at least 4 hours before unmolding.
6. Unmold & Serve
Enjoy the beautiful layers of caramel, flan, and cake!
Run a knife around the edges and invert onto a plate.

Pro Tips for the Best Flan Cake
- Use room temperature eggs for a smooth custard.
- Don’t stir the caramel—just swirl the pan.
- Use boiling water in the water bath to prevent cracking.
- Let the cake chill completely before unmolding to ensure clean layers.
- For thicker flan layers, use a 6” cake pan instead of 8”.
Related Recipes
Serving Ideas
- With Whipped Cream: A dollop of whipped cream adds extra indulgence.
- Fresh Berries: Strawberries or raspberries add a tart contrast.
- Drizzled Chocolate: A light drizzle of chocolate sauce pairs beautifully.
- Coffee or Espresso: The rich flavors of coffee complement this creamy dessert.
How to Store Vanilla Flan Cake
Whenever I bake this cake, it disappears within hours! But in case you have some leftovers, you can store them in the fridge for up to 4 days in an airtight container.
You can slice the cake and freeze it for up to one month after it has been baked. Slices should be well-wrapped in plastic wrap and frozen before being put in a freezer bag.
Flan Cake slices that were previously frozen should be thawed in the refrigerator first, then let them come to room temperature before serving.

Vanilla Flan Cake Recipe
Ingredients
THE CARAMEL
- ½ cup sugar
- 3 tablespoon water
THE CUSTARD
- 3 large eggs
- 2 teaspoon vanilla extract
- ½ cup milk
- ½ cup heavy cream
- 6 tablespoon sugar
THE CAKE BATTER
- 1 whole large egg
- 1 large egg white
- ⅓ cup sugar
- 3 tablespoon oil
- 1 ½ teaspoon vanilla extract
- ½ cup +1 tablespoon all-purpose flour
- 1 teaspoon baking powder
Instructions
MAKING THE CARAMEL
- In a saucepan, add the sugar and the water, swirl the saucepan to help distribute the sugar to dissolve. Do not mix the sugar with a spoon, instead, keep on swirling the pan until the mixture reaches a light brown color. Remove from heat.
- Pour the caramel into an 8” pan and swirl the baking pan to cover the bottom of the pan.
MAKING THE CUSTARD
- In a saucepan, add the milk, cream, and sugar. Let the mixture come to a simmer. Remove from heat and keep aside.
- In a bowl, add the eggs and the vanilla beat until combined.
- Add the hot milk and cream gradually to the eggs while beating the eggs to temper it.
- Run the previous mixture through a strainer and keep it aside.
MAKING THE CAKE BATTER
- In a bowl, beat the whole egg and the egg white until fluffy, add the vanilla and sugar, and beat some more until the sugar dissolves.
- Add the oil and beat for a few seconds.
- Sift in the flour and baking powder. Mix slowly using a spatula or a whisk, when combined stop and do not over-mix even if you see small lumps in the batter.
- When the baking pan is at room temperature and the caramel is solid, pour the custard and then pour the cake batter over it. Do not tap the baking pan like you usually do when baking cakes to remove air bubbles, and avoid mixing the cake batter with the custard, it will separate in the oven.
BAKING FLAN CAKE
- In a preheated oven 180C/350F place a larger and deeper baking pan. Pour boiling water into that pan to make a water bath and then place the flan cake pan in it. The water should reach the flan cake pan.
- Bake for 30 to 35 minutes or until a toothpick inserted in the middle comes out clean.
- Place the cake while in the pan on a cooling rack and then cover and refrigerate.
- To serve flip the flan cake over the serving plate.
Video

Do you grease the pan?
Hi Caroline, I don’t grease the pan, since the caramel seeps to the side and prevent the cake from sticking to the pan. But if you are afraid that the cake might stick, you can grease the cake pan from the inside. In the video I have used aluminum foil because the pan I have used has a removable bottom and I was afraid the cake caramel might leak, and it was easier to clean 😉.