Coconut Cream Pie Recipe

Coconut Cream Pie is a classic. This creamy, dreamy coconut cream pie recipe will quickly become a family favorite! 

Coconut Cream Pie is a classic. This creamy, dreamy coconut cream pie recipe will quickly become a family favorite! //


And this, my friends, is a Coconut Cream Pie to beat all Coconut Cream Pies. Well, at least in my book.

A perfectly flaky and delicious pie crust filled with rich, creamy coconut custard layered with mile high whipped cream and topped with toasted coconut. Now, what in the world could be wrong with that?

Making this pie is really one of those times that the effort pays off ten-fold when everyone takes their first bite.

They begin with, “Oh my gosh, this is the best coconut cream pie I’ve tasted.” And then they ask, “Did you make this? Can I have your recipe?”

I love it when that happens.


Coconut Cream Pie Recipe | ©

This recipe calls for using coconut milk in the coconut custard. While that definitely gives the most flavorful result, you can substitute with whole milk or half-and-half, if needed.

It also calls for my homemade pie crust. Now, that recipe is as simple as… well… pie to make, but if you need to use a refrigerated pie crust instead in a pinch, it works just fine.

Okay, let’s get down to it. Here’s my Coconut Cream Pie recipe. I hope you love it as much as we do!

Yield: 6 -8

Coconut Cream Pie Recipe

Total Time 35 minutes
Prep Time 5 minutes
Cook Time 30 minutes
Coconut Cream Pie is a classic. This creamy, dreamy coconut cream pie recipe will quickly become a family favorite!
4.91 from 77 votes
Did you make this recipe?


For the Toasted Coconut Topping

  • 1/2 cup flaked sweetened coconut

For the Coconut Custard

  • 1 1/2 cups coconut milk
  • 1 1/2 cups half-and-half
  • 5 egg yolks
  • 3/4 cup sugar
  • 4 tablespoons cornstarch
  • 1 tablespoon butter
  • 1/4 teaspoon salt
  • 1 1/2 cups flaked sweetened coconut
  • 1 1/2 teaspoons vanilla
  • Whipped Cream


  1. Prepare pie crust according to blind-baking instructions of recipe.

For the Toasted Coconut Topping

  1. Spread coconut evenly on a rimmed baking sheet. Place into 350º F oven for 8-10 minutes until coconut has just begun to turn brown.
  2. Set aside to cool.

For the Coconut Custard

  1. Pour coconut milk and half-and-half into a liquid measuring cup. Add egg yolks and whisk together with milks. Set aside.
  2. Add sugar and cornstarch to a heavy-bottomed saucepan over medium-low heat. Whisk egg and milk mixture together once more and then slowly begin to add to the sugar and cornstarch, whisking together constantly.
  3. Bring custard mixture to a boil. Switch to a rubber spatula or wooden spoon and continue to stir constantly. Boil one minute.
  4. Remove from heat and add butter, coconut, vanilla and salt.
  5. Spread custard into pie crust. Cover lightly with plastic wrap and chill in the refrigerator until set, about 30-45 minutes.
  6. Spread whipped cream on top of coconut custard. Refrigerate until ready to serve.
  7. When ready to serve, top with toasted coconut.

All images and text © Robyn Stone for Add a Pinch

Robyn xo

Coconut Cream Pie Recipe - Coconut Cream Pie is a classic. This creamy, dreamy pie recipe will quickly become a family favorite! //


