Side Dishes
This sweet potato haupia squares recipe transforms humble sweet potatoes into a showstopping dessert that blends Hawaiian comfort with crispy lattice perfection. The secret lies in roasting sweet potatoes until tender and velvety, then layering them with a rich coconut haupia custard that sets just right.
I’ve perfected the balance of textures—creamy, caramelized, and irresistibly crispy—so every bite feels like a tropical escape.
The recipe begins with roasted sweet potatoes mashed to a smooth, buttery consistency, then topped with a silky haupia layer made from coconut milk and cornstarch. Baking at the right temperature ensures the custard sets without becoming grainy, while the lattice crust adds that coveted crunch.
This isn’t just dessert; it’s a celebration of Pacific flavors and textures that come together seamlessly.
What makes these squares truly special is the contrast: the warm, earthy sweetness of the potatoes meets the cool, creamy haupia, all framed by a golden, crispy lattice. The result?
A dessert that’s elegant enough for gatherings but simple enough for weeknight treats. No special equipment is needed—just patience and attention to detail for that perfect texture.
Serve chilled for the best experience, garnished with toasted coconut flakes or a drizzle of caramelized coconut syrup. These squares keep well in the fridge for up to five days, making them ideal for meal prep or gifting.
Let’s bring the flavors of Hawaii to your kitchen with this foolproof recipe.
Ingredients for sweet potato haupia squares
Tropical flavors meet crispy lattice perfection in these sweet potato haupia squares.
| Ingredient | Amount | Notes |
|---|---|---|
| Large Sweet Potatoes 🍠 | 4 whole | Organic, skin-on preferred |
| Full-Fat Coconut Milk 🥥 | 2 cans | 13.5 oz each, no additives |
| Cornstarch 🌾 | ½ cup | For smooth haupia texture |
| Granulated Sugar 🍚 | 1 ½ cups | White or light brown |
| Unsalted Butter 🧈 | ½ cup | Melted, full-fat preferred |
| Large Eggs 🥚 | 4 whole | Room temperature |
| Vanilla Extract 🌿 | 1 tbsp | Pure Madagascar preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| All-Purpose Flour 🌾 | 1 ½ cups | For lattice crust |
| Toasted Coconut Flakes 🥥 | ½ cup | For garnish |
| Caramelized Coconut Syrup 🍯 | ¼ cup | Store-bought or homemade |
| Baking Powder 🍞 | 1 tsp | For lattice rise |
| Ground Cinnamon 🌶️ | 1 tsp | For sweet potato flavor |
The sweet potatoes are the heart of this dessert, so choose vibrant orange ones—the deeper the color, the richer the flavor. Trader Joe's and Whole Foods carry organic varieties that work beautifully. Roast them until fork-tender for that velvety texture. For the coconut milk, avoid the light versions—full-fat gives the haupia its signature creaminess. If you can't find cans, substitute 2 cups of coconut cream, but you'll lose some of that rich body. The vanilla extract matters too—Madagascar bourbon vanilla has the most complex flavor profile, but pure vanilla works fine.
No full-fat coconut milk? Mix 1 can coconut milk with 1 cup heavy cream for a close substitute. Short on cornstarch? Arrowroot powder at the same amount works in a pinch, though the texture will be slightly lighter. The lattice crust can be made with pre-made pie crust if needed, but homemade gives that perfect crispy texture. For the caramelized coconut syrup, Trader Joe's or Whole Foods sell it pre-made, or you can toast coconut flakes in a dry pan until golden and reduce with sugar. The cinnamon is non-negotiable—it enhances the sweet potato's natural sweetness without overpowering.
Store-bought coconut milk cans keep for 2-3 months in the pantry, but once opened, refrigerate them. The baked squares stay fresh for 5 days in the fridge, but the haupia layer firms up best after 4 hours of chilling. For gifting, wrap individually in parchment and secure with twine. The lattice crust loses crispness if reheated, so serve at room temperature. If making ahead, assemble the squares 1 day in advance—the flavors meld beautifully overnight.
Why You'll Love This Recipe
- No-Bake Magic: I swear by this recipe when I’m too tired to bake—just mash, mix, and chill. The sweet potatoes soften effortlessly in boiling water, and the coconut milk thickens into that dreamy haupia texture without a single oven turn-on.
- Caramelized Edge: That crispy, buttery top layer? It’s the star. The sugar and butter toast into a golden crust while the inside stays silky-smooth—like a dessert that’s both nostalgic and unexpectedly sophisticated.
- Lunchbox Hero: Between us, these squares are my go-to for school lunches or office snacks. Cut into bite-sized pieces, and they hold up for days—no soggy corners, just pure, creamy sweetness that kids (and adults) actually eat.
- Pantry Stash: Honestly, I make a double batch and freeze half. The coconut milk and sweet potatoes are cheap staples, and this recipe stretches further than most desserts. Plus, reheating a slice in the microwave? Instant comfort.
Step-by-step instructions for sweet potato haupia squares
Here's how to create the perfect balance of creamy haupia and crispy lattice crust.
Prepare the Sweet Potato Base
Preheat your oven to 375°F. Peel and dice the 4 whole large sweet potatoes into ½-inch cubes. Toss them in a large bowl with 2 tablespoons of the melted butter and ½ teaspoon of the salt. Spread the sweet potatoes evenly on two rimmed baking sheets lined with parchment paper.
Roast for 25-30 minutes until the sweet potatoes are fork-tender and beginning to brown at the edges. You want them soft enough to mash easily but still holding some structure. Remove from the oven and let them cool slightly before mashing. This roasting step develops deep caramelized flavors that form the foundation of your haupia squares.
Make the Haupia Filling
In a medium saucepan, combine 2 cans full-fat coconut milk, 1.5 cups granulated sugar, 0.5 cup cornstarch, and 0.5 teaspoon salt. Whisk constantly over medium heat until the mixture thickens to a pudding-like consistency, about 5-7 minutes. You'll know it's ready when it coats the back of a spoon and leaves a distinct trail when you run your finger through it.
Remove from heat and stir in the 4 whole large eggs, one at a time, whisking vigorously after each addition to prevent scrambling. Add the 1 tablespoon vanilla extract and 1 teaspoon ground cinnamon, then mix in the roasted sweet potatoes. The mixture should be smooth but still retain some texture from the sweet potatoes. Let it cool to room temperature before using.
Prepare the Lattice Crust
In a medium bowl, whisk together the 1.5 cups all-purpose flour, 1 teaspoon baking powder, and remaining 0.5 teaspoon salt. Cut in the remaining 0.5 cup melted butter using a pastry cutter or your fingers until the mixture resembles coarse crumbs. Gradually add 0.25 cup caramelized coconut syrup and mix until the dough comes together.
Divide the dough into two equal portions. Roll one portion into a ¼-inch thick rectangle on a floured surface. Use a sharp knife to cut a 1-inch wide strip along the long side, then make diagonal cuts every 1 inch to create the lattice pattern. Repeat with the second portion of dough. This lattice technique creates that signature crispy, airy crust that contrasts beautifully with the creamy haupia.
Assemble and Bake
Grease a 9x13-inch baking dish and spread the cooled haupia filling evenly across the bottom. Arrange one lattice strip horizontally across the top, then weave the second strip vertically through the horizontal cuts to create the classic lattice pattern. Press gently to ensure good contact between the filling and crust.
Bake at 350°F for 40-45 minutes until the top is golden brown and the edges are crisp. The center should still be slightly jiggly when you shake the pan gently. Remove from the oven and let cool completely before cutting into squares. The contrast between the crispy lattice and creamy haupia filling is what makes these squares so irresistible.
Garnish and Serve
Once completely cooled, sprinkle the 0.5 cup toasted coconut flakes evenly over the top. These add a delightful crunch and enhance the tropical coconut flavor. Cut into 16 equal squares using a sharp knife or pizza cutter. Serve at room temperature for the best texture contrast between the crispy crust and creamy filling.
These haupia squares keep well in an airtight container in the refrigerator for up to 5 days, though they're likely to disappear much sooner! The combination of roasted sweet potatoes and coconut haupia creates a unique flavor profile that's both comforting and exotic, perfect for sharing with family and friends.
Pro Tips For Making Sweet Potato Haupia Squares
- Boil Sweet Potatoes Until Fork-Tender: I learned this the hard way—overcooked sweet potatoes turn to mush in the haupia, while undercooked ones stay grainy. Test with a fork: it should pierce cleanly but still have a slight resistance. Drain immediately and let them cool before mashing, or you’ll end up with a watery batter.
- Use Cold Coconut Milk for Smooth Haupia: Full-fat coconut milk separates when hot, and that’s the last thing you want in a creamy haupia. Chill the can in the fridge for 20 minutes first, then scoop out the thick cream from the top—this gives you the richest texture without curdling. (Yes, even if you’re impatient like me.)
- Whisk Cornstarch into Sugar First: I used to just dump cornstarch into the hot mixture, and it’d clump like sad, lumpy glue. Instead, mix the cornstarch with sugar before adding it to the coconut milk—this ensures it dissolves completely and creates that signature silky, pudding-like consistency. No one wants to bite into a chewy square.
- Bake at 350°F, Not Higher: I was skeptical until I tried it: baking these at 375°F makes the edges burn before the center sets. Stick to 350°F and bake for 30–35 minutes, then let them cool completely in the pan. The haupia firms up as it cools, and cutting into warm squares guarantees a gooey mess. (Your future self will thank you.)
Regional styles of this sweet potato haupia squares
Hawaiian Haupia Roots
Haupia squares originated in Hawaii as a modern twist on traditional haupia, the beloved coconut pudding made with coconut milk and cornstarch. The sweet potato variation blends Polynesian flavors with a familiar comfort-food texture, perfect for island-inspired celebrations.
In Hawaii, haupia is often served at luaus and family gatherings, symbolizing hospitality and warmth. 🌺
Pacific Islander Adaptations
Across the Pacific, similar desserts use local ingredients like taro or yams instead of sweet potatoes. In Samoa, fa'alifu (coconut pudding) is layered with breadfruit, while Tahitians create po'e with coconut cream and vanilla.
The lattice crust is inspired by traditional kūlolo (coconut candy) textures, where crispy layers contrast with creamy fillings.
Modern Fusion Twists
Chefs today experiment with flavors like lime zest or macadamia nuts for a contemporary touch. I’ve seen versions with white chocolate haupia or spiced rum-infused coconut milk—perfect for adventurous bakers. The sweet potato base can also be swapped for butternut squash or pumpkin for seasonal variations. 🌟
Regional Ingredient Swaps
In California, local sweet potatoes (like Jewel or Beauregard) work best, while tropical regions use purple or orange-fleshed varieties for vibrant color. For a gluten-free version, replace all-purpose flour with almond flour or tapioca starch.
The lattice crust can also be made with crushed graham crackers for a nut-free option.
Cultural Significance
Haupia represents aloha spirit—its creamy texture and sweetness mirror Hawaii’s welcoming nature. The sweet potato adds earthiness, balancing the tropical coconut. In many Pacific cultures, desserts like these are shared during graduation ceremonies or holiday feasts, reinforcing community bonds. 💛
Nutrition facts
Frequently asked questions
Can I make these squares without a lattice crust?
If lattice feels too challenging, try a simple crumb topping by mixing 1 cup crushed graham crackers with ½ cup melted butter and 2 tablespoons sugar. Sprinkle over the haupia filling before baking. For extra flair, press a full sheet of pie dough on top instead—just bake 5 minutes longer at 350°F until golden.
Why did my haupia layer turn grainy?
Graininess usually means the cornstarch wasn't fully dissolved or the mixture cooked too long. For next time, whisk the cornstarch into cold coconut milk first, then heat slowly while stirring constantly. Remove from heat the moment it thickens—overcooking breaks down the starch. If it's already grainy, blend briefly to smooth out lumps.
How do I make these gluten-free?
Replace the all-purpose flour with 1.5 cups almond flour (add ½ teaspoon xanthan gum if needed) for the lattice. For the haupia filling, use ½ cup tapioca starch instead of cornstarch. The texture will be slightly lighter but still delicious. Toasted coconut flakes are naturally gluten-free, so no changes are needed there!
Can I use canned sweet potatoes instead of fresh?
Canned sweet potatoes work in a pinch, but they lack the caramelized depth from roasting. Drain and mash them well, then stir into the haupia mixture. For best results, add 1 extra tablespoon of butter and ½ teaspoon extra cinnamon to compensate for the milder flavor. The texture will be smoother but less complex than roasted potatoes.
What's the best way to store leftovers?
Store in an airtight container in the fridge for up to 5 days. For longer storage, wrap individually in plastic wrap and freeze for 2 months. Thaw overnight in the fridge—never at room temperature. The haupia layer firms up beautifully after chilling, making these perfect for meal prep or gifting!
