Coconut Cream Pie
This post may contain affiliate links. As an Amazon Associate I earn from qualifying purchases. Please read my disclosure policy.
This Coconut Cream Pie is rich, silky, and packed with real coconut flavor! It has a buttery flaky crust, a thick homemade coconut custard, and a fluffy homemade whipped cream topping finished with toasted coconut. It’s the perfect pie for Easter dessert or any spring and summer party!

Each slice looks like a show stopper with its perfectly thickened custard, homemade whipped cream, and toasted coconut!
Why You’ll Love This Coconut Cream Pie
- Made with homemade coconut custard
- Perfect make-ahead dessert for Easter or any spring and summer get together.
- Loaded with coconut flavor thanks to the coconut milk and shredded coconut.
- Light, creamy texture that slices beautifully
Ingredients

See the recipe card at the bottom of the post for all ingredients and quantities.
Pie Crust – You can use your favorite or my favorite homemade pie crust recipe or a store-bought pie crust. As long as it’s big enough for a 9-inch pie plate, you’re all set.
Whole Milk & Coconut Milk – The combination gives the filling richness while adding that delicious coconut flavor.
Cornstarch – This is the thickener for the custard. It’s a must if you want your custard to set.
Eggs – Use large eggs for this recipe. We whip them up in a hand mixer with the sugar and cornstarch and then temper them so they don’t turn into scrambled eggs.
Salt – This helps balance out the sweetness in the pie.
Sweetened Shredded Coconut – The shredded coconut is used in both the filling and as a topping. You can toast it all or leave the coconut for the filling untoasted like I did. It’s up to which texture you prefer.
Substitutions and Variations
- For extra coconut flavor, you can add 1/2 to 1 teaspoon of coconut extract to the filling or whipped cream.
- You can substitute the coconut milk for whole milk or the whole milk for coconut milk in this recipe.
- You can toast the coconut for the filling. I have a tutorial on how to toast coconut that you can refer to.
- If needed, you can substitute the cornstarch with flour. I read you’ll use 2 tablespoons of flour to 1 tablespoon of cornstarch. I haven’t tried it, but it should work fine.
- You can use thawed whipped topping if you don’t want to make your own whipped cream for the top.
NOTE: This recipe has not been tested with other substitutions or variations
How to Make Coconut Cream Pie

Step 1: Heat the butter, whole milk, and coconut milk until melted.
Step 2: In a bowl, beat together the sugar, cornstarch, and eggs until pale in color.
Step 3: Slowly whisk the hot milk into the egg mixture, then return back to the saucepan and cook until thick.
Step 4: Stir in vanilla and salt, cover, and chill for at least 2 hours.

Step 5: Roll out the pie crust, place it in a 9-inch pie plate, crimp the edges, and bake until golden. Let cool completely.
Pro Tip: Use parchment paper and pie weights to blind bake the pie crust and prevent the crust from falling down the sides.
Step 6: Fold the shredded coconut into the chilled custard and pour the custard into the cooled pie crust. Spread it out evenly. Pop it back in the fridge while you make the topping.
Step 7: Beat the heavy cream, powdered sugar, and vanilla extract until stiff peaks form.
Step 8: Spread the homemade whipped cream over the filling and sprinkle the top with toasted coconut. Chill for at least 2 additional hours before serving.

Tips for Best Results
- Whisk constantly when cooking the custard to avoid lumps or burning.
- Very slowly add the hot milk to the eggs while whisking the entire time. This is very important!
- Press plastic wrap directly on the custard to prevent a skin from forming.
- Let the crust cool completely before filling.
- Chill the pie long enough so the pie slices cleanly.
How to Store and Freeze
To store this pie, cover with plastic wrap or place in an airtight container in the refrigerator for up to 4 days.
You can freeze the pie without the whipped cream on top. Wrap the pie tightly with two layers of plastic wrap and a layer of heavy-duty aluminum foil and freeze for up to 2 months. Thaw in the refrigerator overnight and add fresh whipped cream on the top before serving.
Recipe FAQs
Yes! It’s actually better when made ahead since it needs time to chill and set up. You can definitely make it the day before you plan on serving it.
It’s likely that it didn’t cook long enough. It should be thick like pudding before removing it from the heat. You’ll be able to see the lines from the whisk in the custard as you whisk.
More Creamy Desserts
If you love this coconut cream pie, try these next:
If you try this recipe, be sure to leave a rating below and also share it on Instagram, and tag me! You can also find me on Facebook and stay up to date on recipe releases by joining the Newsletter!

Coconut Cream Pie
SAVE THIS RECIPE
Ingredients
Filling
- 1 pie crust store-bought or homemade
- 3 tablespoons butter
- 1 ½ cups whole milk
- 14 ounces coconut milk
- 1 cup granulated sugar
- 6 tablespoons cornstarch
- 3 large eggs
- 2 teaspoons vanilla extract
- ¼ teaspoon salt
- 1 cup sweetened shredded coconut
Topping
- 1 cup heavy whipping cream
- ¼ cup powdered sugar
- 1 teaspoon vanilla extract
- ½ cup sweetened shredded coconut toasted
Instructions
Filling
- In a medium saucepan, add the 3 tablespoons butter, 1 ½ cups whole milk, and 14 ounces coconut milk. Place over medium heat and let the butter melt into the milk.
- While the butter is melting, in a separate bowl, add the 1 cup granulated sugar, 6 tablespoons cornstarch, and 3 large eggs. Beat with a hand mixer on medium speed for about 5 minutes until it becomes pale yellow and fluffy.
- Once the butter is fully melted, very slowly add the hot milk mixture into the egg mixture while constantly whisking. This is tempering the eggs to avoid scrambling the eggs. Continue to whisk until completely combined.
- Pour the custard back into the medium saucepan.
- Place back over medium heat and stir constantly until a thick pudding is formed. This will take about 6-7 minutes.
- Once the custard has thickened, pour into a heat-safe bowl and add the 2 teaspoons vanilla extract and ¼ teaspoon salt. Whisk together until combined.
- Cover with custard with plastic wrap. Gently press the plastic wrap down until it touches the top of the custard, so a skin doesn’t form on the top.
- Place in the fridge for at least 2 hours.
- About 10 minutes before the custard is done chilling, preheat the oven to 425 degrees F.
- Place the 1 pie crust onto a lightly floured surface and roll out into a 12 inch circle.
- Once your circle is rolled out, fold the dough in half and pick it up and place into a 9 inch pie plate. Unfold the dough and gently push the dough into the bottom and sides, working out all of the folds.
- Trim the crust that hangs over the side of the pie plate so there’s only ½ inch of overhang.
- Tuck the ½ inch of pie crust that hangs over the side of the pie plate underneath the crust and crimp the edges with your fingers or a fork.
- Place in the preheated oven and bake for 10-12 minutes until golden brown, then remove and let cool.
- Remove the custard filling from the fridge and fold in the 1 cup sweetened shredded coconut until it’s evenly distributed.
- Once the pie crust has cooled, pour in the filling and spread out evenly.
- Place the pie back in the fridge, while making the topping.
Topping
- In medium bowl, add the 1 cup heavy whipping cream, ¼ cup powdered sugar, and 1 teaspoon vanilla extract. Beat together with a hand mixer on medium speed until stiff peaks have formed.
- Pour the whipped cream topping onto the custard layer and spread evenly.
- Top with toasted ½ cup sweetened shredded coconut for garnish and chill in the refrigerator for another 2 hours.
- Cut, serve and enjoy!
Notes
Nutrition
(Nutrition facts are an estimate and not guaranteed to be accurate. Please see a registered dietitian for special diet advice.)
