Chocoflan (Impossible Cake)

5 (3 ratings)

8

This post may contain affiliate links. Please read our disclosure policy.

If you’re craving a dessert that looks as magical as it tastes, this homemade Chocoflan is the ultimate showstopper. Also known as Pastel Imposible or the Impossible Cake, this Mexican dessert combines a rich and tender chocolate cake with a creamy vanilla-coffee flan, all topped with silky dulce de leche and crunchy walnuts. It’s a dreamy, layered masterpiece that’ll leave everyone asking for seconds.

Overhead view of Chocoflan (Impossible Cake) topped with dulce de leche and chopped walnuts on a gold cake platter.

What is Chocoflan (Impossible Cake)?

Chocoflan is a popular Mexican dessert made with two classic layers: chocolate cake and flan. It gets the nickname Impossible Cake because the layers magically switch places as it bakes — the flan sinks to the bottom, and the cake rises to the top, even though it’s poured in reverse order.

Once cooled and flipped, the flan and caramel end up perfectly on top. It really does feel like dessert magic!

Yvette Marquez muy bueno Mexican food blogger in an orange dress holding a molcajete.

Why You’ll Love This Recipe

  • Bold, decadent flavors. You get the best of three worlds: chocolate cake, velvety flan, and rich caramel.
  • Made from scratch. No boxed cake mix here — this recipe uses fresh ingredients for a flavor that’s deep, balanced, and extra special.
  • That wow factor. It looks fancy but it’s surprisingly simple once you get the hang of it. Perfect for holidays, birthdays, or when you’re feeling extra.
  • Hints of orange and coffee. The chocolate batter is brightened with orange juice, and the flan is kissed with instant coffee for a subtle mocha twist.
  • Tried, tested, and perfected. After several flops and near-misses, this is the version that finally worked — and it’s 100% worth the effort.
Want to save this recipe?
I’ll email this recipe to you, so that you can come back to it later!

Ingredients & Substitutions

This homemade Chocoflan recipe is made up of three delicious layers: moist chocolate cake, creamy flan, and sweet dulce de leche topping.

Here are the key ingredients you’ll need:

  • Fresh orange juice – adds brightness to the chocolate cake
  • Cocoa powder – gives the cake its rich flavor
  • Sweetened condensed milk – the base for the flan
  • Instant coffee granules – a pinch deepens the flavor of the flan
  • Dulce de leche or cajeta – for that caramel drizzle on top
  • Chopped walnuts – optional, but great for a bit of crunch

The complete list of ingredients, quantities, and instructions can be found in the printable recipe card below.

How to Make Chocoflan (Impossible Cake)

Step 1: Preheat and prep. Preheat your oven to 350°F. Generously grease a bundt pan with baking spray or butter.

Step 2: Make the cake batter. In a mixer, beat butter and sugar until light and fluffy. Add eggs one at a time, mixing just until combined. In a separate bowl, sift together flour and baking powder, then add it to the butter mixture. Stir in cocoa powder, orange juice, and vanilla until smooth.

Step 3: Pour into pan. Spread the cake batter into the bottom of the bundt pan.

Step 4: Blend the flan. In a blender, combine sweetened condensed milk, whole milk, eggs, vanilla, and instant coffee. Blend until smooth, then slowly pour the flan mixture over the cake batter.

Step 5: Bake in a water bath. Place your filled bundt pan inside a larger baking dish. Pour hot water into the outer pan until it reaches about 1 inch up the sides. Bake for 75 to 90 minutes, or until a toothpick comes out clean.

Step 6: Cool and flip. Cool for at least 1 hour. To help loosen, place the bundt pan in warm water for 30 seconds before inverting onto a platter.

Step 7: Finish with dulce de leche. Warm dulce de leche in a small saucepan with a splash of milk until pourable. Drizzle over the cake and top with chopped walnuts.

Side view of chocoflan on a cake stand being drizzled with dulce de leche.

Serving & Topping Suggestions

  • Drizzle extra dulce de leche or cajeta right before serving
  • Garnish with toasted walnuts or pecans
  • Serve chilled or at room temperature
  • Top with fresh whipped cream or even a scoop of vanilla ice cream
a side view of impossible cake topped with dulce de leche sprinkling on chopped nuts.

Chocoflan Expert Tips & Tricks

  • Grease that pan! Be generous with your greasing to ensure the cake releases cleanly.
  • Pour flan slowly. A steady pour helps keep the layers from blending together.
  • Don’t skip the water bath. It keeps the flan smooth and custardy.
  • Cool completely. Patience is key — this cake needs time to set before flipping.

Storage Instructions

  • Store your Chocoflan cake covered in the fridge for up to 4 days. It tastes even better the next day as the flavors meld.
  • Not recommended for freezing or reheating. Enjoy chilled or at room temp for the best texture.
An overhead view of chocoflan topped with dulce de leche and chopped nuts on a vintage glass platter.

Frequently Asked Questions

Why is Chocoflan called the Impossible Cake?

Because the layers magically reverse during baking! You pour cake batter first, then flan, but the flan sinks and bakes on the bottom, making it seem impossible.

What is the English translation of Chocoflan?

Literally, “chocolate flan.” It describes the two main components of the dessert.

What does Chocoflan taste like?

