This page may contain affiliate links. As an Amazon Associate, I earn from qualifying purchases. If you choose to make a purchase after clicking a link, I may receive a commission at no additional cost to you. My goal is to provide helpful and valuable content, and any commissions help me maintain this site and continue creating high-quality content for my readers. Thank you for your support!
Coconut cream pie is a rich, creamy classic that’s hard to resist.
A flaky crust, smooth coconut filling, fluffy whipped cream, and toasted coconut come together in every delicious bite.
Best of all, this homemade coconut cream pie is simple enough for beginners.
Follow the easy steps below, and you’ll have a beautiful dessert everyone will love.
Why You’ll Love This Coconut Cream Pie
- Creamy, smooth coconut custard filling: Each bite is rich, silky, and packed with coconut flavor.
- Rich coconut flavor: Coconut milk and shredded coconut give the pie a deliciously tropical taste.
- Buttery pie crust and fluffy whipped cream: The crisp crust and light topping balance the creamy filling perfectly.
- Toasted coconut topping: Toasted coconut adds a golden crunch and deeper coconut flavor.
- Perfect for special occasions: This crowd-pleasing dessert is ideal for holidays, family gatherings, and celebrations.

Coconut Cream Pie Ingredients
For the Pie Crust
- 1 ¼ cups (160 g) all-purpose flour
- ½ teaspoon salt
- ½ cup (113 g) cold unsalted butter, cubed
- 3–4 tablespoons ice water
Tip: You can use a 9-inch store-bought pie crust to save time. If using one, bake it according to the package directions and let it cool completely.
For the Coconut Cream Filling
- 2 cups (480 ml) whole milk
- 1 cup (240 ml) full-fat coconut milk
- ¾ cup (150 g) granulated sugar
- ¼ cup (32 g) cornstarch
- 4 large egg yolks
- 1 teaspoon vanilla extract
- ¼ teaspoon salt
- 1 cup (85 g) sweetened shredded coconut
For the Whipped Cream Topping
- 1 cup (240 ml) heavy whipping cream
- ¼ cup (30 g) powdered sugar
- 1 teaspoon vanilla extract
- ½ cup (40 g) toasted shredded coconut
For the best flavor and texture, use full-fat coconut milk and toast the shredded coconut until lightly golden before adding it to the pie.
How to Make Coconut Cream Pie
1. Prepare the Pie Crust
Preheat your oven to 375°F (190°C) and prepare your homemade or store-bought 9-inch pie crust.
If making the crust from scratch, combine the flour and salt, then cut in the cold butter until the mixture resembles coarse crumbs.
Add the ice water a tablespoon at a time, mixing just until the dough comes together.
Roll the dough out on a lightly floured surface and carefully transfer it to a 9-inch pie dish.
Trim and crimp the edges, then prick the bottom lightly with a fork to help prevent large bubbles from forming.
Line the crust with parchment paper and fill it with pie weights or dried beans.
Bake for about 15 minutes, then remove the parchment and weights.
Continue baking for another 10–15 minutes, or until the crust is golden and crisp.
Let the crust cool completely before adding the coconut filling, as a warm crust can make the filling softer than it should be.
2. Make the Coconut Filling
In a medium saucepan, whisk together the sugar, cornstarch, whole milk, and coconut milk until smooth.
Cook the mixture over medium heat, whisking often so the cornstarch does not settle on the bottom.
Continue cooking until the mixture becomes thick and creamy and begins to gently bubble.
In a separate bowl, whisk the egg yolks until smooth.
Slowly add about 1 cup of the hot milk mixture to the egg yolks while whisking constantly.
This step, called tempering, gently warms the yolks and helps prevent them from scrambling.
Pour the warmed egg mixture back into the saucepan while whisking continuously.
Cook for another 2–3 minutes, stirring constantly, until the custard is thick enough to coat the back of a spoon.
Remove the saucepan from the heat and stir in the vanilla extract, salt, and shredded coconut.
The filling should be smooth, thick, and creamy with coconut throughout.
3. Fill and Chill the Pie
Pour the warm coconut filling into the completely cooled pie crust.
Use a spatula to spread the filling evenly and smooth the top.
Press a piece of plastic wrap directly against the surface of the filling to prevent a skin from forming as it cools.
Refrigerate the pie for at least 4 hours, or until the filling is completely chilled and firm.
For the cleanest slices, letting the pie chill overnight is even better.
4. Add the Whipped Cream
Once the pie is fully chilled, prepare the whipped cream topping.
Beat the heavy whipping cream, powdered sugar, and vanilla extract in a cold bowl until soft to medium peaks form.
Be careful not to overbeat the cream, as it can become grainy and lose its smooth texture.
Spread the whipped cream evenly over the chilled coconut filling, or pipe it around the edges for a more decorative finish.
5. Garnish With Toasted Coconut
Sprinkle the toasted shredded coconut evenly over the whipped cream.
The toasted coconut adds a pleasant crunch and brings out a deeper, nuttier coconut flavor.
Keep the pie refrigerated until you are ready to serve it.
Use a sharp knife to cut clean slices, wiping the blade between cuts for neater portions.
Serve the pie chilled for the best combination of creamy filling, fluffy topping, crisp crust, and toasted coconut.
Tips for Making the Best Coconut Cream Pie
- Use full-fat coconut milk: It gives the filling a richer coconut flavor and creamier texture.
- Cook the custard until thick: A properly thickened filling helps the pie set firmly and slice neatly.
- Temper the egg yolks carefully: Slowly whisking in the hot milk mixture prevents the yolks from scrambling.
- Chill the pie thoroughly: Give the filling plenty of time to set for clean, sturdy slices.
- Toast the coconut: Lightly toasted coconut adds extra flavor, color, and a pleasant crunch.
- Cool the crust completely: A fully cooled crust helps prevent the filling from becoming runny.
Coconut Cream Pie Variations
- Chocolate Coconut Cream Pie: Add melted chocolate or cocoa powder to the filling for a rich chocolate-coconut combination.
- Banana Coconut Cream Pie: Arrange sliced bananas over the cooled crust before adding the coconut filling for extra sweetness and flavor.
- Dairy-Free Coconut Cream Pie: Replace the whole milk with your favorite dairy-free milk and use a dairy-free whipped topping.
- No-Bake Coconut Cream Pie: Use a ready-made crust and a no-bake coconut filling for an easier option when you want to skip the oven.
How to Store Coconut Cream Pie
Coconut cream pie should always be stored in the refrigerator because its creamy custard filling and whipped cream topping are perishable.
Once the pie has cooled and set, cover it loosely with plastic wrap or place it in an airtight pie container to keep the crust from becoming too dry while protecting the filling.
Properly covered, leftover coconut cream pie can usually be kept in the refrigerator for 3–4 days.
Keep the pie away from strongly scented foods, as the creamy filling and whipped cream can absorb refrigerator odors.
For the best texture, serve the pie chilled and avoid leaving it at room temperature for extended periods.
Can You Make Coconut Cream Pie Ahead of Time?
Yes, coconut cream pie is an excellent make-ahead dessert because the filling needs several hours in the refrigerator to chill and fully set.
You can prepare the pie a day in advance, cover it well, and keep it refrigerated until you are ready to finish it.
For the freshest texture, add the whipped cream and toasted coconut shortly before serving so the topping stays light, and the coconut remains crisp.
What to Serve With Coconut Cream Pie
- Fresh berries: Strawberries, raspberries, or blueberries add a fresh, slightly tart contrast to the creamy pie.
- Extra toasted coconut: Sprinkle more toasted coconut on each slice for added crunch and coconut flavor.
- Coffee: A hot cup of coffee balances the pie’s rich, sweet filling beautifully.
- Tea: Black, green, or herbal tea offers a lighter pairing that complements the creamy dessert.
- Vanilla ice cream: A scoop of vanilla ice cream makes each slice even more indulgent and adds a cool, creamy contrast.
FAQs
Does coconut cream pie need to be refrigerated?
Yes, coconut cream pie should be refrigerated because the custard filling and whipped cream topping are perishable.
Why is my coconut cream pie runny?
A runny pie can result from undercooked custard, inaccurate ingredient measurements, or not giving the pie enough time to chill and set.
How do I keep coconut cream pie from getting watery?
Cook the filling until it is properly thickened, then refrigerate the pie for at least 4 hours to allow it to fully set.
Can I use coconut cream instead of coconut milk?
Yes, but coconut cream is thicker and richer than coconut milk, so it can make the filling denser and more intensely flavored.
How long does coconut cream pie last in the refrigerator?
Coconut cream pie can typically be stored in the refrigerator for 3–4 days when covered tightly to protect its texture and flavor.
Can I freeze coconut cream pie?
Freezing is generally not recommended because the custard and whipped cream can become watery or lose their smooth texture after thawing.
Coconut Cream Pie Recipe: The Creamiest Homemade Dessert
Difficulty: Easy8
Slices25
minutes30
minutes4
hours55
minutesA creamy homemade coconut cream pie made with a flaky crust, rich coconut custard, fluffy whipped cream, and toasted coconut.
Ingredients
For the pie crust:
1¼ cups (160 g) all-purpose flour
½ teaspoon salt
½ cup (113 g) cold unsalted butter, cubed
3–4 tablespoons ice water
For the coconut filling:
2 cups (480 ml) whole milk
1 cup (240 ml) full-fat coconut milk
¾ cup (150 g) granulated sugar
¼ cup (32 g) cornstarch
4 large egg yolks
1 teaspoon vanilla extract
¼ teaspoon salt
1 cup (85 g) sweetened shredded coconut
For the topping:
1 cup (240 ml) heavy whipping cream
¼ cup (30 g) powdered sugar
1 teaspoon vanilla extract
½ cup (40 g) toasted shredded coconut
Directions
- Prepare the crust: Preheat the oven to 375°F (190°C). Combine the flour and salt, then cut in the cold butter until coarse crumbs form. Add the ice water gradually until the dough comes together.
- Bake the crust: Roll the dough into a 9-inch pie crust, place it in a pie dish, and prick the bottom with a fork. Line with parchment and pie weights, then bake for 15 minutes. Remove the weights and bake for another 10–15 minutes, until golden. Cool completely.
- Make the filling: Whisk the sugar, cornstarch, whole milk, and coconut milk in a saucepan until smooth. Cook over medium heat, whisking often, until thickened and gently bubbling.
- Temper the egg yolks: Whisk the egg yolks in a bowl. Slowly whisk about 1 cup of the hot milk mixture into the yolks, then pour the warmed yolk mixture back into the saucepan.
- Finish the custard: Cook for another 2–3 minutes, stirring constantly, until thick. Remove from the heat and stir in the vanilla, salt, and shredded coconut.
- Fill and chill: Pour the warm filling into the cooled crust and smooth the top. Cover the surface with plastic wrap and refrigerate for at least 4 hours, or until completely set.
- Make the whipped cream: Beat the heavy cream, powdered sugar, and vanilla until soft to medium peaks form.
- Decorate and serve: Spread or pipe the whipped cream over the chilled pie and sprinkle with toasted coconut. Slice and serve cold.
Notes
- Use full-fat coconut milk for the richest flavor and creamiest filling.
- Make sure the custard is properly thickened before removing it from the heat.
- Allow the pie to chill completely before slicing for the cleanest pieces.
- For the best texture, add the whipped cream and toasted coconut shortly before serving.
- Store covered in the refrigerator for 3–4 days.


Hi, I’m Sorenna Blythe, the baker and writer behind Mix Whisk Bake. I share simple, reliable recipes and honest kitchen moments to help home bakers bake with confidence and joy. When I’m not testing new treats, you’ll find me sipping coffee and dreaming up my next bake.