Brazilian Custard Cake (The Ultimate Magic Recipe)

By Jenna Carraway

On February 19, 2026

A delicious slice of two-layer Brazilian flan cake resting on a dessert plate, ready to be eaten.

Cuisine

Brazilian

Prep time

15 minutes

Cooking time

60 minutes

Total time

75 minutes

Servings

8 slices

This Brazilian Custard Cake is a true showstopper, a magical dessert that separates into two distinct layers while it bakes. With a dense, creamy custard on the bottom and a light, fluffy sponge cake on top, this recipe delivers a truly unique and delicious experience. If you’ve been searching for a dessert that’s both incredibly easy to make and guaranteed to impress, you’ve found it. This foolproof guide will walk you through every step to creating the perfect Brazilian Custard Cake every single time.

The beauty of this cake lies in its simplicity. Using just a few pantry staples like eggs, sugar, flour, and milk, you can create a dessert that tastes like it came from a high-end bakery. It’s the perfect sweet ending to any meal, from a weeknight dinner to a special occasion celebration. Its rich, caramel-like flavor and contrasting textures are simply unforgettable.

A top-down view of the golden-brown top of a freshly baked Brazilian custard cake in its pan.
Fresh out of the oven and cooled to perfection, ready for its overnight chill.

What is a Brazilian Custard Cake?

A Brazilian Custard Cake, often called a “magic cake,” is a clever confection made from a single thin batter. During the baking process, the batter miraculously separates into two distinct layers. The bottom layer becomes a rich, dense, and creamy custard, similar to a classic flan. The top layer transforms into a delicate, light-as-air sponge cake. This happens without any complicated steps, making it a favorite among bakers who love impressive results with minimal effort.

This dessert is a beloved treat in Brazil, where it’s known for its delightful texture and sweet, comforting flavor. It’s the kind of recipe that gets passed down through generations, a testament to its timeless appeal. Unlike a traditional cake, it has a built-in sauce and a pudding-like base, making each bite a complex and satisfying experience.

Why You’ll Love This Recipe

  • Incredibly Easy: You’ll be amazed at how a single, simple batter creates two perfect layers. No special techniques are required!
  • Simple Ingredients: This recipe uses common pantry staples, so you can likely whip it up without a special trip to the store.
  • Guaranteed to Impress: The “magic” separation and the delicious final product make this cake a stunning centerpiece for any gathering.
  • Perfectly Sweet: It strikes the ideal balance of sweetness, with a creamy custard and a light sponge that never feels too heavy.

The Science Behind the Magic: How it Separates

The secret to the Brazilian Custard Cake’s two layers lies in the batter’s density and the slow baking process. The batter is very thin and liquidy. During the low-and-slow bake, the heavier ingredients, like the egg yolks and condensed milk, sink to the bottom. As they cook, they form the dense, smooth custard layer.

Meanwhile, the egg whites, which are whipped to stiff peaks and folded into the batter, are much lighter. They rise to the top, creating the airy and delicate sponge cake layer. It’s a simple principle of physics that results in a truly magical dessert. The precise oven temperature is key to allowing the layers enough time to separate and cook perfectly.

A delicious slice of two-layer Brazilian flan cake resting on a dessert plate, ready to be eaten.
Each bite offers the perfect contrast between creamy custard and light sponge cake.

Key Ingredients You’ll Need

Before you begin, gather your ingredients. Using room temperature eggs and milk is crucial for a smooth batter and the best results.

  • Eggs: You’ll need to separate the yolks and whites. This is essential for creating the two distinct textures.
  • Sweetened Condensed Milk: This is the heart of the custard layer, providing sweetness, richness, and that classic flan-like flavor.
  • Whole Milk: Provides the necessary liquid for the batter.
  • Unsalted Butter: Adds richness and flavor. Make sure it’s melted and slightly cooled.
  • All-Purpose Flour: Gives the top layer its delicate cake structure.
  • Granulated Sugar: Used to sweeten the cake layer and help stabilize the whipped egg whites.
  • Vanilla Extract: Enhances all the other flavors in the cake.

Step-by-Step Instructions for the Perfect Cake

Follow these steps carefully for a flawless Brazilian Custard Cake.

  1. Preheat and Prepare: First, preheat your oven to 325°F (160°C). Generously grease and flour a 9-inch round cake pan or a similar-sized baking dish.
  2. Beat Egg Whites: In a clean, dry bowl, beat the egg whites with an electric mixer until stiff peaks form. This means when you lift the beaters, the peaks hold their shape. Set the whipped whites aside.
  3. Mix the Batter: In a separate large bowl, whisk the egg yolks with the granulated sugar until they are pale and creamy. Pour in the sweetened condensed milk, melted butter, and vanilla extract, mixing until everything is well combined.
  4. Combine Wet and Dry: Gradually mix in the all-purpose flour, followed by the whole milk. Mix until the batter is smooth and very thin. Don’t worry, this is how it’s supposed to look!
  5. Fold in Egg Whites: Gently fold the stiffly beaten egg whites into the thin batter. Do this in three additions, using a spatula to fold just until no large streaks of white remain. Be careful not to overmix, as you want to keep the air in the whites.
  6. Bake the Cake: Pour the final batter into your prepared pan. Bake for 50-60 minutes, or until the top is golden brown and a knife inserted into the center comes out clean.
  7. Cool Completely: This is a critical step! Let the cake cool completely at room temperature, then transfer it to the refrigerator to chill for at least 4 hours, or preferably overnight. This allows the custard to set fully.

