Purple Sweet Potato Pie with Coconut Topping (Haupia)

30 min prep 5 min cook 20 servings
Purple Sweet Potato Pie with Coconut Topping (Haupia)
Save This Recipe!
Click to save for later - It only takes 2 seconds!

The first time I sliced a purple sweet potato, the kitchen was already humming with the low‑key chatter of a Sunday afternoon. The deep violet flesh glimmered like a jewel under the kitchen light, and as I lifted the heavy tuber, a faint earthy scent rose, promising something both comforting and exotic. I remember the sound of my grandmother humming a Hawaiian lullaby while she boiled the potatoes, the steam swirling around us like a soft veil of nostalgia. When the mash was finally smooth, I poured a splash of coconut milk into the bowl, and the aroma instantly transformed the room into a tropical breeze meeting a cool autumn evening. That moment sparked the idea for a pie that would marry the velvety sweetness of purple sweet potatoes with the silky, coconut‑rich haupia topping I grew up loving.

Fast forward a few years, and that humble experiment has become a family favorite that shows up at every holiday gathering, birthday celebration, and even casual Friday night dinner. The pie’s striking violet crust is a show‑stopper, while the creamy coconut topping adds a whisper of island sunshine that makes everyone pause, stare, and then dive in with a fork. Imagine the first bite: the buttery crust gives way to a silky, sweet‑spiced filling, and then the cool, slightly firm coconut haupia finishes the experience with a gentle snap that’s both refreshing and indulgent. It’s the kind of dessert that makes you want to linger at the table, swapping stories and savoring each mouthful as if time itself had slowed down just for this moment.

But there’s more to this pie than just looks and taste. The recipe balances nutrition and indulgence, using the antioxidant‑rich purple sweet potato as a base, while the coconut components provide healthy fats that keep you feeling satisfied longer. Have you ever wondered why the texture feels so luxuriously smooth compared to a regular pumpkin pie? The secret lies in the precise combination of starches and coconut milk, which we’ll uncover in a moment. And trust me, there’s a trick in step four that will turn a good pie into a masterpiece—so keep reading, because you’ll want to try it before your next gathering.

Here’s exactly how to make it — and trust me, your family will be asking for seconds. From selecting the perfect sweet potatoes to mastering the perfect haupia glaze, every detail matters, and I’ll walk you through each one with the kind of hands‑on guidance that feels like a friend leaning over your shoulder. Ready to bring a splash of color and a wave of flavor to your table? Let’s dive into the why, the what, and the how, and by the end you’ll have a pie that’s as unforgettable as the first time you tasted it.

🌟 Why This Recipe Works

  • Flavor Depth: The natural sweetness of purple sweet potatoes pairs beautifully with warm spices like cinnamon, nutmeg, and ginger, creating a layered flavor profile that deepens as the pie cools. The subtle earthiness of the potatoes is balanced by the bright, tropical notes of coconut, making each bite feel both familiar and exotic.
  • Texture Harmony: The creamy filling is achieved by blending mashed sweet potatoes with coconut milk and cornstarch, resulting in a silky custard that sets perfectly without becoming gummy. The haupia topping adds a contrasting cool firmness that snaps gently under the fork, offering a delightful textural surprise.
  • Ease of Execution: While the pie looks impressive, the steps are straightforward and forgiving; even a novice baker can achieve professional‑grade results with a few simple techniques. Most of the work involves mixing and baking, so you can spend more time chatting with guests than worrying about the oven.
  • Time Efficiency: From prep to finish, the pie takes under an hour, making it an ideal dessert for last‑minute gatherings or planned celebrations alike. The haupia topping can be prepared while the pie bakes, maximizing your kitchen workflow.
  • Versatility: This pie can be served warm with a dollop of whipped cream, chilled for a firmer texture, or even layered with fresh tropical fruits for a tropical parfait twist. The recipe also lends itself to mini‑pie or tart variations, perfect for potlucks.
  • Nutrition Boost: Purple sweet potatoes are packed with anthocyanins, fiber, and vitamins A and C, while coconut milk contributes medium‑chain triglycerides that support quick energy. The result is a dessert that feels indulgent yet offers a nutritional edge over traditional pies.
  • Ingredient Quality: By using fresh, high‑quality coconut milk and real purple sweet potatoes, you ensure a vibrant color and authentic flavor that store‑bought mixes simply can’t replicate. The difference is noticeable in every bite, turning a simple dessert into a culinary experience.
  • Crowd‑Pleasing Factor: The striking violet hue catches the eye, while the coconut topping evokes a sense of exotic adventure, making it a conversation starter at any gathering. Even picky eaters are drawn in by the beautiful presentation and subtle, sweet taste.
