National Dish Mexico: Chocoflan (Recipe)

In this article
Meet Chocoflan, a showstopping Mexican dessert that magically layers a rich chocolate cake beneath a silky-smooth flan, all crowned with a glossy caramel. As it bakes, the two batters swap places to create that famous double-decker effect, which is why it is fondly nicknamed the “impossible cake”. Surprisingly straightforward to make yet guaranteed to impress, it brings a generous helping of celebration to any table.
About Chocoflan
Chocoflan is a beloved Mexican dessert, also known affectionately as “pastel imposible”. It brings together the flavours of a chocolate cake and a classic flan, resulting in a luscious, creamy treat with two distinct layers. Although the dessert looks elaborate, the preparation is genuinely simple — and the presentation is what wins your guests over. With its unique texture and gently sweet flavour, chocoflan is the perfect highlight for any celebration.
Ingredients (serves 1–2)
- 1 cup sugar
- 1 cup milk
- 3 eggs
- 1/2 cup cocoa powder
- 1 cup flour
- 1 teaspoon baking powder
- 1 teaspoon vanilla extract
Shopping for the ingredients
To make chocoflan you only need a handful of everyday store-cupboard ingredients, most of which you will find in any well-stocked supermarket. It is worth choosing good-quality cocoa and the freshest eggs you can get, as they make all the difference to the final flavour. If you have particular dietary requirements, you can also pick up your ingredients at a health-food or organic shop.
Preparing the dish
Before you start, gather and measure out all your ingredients — this keeps the process smooth and ensures nothing gets left out. Prepare a springform tin by lining the base with baking paper and lightly greasing the sides. This stops the chocoflan from sticking as it bakes and makes it far easier to turn out cleanly later on.
Step-by-step instructions
- Preheat the oven to 180°C.
- Melt the sugar in a pan until it caramelises, then pour it into the prepared springform tin.
- In a bowl, whisk together the milk, eggs and vanilla extract until well combined.
- In a separate bowl, mix the cocoa powder, flour and baking powder.
- Add the dry ingredients to the milk mixture and stir to a smooth batter.
- Gently pour the batter into the tin over the caramel and bake for about 40 minutes in a water bath.
- Once baked, let it cool, then chill in the fridge until firmly set.
- Serve the chocoflan chilled, carefully inverting it out of the tin onto a plate.
Gluten-free / lactose-free version
To make chocoflan gluten-free, simply swap the regular flour for a good gluten-free flour blend. For a lactose-free version, replace the milk with lactose-free milk or a plant-based alternative. Many people do not realise that cocoa powder is usually gluten-free in any case, though it is always wise to check the label. With these easy swaps you can enjoy chocoflan completely free of gluten and lactose.
Tips for vegans and vegetarians
Vegans can replace the eggs with flaxseed or chia seeds to achieve a similar binding effect. Mix 1 tablespoon of ground flaxseed with 2.5 tablespoons of water and leave it to rest for a few minutes until it turns gel-like. Swap the milk for plant-based milk such as almond or soya to create the vegan version of this dessert. That way everyone can enjoy this delicious treat. The dish is naturally suited to vegetarians, much like the indulgent Crepas con Cajeta.
More tips and tricks
For an even more intense chocolate flavour, work some dark chocolate into the batter or drizzle chocolate syrup over the flan. Be sure to let the chocoflan rest in the fridge long enough so that it sets properly and turns out neatly. Fresh berries or a fruit sauce make a lovely finishing touch, lending the dessert a fruity lift. A dollop of whipped cream or a scoop of ice cream always goes down well with guests too.
Adapting the recipe to your taste
Chocoflan is easy to tailor to your own preferences. You could use malty carob powder in place of cocoa for a milder flavour, for example. A pinch of cinnamon or a splash of orange blossom water can also give the dessert a surprising twist. Experiment with different aromas to make your chocoflan a truly personal creation, in the same playful spirit as a Pastel de Tres Leches.
Ingredient substitutions
If you would rather not use eggs, apple sauce or mashed banana also work well as a binder. Instead of sugar, you can reach for stevia or agave syrup in the preparation. The flan can also be made with coconut milk for an exotic touch. Variations like these make the recipe more versatile and accessible for a range of different diets.
Drink pairing ideas
A variety of drinks pair beautifully with chocoflan. A creamy coffee or a mocha harmonises perfectly with the sweet dessert, while a cup of warm Atole de Chocolate leans into the chocolate theme. A glass of Mexican hot chocolate or a lightly chilled white wine also makes a good companion. Experiment with different juices or even a fruity cocktail to bring out the flavour combination.
Serving and presentation ideas
The way you present your chocoflan can make all the difference. Serve it on a large plate and decorate with chocolate syrup, mint and freshly sliced fruit. Alternatively, serve the flan in small glasses for a more elegant look. A swirl of cream or a scoop of vanilla ice cream on top makes the dessert even more tempting for your guests, much like a serving of Fresas con Crema.
A bit of history
Chocoflan has Mexican roots and is a popular treat often served at festivities and special occasions. The combination of flan and chocolate cake symbolises the blending of tradition and innovation that runs through Mexican cuisine. It is said that the idea of pairing two desserts in one was inspired by people’s love for both sweets at once. This delicious indulgence is cherished by children and adults alike and has won admirers all over the world.
More recipe ideas
Summary: Chocoflan
Chocoflan is a captivating dessert that unites both flavours and textures in one striking dish. The marriage of classic chocolate cake and creamy flan is not only delicious but also a genuine feast for the eyes. Whether for a special occasion or simply to treat yourself, chocoflan is sure to delight everyone. With its many options for adapting and personalising, it is easy to shape this recipe to suit your own taste.