Pro Tips for a Flawless Brazilian Custard Cake

  • Room Temperature Ingredients: For the smoothest batter, ensure your eggs and milk are at room temperature before you start.
  • Don’t Overmix the Egg Whites: Be gentle when folding in the egg whites. Overmixing will deflate them, and your cake layer won’t be as light and airy.
  • Patience is Key: Do not skip the chilling time! The cake needs to be fully chilled to set properly. Cutting into it too early will result in a runny custard.
  • Use the Right Pan: A one-piece metal or glass baking pan is best. A springform pan may leak due to the thinness of the batter.

For those who enjoy custard-based desserts, our Lemon Custard Cake offers a bright, citrusy alternative. And if you’re looking for another stunning centerpiece dessert, this Pistachio Tiramisu is always a crowd-pleaser.

Storing Your Custard Cake

To keep your Brazilian Custard Cake fresh, you must store it in the refrigerator. Cover the cake pan tightly with plastic wrap or transfer slices to an airtight container. It will stay delicious for up to 4 days. Due to its delicate custard texture, this cake is not suitable for freezing, as it can become watery upon thawing.

This cake is a wonderful make-ahead dessert since it requires chilling overnight. It’s perfect for when you want a delicious homemade treat without the last-minute rush. If you love make-ahead recipes, you might also enjoy our decadent Chocolate Eclair Cake.

Frequently Asked Questions

Yes, absolutely! In fact, this cake must be made ahead of time. It requires at least 4 hours (and preferably overnight) in the refrigerator to chill and allow the custard layer to set completely before serving.

Freezing is not recommended for this cake. The texture of the custard layer can become grainy and watery once thawed, which compromises the quality of the dessert.

Store any leftover cake tightly covered in the refrigerator. It will remain fresh and delicious for up to 4 days. Do not leave it at room temperature due to the custard base.

A Brazilian Custard Cake, also known as a magic cake, is a unique dessert made from a single thin batter that separates into two distinct layers during baking: a dense custard on the bottom and a light sponge cake on top.

The most common reasons for the cake not separating are overmixing the batter after adding the egg whites, which deflates them, or an incorrect oven temperature. A slow, gentle bake at 325°F (160°C) is crucial for the layers to form.

More Dessert Recipes You’ll Love

We hope you love this magical Brazilian Custard Cake! It’s a recipe that brings so much joy and is surprisingly simple to create. If you make it, we would love to see it! Share your creations and tag us on Pinterest. Your feedback helps our community of home cooks grow. Happy baking!

A beautiful slice of Brazilian Custard Cake on a white plate, showing the distinct magic two layers of creamy custard and light sponge cake.
The magic of two layers in one simple batter! Isn't this Brazilian Custard Cake a beauty?

Brazilian Custard Cake Recipe

A delicious slice of two-layer Brazilian flan cake resting on a dessert plate, ready to be eaten.

Brazilian Custard Cake (The Ultimate Magic Recipe)

Discover the magic of Brazilian Custard Cake! This easy-to-make dessert separates into two delicious layers as it bakes: a creamy, dense custard on the bottom and a light, airy sponge cake on top. A truly impressive treat!
Prep Time 15 minutes
Cook Time 1 hour
Total Time 1 hour 15 minutes
Servings: 8 slices
Course: Dessert
Cuisine: Brazilian
Calories: 380

Ingredients
  

Cake Batter
  • 4 large eggs separated, at room temperature
  • 1 can (14 ounces) sweetened condensed milk
  • 1 3/4 cups whole milk at room temperature
  • 1/2 cup unsalted butter melted and slightly cooled
  • 1 cup all-purpose flour sifted
  • 1 cup granulated sugar
  • 1 teaspoon vanilla extract

Equipment

  • 1 9-inch round cake pan
  • 1 Electric mixer
  • 2 Mixing Bowls

Instructions
 

  1. Preheat your oven to 325°F (160°C). Generously grease and flour a 9-inch round cake pan.
  2. In a clean, dry bowl, use an electric mixer to beat the 4 egg whites until stiff peaks form. Set aside.
  3. In a separate large bowl, whisk the 4 egg yolks and 1 cup of granulated sugar until pale and creamy. Mix in the 1 can of sweetened condensed milk, 1/2 cup of melted butter, and 1 teaspoon of vanilla extract until combined.
  4. Gradually add the 1 cup of all-purpose flour, mixing until just combined. Slowly pour in the 1 3/4 cups of whole milk and mix until you have a very thin, smooth batter.
  5. Gently fold the stiffly beaten egg whites into the batter in three stages. Be careful not to overmix; a few small lumps are okay.
  6. Pour the batter into the prepared cake pan. Bake for 50-60 minutes, until the top is golden and a tester comes out clean.
  7. Let the cake cool completely at room temperature on a wire rack. Then, refrigerate for at least 4 hours or overnight before serving. This step is crucial for the custard to set.

Notes

Ensure your eggs and milk are at room temperature for the best results.
Do not open the oven door during the first 40 minutes of baking to prevent the cake from deflating.
Chilling is mandatory! The cake will not be set properly if you slice it while it's still warm.

You might also like these recipes

Leave a Comment

Recipe Rating