💡 Pro Tip: For an ultra‑smooth filling, pass the mashed sweet potatoes through a fine‑mesh sieve before mixing with the liquids. This extra step removes any fibrous bits and guarantees a custard‑like texture that glides across the palate.

🥗 Ingredients Breakdown

The Foundation: Sweet Potato & Coconut Base

Purple sweet potatoes are the heart of this pie, providing natural sweetness, a stunning violet color, and a wealth of antioxidants. Choose firm, unblemished tubers that feel heavy for their size; the heavier they are, the more moisture they contain, which translates to a richer filling. After boiling, let them steam dry for a few minutes before mashing—this prevents excess water from making the custard runny. If you can’t find purple varieties, deep orange sweet potatoes work in a pinch, but you’ll miss out on the striking color that makes this pie a visual centerpiece.

Coconut milk and coconut cream are the twin pillars that bring the tropical flair and silkiness to the filling. Coconut milk adds a subtle sweetness and a light, creamy consistency, while coconut cream contributes depth and a buttery mouthfeel. For the best flavor, opt for full‑fat canned coconut milk and cream rather than the low‑fat carton versions, which can taste watery and lack the luxurious texture we’re after. If you’re aiming for a dairy‑free version, these ingredients are already perfect, but you can also substitute with almond or cashew cream for a nutty twist.

Aromatics & Spices: Warmth in Every Bite

A classic blend of cinnamon, nutmeg, and ginger adds warmth that complements the sweet potato’s earthiness and the coconut’s richness. Cinnamon brings a familiar, comforting note that many associate with holiday desserts, while nutmeg adds a subtle, slightly sweet pine flavor that elevates the overall profile. Ground ginger introduces a gentle zing that cuts through the sweetness, ensuring the pie never feels cloying. Freshly ground spices are essential; they release essential oils that intensify aroma, so grind them just before using for maximum impact.

A pinch of salt may seem trivial, but it’s the secret behind unlocking the flavors of the sweet potato and coconut. Salt balances the sugar, enhances the spices, and brings out the natural depth of the purple flesh. Think of it as the conductor that brings all the ingredients together into a harmonious symphony—without it, the pie would feel flat and one‑dimensional.

The Secret Weapons: Starches & Binding Agents

Cornstarch is the unsung hero that ensures the filling sets beautifully without becoming grainy. It acts as a thickening agent, binding the liquid components while preserving the smooth, custard‑like texture we crave. Use a tablespoon of cornstarch for every two cups of mashed sweet potatoes; this ratio gives you a firm yet melt‑in‑your‑mouth consistency. If you prefer a gluten‑free option, you can swap cornstarch for arrowroot powder, which behaves similarly under heat.

Eggs provide structure and richness, creating a custard that holds together once baked. The proteins in the eggs coagulate as the pie bakes, giving the filling a firm yet tender bite. For a vegan version, replace the eggs with a mixture of 1 tablespoon chia seeds soaked in 3 tablespoons water per egg, which mimics the binding properties without compromising flavor.

Finishing Touches: The Haupia Topping & Toasted Coconut

Haupia, the classic Hawaiian coconut pudding, is transformed into a glossy, firm topping that crowns the pie with a tropical flourish. It’s made from coconut milk, sugar, cornstarch, and a dash of salt, cooked until thick, then poured over the baked filling to set. The result is a cool, slightly firm layer that contrasts beautifully with the warm, spiced interior.

Toasted shredded coconut adds a nutty aroma and a delicate crunch that rounds out the texture profile. Toast the coconut in a dry skillet over medium heat, stirring constantly until it turns golden brown and releases a fragrant, toasty scent. This final garnish not only adds visual appeal but also introduces a subtle crunch that keeps each bite interesting from start to finish.

🤔 Did You Know? Purple sweet potatoes contain anthocyanins—powerful antioxidants also found in blueberries—that give them their vibrant color and may support heart health.

With your ingredients prepped and ready, let's get cooking. Here's where the fun really begins, and trust me, you’ll want to stay tuned for the secret step that makes the haupia topping shine like a polished gemstone.

Purple Sweet Potato Pie with Coconut Topping (Haupia)

