Haupia Sweet Potato Bars: Easy Hawaiian Recipe

Updated November 26, 2026

Total time
1 hr 40 min
prep 25 min · cook 1 hr 15 min
Serves
16
portions as written

Jump to recipe

Haupia sweet potato bars are a beloved Hawaiian dessert that combines a rich, coconut milk-based haupia (coconut pudding) layer with a sweet potato base. This version is baked as a bar, making it easy to slice and serve at potlucks, luaus, or any gathering. The natural sweetness of the purple or orange sweet potato pairs beautifully with the creamy, subtly sweet coconut topping, creating a dessert that is both comforting and elegant.

Ingredients

  • For the sweet potato base:
    • 2 cups (450 g) mashed cooked sweet potato (about 2 large sweet potatoes, purple or orange)
    • 1/2 cup (115 g) unsalted butter, melted
    • 1/2 cup (100 g) granulated sugar
    • 2 large eggs, lightly beaten
    • 1/4 cup (60 ml) coconut milk (full-fat)
    • 1 teaspoon vanilla extract
    • 1/2 teaspoon salt
    • 1 cup (125 g) all-purpose flour
  • For the haupia topping:
    • 1 cup (240 ml) coconut milk (full-fat)
    • 1 cup (240 ml) whole milk (or additional coconut milk for a richer flavor)
    • 1/2 cup (100 g) granulated sugar
    • 1/2 cup (60 g) cornstarch
    • 1/4 teaspoon salt
    • 1 teaspoon vanilla extract

Instructions

  1. Preheat and prepare the pan: Preheat your oven to 350°F (175°C). Line a 9×9-inch (23×23 cm) baking pan with parchment paper, leaving some overhang for easy removal.
  2. Make the sweet potato base: In a large bowl, combine the mashed sweet potato, melted butter, sugar, eggs, coconut milk, vanilla, and salt. Mix until smooth. Add the flour and stir until just combined—do not overmix.
  3. Bake the base: Spread the sweet potato mixture evenly into the prepared pan. Bake for 25–30 minutes, or until the base is set and a toothpick inserted in the center comes out clean. Remove from the oven and let cool for 10 minutes while you prepare the haupia topping.
  4. Make the haupia topping: In a medium saucepan, whisk together the coconut milk, whole milk, sugar, cornstarch, and salt until the cornstarch is fully dissolved. Place over medium heat and cook, stirring constantly with a whisk, until the mixture thickens and comes to a gentle boil. This should take about 5–7 minutes. Once it thickens to a pudding-like consistency, remove from heat and stir in the vanilla.
  5. Assemble the bars: Pour the hot haupia topping over the slightly cooled sweet potato base. Use a spatula to spread it evenly.
  6. Chill to set: Allow the bars to cool to room temperature, then refrigerate for at least 4 hours, or overnight, until the haupia is firm and set.
  7. Slice and serve: Once fully chilled, use the parchment paper to lift the bars out of the pan. Place on a cutting board and slice into 16 squares. Serve cold.

Tips

  • Use full-fat coconut milk: Light coconut milk will result in a thinner haupia that may not set as firmly. For the best texture, use full-fat coconut milk from a can.
  • Don’t skip the chilling time: The haupia needs at least 4 hours to fully set. If you cut the bars too early, they will be runny. For clean slices, chill overnight.
  • Purple sweet potatoes vs. orange: Purple sweet potatoes (Okinawan) give a vibrant color and a slightly drier texture, while orange sweet potatoes are moister and sweeter. Both work; just adjust the flour if the mixture seems too wet—add an extra tablespoon if needed.
  • Make it gluten-free: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture will be slightly more crumbly but still delicious.

Serving Suggestions

Serve these bars chilled, straight from the refrigerator. They are perfect for a summer picnic, a Hawaiian-themed party, or as a sweet ending to a family dinner. You can also top each bar with a sprinkle of toasted coconut flakes or a small dollop of whipped cream for extra indulgence.

Variations

  • Macadamia nut crunch: Sprinkle chopped macadamia nuts over the haupia topping before it sets for a nutty texture.
  • Lime zest: Add the zest of one lime to the sweet potato base for a citrusy twist.
  • Pumpkin base: Swap the sweet potato for canned pumpkin puree (not pumpkin pie filling) for a fall-inspired version.
  • Vegan version: Use a flax egg (1 tablespoon ground flaxseed mixed with 3 tablespoons water) instead of the eggs, and use coconut milk for both the base and the topping. The bars will be slightly less firm but still tasty.

Storage and Reheating

Store leftover bars in an airtight container in the refrigerator for up to 4 days. They are best served cold, so no reheating is needed. If you prefer a softer texture, let them sit at room temperature for 10 minutes before serving. These bars can also be frozen for up to 2 months—wrap each bar individually in plastic wrap and place in a freezer-safe bag. Thaw in the refrigerator overnight before serving.

Frequently Asked Questions

Can I use canned sweet potato puree? Yes, but make sure it is unsweetened. Drain any excess liquid before measuring, as canned puree can be wetter than fresh, which may affect the texture.

Why is my haupia not setting? The haupia needs to be cooked to a gentle boil and stirred constantly. If it doesn’t thicken, it may not have been cooked long enough. Also, ensure you are using full-fat coconut milk and the correct amount of cornstarch.

Can I make these bars ahead of time? Absolutely! These bars are perfect for making a day ahead. In fact, they taste even better after chilling overnight, as the flavors meld together.

Can I use a different pan size? A 9×9-inch pan is ideal. If you use a larger pan (like a 9×13-inch), the bars will be thinner and may need less baking time for the base. Adjust accordingly and keep an eye on it.

What is the best way to mash sweet potatoes? Boil or roast the sweet potatoes until very tender, then mash with a fork or potato masher. For a smoother texture, you can use a food processor or immersion blender.

Can I reduce the sugar? Yes, you can reduce the sugar in both layers by up to 1/4 cup (50 g) without affecting the texture significantly. The dessert will be less sweet, but still delicious.

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