258 comments on “Coconut Cream Pie Recipe”

  1. This is the BEST coconut pie and pie shell recipe ever!!!! I made this for my grandma who loves coconut and has never had a homemade coconut cream pie—and let me just say this was a life changing recipe. Never again will I buy a store made coconut cream pie. If I can make this recipe, anyone can. Thank you so so so much fur this wonderful recipe! Xoxo 

  2. Hi, husband’s birthday is coming up soon. I am planning on using this recipe but I’m confused on the use of the flaked coconut. How much do you use for custard and for the topping?

    • Hi Peggy,
      I have the recipe divided as to how much coconut goes in the custard and how much is used for the topping. So you’ll need 2 cups total, 1/2 cup for the topping and 1 1/2 cups for the custard. Enjoy! xo

  3. Made this for my husband for his birthday.  First time I have made a coconut cream pie from scratch and he was so thrilled.  He is a very picky farm boy that has been use to a lot of good cooks and he said by far the best he has ever had.  Too bad he had to wait 33 yrs for me to make it for him😊

  4. I made this for my husband of 33yrs.  His birthday was yesterday and he always says how much he loves coconut cream pie so I decided to try to make one from scratch today
    Was so happy to find your recipe.  He was so excited to try it.  Based on appearance, smell, and taste he said this was hands down the best he has ever had in his 54 yrs of life!  This is a huge compliment.  He has been spoiled with really good cooks his entire life.  Easy to make.  Thanks so much for sharing your recipes.  I used the pie crust, cream pie recipe, and whipped cream recipes.  

    • Aww, this is such a special comment to me, Kari!
      I’m thrilled to hear that you tried all these recipes (pie crust, coconut cream pie, and whipped cream) and you and your husband enjoyed the pie! Isn’t the pie crust easy to make?!
      This pie is one of our favorites too! 😉
      Please wish your husband a happy belated birthday! Thank you so much for your sweet comment! xo

  5. Made this with my student all the way in Beijing! I had to share a little homemade pie with them and this recipe was delicious and fun to make with kids. I was nervous the custard wouldn’t turn out since I had made some once before with sad, lumpy results, but this time it turned out so smooth and thick! And that was using sweet potato starch too! (Couldn’t find cornstarch anywhere, even the import stores) Thanks for the recipe! 

  6. As always, this recipe was perfect. You never let me down! The only change I made was to put it in a graham cracker/coconut crust, per the recipient’s request. Everyone raved. Thank you for posting another great recipe for me to wow my family with.

  7. Are you using canned or refrigerated coconut milk?

  8. This pie was amazing. I love coconut desserts and this may be the best I’ve had. Crust was perfect. Filling perfect. Whipping cream perfect. Crowd pleaser. Thank you for sharing this recipe. Happy to have found your site!

    • I’m so happy you enjoyed it, Nate! This pie is one of my favorites! And I’m so happy to have you here and glad you found my site too. I hope you find many more recipes that you enjoy. Thanks!

  9. The best coconut cream pie ever! Using the cornstarch for thickening the custard instead of flour gives it a richer, creamier taste. Once you try this pie, you will never use any other recipe.

  10. Can u make this recipe with sweetener like swerve or truvia?

  11. Delicious! Just as good as a pie I paid 20.00 dollars for

  12. I just made this pie for the first time for Thanksgiving dinner, as a change from pumpkin pie. We absolutely loved it!! It truly is the best coconut cream pie I’ve ever eaten. I also use the crust recipe that came with the pie and it is very good. Both the filling and the crust are easy to make. I also found a recipe online for homemade whipped cream and put that on top then added the toasted coconut. I think the coconut milk in the custard really sets it off. You will not go wrong making this pie. I’m a big fan and have added this to my pie recipe collection.

  13. Can you substitute the  half and half ?

  14. I love this pie! Two exceptions – first: if you use salted butter don’t add more salt! It was super salty. I tried adding a little more sugar but it didn’t work. Second: use a large saucepan! Mine nearly cooked over. It’s super creamy and light. Other than the salt, which I just added lots of freshly whipped cream to help hide it, We loved it!

  15. This recipe is a ’10’ in my book but I have to be satisfied with giving it a 5 as that is as high as your rating goes. My guests’ comments ranged from “This pie is good enough for you to start your own bakery – it’s really delicious!’ to my favourite ‘This is the best coconut pie I have ever tasted’. I have to agree – it is the best I have ever tasted too! This recipe is now a permanent part of my collection of favorites.

  16. This is the BEST Cocounut Cream Pie recipe. The whipped cream on top and the coconut milk in the custard are the two things that make it stand out from the rest.

  17. Very easy and so delicious! I knew the leftover coconut milk would go to waste, so I just used the whole can and added half and half to make a total of 3 cups. I also added a teaspoon of coconut extract and two tablespoons of coconut rum for a little extra boost

Leave a Reply

Your email address will not be published. Required fields are marked *