🍳 Step-by-Step Instructions

  1. Preheat your oven to 350°F (175°C) and place a rack in the middle position. While the oven warms, roll out your 9‑inch pie crust and gently press it into a 9‑inch pie dish, ensuring the edges are even. Dock the crust with a fork to prevent bubbling, then set it aside while you prepare the filling. Here’s the thing: a well‑prepped crust creates a buttery barrier that keeps the sweet potato filling from soaking in too much moisture, preserving that perfect crumbly texture.

  2. Boil the purple sweet potatoes whole until they’re fork‑tender, about 20‑25 minutes. Once cooked, drain and let them cool just enough to handle—this is where the aroma of earthy sweetness fills your kitchen, making you wonder how something so humble can be so magical. Peel the skins, then mash them until completely smooth, or pass them through a sieve for an ultra‑silky base. Trust me on this one: the smoother the mash, the smoother the final custard.

    💡 Pro Tip: If you’re short on time, you can microwave the sweet potatoes for 8‑10 minutes, turning halfway, to achieve a similar tenderness.
  3. In a large mixing bowl, combine the mashed sweet potatoes, 3/4 cup granulated sugar, 2 large eggs, 1 teaspoon vanilla extract, 1/2 cup coconut milk, and 1/2 cup coconut cream. Whisk until the mixture is uniform and glossy, noting how the coconut milk adds a subtle sheen that hints at the tropical finish. Add 1 tablespoon cornstarch, 1/2 teaspoon ground cinnamon, 1/4 teaspoon ground nutmeg, 1/4 teaspoon ground ginger, and a pinch of salt. The spices should swirl into the mixture, releasing their fragrant oils—take a moment to inhale that warm, inviting scent.

  4. Pour the filling into the prepared crust, smoothing the top with a spatula. Now, here’s where it gets interesting: place the pie on a baking sheet to catch any drips, and bake for 30‑35 minutes, or until the edges are set and the center jiggles just slightly when you shake the pan. The surface should turn a light golden hue, and you’ll hear a faint crackle as the sugars caramelize. But wait until you see the secret trick in step 4 that will turn this golden top into a glossy masterpiece.

    ⚠️ Common Mistake: Over‑baking can cause the filling to dry out and become grainy. Keep a close eye on the timer and test with a toothpick—if it comes out clean, the pie is done.
  5. While the pie bakes, prepare the haupia topping. In a saucepan, whisk together 1 cup coconut milk, 1/4 cup sugar, 2 tablespoons cornstarch, and 1/4 teaspoon salt until smooth. Cook over medium heat, stirring constantly, until the mixture thickens and becomes translucent—this usually takes about 5‑7 minutes. Once thick, remove from heat and let it cool for a few minutes; it should be thick enough to coat the back of a spoon but still pourable.

    💡 Pro Tip: For an extra coconut boost, replace 1/4 cup of the coconut milk with coconut cream; this yields a richer, creamier haupia.
  6. When the pie is done, remove it from the oven and immediately pour the warm haupia topping over the hot sweet potato filling, starting from the center and letting it flow outward. The heat from the pie will gently set the haupia, creating a glossy, firm layer that glistens like a tropical lagoon. Use a spatula to smooth the surface if needed, but don’t over‑mix—the haupia should retain a slight ripple for visual interest.

  7. Transfer the pie to a wire rack and let it cool completely, at least 2 hours, before refrigerating. This cooling period allows the filling and haupia to set fully, resulting in clean, crisp slices. While you wait, toast the shredded coconut in a dry skillet over medium heat, stirring constantly until it turns a deep golden brown and releases a nutty fragrance. The toasted coconut will add a delightful crunch and a final aromatic note that ties the whole dish together.

  8. Before serving, sprinkle the toasted coconut evenly over the top, and optionally garnish with a light dusting of cinnamon or a few fresh mint leaves for a pop of color. Slice with a sharp knife dipped in hot water for clean cuts, and watch the violet interior reveal itself like a hidden treasure. Serve the pie chilled or at room temperature, depending on your preference—both ways are delicious, but the chilled version highlights the firm haupia texture, while the warm version emphasizes the custard’s silkiness. The result? A dessert that looks as spectacular as it tastes, leaving your guests raving for days.

💡 Pro Tip: For a flawless slice, dip your knife in hot water, wipe it dry, and slice swiftly. The heat prevents the knife from sticking to the creamy filling.

And there you have it! But before you dig in, let me share some tips that will take this from great to absolutely unforgettable. These little adjustments and mindful practices will ensure every bite sings with flavor and texture, and they’re the kind of insider knowledge that turns a good cook into a true pie virtuoso.

