Chocolate Haupia Pie with Two Coconut Layers

Chocolate haupia pie is a Hawaiian bakery favourite: a crisp pastry case holding a layer of dark chocolate coconut pudding, a layer of plain white coconut pudding on top, and a cloud of whipped cream to finish. Haupia is the coconut pudding at its heart, made by cooking coconut milk with sugar and cornflour until it sets firm enough to cut. Split the pudding while hot, stir chocolate into one half, and you have two distinct layers from a single pot.
This recipe makes one 23 cm pie for 10. There are no eggs in the filling, which makes it quick to cook. Allow about 1 hour of hands-on time and 4 hours in the fridge.
What is a chocolate haupia pie?
Haupia is a traditional Hawaiian dessert. It was once thickened with the starch of Polynesian arrowroot; today cornflour is the norm, and the pudding is usually cut into squares and served cold. It is softer than a jelly and firmer than a custard, with a clean coconut flavour and a smooth, almost silky bite.
The pie version layers haupia in a baked pastry shell. Melting chocolate into half of the hot pudding gives a dark, fudgy bottom layer, and the plain haupia sits on top as a bright white band. Whipped cream covers everything. When it is sliced, the three colours show clearly, which is half the appeal.
Because haupia sets as it cools, timing matters. The chocolate layer needs to firm slightly before the white layer goes on, but the white layer must still be warm and pourable. The method below keeps the second half warm while the first one settles.
If you like this style of chilled pie, see our coconut cream pie with toasted coconut and our no-bake dark chocolate cream pie.

Ingredients
Serves 10. Cup and spoon measures are Australian: a 250 ml cup, a 20 ml tablespoon and a 5 ml teaspoon.
Pastry case
- 200 g (1 1/3 cups) plain flour
- 2 tablespoons icing sugar
- Pinch of salt
- 125 g cold unsalted butter, diced
- 1 egg yolk
- 2 to 3 tablespoons iced water
Haupia layers
- 100 g dark chocolate (50 to 70 per cent cocoa), finely chopped
- 50 g cornflour (a heaped 1/3 cup)
- 80 ml (1/3 cup) water
- 400 ml can coconut milk
- 270 ml can coconut cream
- 110 g (1/2 cup) caster sugar
- Pinch of salt
- 1 teaspoon vanilla extract
Topping
- 15 g (1/4 cup) shredded coconut
- 300 ml thickened cream, chilled
- 1 tablespoon icing sugar
- 20 g dark chocolate, extra, for shaving
Ingredient notes and swaps
- Pastry: a bought sheet of frozen shortcrust can replace the home-made case. Sheets are usually about 24 cm square, so overlap two by a couple of centimetres, press the seam flat with a rolling pin and line the dish. Blind bake it exactly as in the method. A crushed shortbread crust (250 g shortbread biscuits and 80 g melted butter, baked for 10 minutes at 180C (160C fan-forced)) is a richer alternative.
- Coconut milk and cream: full-fat products give the creamiest haupia. The coconut cream makes the layers richer; if you only have coconut milk, use two 400 ml cans and reduce the water to 2 tablespoons.
- Chocolate: a dark cooking chocolate or eating chocolate around 50 to 70 per cent cocoa melts smoothly into the hot pudding. Milk chocolate makes a sweeter, paler layer.
- Cornflour: it needs to be dissolved in cold water first. Added straight to hot coconut milk it forms lumps that will not whisk out.
- Weighing: splitting the pudding evenly is easiest on a set of digital kitchen scales. Put the chocolate bowl on the scale and pour in about 450 g of hot haupia.
Method
You will need a 23 cm pie dish about 4 cm deep, pastry weights or dried beans and a heavy-based saucepan of about 2 litres. A thick base from our saucepan range stops the coconut milk catching while you whisk. A vegetable peeler from our peeling and grating tools makes neat chocolate shavings.
- Make the pastry: pulse the flour, icing sugar and salt in a food processor, add the butter and pulse to fine crumbs. Add the egg yolk and 2 tablespoons of iced water and pulse until the dough clumps, adding more water only if needed. Shape into a flat disc, wrap and refrigerate for 30 minutes.
- Grease a 23 cm pie dish. Roll the dough between two sheets of baking paper until about 3 mm thick and wide enough to line the dish. Lift it in, press it gently into the corners, trim the edge and crimp it. Prick the base all over and freeze the case for 15 minutes.
- Heat the oven to 200C (180C fan-forced). Line the case with baking paper, fill with weights and bake for 15 minutes. Remove the paper and weights and bake for 10 to 12 minutes more, until golden all over with a dry base. Let it cool completely.
- Toast the shredded coconut in a dry frying pan over medium-low heat for 2 to 3 minutes, stirring, until golden. Tip onto a plate to cool.
- Put the 100 g of chopped chocolate in a medium heatproof bowl. In a small bowl, whisk the cornflour and water to a smooth slurry.
- Pour the coconut milk and coconut cream into the saucepan and add the caster sugar and salt. Warm over medium heat, whisking, for 4 to 5 minutes, until the sugar dissolves and the mixture is steaming.
- Whisk the slurry again and pour it into the pan in a steady stream, whisking all the time. Keep whisking over medium heat for 3 to 5 minutes, until the mixture turns thick and glossy and starts to bubble. Cook for 1 minute more, then take the pan off the heat and whisk in the vanilla.
- Working quickly, pour about half of the hot haupia (around 450 g) over the chopped chocolate. Leave it for 1 minute, then whisk until smooth and evenly brown. Spread it over the base of the pastry case and refrigerate for 10 minutes, until the surface is just set.
- Meanwhile, set the pan of plain haupia over the lowest heat and whisk it every minute or so to keep it warm and pourable.
- Spoon the warm white haupia gently over the chocolate layer, starting at the edge and working in, then smooth the top. Leave the pie on the bench until it stops steaming, about 20 to 30 minutes, then cover it loosely and refrigerate for at least 4 hours, until both layers are firm.
- Close to serving, whip the cream and icing sugar to soft peaks and spread it over the pie. Scatter with the toasted coconut and shave the extra chocolate over the top. Slice with a sharp knife wiped clean between cuts.

