Side Dishes
This sweet potato haupia squares recipe transforms humble ingredients into a dessert that feels like a tropical vacation in every bite. 🌴 The secret lies in balancing the earthy sweetness of roasted sweet potatoes with the silky, coconut-infused haupia custard—creating a texture that’s both crisp and velvety.
I developed this recipe after years of perfecting the science behind the two components: a sturdy coconut crust and a filling that stays luscious without separating.
The beauty of these squares is their versatility—they work as a standalone dessert or pair beautifully with whipped coconut cream.
The crust gets its signature crunch from toasted coconut flakes and almond flour, while the haupia filling earns its name from the traditional Hawaiian custard, adapted here with coconut milk and a touch of vanilla.
What makes this recipe special is how it delivers restaurant-quality results with just a few key ingredients and simple techniques.
By the time you pull these from the oven, you’ll have golden squares with a caramelized top and a filling so smooth it almost melts in your mouth.
The combination of sweet potato’s natural sweetness and the tropical coconut flavors creates a dessert that’s rich yet light, satisfying yet not overly heavy. Perfect for potlucks, holiday gatherings, or when you want to impress with minimal effort.
For those looking to adapt this recipe, a simple swap of agar-agar for gelatin makes it fully vegan while maintaining the same silky texture. The instructions are designed to be foolproof, ensuring your haupia stays perfectly set and your crust stays crisp. Let’s get baking!
Ingredients for sweet potato haupia squares
Tropical flavors meet cozy comfort in these sweet potato squares—just 15 simple ingredients for dessert that feels like a vacation.
| Ingredient | Amount | Notes |
|---|---|---|
| Large Sweet Potatoes 🍠 | 2 whole | Peeled, cooked until tender |
| Unsweetened Shredded Coconut 🥥 | 2 cups | Toasted for extra crunch |
| Almond Flour 🌰 | 1 ½ cups | Fine grind preferred |
| Full-Fat Coconut Milk 🥥 | 13 ½ oz | Canned, full-fat variety |
| Pure Coconut Cream 🥥 | 13 ½ oz | Canned, from same can as milk |
| Pure Vanilla Extract 🌿 | 1 tbsp | High-quality preferred |
| Agar-Agar Powder 🍃 | 2 tsp | For vegan gelatin substitute |
| Coconut Sugar 🍯 | ½ cup | Or light brown sugar |
| Pure Maple Syrup 🍁 | ¼ cup | For extra sweetness |
| Salt 🧂 | ¼ tsp | Fine sea salt |
| Unsalted Butter 🧈 | ¼ cup | Melted, for crust |
| Ground Cinnamon 🌶️ | 1 tsp | For warm spice notes |
| Vanilla Bean Paste 🌿 | 1 tbsp | Or 1 tsp vanilla extract |
| Whipped Coconut Cream 🥥 | ½ cup | Optional garnish |
| Toasted Coconut Flakes 🥥 | ¼ cup | For topping |
The sweet potatoes are the star here—pick vibrant orange ones with no soft spots. Trader Joe's and Whole Foods usually carry the best organic ones. Roast them until fork-tender (about 45 minutes at 400°F), then mash them smooth—no lumps! The coconut milk and cream should be from the same can (the top layer is cream, bottom is milk). Thai Kitchen brand is my go-to for consistent quality. Toast your shredded coconut in a dry pan until golden—this adds serious crunch to the crust. And grab that vanilla bean paste if you can—it's worth the splurge for that real vanilla flavor.
No coconut milk? Full-fat canned coconut cream (like Thai Kitchen) works in a pinch, but thin it with water to mimic milk consistency. Swapping coconut sugar? Light brown sugar keeps the molasses notes but adds moisture. The agar-agar is non-negotiable for that perfect set—it's what keeps the haupia from turning to soup. Short on time? Pre-mashed sweet potatoes from the canned aisle save 30 minutes (just drain well). For extra richness, add a splash of coconut cream to the crust mix. And if you're feeling fancy, infuse the coconut milk with 1 tsp lime zest while heating it—trust me, it elevates everything.
These stay fresh for 3 days in the fridge, wrapped tightly in parchment. For longer storage, freeze the uncut pan for up to 2 months—thaw at room temp before slicing. The crust gets softer over time, so re-crisp slices at 350°F for 5 minutes if needed. I always make a double batch because they disappear fast—portion into squares while still warm for clean cuts. Store leftovers in an airtight container with a slice of bread to absorb moisture. And if you've got extra coconut cream? Whip it up for topping—add a pinch of salt to stabilize those peaks.
Why You'll Love This Recipe
- No-Bake Magic: I swear by this when I need dessert without turning on the oven. Just mix the roasted sweet potato purée with coconut cream and fold in that toasted shredded coconut—no waiting, no fuss, just pure vibes.
- Caramelized Sweetness: That slow-roasted sweet potato brings a deep, buttery sweetness that pairs perfectly with the coconut haupia layer. It’s like a tropical hug in every bite—rich, creamy, and just a little chewy where it counts.
- Snack Attack Ready: Between us, these squares are my secret weapon for lunchboxes, office snacks, or when I need a pick-me-up after work. They hold up for days in the fridge, and honestly? Kids won’t even notice they’re sneaking in veggies.
- Budget-Friendly Luxury: Sweet potatoes and coconut milk stretch my grocery budget so far—this recipe feeds four for under $10, and the leftovers? Even better the next day. It’s dessert that doesn’t guilt me.
Step-by-step instructions for sweet potato haupia squares
Here's how to layer tropical sweetness with creamy coconut custard for perfect squares.
🥘 Step 1: Prepare the Sweet Potato Base
Preheat your oven to 375°F and line a 9x13-inch baking dish with parchment paper. Peel and slice the 2 whole large sweet potatoes into ¼-inch thick rounds. Arrange them in a single layer in the baking dish, overlapping slightly if needed to cover the bottom completely.
Drizzle the sweet potatoes with 2 tablespoons of the 13.5 oz pure coconut cream (reserve the rest) and sprinkle with ½ teaspoon of the 1 tsp ground cinnamon (save the rest). Bake for 25-30 minutes until the sweet potatoes are tender when pierced with a fork and slightly caramelized on top. Let cool completely before proceeding.
👨🍳 Step 2: Make the Coconut Custard Layer
In a medium saucepan, combine the 13.5 oz full-fat coconut milk, 0.5 cup coconut sugar, 0.25 cup pure maple syrup, 1 tbsp pure vanilla extract, 1 tbsp vanilla bean paste, and 0.25 tsp salt. Stir over medium heat until the sugar dissolves completely.
Add the 2 tsp agar-agar powder and whisk vigorously for 1 minute to prevent clumping. Increase heat to medium-high and bring to a gentle boil for 5-7 minutes, stirring constantly until the mixture thickens to a pudding-like consistency. It should coat the back of a spoon and hold its shape. Remove from heat immediately and let cool for 10 minutes.
🥘 Step 3: Assemble the Haupia Layers
Spread the cooled sweet potato slices evenly across the bottom of the prepared baking dish. Pour the coconut custard mixture over the sweet potatoes, spreading it out evenly with a spatula. Sprinkle 1 cup of the 2 cups unsweetened shredded coconut evenly over the custard layer, pressing down gently to help it set.
In a small bowl, mix the 1.5 cups almond flour, remaining ½ teaspoon cinnamon, and 0.25 cup unsalted butter (melted). Sprinkle this mixture evenly over the coconut layer, then top with the remaining 1 cup unsweetened shredded coconut. Press down lightly with your fingers to create a firm crust.
⏰ Step 4: Chill and Set the Dessert
Cover the baking dish tightly with plastic wrap and refrigerate for at least 4 hours or overnight. This chilling time is crucial—it allows the agar-agar to fully set the custard and creates those perfect, clean slices. I like to chill mine overnight for maximum firmness and easier cutting.
Once set, remove from the fridge and let sit at room temperature for 10 minutes to soften slightly before cutting. Use a sharp knife dipped in hot water between each cut to achieve clean, crisp edges. Serve each square topped with a dollop of 0.5 cup whipped coconut cream and a sprinkle of 0.25 cup toasted coconut flakes.
Pro Tips For Making Sweet Potato Haupia Squares
- BAKE POTATOES UNTIL TENDER: Sweet potatoes should give slightly when pierced with a fork—like a ripe avocado. If they’re still firm, they won’t mash smoothly, and your squares will taste mealy instead of creamy. Roast them at 400°F (200°C) for 45-50 minutes, flipping halfway, until the skin cracks but the flesh is soft all the way through.
- SIFT THE COCONUT: Packed shredded coconut makes a dense, gummy layer instead of the light, fluffy topping you want. Lightly sift it before mixing—just a quick shake over a bowl—and you’ll get that signature airy texture. (Yes, it’s tedious, but your dessert will look and taste like it’s from a bakery.)
- WHISK THE COCONUT MILK: Stirring coconut milk by hand leaves lumps that turn your haupia into a lumpy mess. Whisk it vigorously for 30 seconds first—it’s the only way to fully emulsify the fat and prevent separation later. I learned this after my first batch curdled in the pan.
- COOL THE BATTER: Pouring warm coconut cream into the oven is how you end up with a soggy bottom and a burnt top. Let the batter sit at room temperature for 10 minutes before baking—just long enough for the heat to even out. Your squares will set properly without sticking to the pan.
Pro cooking tips for sweet potato haupia squares
Sweet Potato Prep
Roasting sweet potatoes until fork-tender is key—400°F for 45 minutes ensures they mash smoothly without drying out. I like to pierce them with a fork before baking to speed up the process. For extra caramelization, brush the slices with 1 tbsp melted butter before roasting. 🍠
Coconut Crust Secrets
Toast your 2 cups shredded coconut in a dry skillet over medium heat until golden brown—this adds depth of flavor and prevents a soggy crust. Mix the 1.5 cups almond flour with melted butter and cinnamon before sprinkling to create a cohesive, crumbly texture.
Press firmly with your fingers to lock in moisture.
Agar-Agar Mastery
Whisk the 2 tsp agar-agar vigorously for 1 full minute to prevent clumping—this is non-negotiable for a silky haupia. Bring to a gentle boil for exactly 5-7 minutes—overcooking turns it rubbery. Remove immediately and let cool 10 minutes before pouring to avoid melting the sweet potato layer below. ✨
Layering Technique
Spread the custard evenly in the pan, then sprinkle 1 cup coconut over it—this creates a barrier that prevents the custard from leaking into the crust. Press lightly with a spatula to help the agar-agar set faster. For extra stability, chill 2 hours before adding the final coconut topping. 🥥
Chilling Like a Pro
Cover the pan tightly with plastic wrap and refrigerate at least 4 hours—overnight is ideal. This ensures the agar-agar fully sets and the crust holds its shape. For faster results, place the pan on a tray to catch any condensation that might soften the crust. 💪
Cutting Cleanly
Use a hot knife (dip in boiling water between cuts) for crisp edges. Warm the knife for 5 seconds between each slice—this prevents dragging and gives you those restaurant-worthy lines. Serve immediately after cutting to maintain texture contrast between the crisp crust and creamy filling. 🔪
Nutrition facts
Frequently asked questions
Can I make these sweet potato squares without coconut milk?
Yes, but the flavor and texture will change. Use full-fat canned coconut cream (like Thai Kitchen) thinned with ¼ cup water to mimic coconut milk. For a dairy-free alternative, try cashew cream (blend soaked cashews with water) but expect a less tropical taste. If you're avoiding coconut entirely, swap for condensed milk (for richness) and add 1 tsp coconut extract to the custard.
Why did my haupia filling turn out too runny?
This usually happens from undercooking the agar-agar or overchilling. The custard should coat the back of a spoon when hot and hold its shape. If it's still too soft after chilling, return the pan to the fridge for 2 more hours. For next time, whisk the agar-agar for 1 full minute and boil for 7 minutes (not less). Pro tip: Sprinkle 1 tsp cornstarch over the custard before chilling to add stability.
How can I make these vegan?
This recipe is already vegan-friendly thanks to agar-agar! Just ensure your coconut milk and coconut cream are certified vegan (most brands are). For extra richness, use vegan butter instead of regular butter in the crust. The almond flour and coconut sugar are naturally plant-based, so no other swaps are needed. The texture will be identical to the original recipe.
Can I use regular gelatin instead of agar-agar?
Technically yes, but the flavor will differ. Gelatin has a slightly meaty taste that doesn't complement the tropical coconut flavors as well. If you must use it, replace the agar-agar with 2 tsp powdered gelatin (soaked in ¼ cup cold water first). However, the custard may not set as firmly, and the texture will be slightly less silky. For best results, stick with agar-agar for that authentic haupia consistency.
How do I store leftovers and reheat them?
Store in an airtight container in the fridge for up to 3 days. For longer storage, freeze the uncut pan for 2 months. To reheat, wrap individual squares in a damp paper towel and microwave for 10-15 seconds. For a crispy crust, place reheated squares on a baking sheet and warm at 350°F for 5 minutes. The filling will soften slightly but remain creamy.