🔐 Expert Tips for Perfect Results

The Taste Test Trick

Before you pour the haupia topping, taste the sweet potato filling. Adjust the sugar or spices at this stage, because the heat of the oven will concentrate flavors. If it feels a touch too sweet, a pinch more salt can balance it; if it’s missing depth, a dash more cinnamon or a splash of rum extract adds intrigue. Trust me, this small adjustment makes a huge difference in the final flavor harmony.

Why Resting Time Matters More Than You Think

Allowing the pie to rest for at least two hours after baking is crucial. During this time, the starches fully gelatinize, and the haupia sets into a firm yet tender layer. Skipping this step results in a sloppy slice that loses its shape, and you’ll miss out on the beautiful contrast between the creamy interior and the firm topping. Patience truly pays off here.

The Seasoning Secret Pros Won’t Tell You

Professional pastry chefs often add a pinch of smoked paprika to sweet potato desserts for a subtle, smoky undertone that deepens the flavor. It sounds unconventional, but the faint smokiness pairs wonderfully with the coconut’s sweetness, creating a complex profile that surprises the palate. Try it once—you’ll be amazed at how it elevates the dish.

Coconut Milk vs. Coconut Cream: The Balance

Using equal parts coconut milk and coconut cream creates a balanced richness without becoming overly heavy. If you prefer a lighter version, substitute half of the coconut cream with low‑fat coconut milk, but be aware you’ll lose some of that buttery mouthfeel. Conversely, for an ultra‑indulgent treat, swap the milk entirely for cream and add a splash of coconut water to keep it from getting too dense.

How to Achieve the Perfect Crust

Blind‑bake the crust for 8‑10 minutes before adding the filling if you love a super‑crisp bottom. This step prevents the crust from becoming soggy, especially important when the filling is particularly moist. Brush the crust lightly with an egg wash (one egg beaten with a tablespoon of water) before blind‑baking to achieve a golden, glossy finish that adds visual appeal.

The Final Garnish: More Than Just Looks

A sprinkle of toasted coconut not only adds crunch but also imparts a nutty aroma that complements the sweet potato’s earthiness. For an extra burst of freshness, shave a few curls of dark chocolate over the top; the bittersweet notes contrast beautifully with the sweet and coconut flavors. I once served this pie with a dollop of lime‑infused whipped cream, and the citrus zing cut through the richness, making the dessert feel lighter.

💡 Pro Tip: If you’re making the pie ahead of time, store the haupia topping separately and add it just before serving to maintain its glossy texture.

🌈 Delicious Variations to Try

One of my favorite things about this recipe is how versatile it is. Here are some twists I've tried and loved:

Tropical Fruit Fusion

Fold diced fresh mango, pineapple, or passion fruit into the sweet potato filling before baking. The fruit adds juicy bursts of acidity that brighten the dense custard, creating a lively contrast. This variation is perfect for summer gatherings when you want a dessert that feels both refreshing and indulgent.

Chocolate‑Swirl Delight

Swirl in 2 tablespoons of melted dark chocolate into the filling just before pouring it into the crust. The chocolate ribbons create a beautiful visual effect and add a bittersweet depth that pairs wonderfully with the coconut topping. Serve with a dusting of cocoa powder for an elegant finish.

Spiced Rum Infusion

Add a tablespoon of dark rum and a pinch of allspice to the filling for an adult‑only version that feels like a holiday cocktail in dessert form. The rum amplifies the warm spices and adds a subtle caramel note, making the pie an ideal after‑dinner treat for special occasions.

Nutty Crunch Variation

Incorporate toasted chopped macadamia nuts or pecans into the crust or sprinkle them over the haupia topping. The nuts introduce a buttery crunch that complements the coconut and adds an extra layer of texture. This version is especially popular with guests who love a bit of crunch in their desserts.

Vegan & Gluten‑Free Makeover

Swap the pie crust for a gluten‑free almond‑flour crust and replace the eggs with a chia‑egg mixture (1 tbsp chia seeds + 3 tbsp water per egg). Use full‑fat coconut cream and coconut milk to maintain richness. The result is a plant‑based version that still delivers the same vibrant color and luxurious mouthfeel.

Mini Pie Pops

Divide the batter among silicone muffin tins for individual servings, then top each with haupia and toasted coconut. These bite‑size treats are perfect for parties, allowing guests to sample the pie without committing to a full slice. They also freeze well, making them a convenient make‑ahead dessert.

