Chocoflan, also known as the “impossible cake,” is a stunning Mexican dessert that layers rich, moist chocolate cake with creamy vanilla flan—all in one pan. What makes it “impossible”? During baking, the layers magically swap places: the flan rises to the top while the chocolate cake sinks to the bottom. The result is a showstopping, two-toned dessert topped with a golden caramel glaze.
This dessert is not only visually impressive, but it also offers a contrast of textures and flavors that’s downright addictive. The chocolate cake is soft and airy, thanks to coffee and buttermilk, while the flan is velvety, sweet, and delicately flavored with vanilla. A drizzle of caramel sauce ties it all together.
Whether you’re looking to impress guests, celebrate a holiday, or just indulge your sweet tooth with something unforgettable, Chocoflan is a must-try. And don’t worry—it might look complex, but it’s surprisingly straightforward to make with the right technique.
Why You’ll Love This Recipe
- Two desserts in one – Fluffy chocolate cake and creamy flan in a single slice.
- Visually stunning – The dramatic layer flip makes for an eye-catching presentation.
- Rich but balanced – Sweet flan complements the bittersweet chocolate perfectly.
- Great for make-ahead – Actually tastes better the next day!
- A cultural classic – A beloved dessert across Latin America with a fun twist.

Ingredients
For the Cake:
- Unsalted butter (softened)
- Caramel sauce (homemade or store-bought)
- Dark brown sugar
- Egg
- All-purpose flour
- Dutch-processed cocoa powder
- Baking powder
- Baking soda
- Kosher salt
- Brewed coffee or water
- Buttermilk
For the Flan:
- Eggs
- Sweetened condensed milk
- Vanilla extract
- Whole milk or half-and-half
Variations
- Chocolate twist – Add mini chocolate chips to the cake batter for extra richness.
- Coconut flan – Substitute part of the milk with coconut milk for a tropical touch.
- Spiced cake – Add cinnamon or cayenne to the cake for a Mexican chocolate vibe.
- Cheesecake flan – Add cream cheese to the flan mixture for a thicker texture.
- Nutty finish – Top with chopped pecans or toasted coconut before serving.
How to Make the Recipe
Step 1: Prepare the Pan
Preheat your oven to 350°F (175°C). Grease a Bundt pan generously with butter. Pour caramel sauce into the bottom of the pan.
Step 2: Make the Cake Batter
In a mixing bowl, cream the butter and brown sugar until light and fluffy. Add the egg and mix until combined.
In a separate bowl, sift together flour, cocoa powder, baking powder, baking soda, and salt.
Mix coffee (or water) with buttermilk.
Add the dry ingredients and buttermilk mixture to the creamed butter in alternating batches, mixing until just combined.
Step 3: Pour in the Batter
Carefully pour the cake batter over the caramel in the pan and smooth it out.
Step 4: Prepare the Flan
In a blender, combine eggs, sweetened condensed milk, vanilla, and whole milk. Blend until smooth.
Gently pour the flan mixture over the cake batter. It will sink—this is expected!
Step 5: Bake in a Water Bath
Place the Bundt pan into a larger roasting pan. Fill the outer pan with hot water to halfway up the sides of the Bundt pan.
Bake for 60–75 minutes, or until a toothpick inserted into the cake comes out clean.
Step 6: Cool and Chill
Remove from the water bath and let cool completely at room temperature. Cover and refrigerate for at least 4 hours, preferably overnight.
Step 7: Invert and Serve
To unmold, gently run a knife around the edges, place a large plate over the pan, and flip. The caramel will flow over the cake beautifully.

Tips for Making the Recipe
- Don’t skip the water bath – It ensures the flan cooks gently and stays silky.
- Chill overnight – This helps the layers set and the flavors meld.
- Use room temperature ingredients – Prevents curdling and ensures even mixing.
- Test with a toothpick – Insert it into the chocolate cake section only.
- Grease the pan well – The caramel and layers need a smooth release.
How to Serve
Slice and serve cold or at room temperature, drizzled with extra caramel if desired. It pairs beautifully with fresh berries, whipped cream, or a dusting of cocoa powder for presentation.
Make Ahead and Storage
Storing Leftovers
Store tightly covered in the refrigerator for up to 5 days. The texture improves as it rests!
Freezing
Wrap slices in plastic wrap and foil. Freeze for up to 2 months. Thaw overnight in the fridge.
Reheating
Best served cold or room temperature. Avoid microwaving to preserve flan texture.
FAQs
1. Why do the layers flip during baking?
The flan is denser than the cake batter, so it naturally sinks while baking, swapping places.
2. Can I use a different type of pan?
A Bundt pan is traditional, but you can also use a deep round cake pan or loaf pan—just ensure it’s large enough.
3. What if my flan is runny?
It likely needs more time to bake or wasn’t chilled long enough. Be sure to test for doneness.
4. Can I make it without caramel?
You can, but the caramel adds flavor and helps unmold the dessert easily.
5. Can I use box cake mix?
Yes! Use a chocolate cake mix to save time—just reduce the batter amount to fit your pan.
6. Why do I need a water bath?
It creates gentle heat and prevents the flan from cracking or curdling.
7. What’s the difference between whole milk and half-and-half in flan?
Half-and-half makes a creamier, richer flan. Whole milk keeps it lighter.
8. Can I make this dairy-free?
Yes—use plant-based butter, coconut milk, and dairy-free condensed milk alternatives.
9. Do I need to cover it while baking?
No, but covering loosely with foil for the first 30 minutes can help prevent browning.
10. How do I prevent sticking?
Use lots of butter and don’t rush the cooling and chilling steps—this helps with a clean release.

Conclusion
Chocoflan is the ultimate dessert fusion—bringing together two beloved treats into one magical, mouthwatering creation. Despite its dramatic appearance and impressive flip, it’s surprisingly simple to make and always worth the effort. Whether you’re sharing it at a party or treating yourself to something special, this impossible cake is absolutely possible—and completely unforgettable.