This post may contain affiliate links. Please read our disclosure policy.
This Hawaiian chocolate haupia pie features a creamy coconut pudding layer, rich chocolate filling, and a buttery graham cracker crust. A delicious taste of Hawaii!

If you’ve ever visited Hawaii, you may have come across chocolate haupia pie, a beloved local dessert that combines creamy coconut pudding with a rich chocolate layer in a buttery graham cracker crust. I first tried it at Ted’s Bakery on Oahu many years ago, and I was hooked ever since! I loved how the chocolate and coconut complemented each other without one overpowering the other.
I never realized how simple it was to make at home until I came across a recipe from America’s Test Kitchen. I decided to give it a try, with a few adjustments of my own. I use Graham cracker crust, reduced the sugar and slightly increased the cornstarch to get the texture I wanted. The result was surprisingly close to the pie I remembered from Hawaii!
This homemade chocolate haupia pie has two distinct layers: a smooth, chocolatey bottom layer and a creamy coconut haupia layer on top. I intentionally keep the chocolate layer on the thinner side because I want the lovely aroma and flavor of coconut to shine through. It’s one of our family’s favorite pies, and I hope you enjoy it as much as we do!
What is haupia?
Haupia is a traditional Hawaiian coconut pudding that is commonly served at luaus and enjoyed as a dessert in Hawaii. It’s made with coconut milk, sugar, and a thickening agent, traditionally cornstarch. The mixture is cooked until thickened and then chilled until firm.
Haupia has a smooth, creamy texture with a delicate coconut flavor. It is often cut into squares and served chilled. In this pie, haupia is layered with chocolate and nestled inside a graham cracker crust, turning a simple coconut pudding into a beautiful and delicious dessert.
What makes chocolate haupia pie special?
- Two delicious layers: The bottom layer has a lovely chocolate flavor, while the top layer is creamy and coconut-forward.
- Not overly sweet: I reduced the sugar in the filling so the natural coconut flavor can come through.
- Creamy but sliceable: The haupia sets firmly enough to hold its shape when sliced while remaining smooth and creamy.
- Make-ahead friendly: The pie needs several hours to chill, making it a wonderful dessert to prepare the day before serving.
Ingredients and substitutions
- Graham cracker crust: I use a store-bought 9-inch graham cracker crust to keep things simple. You can also make your own graham cracker crust from scratch. A chocolate cookie crust would be another delicious option.
- Full-fat coconut milk: This is the star of the pie! Use canned full-fat coconut milk for the richest flavor and creamiest texture. Avoid coconut milk beverages sold in cartons, as they are much thinner and have a different composition.
- Whole milk: Whole milk balances the richness of coconut milk and gives the filling a smooth, creamy consistency. I don’t recommend using lower-fat milk.
- Sugar: The filling is intentionally less sweet than many versions of chocolate haupia pie. You can adjust the sweetness to your liking, but I recommend tasting the filling before it sets.
- Cornstarch: This thickens the haupia and helps it set firmly enough for clean slices. I don’t recommend other substitutions.
- Semi-sweet chocolate chips: I use semi-sweet chocolate chips for a balanced chocolate flavor. Dark chocolate works too if you prefer a more pronounced chocolate taste. I don’t recommend using milk chocolate unless you want a sweeter pie.
- Heavy cream: This is for the optional whipped cream topping. It adds a lovely creamy finish without making the pie feel too heavy. The whipped cream topping gives it that Ted’s Bakery’s signature look.
- Coconut extract: A little coconut extract enhances the coconut aroma in the whipped cream. You can leave it out or use vanilla extract instead.
Helpful tips for making chocolate haupia pie
- Use full-fat coconut milk: This makes a noticeable difference in the richness and coconut flavor of the filling. Give the can a good shake or stir before measuring, especially if the cream and liquid have separated.
- Keep stirring the filling: Cornstarch can settle and stick to the bottom of the saucepan. Stir continuously and scrape the bottom and corners to prevent scorching or lumps.
- Look for large bubbles: Don’t stop cooking as soon as the mixture starts to thicken. Let it come to a gentle bubbling stage so the cornstarch is fully cooked and the filling can set properly.
- Work while the filling is warm: The haupia thickens as it cools, so divide and layer it while it is still pourable. If the remaining filling starts to firm up, gently stir it to loosen it before adding the second layer.
- Chill the chocolate layer briefly: A short time in the refrigerator helps the chocolate layer become slightly more stable before adding the coconut layer. Avoid chilling it until completely firm, as the layers may not adhere as well and it may separate when you slice into the pie.
- Allow enough chilling time: Don’t rush this step! The pie needs several hours to set completely. Overnight chilling gives you the best texture and makes slicing easier.
Variations
- Dark chocolate haupia pie: Use dark chocolate chips or chopped dark chocolate for a deeper, less sweet chocolate layer. This is especially nice if you enjoy a stronger chocolate flavor.
- Chocolate cookie crust: Replace the graham cracker crust with an Oreo or chocolate cookie crust for an extra chocolatey dessert.
- Toasted coconut topping: Sprinkle toasted shredded coconut over the whipped cream for added coconut flavor and a little texture.
- Chocolate shavings: Instead of piping whipped cream, add a generous scattering of chocolate shavings over the top for a simple but elegant finish.
- No whipped cream topping: The whipped cream is entirely optional. The pie is delicious on its own, and skipping it lets the chocolate and coconut layers take center stage.
How to store chocolate haupia pie
- Refrigerator: Cover the pie loosely with plastic wrap or store it in an airtight pie container. Keep refrigerated and enjoy within 3–4 days for the best texture and flavor.
- With whipped cream: If you’ve already added the whipped cream topping, keep the pie refrigerated. The topping is best enjoyed within 1–2 days, as it may gradually lose some of its volume.
- Freezing: I don’t recommend freezing haupia as the texture of the filling will change.
Frequently asked questions
- Can I make chocolate haupia pie ahead of time?
Absolutely! In fact, I recommend making it the day before serving. The pie needs at least 6 hours to chill, and overnight chilling allows the layers to set completely. You can add the whipped cream topping shortly before serving for the freshest appearance. - Why is my haupia filling not setting?
The filling may not have been cooked long enough for the cornstarch to activate properly. Make sure you continue cooking until large bubbles break through the thickened mixture. Also, measure the cornstarch accurately and allow sufficient refrigeration time. - Can I use coconut cream instead of coconut milk?
I recommend sticking with full-fat canned coconut milk for this recipe. Coconut cream has a higher fat content and a thicker consistency, which can change the balance of the filling and affect how it sets. - Why are my chocolate and coconut layers separating?
This can happen if the first layer has chilled too long and become completely firm before the second layer is added. Chill the chocolate layer just until it is slightly set, then gently add the remaining warm haupia filling. - Can I make this pie without the whipped cream?
Yes! The whipped cream is optional. The pie already has plenty of flavor from the chocolate and coconut layers. You can simply leave it off or finish with toasted coconut or chocolate shavings instead. - How do I get clean slices?
Make sure the pie is thoroughly chilled before slicing. Use a sharp knife dipped in warm water, then wipe it clean between cuts. This helps you get neat slices with distinct chocolate and coconut layers.
This chocolate haupia pie always takes me back to our visit to Oahu and that first taste at Ted’s Bakery. It’s one of those desserts that looks impressive but is surprisingly straightforward to make at home. I love that the coconut flavor remains front and center, with just enough chocolate to make every bite special. If you love coconut desserts, this is definitely one to try!