Storing chocolate haupia pie safely
Make-ahead: the pastry case keeps for a day in an airtight container. The filled pie, without the cream, can be made the day before. Add the cream on the day.
Keep it cold: the whipped cream and coconut layers make this a dessert for the fridge. The Better Health Channel advises keeping high-risk foods, including dairy-based desserts, at 5C or below, and waiting until steam stops rising before refrigerating hot food. Food Standards Australia New Zealand’s guide for food left out is under 2 hours back into the fridge, 2 to 4 hours eat it now, over 4 hours throw it out, which is worth remembering at a summer barbecue.
Leftovers: cover and refrigerate, and use them within two to three days, as the Food Safety Information Council recommends for perishable leftovers. Haupia does not freeze well; it turns spongy and weeps as it thaws.
Common problems and fixes
| Problem | Likely cause | Fix |
|---|---|---|
| Lumpy haupia | Cornflour not dissolved, or not whisked as it thickened | Make a smooth slurry and whisk constantly; sieve if needed |
| Layers too soft to slice | Pudding not boiled for the extra minute | Let it bubble for a full minute after thickening |
| White haupia set in the pan | Left off the heat too long | Warm it gently with 2 tablespoons of coconut milk, whisking until smooth |
| Layers sliding apart | Chocolate layer chilled too long before topping | Chill for only 10 minutes so the layers bond |
| Soggy pastry | Case underbaked | Bake until the base is golden and dry before filling |
Frequently Asked Questions
Is chocolate haupia pie dairy-free?
The haupia layers are dairy-free if your chocolate is. The pastry and cream are not. For a dairy-free pie, use a dairy-free block spread in the pastry, whip chilled coconut cream for the topping and check the chocolate label.
Can I make haupia without the pie?
Yes. Pour the plain haupia into a 20 cm square dish lined with baking paper, chill until firm and cut it into squares. It is a simple dessert on its own, served with fresh mango or pineapple.
Can I make it as bars?
Press the shortbread crust described above into a lined 20 x 30 cm slice tin, bake it, then layer the chocolate and white haupia on top. Chill and cut into bars. Slice tins and trays are in our bakeware tins and trays range.
Why are there no eggs in the filling?
Haupia sets with starch alone, so it needs no eggs. The only egg in the recipe is the yolk in the pastry, which is fully baked.
Chefs Toolbox editorial team
Gear to compare
Keep reading
DessertsBanoffee PieBanoffee Pie. This throw-together no-bake American classic is a perfect marriage of caramel, bananas and cream. Yum!
DessertsChoc Caramel TartsChoc Caramel Tarts. Layers of chocolate & caramel ganache all with the bite of a crumbled tart will win all your guests hearts over!
DessertsPressure Cooker Lemon Pudding Lemon SaucePressure Cooker Lemon Pudding Lemon Sauce. This delicious, sweet, and syrupy lemon dessert is made with everyday ingredients.



