Craving a dessert that feels like a tropical getaway in every bite? This coconut cream pie is the answer to your sweet tooth dreams.
This recipe captures the nostalgia of classic diner-style pies while adding a modern twist with its creamy coconut custard and irresistible marshmallow meringue topping.
It’s a show-stopping treat perfect for any occasion, whether you’re entertaining guests or indulging in a quiet night at home.
The Allure of Coconut Cream Pie

Coconut cream pie has a rich history, traditionally made with coconut milk to achieve its silky texture. This version stays true to its roots, delivering a custard that balances sweetness and nuttiness with just a hint of spice from cardamom or cinnamon.
This dessert recipe is elevated further with toasted marshmallow meringue, creating a luxurious finish that will have everyone reaching for seconds.
What makes this pie stand out is its versatility. It can shine as the centerpiece of a holiday dessert table or as a comforting treat on an ordinary weeknight.
The addition of shredded coconut gives it a chewy texture that complements the creamy custard perfectly.
Tips for Perfecting the Custard
The heart of this dessert is its coconut custard, made with a blend of brown sugar, coconut milk, and egg yolks. For the best results, whisk continuously over medium heat to prevent any lumps and ensure a smooth, velvety texture.
The secret lies in cooking it just until it thickens—overcooking can compromise its creamy consistency.
To enhance the flavor, consider swapping cinnamon for cardamom if you’re looking for a more exotic twist. And don’t forget the vanilla extract, which ties everything together with its warm, aromatic sweetness.
Once prepared, let the custard cool in the crust until it forms a skin, setting the stage for the marshmallow meringue topping.
Elevating the Pie with Marshmallow Meringue

The toasted marshmallow meringue isn’t just a topping; it’s a statement. Spread it generously over the cooled custard, ensuring it reaches the edges of the crust.
Use a fork or spatula to create decorative swirls, then bake until lightly browned for that signature toasty flavor.
For an extra touch, sprinkle shredded coconut over the meringue before baking. It adds a visual appeal while enhancing the coconut theme of the pie. The result is a dessert that looks as good as it tastes.
Creative Variations for Every Taste
This recipe offers endless possibilities for customization. If you’re a chocolate lover, try the “Malted White Chocolate” variation mentioned in the mix-it-up section.
Replace coconut milk with plain milk and incorporate white chocolate for a completely different, but equally delightful, flavor profile.
For those following specific dietary preferences, you can make this recipe gluten-free by using a gluten-free pie crust. Vegan options are also possible by substituting coconut milk for dairy and using a plant-based meringue alternative.
Serving & Storage Tips
This coconut cream pie is best served slightly chilled, making it an ideal make-ahead dessert for gatherings. Slice it with a chef’s knife rinsed under hot water to ensure clean cuts every time.
Leftovers can be covered in plastic wrap and stored in the refrigerator for up to a week—though it’s unlikely they’ll last that long!
Pair this pie with a steaming mug of black coffee or a chilled glass of coconut milk for a truly indulgent experience. It’s a dessert that transports you to a tropical paradise with every bite.
Why You Need This Recipe in Your Collection

From its rich coconut custard to the show-stopping marshmallow meringue, this coconut cream pie is a dessert recipe that delivers on every front. It’s a perfect blend of classic and contemporary flavors, making it a must-have addition to your repertoire of recipes.
With its bold flavors and stunning presentation, it’s more than just a dessert—it’s an experience worth savoring.

Coconut Cream Pie Dessert Recipe
Ingredients
Coconut Custard
- 1/2 cup light brown sugar
- 1/2 cup white sugar
- 1/3 cup cornstarch
- 1/8 tsp kosher salt
- 1/2 tsp ground cardamom or cinnamon
- 1/2 cup egg yolks about 8 large eggs; save whites for meringue
- 3 1/2 cups unsweetened full-fat coconut milk
- 1 1/3 cups sweetened shredded coconut plus more for garnish
- 2 tsp vanilla extract
Assembly
- 1 fully baked 9-inch pie crust
- 1 recipe Marshmallow Meringue
Instructions
Prepare the Custard
- In a saucepan, whisk together brown sugar, white sugar, cornstarch, salt, and cardamom. Gradually whisk in the egg yolks and coconut milk until smooth.
- Place over medium-low heat and cook, whisking constantly, until steaming, about 5 minutes. Raise heat to medium and continue whisking until the mixture thickens, about 5 minutes. When the custard begins to bubble, cook for 2 additional minutes to neutralize the egg yolks.
- Remove from heat and stir in vanilla extract and shredded coconut.
- Pour into the prepared pie crust and let cool at room temperature until a skin forms, about 30 minutes. Cover with plastic wrap and refrigerate for at least 4 hours or up to 24 hours.
Finish the Pie
- Preheat the oven to 375°F. Spread the prepared Marshmallow Meringue evenly over the chilled custard, making sure it touches the edges of the crust.
- Sculpt peaks and swirls in the meringue using the back of a spoon or a spatula.
- Bake until the meringue is lightly browned, about 20 minutes. Let the pie cool at room temperature for 1 hour, then refrigerate until fully chilled, about 4 hours.
Notes
- For easier slicing, rinse your knife under hot water between cuts.
- Store leftovers in the refrigerator for up to 1 week.
Davin is a jack-of-all-trades but has professional training and experience in various home and garden subjects. He leans on other experts when needed and edits and fact-checks all articles. Also an aspiring cook we he researches and tries all kinds of different food recipes and shares what works best.

