Haupia (Hawaiian Coconut Pudding) Recipe

Updated November 26, 2026

Total time
4 hr 25 min
prep 10 min · cook 15 min
Serves
9
portions as written

Jump to recipe

Haupia is a classic Hawaiian dessert: a silky, firm coconut pudding that is traditionally cut into squares and served at luaus, potlucks, and family gatherings. It is made with just a few ingredients—coconut milk, sugar, and a thickener like cornstarch or arrowroot—and its clean, creamy flavor pairs beautifully with fresh fruit, chocolate, or a scoop of ice cream. This version uses cornstarch for a reliably smooth texture and includes a touch of salt to balance the sweetness, making it an easy, foolproof dessert for any home cook.

Ingredients

  • 2 cans (13.5 oz / 400 ml each) full-fat coconut milk (about 3 1/3 cups / 790 ml total)
  • 1/2 cup (100 g) granulated sugar
  • 1/2 cup (60 g) cornstarch
  • 1/4 teaspoon salt
  • 1 teaspoon vanilla extract (optional)
  • Nonstick cooking spray or a little coconut oil for the pan

Instructions

  1. Lightly grease an 8×8-inch (20×20 cm) baking dish with nonstick spray or coconut oil. Set aside.
  2. In a medium bowl, whisk together the sugar, cornstarch, and salt. Add about 1/2 cup (120 ml) of the coconut milk and whisk until the mixture is smooth and free of lumps. This is your slurry.
  3. Pour the remaining coconut milk into a medium saucepan and heat over medium heat until it is steaming but not boiling, about 3–4 minutes.
  4. Slowly pour the slurry into the hot coconut milk while whisking constantly. Continue to whisk over medium heat until the mixture thickens and begins to bubble, about 5–7 minutes. It should be thick like a pudding and coat the back of a spoon.
  5. Remove the pan from the heat and stir in the vanilla extract, if using.
  6. Pour the hot haupia mixture into the prepared baking dish. Smooth the top with a spatula.
  7. Let it cool to room temperature, about 30 minutes, then cover and refrigerate for at least 4 hours, or until fully set and firm to the touch.
  8. To serve, cut into squares directly in the pan, then lift out with a spatula. Serve cold.

Tips

  • Use full-fat coconut milk: Light coconut milk will result in a softer, less creamy haupia that may not set as firmly. If you only have light, reduce the milk to 3 cups (720 ml) and add 1/2 cup (120 ml) water, or accept a softer texture.
  • Whisk constantly: Cornstarch can clump if you stop whisking. Keep the mixture moving, especially as it heats, to ensure a smooth, lump-free pudding.
  • Don’t overcook: Once it bubbles and thickens, remove from heat. Overcooking can cause the cornstarch to break down and the haupia to become thin.
  • Substitute cornstarch: Arrowroot powder or tapioca starch can replace cornstarch 1:1, but the texture may be slightly more gelatinous. Avoid using flour, as it will make the haupia cloudy and pasty.

Serving Suggestions

Haupia is traditionally served as a simple square on a plate, but it also shines as a topping or filling. Serve it alongside fresh pineapple or mango, crumble it over shaved ice, or layer it with chocolate pudding for a Hawaiian-style parfait. It’s also a common filling for haupia pie or a topping for chocolate cake.

Variations

  • Chocolate Haupia: Melt 4 oz (115 g) of semi-sweet chocolate and stir it into the hot pudding after removing from heat.
  • Pumpkin Haupia: Replace 1 cup (240 ml) of coconut milk with 1 cup (240 ml) of pumpkin puree and add 1 teaspoon pumpkin pie spice.
  • Lilikoi (Passionfruit) Haupia: Stir in 1/4 cup (60 ml) of passionfruit pulp after cooking.
  • Toasted Coconut Haupia: Fold in 1/2 cup (40 g) of toasted shredded coconut before pouring into the pan.

Storage and Reheating

Store leftover haupia in an airtight container in the refrigerator for up to 4 days. Haupia is best served cold; do not reheat it, as it will lose its firm texture. To freeze, cut into squares, place on a parchment-lined baking sheet, and freeze until solid, then transfer to a freezer bag. Freeze for up to 1 month. Thaw in the refrigerator overnight before serving.

Frequently Asked Questions

Why is my haupia not setting? The most common reason is not cooking it long enough. The mixture must come to a full boil and thicken visibly before pouring into the pan. Also, ensure you used the correct amount of cornstarch and full-fat coconut milk.

Can I use coconut cream instead of coconut milk? Yes, but coconut cream is thicker and richer. Use 3 cups (720 ml) of coconut cream and reduce the sugar to 1/3 cup (65 g) to balance the sweetness.

Is haupia gluten-free? Yes, as long as you use pure cornstarch (not a blend with wheat flour) and check that your vanilla extract is gluten-free. It is naturally dairy-free and vegan.

How do I get clean squares? Use a sharp knife and wipe it clean between cuts. For the cleanest edges, chill the haupia for at least 6 hours or overnight.

Can I make haupia ahead of time? Absolutely. Haupia can be made up to 2 days in advance and kept refrigerated. Cover the pan tightly with plastic wrap to prevent it from absorbing other odors.

What if my haupia is too soft? If it’s too soft to cut, it likely wasn’t cooked enough. You can salvage it by whisking it back into a saucepan with 1 tablespoon of cornstarch mixed with 2 tablespoons of cold water, then cook again until thickened.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).