📦 Storage & Reheating Tips

Refrigerator Storage

Cover the pie loosely with aluminum foil or store it in an airtight container and refrigerate for up to 4 days. The haupia topping will stay firm, and the sweet potato filling retains its silky texture when chilled. Before serving, let the pie sit at room temperature for 20‑30 minutes to soften slightly, enhancing the flavor release.

Freezing Instructions

Wrap the fully cooled pie tightly in plastic wrap, then in a layer of foil, and freeze for up to 2 months. When ready to enjoy, thaw it in the refrigerator overnight, then reheat gently if desired. The haupia may become slightly softer after freezing, but a quick flash of the oven will restore its glossy firmness.

Reheating Methods

To reheat without drying out, place a slice on a microwave‑safe plate, sprinkle a teaspoon of water around the edges, and cover with a damp paper towel. Heat in 30‑second intervals until warm, or reheat the whole pie in a 300°F (150°C) oven for 10‑12 minutes, tented with foil to protect the topping. The trick to reheating without drying it out? A splash of coconut milk brushed over the surface before warming adds moisture and restores shine.

❓ Frequently Asked Questions

Yes, you can substitute orange sweet potatoes, but you’ll lose the striking violet color that makes this pie unique. The flavor profile remains similar, though you might want to add a few drops of natural food coloring if you still want that dramatic hue. The texture and sweetness will be just as delightful.

Pre‑baking (blind‑baking) isn’t required, but it does help prevent a soggy bottom, especially if you’re using a wetter filling. If you choose to blind‑bake, line the crust with parchment paper, add pie weights, and bake for 8‑10 minutes before adding the filling.

Absolutely! Prepare the haupia a day in advance and store it in an airtight container in the fridge. When you’re ready to assemble the pie, gently reheat the haupia over low heat, stirring until it’s pourable, then drizzle it over the baked sweet potato filling.

A gluten‑free almond‑flour crust works beautifully; combine almond flour, coconut flour, a pinch of salt, melted butter, and a touch of honey, then press into the pan and bake for 8 minutes before adding the filling. You can also use a pre‑made gluten‑free graham cracker crust for convenience.

Avoid over‑baking; the center should still have a slight wobble when you gently shake the pan. Also, make sure the sweet potatoes are well‑mashed and the cornstarch is fully dissolved to create a smooth custard that sets evenly without cracking.

Yes, you can swirl in a quarter cup of heavy cream or cream cheese into the filling for an extra creamy texture. Just be mindful of the added calories and adjust the sugar slightly if you prefer a less sweet final product.

Fresh coconut milk can be used, but it often contains more water, which can make the filling too runny. If you go with fresh, reduce the amount slightly and add a bit more cornstarch to compensate for the extra liquid.

Serve chilled or at room temperature, topped with a dollop of whipped coconut cream and a sprinkle of toasted coconut. For an extra touch, add a few fresh berries or a drizzle of passion‑fruit sauce for a pop of acidity that balances the sweet, creamy flavors.
Purple Sweet Potato Pie with Coconut Topping (Haupia)

Purple Sweet Potato Pie with Coconut Topping (Haupia)

Homemade Recipe

Prep
15 min
Pin Recipe
Cook
30 min
Total
45 min
Servings
4-6

Ingredients

Instructions

  1. Preheat oven to 350°F (175°C). Prepare the pie crust in a 9‑inch pie dish, dock the bottom, and set aside.
  2. Boil purple sweet potatoes until tender, peel, and mash until completely smooth.
  3. In a bowl, combine mashed sweet potatoes, sugar, eggs, vanilla, coconut milk, coconut cream, cornstarch, cinnamon, nutmeg, ginger, and salt. Whisk until glossy.
  4. Pour filling into crust and bake for 30‑35 minutes, until edges are set and the center jiggles slightly.
  5. While pie bakes, whisk together coconut milk, sugar, cornstarch, and salt for the haupia. Cook over medium heat, stirring, until thickened.
  6. When pie is done, pour the warm haupia topping over the hot filling, allowing it to set.
  7. Cool the pie completely, then toast shredded coconut in a dry skillet until golden. Sprinkle on top.
  8. Refrigerate for at least 2 hours before serving. Slice with a hot, damp knife for clean cuts.

Nutrition per Serving (estimate)

350
Calories
5g
Protein
45g
Carbs
20g
Fat

You May Also Like

Discover more delicious recipes

Never Miss a Recipe!

Get our latest recipes delivered to your inbox.