Side Dishes
This sweet potato haupia squares recipe transforms humble ingredients into tropical-inspired dessert squares with velvety coconut cream layers and subtle pineapple brightness. The secret lies in balancing sweet potato's natural sweetness with the delicate haupia custard—creating a texture that's both creamy and firm when set.
I've perfected the layering technique to ensure each bite delivers that perfect harmony of flavors and textures, making it a showstopper for any dessert table.
The recipe starts with a smooth sweet potato puree base, which provides natural sweetness and moisture without overpowering the haupia.
The custard layer, made with coconut milk and cornstarch, delivers that signature creamy texture you'd expect from traditional haupia, while the optional pineapple puree adds a refreshing zing that cuts through the richness.
Baking at 350°F ensures even cooking, with the top layer developing a delicate golden crust that contrasts beautifully with the soft interior.
What makes these squares truly special is how they combine two beloved flavors—sweet potato's earthy warmth and haupia's tropical elegance—into one cohesive dessert. The result is a treat that's rich yet balanced, creamy yet satisfying, and perfect for sharing.
Whether you're serving them at a holiday gathering or simply indulging in a homemade dessert, these squares will impress with their visual appeal and complex flavor profile.
For an extra touch of sophistication, consider toasting the coconut flakes for garnish or drizzling a caramel sauce over the top before serving. The recipe is designed to be adaptable, so you can adjust the sweetness or add other tropical flavors like mango or passionfruit if desired.
With just a few simple ingredients and careful layering, you'll create a dessert that tastes like a vacation in every bite.
Ingredients for sweet potato haupia squares
Twelve tropical-inspired ingredients blend earthy sweetness with velvety coconut cream for dessert squares that impress.
| Ingredient | Amount | Notes |
|---|---|---|
| Orange Sweet Potatoes 🍠 | 3 lbs | Organic preferred, peeled and pureed |
| Canned Full-Fat Coconut Milk 🥥 | 2 cans | High-quality, no additives |
| Granulated Sugar 🍚 | 1 ½ cups | Fine grain preferred |
| Cornstarch 🌾 | ½ cup | For perfect custard texture |
| Fresh Pineapple 🍍 | 1 cup | Pureed, optional for brightness |
| Unsalted Butter 🧈 | ½ cup | Cold, cubed for layering |
| Large Egg Yolks 🥚 | 4 whole | Pasture-raised preferred |
| Vanilla Extract 🌿 | 1 tbsp | Pure Madagascar preferred |
| Salt 🧂 | ¼ tsp | Diamond Crystal preferred |
| Toasted Coconut Flakes 🥥 | ½ cup | For garnish and texture |
| All-Purpose Flour 🌾 | ¼ cup | For structural integrity |
| Baking Powder 🍞 | ½ tsp | Aluminum-free preferred |
| Lemon Juice 🍋 | 1 tbsp | Freshly squeezed |
The sweet potatoes anchor this recipe—organic orange varieties provide the deepest flavor and vibrant color. Look for firm, unblemished tubers at Whole Foods or your local farmers market, where they're often sold in bulk. Peeled and steamed until fork-tender, they puree into a silky base that carries both the haupia custard and pineapple brightness. For the coconut milk, Thai Kitchen or Native Forest brands deliver the richest texture without artificial additives. The pureed pineapple adds that signature tropical zing, but it's optional—skip it if you prefer a purer sweet potato-coconut profile.
No full-fat coconut milk? Substitute with a blend of light coconut milk and 2 tbsp coconut cream to maintain richness. The cornstarch is non-negotiable for achieving that signature haupia texture—Bob's Red Mill is my go-to brand for consistent results. For the sweetness balance, coconut sugar can replace half the granulated sugar while adding subtle caramel notes. The egg yolks provide structure, but if you're avoiding them entirely, aquafaba (chickpea brine) at 3 tbsp per yolk works surprisingly well. Toast your coconut flakes in a dry pan for 2-3 minutes until golden—they'll add incredible texture contrast to both the layers and garnish.
Prepped ingredients keep best when stored properly: the sweet potato puree freezes beautifully for up to 3 months in airtight containers, while the coconut milk should be refrigerated after opening and used within 5 days. The haupia custard mixture can be made a day ahead—just reheat gently before layering. For make-ahead convenience, assemble the squares in an 8x8 baking dish and refrigerate for 4 hours before baking, which helps prevent spreading. Once baked, they store well in the fridge for 5 days or freeze for 2 months—perfect for holiday gifting or meal prep.
Why You'll Love This Recipe
- No-Cook Shortcut: I swear by this when I’m too tired to bake—just mash the sweet potatoes, mix in the coconut milk and sugar, then fold in the pineapple. The cornstarch thickens it all without extra fuss, and you’re done in 15 minutes flat.
- Tropical Comfort: That caramelized sweet potato meets the creamy coconut milk? It’s like a hug in dessert form. The fresh pineapple brightens every bite, and honestly, it tastes way more indulgent than it has a right to be.
- Lunchbox Hero: Between us—this is my go-to for school lunches or office snacks. Cut into squares, and they hold up all day (no soggy edges here). The kids love the sweet-tart combo, and I love that it’s packed with natural sweetness, not processed junk.
- Budget Sweetness: Full-fat coconut milk and sweet potatoes stretch further than you’d think, and I’m not kidding when I say this feeds six for under $8. Plus, the leftovers? They last a week in the fridge—perfect for when you’re too lazy to bake again.
Step-by-step instructions for sweet potato haupia squares
Layering sweet potato purée with coconut custard creates this decadent dessert—each bite delivers creamy texture and tropical brightness.
Prepare the Sweet Potato Layer
Preheat your oven to 350°F and line a 9x13-inch baking dish with parchment paper. Peel and steam the 3 lbs orange sweet potatoes until fork-tender, about 20-25 minutes. Drain well and transfer to a food processor, blending until completely smooth. The purée should be silky with no lumps—this ensures a velvety texture in your final squares.
In a separate bowl, whisk together the 1.5 cups granulated sugar, 0.25 cup all-purpose flour, 0.5 tsp baking powder, and 0.25 tsp salt. Gradually blend this dry mixture into the sweet potato purée until fully incorporated. Stir in 1 cup fresh pineapple (pureed) and 1 tbsp lemon juice for brightness. Spread this mixture evenly into the prepared baking dish—it should form a ¼-inch-thick layer. Bake for 25-30 minutes until the edges are set and the center still jiggles slightly when shaken.
Make the Coconut Custard Filling
While the sweet potato layer bakes, prepare the coconut custard by whisking together 4 whole large egg yolks, 1.5 cups granulated sugar, and 0.5 cup cornstarch in a medium saucepan. Slowly whisk in 2 cans full-fat coconut milk until smooth. Cook over medium heat, stirring constantly, until the mixture thickens to a pudding-like consistency—this should take about 8-10 minutes. The custard is ready when it coats the back of a spoon and leaves a clear path when you run your finger through it.
Remove from heat and stir in 0.5 cup unsalted butter (cubed) and 1 tbsp vanilla extract until fully melted and incorporated. Let the custard cool to room temperature, stirring occasionally to prevent a skin from forming. The cooled custard should be thick but still pourable—this ensures it layers smoothly over the baked sweet potato base.
Assemble and Bake the Haupia Squares
Once the sweet potato layer has cooled completely, spread the coconut custard evenly over the top, creating a ¼-inch-thick layer. Return the baking dish to the oven and bake at 350°F for an additional 25-30 minutes, until the custard layer is set but still slightly jiggly in the center. This gentle bake ensures the custard remains creamy rather than rubbery.
Remove from the oven and let the squares cool completely at room temperature. This cooling step is crucial—it allows the layers to fully set and develop their signature texture. Once cooled, refrigerate for at least 4 hours or overnight to enhance the flavors and firm up the custard layer for clean slices.
Garnish and Serve
Before serving, sprinkle the top evenly with 0.5 cup toasted coconut flakes for texture and visual appeal. Cut into 12 equal squares using a sharp knife or pizza cutter. The contrast of the warm sweet potato layer with the cool, creamy coconut custard creates a harmonious balance of flavors and textures in every bite. Serve chilled for the best experience, as the coconut custard thickens beautifully when cold.
Pro Tips For Making Sweet Potato Haupia Squares
- ROAST SWEET POTATOES UNTIL SOFT: Sweet potatoes should collapse like butter when pierced—no crunchy centers. I learned this the hard way: undercooked chunks turn the haupia filling watery. Roast at 400°F (200°C) for 45-50 minutes, flipping halfway, until a knife slides in cleanly. Over-roasting? You’ll taste it later in the caramelized edges.
- USE FULL-FAT COCONUT MILK ONLY: Skip the light version—it’ll make your haupia gummy instead of creamy. Even if you’re watching calories, the extra fat emulsifies better with the cornstarch and sugar. Open the can, scoop out the thick cream from the top, and use that first. The watery part is for smoothies, not desserts.
- STRAIN PINEAPPLE JUICE THOROUGHLY: Lumpy juice ruins the smooth texture of the haupia layer. After blending the pineapple, strain through a fine-mesh sieve or cheesecloth—twice if you’re impatient like me. The extra effort keeps your squares silky, not chewy. (Yes, even if you’re in a hurry.)
- CHILL THE BATTER BEFORE BAKING: Let the haupia mixture sit at room temp for 10 minutes after mixing—this prevents cracking when it hits the oven. I was skeptical until I tried it: the cornstarch sets more evenly, and the pineapple flavor melds better. Cold batter = fewer surprises in the oven. (Your future self will notice the difference.)
Flavor customization for this recipe
Tropical Twist Adjustments
Amplify the pineapple brightness by adding 2 tbsp lime zest to the sweet potato layer—it cuts through the coconut richness beautifully. For a mango variation, replace the pineapple puree with 1 cup ripe mango purée and reduce the sugar to 1 cup to balance the natural sweetness. 🍍
Spiced Coconut Variations
Infuse the coconut custard with warmth by adding ½ tsp cinnamon and ¼ tsp cardamom to the dry ingredients. For a chai-inspired twist, steep 1 chai tea bag in the coconut milk before whisking it into the custard.
Toast 1 tbsp coconut flakes with ¼ tsp cayenne for a subtle kick.
Chocolate-Dipped Luxury
After cutting the squares, dip each piece halfway into melted dark chocolate (70% cocoa) and let set on parchment paper. For a white chocolate version, use 12 oz white chocolate chips melted with 1 tsp coconut oil for smoother dipping. Garnish with crushed pistachios or flaky sea salt for contrast.
Citrus Zest Enhancements
Boost the sweet potato layer with 1 tbsp orange zest and 1 tsp grated ginger for a Middle Eastern-inspired flavor. For a lemony twist, replace the lemon juice with 2 tbsp fresh lemon curd—it adds tangy depth. Sprinkle the top with toasted sesame seeds for a nutty crunch.
Nutty Crunch Additions
Press ¼ cup chopped macadamia nuts into the sweet potato layer before baking for texture. For a pecan variation, toast ½ cup pecans with 1 tbsp brown sugar and sprinkle over the custard layer. A final drizzle of honey or maple syrup adds sticky sweetness.
Dairy-Free Adaptations
Replace the butter with ½ cup coconut oil (solid) and use full-fat coconut yogurt (¼ cup) in the sweet potato layer for creaminess. For the custard, substitute the egg yolks with ¼ cup aquafaba whipped to stiff peaks. Ensure your coconut milk is ultra-rich to maintain texture.
Nutrition facts
Frequently asked questions
Why does the haupia custard layer need to cool before the second bake?
The custard must cool completely to room temperature first—this prevents steam buildup during the second bake, which could make the custard layer watery instead of creamy. A warm custard releases moisture when returning to the oven, while cooled custard sets properly with a smooth, velvety texture. Let it sit for 30-45 minutes with occasional stirring to avoid skin formation.
Can I make these squares without pineapple?
The pineapple adds brightness but isn't essential. For a purer sweet potato-coconut flavor, simply omit it and increase the lemon juice to 2 tbsp to maintain acidity. You could also replace it with ½ cup mango purée or 1 tbsp orange zest for alternative tropical notes.
What's the best way to store leftovers?
Wrap the baked squares tightly in plastic wrap, then place in an airtight container. They'll keep in the fridge for 5 days—reheat individual squares in the microwave for 10-15 seconds to restore creaminess. For longer storage, freeze for up to 2 months (thaw overnight in the fridge).
Why did my custard layer turn rubbery?
Overbaking or using low-fat coconut milk are the most common causes. The custard should be just set with slight jiggle when done. For next time, reduce baking time by 5 minutes and use full-fat coconut milk. If it's already baked too firm, try reheating with 2 tbsp coconut cream to restore creaminess.
Can I make this recipe gluten-free?
Yes! Replace the all-purpose flour with 0.25 cup gluten-free 1:1 baking flour and ensure your cornstarch is certified gluten-free. The custard layer remains unaffected since it doesn't contain flour. For extra binding in the sweet potato layer, add 1 tbsp tapioca starch to the dry ingredients.