It’s rich and creamy with a sweet balance of chocolate, vanilla, coffee, and caramel — like a mashup of tres leches cake, flan, and molten chocolate cake.

Where did Chocoflan originate?

Chocoflan is a beloved dessert in Mexican cuisine, blending European influences like flan with Latin American flavors and techniques.

More Recipes to Try

If you tried this Chocoflan (Impossible Cake) or any other recipe on my blog, please leave a 🌟 star rating and let me know how it went in the comments below!

Download my free eBook!
Don’t miss out! Fill out the form to download this must-have collection of comforting recipes—perfect for bringing warmth and flavor to your cocina!
5 (3 ratings)

Chocoflan (Impossible Cake) Recipe

Yield: 10 servings
Prep: 8 minutes
Cook: 1 hour 30 minutes
Have your flan and cake too! This Chocoflan (Impossible Cake) layers a rich, chocolate cake with a hint of orange and a silky vanilla-coffee flan. Once flipped, it’s drizzled with warm dulce de leche and sprinkled with crunchy walnuts — a decadent, magical dessert that’s perfect for any celebration.
Email this Recipe
Enter your email, and I’ll send the recipe straight to your inbox! Plus, you’ll get subscribed to my newsletter for more delicious updates.

Ingredients 

Chocolate Cake:

Flan:

Dulce de Leche Glaze:

  • 1 cup dulce de leche
  • milk, regular milk or almond milk, as needed
  • chopped pecans or walnuts, optional

Instructions 

Chocolate Cake:

  • Preheat the oven to 350 degrees F.
  • In an electric mixer blend the butter with the sugar until it’s light and fluffy, almost white. Whisk in the eggs, one at time until incorporated.
  • Sift together flour and baking powder and then slowly add this to the creamed sugar. Once the flour has been added, stir in the cocoa powder.
  • Next mix in the orange juice and vanilla. Once it’s well combined, pour the cake batter into a well-greased cake pan.

Flan:

  • In a blender, add all the ingredients and blend well. Pour this mixture on top of the cake batter, very carefully so you don’t disturb the cake batter.

Bake:

  • Place a larger cake pan or baking dish in the oven and fill it with about 1 inch of water. Then place the chocoflan pan in the water bath (bain-marie or bano de maria). Let the cake bake for about 75 to 90 minutes or until the cake is done.
  • Let the cake cool for about an hour. Then when you are ready to flip the chocoflan, pour some hot water into the larger pan and set the chocoflan pan in the hot water for about 30 seconds.

Dulce de Leche Glaze:

  • Pour dulce de leche or cajeta in a small sauce pan on low heat. Stir in milk slowly to desired constancy.

Serve:

  • Flip the chocoflan onto a cake plate and serve. This cake holds well in the frig for several days.
  • Drizzle with caramel (dulce de leche or cajeta) and sprinkle with nuts, if using.
  • Serve warm or chilled.

Notes

  • Use a 12-cup bundt pan for this recipe — anything smaller and it could overflow.
  • I recommend buttering the pan by hand instead of using baking spray for the best release.
  • When creating the water bath, add just 1 inch of hot water to the outer pan. If water gets into the bundt pan, it can ruin the flan’s texture.
  • Time-saving tip: Use a squeeze bottle of dulce de leche and drizzle it directly into the pan before adding the batters.
    Or, skip the caramel layer during baking and pour a warm dulce de leche glaze over the cake after it’s baked and inverted.
  • Store covered in the fridge for up to 4 days. This dessert actually tastes better the next day!
  • Do not freeze or reheat — enjoy chilled or at room temperature for the best texture.
Recipe shared by Nelly Rodriguez de Galofre via karistabennett.com

Nutrition

Calories: 386kcal | Carbohydrates: 42g | Protein: 7g | Fat: 22g | Saturated Fat: 13g | Cholesterol: 163mg | Sodium: 207mg | Potassium: 158mg | Fiber: 1g | Sugar: 21g | Vitamin A: 743IU | Vitamin C: 3mg | Calcium: 48mg | Iron: 2mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Tried this recipe?Mention @muybuenocooking or tag #muybuenocooking!

Photography by Jenna Sparks 

Leave a comment

Your email address will not be published. Required fields are marked *

Recipe Rating




8 Comments

  1. J Lem says:

    I just attempted to bake this cake gluten free, my cake batter was very thick so I don’t think it will turn out good 

  2. Linda says:

    I live at 7500′; this delicious recipe works well at this elevation! Thanks so much!!

  3. Annamarie says:

    Thank you for the recipe! Love your cake stand. May I ask where you purchased it? 

    1. Yvette Marquez says:

      It’s actually a vintage plate on a wooden pedestal. 

  4. coffeeforme says:

    my oven is quite small, do you think this recipe would work in a 6 inch round or bundt pan in a 9×9 square pan for the bain marie? Also I know the dulce de leche is the traditional flavor , but would a chocolate or vanilla glaze on top work as well?

  5. Vangie says:

    Yummy, looks delicous and beautiful. I’ve been waiting for a recipe for this cake. Thanks mija

  6. smruti says:

    does it only work in a bundt pan or can I use a regular 9×9 square or 9 inch round pan?

    1. Muy Bueno says:

      I haven’t tested it, but I’m guess that should work. But the square corners might be tough on the flan portion. I highly recommend a round or 12-cup bundt pan: https://amzn.to/2TAYrx4