a slice of coconut cream pie on a beige counter with toasted coconut

Best Ever Coconut Cream Pie (from scratch)

This is the best coconut cream pie EVER! Perfect coconut custard sets up inside flakey pie crust with tons of fresh whipped cream topping.

  • Author: Miss AK
  • Prep Time: 20 minutes
  • Cook Time: 35 minutes + 2 hours cooling time
  • Total Time: 55 minutes + 2 hours cooling time
  • Yield: 8-12 slices 1x
  • Category: Dessert
  • Method: Oven/Stovetop
  • Cuisine: American



  1. To pre-bake your pie crust, preheat the oven to 375F.
  2. Roll out your chilled pie dough out and place it into a standard, 9-inch pie plate. Trim and shape the crust edges as you please.
  3. Pierce the pie with a fork all over to let steam escape. To further prevent the crust from shrinking up on you, lay a piece of parchment down in the pie plate on top of the crust and weigh it down with pie weights, or dried beans or dried lentils.
  4. Bake the crust for 20 minutes with the weights, remove the weights and bake for another 10-15 minutes until the whole pie crust is golden brown. If your edges start to brown, use a pie shield or wrap the edges in foil.
  5. Remove the crust from the oven and let it cool while you prepare the filling.
  6. To make the filling, whisk together the coconut milk, sugar, starch, and egg yolks in a saucepan.
  7. Place the saucepan over medium-low heat and bring it to a slow boil, stirring continuously.
  8. After the mixture boils, remove the saucepan from the heat and stir in the butter.
  9. Once the butter has melted, stir in the coconut and one teaspoon of the vanilla.
  10. Pour the filling into the baked pie shell and place it in the fridge to set up for at least 2 hours, or until cold.
  11. Once the pie has set, whip the heavy whipping cream until soft peaks form. Add the powdered sugar and remaining vanilla and whip until stiff peaks form.
  12. Top the pie generously with the whipped cream. If desired, toast some larger coconut flakes and sprinkle on top of the pie before serving!