The Best Coconut Cream Pie
This is the best coconut cream pie recipe! It can be made with a pie crust or graham cracker crust, and the filling is super silky, perfectly coconut-y, and so delicious.
One reader, Betsy, commented: I made this pie today because I wanted to make something especially delicious for a special occasion. It was a HIT! My aunt said it was the best pie she’s ever had. I couldn’t believe it. Truly fantastic!
Key Ingredients for Coconut Cream Pie Filling
The homemade pudding in this coconut cream pie is super creamy and silky smooth, and it has maximum coconut flavor!
- Coconut milk: The recipe calls for canned full-fat coconut milk (often found in the Asian foods aisle). Don’t use refrigerated coconut milk, cream of coconut or coconut cream – the filling may not thicken and may be too sweet or not sweet enough.
- Half-and-half: Half-and-half adds the perfect rich creaminess to the filling. You can sub in half heavy cream/half milk for the half-and-half.
- Egg yolks: Using just the yolks and not the whites deepens the color, richness, and flavor of the pudding.
- Sugar: Granulated sugar works best in this recipe.
- Cornstarch: This is the thickening agent for the pudding. Once large bubbles pop at the surface, cook for one full minute, stirring constantly, so the pudding sets up properly once chilled.
- Butter: Adding just a tablespoon of butter to the cooked pudding gives the pudding a silky smooth finish.
- Extracts: Vanilla extract and coconut extract are called for in the recipe. Don’t skip either! Both add necessary flavor.
- Toasted coconut: The toasted coconut can be stirred into the pudding or added on top of the whipped cream (or both). I prefer the pudding without toasted coconut stirred in.
How to Toast Coconut: spread unsweetened or lightly sweetened shredded coconut on a parchment-lined half sheet pan and bake at 325 degrees for 12 to 15 minutes, stirring every 4 to 5 minutes. Add time as needed, and watch closely so it doesn’t burn!
How to Make Coconut Cream Pie
- Choose which crust to use in the pie (more on that below! ⬇️), bake it, and let it cool completely.
- Make the pudding filling by combining all the pudding ingredients except for the butter and extracts in a medium sauce pan. Bring to a boil and cook until thickened.
- Strain the pudding through a fine mesh strainer into a bowl. This eliminates small or big lumps that can form during cooking.
- Stir in the butter and extracts.
- Spread the pudding in the cooled crust. Cover with plastic wrap (pressing it directly to the surface so a skin doesn’t form over the pudding) and chill.
- Top the pie with sweetened whipped cream and toasted coconut and serve.
This coconut cream pie is best served chilled.
Pie Crust Options
Coconut cream pie purists may tell you that this pie must be served in a classic pie crust – one that has been blind-baked and cooled.
However, may I entice you to try the deliciousness of coconut cream pie in a graham cracker crust? Once I tried it this way, there was no going back. The luscious, creamy filling pairs perfectly with the buttery, sweet graham crust. Wow, it is so, so good!
Just remember that you have crust options: classic pie crust or graham cracker crust. Choose wisely!
Make-Ahead Tips
Coconut cream pie is an excellent pie to make in advance! Here’s how to make it ahead of time:
- Spread the pudding in the pie crust.
- Cover directly with plastic wrap (to prevent a skin from forming).
- Refrigerate for up to two days.
- Toast the coconut, let it cool, and store in a covered container or sealed bag at room temperature for up to a week.
- Up to two hours ahead of serving, make the sweetened whipped cream.
- Top the pie with the whipped cream and toasted coconut and serve chilled.
This is one of the first recipes I ever posted when I started recipe blogging. It has been a favorite of mine (and for so many of you!) ever since!
I’ve added notes and streamlined the recipe to make it straightforward and foolproof. If you’re looking for the very best coconut cream pie, this is the one. I hope you love it!
The Best Coconut Cream Pie
Ingredients
Graham Cracker Crust:
- 1 ½ cups (155 g) graham cracker crumbs
- 3 tablespoons (40 g) packed light brown sugar
- 1 tablespoon (9 g) flour (optional – helps bind crust)
- 6 tablespoons (85 g) salted butter, melted
Coconut Cream Pie:
- 1 can (13.6 ounces) full-fat coconut milk (see note)
- 1 ¼ cups (303 g) half-and-half (see note)
- ¾ cup (159 g) granulated sugar
- ⅓ cup (50 g) cornstarch
- 3 large (48 g) egg yolks
- ¼ teaspoon salt
- 1 tablespoon butter
- 1 teaspoon vanilla extract
- 1 teaspoon coconut extract
Whipped Cream + Coconut:
- 1 ½ cups heavy cream
- ¼ cup powdered sugar
- ¼ teaspoon vanilla extract
- 1 cup (85 g) toasted coconut (see note)
Instructions
- Preheat the oven to 350 degrees F.
- For the crust, in a medium bowl, combine the graham crackers, sugar, and flour (if using). Add the butter and stir until the graham cracker crumbs are evenly moistened. Press the crumbs evenly in the bottom and up the sides of a 9-inch pie plate. Bake for 8 minutes. Remove from the oven and let cool completely.
- For the pudding, in a medium saucepan, add the coconut milk, half-and-half, sugar, cornstarch, egg yolks and salt. Whisk until well-combined.
- Bring the mixture to a gentle boil over medium heat, whisking constantly. Once large bubbles pop on the surface, continue to cook, stirring constantly, for one full minute (moderate the heat if the pudding is sticking to the bottom of the pan). The mixture should be thickened to the consistency of soft-set pudding. It will thicken more as it cools.
- Strain the pudding through a fine mesh strainer into a bowl. Add the butter, vanilla extract and coconut extract to the pudding. Stir until the butter and extracts are fully combined into the pudding. OPTIONAL: Stir 3/4 cup toasted coconut into the pudding – otherwise leave it out and sprinkle it on top of the pie in a later step.
- Spread the pudding in the cooled crust. Press plastic wrap directly on the surface of the pudding (to prevent a skin from forming) and refrigerate for at least 2 hours or up to 24 hours until fully chilled.
- For the whipped cream, in a blender or in a stand mixer fitted with the whisk attachment, combine the cream, powdered sugar and vanilla. Process or mix on low speed until thickened.
- Spread the whipped cream evenly over the pie and top with toasted coconut. Serve the pie chilled.
Notes
Recommended Products
Pie Recipe Source: Aunt Marilyn
Crust Recipe Source: adapted from ATK’s Family Baking Handbook
Recipe originally published September 2009; updated November 2025 with new photos, recipe notes, etc.




What a great recipe. I strained the pudding before I added the coconut and then put parchment paper on the top to prevent a skin from forming. Using coconut milk and coconut extract really adds to the flavor.
First time I have made coconut creme pie-this was amazing!
Make this every time I need a pie! Perfect recipe and sooo yummy
I’m in Canada and we have different sized cans if coconut milk. What size does this recipe call for?
A 15-ounce can
if you use a regular pie crust do you think theres that big of a difference between homemade and frozen store bought? if so whats your go to one you make? I grew up in Hawaii and my son and I have a thing for coconut
Hi Heidi, I think store bought pie crusts can be just fine if you’ve had them before and liked them! I like this homemade one:
https://www.melskitchencafe.com/perfect-flaky-homemade-pie-crust/