Discover the magic of this Brazilian Coconut Custard Cake, a unique dessert that cleverly separates into two distinct layers while it bakes. Imagine a dense, sweet coconut custard on the bottom and a light, fluffy cake on top, all from one simple batter. This recipe is your key to creating a truly unforgettable treat that will have everyone asking for your secret. It’s the perfect blend of creamy and airy textures, packed with tropical coconut flavor.
What Makes This Brazilian Coconut Custard Cake So Irresistible?
This isn’t just any cake. The Brazilian Coconut Custard Cake, often called a “magic cake,” is a marvel of simple food science. With minimal effort, you get a multi-layered dessert that tastes like it took hours to prepare. The heavier ingredients, like sweetened condensed milk and coconut, sink to create a rich custard base, while the lighter components rise to form a delicate cake topping. It’s a showstopper dessert that’s surprisingly easy for any enthusiastic home cook to master.

Unlocking the Magic: The Secret Behind the Layers
The secret to this dessert’s dual personality lies in its simple, yet brilliant, batter. The batter is thinner than a typical cake batter. During baking, the denser elements, primarily the sweetened condensed milk and shredded coconut, naturally settle to the bottom of the pan. This creates the rich, gooey, and intensely flavorful custard layer. Simultaneously, the flour and leavening agents work their magic, rising to the top to form a light, spongy cake. The result is a perfect textural contrast that makes every bite of this Brazilian coconut cake a delightful experience.
The Essential Ingredients for Your Coconut Custard Cake
You don’t need any fancy ingredients for this recipe, which makes it even better. Most of these items are likely already in your pantry. For the best results, use full-fat ingredients to ensure the custard is rich and the cake is moist.
- All-Purpose Flour: Provides the structure for the top cake layer.
- Granulated Sugar: Adds sweetness to balance the richness of the custard.
- Baking Powder: Helps the cake layer rise and become light and airy.
- Large Eggs: Binds the ingredients together and adds richness.
- Whole Milk: Contributes to the moistness and the creamy texture of the custard.
- Butter: Use unsalted and melted butter for the best flavor and texture.
- Sweetened Condensed Milk: This is the star ingredient, creating the sweet, dense custard layer. Do not substitute.
- Shredded Coconut: Use sweetened shredded coconut for the classic taste and texture.
- Vanilla Extract: Enhances all the other flavors in the cake.
How to Make Brazilian Coconut Custard Cake: A Step-by-Step Guide
Follow these simple steps to create a perfect two-layered dessert. The key is a gentle hand when mixing and patience during the cooling process. This process ensures your Brazilian Coconut Custard Cake sets up perfectly.
Step 1: Prepare Your Pan and Oven
First, preheat your oven to 350°F (175°C). Generously grease and flour a 9-inch round cake pan or a similar-sized baking dish. This preparation is crucial to prevent the sticky custard layer from clinging to the pan.
Step 2: Combine the Wet Ingredients
In a large bowl, whisk together the eggs and granulated sugar until they are pale and slightly frothy. Next, stir in the melted butter, whole milk, vanilla extract, and the sweetened condensed milk. Mix until everything is smoothly combined.

Step 3: Add the Dry Ingredients
In a separate, smaller bowl, whisk together the all-purpose flour and baking powder. Gradually add this dry mixture to your wet ingredients, mixing on low speed or by hand just until the flour is incorporated. Be careful not to overmix. Gently fold in the shredded coconut. The batter will be quite thin and liquidy—this is completely normal!
Step 4: Bake to Golden Perfection
Pour the batter into your prepared pan. Bake for 45-55 minutes, or until the top is golden brown and a toothpick inserted into the center comes out with moist crumbs attached. The center should be set but will still have a slight jiggle, similar to a cheesecake.
Step 5: Cool Completely
This is the most important step for a perfect outcome. Let the cake cool completely in the pan on a wire rack for at least 1 hour. Then, cover it and transfer it to the refrigerator to chill for at least 4 hours, or preferably overnight. This chilling time is essential for the custard layer to firm up properly.
Pro Tips for a Perfect Two-Layer Cake
To guarantee success, keep these expert tips in mind. They’ll help you perfect your Brazilian Coconut Custard Cake on the first try.
- Don’t Overmix the Batter: Overmixing can develop the gluten in the flour, resulting in a tougher cake layer. Mix just until the ingredients are combined.
- Use Room Temperature Ingredients: Allowing your eggs and milk to come to room temperature helps the batter mix together more evenly.
- Be Patient with Cooling: Do not rush the cooling and chilling process. Cutting into the cake while it’s still warm will result in a messy, unset custard. The magic happens as it cools! For other dessert ideas that are worth the wait, try this incredible Flourless Chocolate Torte.
Storing Your Cake
Due to its custard base, this cake must be stored in the refrigerator. Keep it tightly covered in an airtight container for up to 4 days. It is delicious served chilled, straight from the fridge.
Frequently Asked Questions
Yes, you can use unsweetened shredded coconut if you prefer a less sweet dessert. However, for the most authentic taste and texture, sweetened shredded coconut is recommended as it complements the richness of the condensed milk.
The cake is done when the top is firm and golden brown, and the edges begin to pull away from the sides of the pan. A toothpick inserted into the center should come out with moist crumbs, not wet batter. The center will still have a slight jiggle, which is normal.
The separation happens due to ingredient density. The batter is very thin. During baking, heavier ingredients like sweetened condensed milk and coconut sink to form the bottom custard layer, while lighter ingredients like flour and leavening rise to create the top cake layer.
While both are Brazilian coconut desserts, a Queijadinha is typically a crustless tart or cupcake that is primarily a dense, cheesy coconut custard. This Brazilian Coconut Custard Cake is known specifically for its distinct separation into a custard layer and a light cake layer.
The most common reason for a lack of separation is overmixing the batter. Overmixing can create too much structure, preventing the heavier ingredients from sinking. Ensure you mix just until the flour is combined. Also, using a pan size that is too different from the recommendation can affect the baking dynamics.
Explore More Delicious Recipes
If you loved the rich and comforting flavors of this cake, you’ll surely enjoy exploring other decadent desserts. For a classic favorite, why not bake a beautiful Strawberry Pound Cake? Or, if you’re a fan of coconut, this simple Coconut Chicken Recipe could be your next dinner adventure.
Share Your Creation!
We are thrilled for you to try this amazing Brazilian Coconut Custard Cake. It’s a recipe that’s sure to become a new favorite in your home. If you make it, please leave a comment below and let us know how it turned out! Don’t forget to share your beautiful creations with us on Pinterest.

Brazilian Coconut Custard Cake

Brazilian Coconut Custard Cake: The Ultimate Recipe
Ingredients
Equipment
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour a 9-inch round cake pan.
- In a large bowl, whisk together the eggs and sugar until pale. Stir in the melted butter, whole milk, vanilla extract, and sweetened condensed milk until well combined.
- In a separate bowl, combine the flour and baking powder. Add the dry ingredients to the wet ingredients and mix just until incorporated. Do not overmix.
- Gently fold in the shredded coconut. The batter will be very thin.
- Pour the batter into the prepared pan. Bake for 45-55 minutes, until the top is golden brown and a toothpick comes out with moist crumbs.
- Cool completely in the pan on a wire rack. Then, refrigerate for at least 4 hours or overnight before slicing and serving.
Notes
For a richer flavor, you can lightly toast half of the shredded coconut before adding it to the batter.