This coconut cream pie has a press-in graham cracker crust, a stovetop coconut custard made with full-fat coconut milk and egg yolks, and a simple whipped cream topping with toasted coconut flakes. The whole thing comes together in about an hour of active work, then the fridge does the rest. If you want a creamy, set-up-ahead dessert that travels well to a potluck or sits quietly in the fridge until after dinner, this is a solid choice.
Why this recipe works
Two things make this pie work reliably. First, the cornstarch goes into the saucepan with the coconut milk and sugar before the heat goes on — whisking it in cold prevents lumps from forming later. Second, the egg yolks are added after the base mixture has already thickened and bubbled, which means the starch has done its job before the eggs go in. That order matters: add yolks too early and you risk scrambled bits in your custard. Cook it the full two minutes after the yolks go in so the starch sets firmly — a filling that seems slightly loose in the pan will still be too soft after chilling if you pull it early.
Substitutions that actually work
- Coconut milk: Full-fat canned coconut milk is what makes the custard rich and stable. Carton coconut milk (the kind sold as a dairy alternative) has too much water and the filling won’t set properly — skip it here.
- Graham crackers: Digestive biscuits work well and give a slightly less sweet crust. Vanilla wafers are another option if that’s what you have.
- Sweetened shredded coconut: Unsweetened works fine — just know the filling will be a little less sweet overall, which some people actually prefer.
- Heavy cream topping: Full-fat coconut cream (chilled overnight, liquid drained) can be whipped in place of heavy cream if you want a fully dairy-free pie. It’s a bit less stable, so add the topping close to serving.
Common problems and fixes
- Filling is runny after chilling: It wasn’t cooked long enough after the egg yolks went in. The mixture needs a full two minutes of active bubbling — not just heat — to activate the cornstarch fully. Next time, don’t rush that step. For now, the pie is still edible; just serve it in bowls.
- Crust crumbles when slicing: The butter-to-crumb ratio was off, or the crust wasn’t pressed firmly enough before baking. Use the flat bottom of a measuring cup to pack it hard against the pan. Also make sure the crust is fully cooled before the hot filling goes in — pouring hot custard onto a warm crust can soften it.
- Custard has lumps or streaks of cooked egg: The heat was too high when the yolks were added, or they weren’t whisked in quickly enough. Keep the heat at medium, not medium-high, and whisk constantly the moment the yolks hit the pan. If you do get a few lumps, strain the filling through a fine mesh sieve before pouring it into the crust — skip the garnish on top and nobody will know.
- Whipped cream weeps or goes flat: The bowl and cream weren’t cold enough, or the cream was whipped too far in advance. Chill your bowl in the freezer for 10 minutes before whipping, and add the topping no more than a few hours before serving.
- Filling skin forms while cooling: Press a piece of plastic wrap directly onto the surface of the custard while it cools at room temperature. This stops a rubbery skin from forming before you refrigerate it.
Decadent Coconut Cream Pie
Ingredients
Crust
- 1 ½ cups graham cracker crumbs Use fresh crumbs for best texture
- ¼ cup sugar
- ½ cup unsalted butter melted
Filling
- 3 cups coconut milk full-fat for a richer taste
- ½ cup granulated sugar
- ¼ cup cornstarch for thickening
- ¼ teaspoon salt
- 4 large egg yolks large
- 1 cup sweetened shredded coconut
- 1 teaspoon pure vanilla extract
Topping
- 1 cup heavy cream chilled
- 2 tablespoons powdered sugar
- ¼ cup toasted coconut flakes for garnish
Instructions
Prepare the Crust:
- Preheat the oven to 175°C (347°F). Mix together the graham cracker crumbs, sugar, and melted butter. Press firmly into a 9-inch pie pan to form an even layer. Bake for 10 minutes until golden. Set aside to cool.
Make the Filling:
- In a saucepan, combine the coconut milk, granulated sugar, cornstarch, and salt. Cook over medium heat, stirring constantly, until the mixture thickens and bubbles, about 10 minutes. Whisk in the egg yolks, stirring vigorously to prevent curdling. Cook for an additional 2 minutes until smooth and thick.
- Remove from heat and stir in the sweetened shredded coconut and vanilla extract. Pour the filling into the prepared crust. Let cool at room temperature, then refrigerate for at least 2 hours to set.
Prepare the Topping:
- Whip the heavy cream with the powdered sugar in a chilled bowl until soft peaks form. Spread or pipe the whipped cream over the chilled pie. Garnish with toasted coconut flakes.
Notes
Nutrition
Common questions
Can I make this pie the day before?
Yes — this pie is actually better made the day before. The filling needs at least two hours to set, and overnight chilling gives it a firmer, cleaner slice. Add the whipped cream topping the day you plan to serve it.
Do I have to temper the egg yolks, or can I just whisk them straight in?
You can whisk them straight into the hot mixture as long as you work quickly and keep stirring. The recipe skips a separate tempering step because the starch in the pan helps buffer the eggs from scrambling — just don’t stop stirring once they go in.
How do I toast coconut flakes without burning them?
Spread them in a dry skillet over medium-low heat and stir constantly — they go from pale to burnt faster than you’d expect, usually in under three minutes. Pull them off the heat as soon as they’re golden and tip them onto a plate immediately so they stop cooking.
Can I use a store-bought pie crust instead of making the graham cracker one?
A pre-made graham cracker crust from the store works fine and saves real time. A traditional pastry shell also works, but blind-bake it fully before adding the filling or the bottom will be soggy.
What to cook next
- Silky Dark Chocolate Mousse
- Fiery Jamaican Jerk Chicken
- Heavenly Strawberry Cake with Fresh Berries and Whipped Cream
- Tropical Sunrise Smoothie Bowl

















































