Desserts
This McDonald's haupia pie recipe brings the tropical coconut cream magic you know and love straight into your kitchen. The secret lies in creating a perfectly smooth, vibrant coconut pudding filling that's encased in a delicate pie crust, delivering that signature creamy texture and sweet coconut flavor in every bite.
I've replicated the restaurant version through precise ingredient ratios and careful assembly techniques.
The key to authentic haupia pie is balancing the coconut milk and condensed milk just right, then whipping it to that signature fluffy consistency. This recipe uses a simple pie crust that stays tender while supporting the weight of the filling, ensuring it bakes evenly without cracking.
The filling's bright green color comes from natural food coloring, but we'll show you how to achieve it without artificial ingredients if preferred.
What you'll end up with is a pie that looks and tastes like it came from McDonald's—creamy coconut filling with a smooth, jiggly texture that melts in your mouth. The crust stays tender rather than tough, and the filling maintains its vibrant color without turning rubbery.
This is dessert that transports you to a tropical paradise with every forkful.
Perfect for special occasions, potlucks, or when you're craving a taste of Hawaii. The recipe includes tips for achieving that restaurant-quality presentation, including decorative touches that make it look as good as it tastes. Let's get started on creating this tropical treat at home.
Ingredients for haupia pie mcdonald's
Six ingredients make the filling, plus a simple crust. Tropical flavors start here.
| Ingredient | Amount | Notes |
|---|---|---|
| Sweetened Condensed Milk 🥛 | 14 oz | Canned, full-fat preferred |
| Coconut Milk 🥥 | 13 ½ oz | Full-fat canned coconut milk |
| Unsalted Butter 🧈 | ½ cup | Cold, cubed for crust |
| All-Purpose Flour 🌾 | 1 ½ cups | Plus 1 tbsp for dusting |
| Granulated Sugar 🍚 | ¼ cup | For crust sweetness |
| Ice Water 💧 | ¼ cup | Chilled for pie crust |
| Green Food Coloring 🎨 | ¼ tsp | Natural or liquid |
| Vanilla Extract 🌸 | 1 tsp | Pure, high-quality |
| Cornstarch 🌾 | 2 tbsp | For thickening filling |
| Salt 🧂 | ¼ tsp | Fine sea salt |
| Egg Yolks 🥚 | 2 whole | Large, room temperature |
| Shredded Coconut 🥥 | ½ cup | Toasted for topping |
The coconut milk and condensed milk combo is non-negotiable for that signature texture. Grocery store brands like Goya work perfectly for the coconut milk—just shake the can well before opening. For the condensed milk, Dutch process brands like Carnation give a smoother result. The green coloring is key for that McDonald's look. Natural options like spirulina or matcha powder work too, but they might alter the flavor slightly. If you can't find green food coloring, a tiny bit of activated charcoal (food-grade) works in a pinch, but it has a different taste profile.
No green coloring? Spinach puree or avocado paste can tint it green, but they'll change the flavor. The shredded coconut topping can be swapped for toasted coconut flakes if you prefer a finer texture. For the crust, if you don't have butter, coconut oil works too—just chill it first. The egg yolks are crucial for that silky filling texture, but if you're vegan, aquafaba (chickpea brine) works at double the amount. The cornstarch is your thickening secret weapon—don't skip it, or the filling will be too runny.
The filling keeps in the fridge for 5 days if stored in an airtight container, but it's best fresh. The crust can be pre-baked and frozen for up to 2 months—just thaw before adding the filling. For that restaurant look, chill the pie for at least 4 hours before slicing. The filling will firm up nicely, giving you those perfect slices. If you make extra filling, it freezes beautifully for up to 3 months—just thaw overnight in the fridge.
Why You'll Love This Recipe
- Pantry Magic: I swear, this pie only needs five ingredients you already own. No last-minute grocery runs—just open the can of condensed milk, crack open the coconut milk, and let the magic happen.
- Creamy Dream: That velvety coconut layer? It’s like biting into a cloud. The condensed milk and sugar caramelize just enough to give it this addictive, caramelized edge—sweet but not cloying.
- Party in a Pie: Between us, this is my secret weapon for potlucks or family gatherings. It’s easy to slice, travels well, and honestly? No one will guess it’s made with just five ingredients.
- Budget Bliss: A single pie costs me pennies compared to store-bought desserts. The condensed milk and coconut milk stretch far, and the crust? Just flour, butter, and sugar—no fancy shortcuts needed.
Step-by-step instructions for haupia pie
Here's how to recreate that dreamy McDonald's haupia pie at home with creamy coconut perfection.
Prepare the Crust Mixture
In a large bowl, combine the 14 oz sweetened condensed milk, 13.5 oz coconut milk, 2 whole egg yolks, 1 tsp vanilla extract, and 0.25 tsp salt. Whisk until completely smooth and fully blended. This mixture forms the creamy base that gives haupia pie its signature texture. The coconut milk adds richness while the sweetened condensed milk provides that perfect sweetness balance.
Next, add the 2 tbsp cornstarch and whisk vigorously for about 1 minute until fully dissolved. The cornstarch will help thicken the filling just enough to create that ideal creamy consistency without becoming too firm. Here's the thing—don't rush this step. You want the cornstarch to completely integrate so it thickens evenly throughout the pie.
Create the Crust and Assemble the Pie
In a separate bowl, mix together the 1.5 cups all-purpose flour, 0.5 cup unsalted butter (cold and cubed), and 0.25 cup granulated sugar. Using your fingers or a pastry cutter, work the butter into the flour until the mixture resembles coarse crumbs with some pea-sized butter pieces remaining. This creates a tender, flaky crust that contrasts beautifully with the creamy filling.
Press about half of this mixture firmly into the bottom of a 9-inch pie dish, creating an even layer. The crust should be about ¼-inch thick and extend slightly up the sides. Here's the trick—I like to use the bottom of a glass to press it down evenly. Then, pour the creamy filling mixture over the crust. The filling should come up about ½-inch from the crust edge.
Add Color and Complete the Assembly
To the remaining crust mixture, add the 0.25 cup ice water and mix until it forms a dough. Roll this out and cut strips to create a lattice top for your pie. This lattice design allows the filling to peek through while keeping everything contained. Here's where it gets fun—dissolve the 0.25 tsp green food coloring in 1 tablespoon of the filling and drizzle it over the top before adding the lattice.
Arrange the lattice strips over the pie, pressing gently where they overlap. Sprinkle the 0.5 cup shredded coconut evenly over the top for that authentic McDonald's touch. The coconut adds texture and a subtle sweetness that complements the creamy filling perfectly. Bake at 350°F for 45-50 minutes until the filling is set but still jiggly in the center.
Cool and Serve for Perfect Texture
Remove the pie from the oven and let it cool completely at room temperature for at least 2 hours. This cooling period is crucial—it allows the filling to fully set while maintaining that creamy, almost custard-like texture. Real talk: if you cut into it too soon, you'll end up with a runny mess. Patience here makes all the difference.
Once cooled, refrigerate the pie for at least 4 hours or overnight. This chilling step enhances the flavors and gives you that perfect sliceable consistency. When ready to serve, you'll want to cut through the lattice carefully. The pie should have a vibrant green layer on top, a creamy coconut filling, and a buttery crust that holds together beautifully. Serve with a dollop of whipped cream for the full McDonald's experience!
Pro Tips For Making Haupia Pie Mcdonald'S
- Whisk Coconut Milk First: Open the can of coconut milk, scoop out the thick cream from the top, and whisk it vigorously with the condensed milk before adding anything else. I learned this the hard way—skipping it leaves the filling grainy, and nobody wants a lumpy haupia pie.
- Melt Butter Slowly: Warm the butter in the pie crust over low heat until it’s just melted and the edges start to bubble—about 2 minutes. Dumping it in hot can scorch the crust before the filling even sets, and nobody wants a burnt bottom while the top’s still jiggly.
- Skip the Overmixing: Once you add the flour to the coconut-condensed milk mix, stir just until combined—no more than 10 seconds. Overmixing turns the filling gluey, and that’s how you end up with a pie that wobbles like Jell-O instead of slicing cleanly.
- Chill Before Slicing: Let the pie cool to room temperature, then refrigerate for at least 3 hours—yes, even if you’re impatient. Cutting it too soon means the filling runs everywhere, and you’ll spend more time mopping than serving. Trust me, the wait makes the pie hold its shape.
Serving suggestions for this haupia pie mcdonald's
Classic Presentation Tips
Serve your haupia pie on a white ceramic plate to make the vibrant green filling stand out—just like at McDonald's. I like to add a small dollop of homemade whipped cream (or store-bought like Reddi-wip) on top of each slice.
For that restaurant touch, garnish with extra toasted coconut flakes and a sprinkle of powdered sugar using a fine-mesh sieve. 🥥
Portioning Like a Pro
Cut the pie into 6 equal wedges using a hot knife (dip in hot water and wipe dry between cuts) for clean slices. The lattice crust makes this easier—just slice through the middle of each lattice strip.
Serve each portion with a small plastic fork (like McDonald's) or elegant dessert spoons for that nostalgic feel. Portion the filling generously—about 1.5 tbsp per slice—to capture that creamy texture.
Creamy Toppings Guide
For extra indulgence, add a drizzle of caramel sauce (like Smucker's) or a light sprinkle of crushed pineapple on the side. I also love serving it with chilled coconut milk for dipping—just pour a small amount into a mini coconut shell cup for presentation.
The contrast of warm pie and cool coconut milk is divine. Avoid heavy toppings like ice cream, as they can make the pie soggy.
Themed Serving Ideas
Transform your dessert into a tropical luau by serving on a banana leaf or palm leaf plate for an authentic Hawaiian vibe. Add edible flowers (like hibiscus or orchids) as garnishes.
For a McDonald's throwback, serve with a mini plastic cup of coconut milk on the side and a paper straw. The key is balancing presentation with practicality—your guests should enjoy eating it as much as looking at it. 🌺
Make-Ahead Serving
Haupia pie tastes even better the next day, so prepare it a day in advance for gatherings. Store leftovers in an airtight container in the fridge for up to 5 days. When ready to serve, let slices sit at room temperature for 5-10 minutes before presenting.
This helps the filling soften slightly for easier cutting. For parties, assemble the pie in individual ramekins (like 6-ounce ceramic cups) so guests can enjoy their own portion without sharing.
Kid-Friendly Serving
Kids love haupia pie, so make it extra fun with colorful serving trays or themed plates. Use cookie cutters to shape the crust into fun shapes (like stars or hearts) before baking. Serve with mini spoons or fun-shaped picks for dipping.
For a build-your-own twist, set out small bowls of extra coconut flakes, powdered sugar, and whipped cream so kids can decorate their own slices. 🧒
Nutrition facts
Frequently asked questions
Why does McDonald's haupia pie have a green layer on top?
The vibrant green layer is a signature McDonald's touch that adds visual appeal. It's made by dissolving green food coloring in a small amount of the filling and drizzling it over the top before baking. This creates a colorful contrast with the creamy coconut filling below. The color also signals the tropical coconut flavor inside.
Can I make this haupia pie without a lattice crust?
Yes, but the lattice adds authenticity and visual appeal. If you prefer a simpler approach, use a full top crust or even a simple crumb topping made with 1/2 cup flour, 1/4 cup sugar, and 1/4 cup cold butter mixed and sprinkled over the filling before baking. The flavor will still be delicious!
How do I fix a runny haupia pie filling?
If your filling turns out too runny, it likely didn't thicken enough. For future attempts, whisk the cornstarch into the filling for a full 2 minutes to ensure proper thickening. If you already baked it, chill the pie completely in the fridge for 4+ hours—this helps the filling firm up. For immediate fixes, serve with extra whipped cream to balance the texture.
Is haupia pie the same as coconut cream pie?
Not exactly! While both use coconut, haupia pie has a distinct texture and flavor profile. The McDonald's version uses a specific ratio of condensed milk to coconut milk (14 oz to 13.5 oz) plus egg yolks and cornstarch, creating that signature creamy, jiggly consistency. Regular coconut cream pie often uses just coconut cream and sugar, resulting in a denser texture. The green coloring and lattice crust also make haupia pie unique.
Can I make haupia pie ahead of time?
This pie actually tastes better after resting. Assemble the pie 1 day ahead and refrigerate uncovered for 24 hours to let flavors meld. For longer storage, bake the crust only, freeze it, then add filling and bake fresh when ready. The filling can also be made 3 days ahead and stored in an airtight container in the fridge.