Ingredients
Method
- If you use a chocolate bar instead of chips, make sure you chop it up into smaller pieces so they melt quicker and evenly
- Combine coconut milk, whole milk, sugar, cornstarch, and salt in a saucepan. Whisk until combined and there are no lumps.

- Put this on the stove and cook over medium-low heat. Switch to a sturdy rubber spatula. It may feel like nothing is going to happen at first, but you have to keep stirring. It will start to thicken. Make sure you scrape the bottom and sides of the saucepan while cooking to prevent anything from scorching.

- When the mixture thickens, continue cooking until you see some large bubbles break. The whole process takes about 10 minutes or so.

- It should be a consistency of a yogurt (not Greek-yogurt, regular plain yogurt)

- Place the chocolate chips in a heat-proof bowl, pour about 1 cup of the coconut milk mixture into the chocolate and stir immediately to melt the chocolate

- Pour this chocolate mixture onto the pie crust. Smooth the top with a rubber spatula. Put this in the fridge to let it set a bit for 5 minutes
- Give the rest of the haupia a stir again. Remove the pie from the fridge and then carefully and gently pour the rest of the haupia on top of the chocolate layer. Smooth it evenly
- Let it cool down for about 30 minutes at room temperature and then move it to the fridge to let the haupia pie chilled for at least 6 hours, or best, overnight
- Combined heavy cream, powdered sugar, and coconut extract in a mixing bowl. Whip until the cream mixture forms a firm peak but be carefuly not to overwhip until it turns grainy
- Transfer the whipped cream to a piping bag fitted with a star tip. Pipe the star to cover the top of the pie

- Use a sharp knife dipped in warm water to slice the pie. Then wipe it clean between cuts. This helps you get neat slices with distinct chocolate and coconut layers.
- Cover the pie loosely with plastic wrap or store it in an airtight pie container. Keep refrigerated and enjoy within 3–4 days for the best texture and flavor. It is not recommended to freeze the pie as the texture can change
