Haupia Recipe with Agar Agar (Coconut Pudding)

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 coconut pudding, traditionally thickened with cornstarch and served as a dessert or layered in pies and cakes. This version uses agar agar, a plant-based gelling agent derived from seaweed, which gives the haupia a firmer, cleaner slice and makes it set more quickly than the traditional method. The result is a silky, coconut-rich treat that holds its shape beautifully at room temperature, making it perfect for potlucks and luaus.

Ingredients

  • 2 cups (480 ml) full-fat coconut milk
  • 1 cup (240 ml) water
  • 1/2 cup (100 g) granulated sugar
  • 1 tablespoon (about 8 g) agar agar powder (not flakes; see Tips)
  • Pinch of salt (optional, to balance sweetness)

Instructions

  1. Lightly oil an 8×8-inch (20×20 cm) baking dish or line it with plastic wrap for easy removal. Set aside.
  2. In a medium saucepan, combine the water and agar agar powder. Whisk to dissolve as much as possible. Let sit for 5 minutes to allow the agar to hydrate.
  3. Place the saucepan over medium heat. Add the sugar and salt (if using). Stir frequently until the mixture comes to a gentle boil and the agar is fully dissolved—about 3 to 5 minutes. The liquid should be clear and slightly syrupy.
  4. Reduce the heat to low and pour in the coconut milk. Whisk until fully combined. Continue to heat, stirring constantly, for another 3 to 5 minutes, until the mixture is hot and steamy but not boiling. Do not let it boil vigorously, as this can cause separation.
  5. Remove from heat. Pour the mixture into the prepared dish. Let it cool to room temperature, about 30 minutes, then transfer to the refrigerator to set for at least 4 hours, or until firm and sliceable.
  6. Once set, cut into squares or use a cookie cutter for shapes. Serve chilled or at room temperature.

Tips

  • Agar powder vs. flakes: This recipe uses agar agar powder. If you only have flakes, use 1 tablespoon of flakes per 1 cup of liquid, but you’ll need to simmer them for 10–15 minutes to dissolve fully. The texture will be slightly less firm.
  • Substitute for coconut milk: For a lighter version, you can use light coconut milk, but the haupia will be less rich and may be softer. Do not substitute with dairy milk; it will not set the same way.
  • Common mistake: Not dissolving the agar completely is the most common issue. If you see undissolved granules, the haupia will be gritty. Ensure the mixture is clear and smooth before adding coconut milk.
  • Storage: Keep haupia in an airtight container in the refrigerator. It will stay fresh for up to 4 days. Do not freeze, as the texture becomes watery and grainy.

Serving Suggestions

Serve haupia as a simple dessert on its own, or pair it with fresh tropical fruits like mango, pineapple, or passionfruit. It’s also a classic topping for chocolate or lime pie, and a popular layer in Hawaiian cake. For a fun twist, cut into small cubes and serve as a finger dessert at parties.

Variations

  • Chocolate Haupia: Melt 1/2 cup (85 g) of dark chocolate chips and stir into the mixture after removing from heat, just before pouring.
  • Pumpkin Haupia: Replace 1/2 cup (120 ml) of coconut milk with 1/2 cup (120 g) pumpkin puree for a fall-inspired version.
  • Layered Haupia: Pour half the plain mixture into the dish, let set for 20 minutes, then pour the remaining half mixed with a fruit puree (like strawberry) and let set completely.
  • Vegan and Gluten-Free: This recipe is naturally both vegan and gluten-free, so no changes needed.

Storage and Reheating

Store haupia in an airtight container in the refrigerator for up to 4 days. It is best served cold, so there is no need to reheat. If you want to serve it warm, you can microwave individual pieces for 10–15 seconds, but note that it will soften and lose its firm shape. For longer storage, you can freeze haupia for up to 1 month, but thaw in the refrigerator overnight and expect a slightly softer texture.

Frequently Asked Questions

Can I use agar agar flakes instead of powder?

Yes, you can, but you’ll need to use about 1 tablespoon of flakes for every 1 cup of liquid (so 3 tablespoons for this recipe). Simmer the flakes in the water for 10–15 minutes until completely dissolved before adding sugar and coconut milk. The texture will be slightly less firm than with powder.

Why is my haupia not setting?

Most likely, the agar was not fully dissolved. Agar needs to be brought to a boil and simmered for a few minutes to activate. Also, check that you used the correct type of agar—powder and flakes have different strengths. If you used flakes but followed the powder measurement, it may not set.

Can I use coconut cream instead of coconut milk?

Yes, you can substitute coconut cream for a richer, denser haupia. Use 2 cups (480 ml) coconut cream and reduce the water to 1/2 cup (120 ml) to keep the liquid ratio balanced. The result will be very creamy and firm.

How long does haupia last?

In the refrigerator, haupia will keep for up to 4 days when stored in an airtight container. It does not freeze well, as the texture becomes watery and grainy upon thawing.

Can I make haupia ahead of time?

Absolutely. Haupia is a great make-ahead dessert. Prepare it up to 2 days in advance, keep it covered in the refrigerator, and cut into pieces just before serving.

Is haupia the same as coconut pudding?

Haupia is a type of coconut pudding, but it’s firmer than typical Western puddings due to the use of agar or cornstarch. It’s traditionally set in a pan and cut into squares, rather than served in a bowl.

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).