Perfect Coconut Cream Pie

This perfect coconut cream pie is made completely from scratch. It’s cool and creamy with whipped cream and toasted coconut on top.

An overhead view of a perfect coconut cream pie.

Coconut cream pie is a classic. It’s sweet, ultra creamy, and absolutely divine! 

Making pie from scratch isn’t my strong point. It gives me anxiety, which is the exact opposite of what I normally feel when baking. There’s just something about the crust and the filling that both need to be perfect that really stresses me out. I’m sure I’m not alone!

So… I came up with this perfect homemade coconut cream pie recipe that is sure to be a success no matter what corners you cut. And yes, I’m totally fine with cutting corners here and there. My time/sanity are more important than a flawless pie. (this is me, turning a new leaf ?? )

A close up of the perfect coconut cream pie with a slice missing.

This has a fool-proof homemade crust, a homemade pudding/custard, and homemade whipped cream on top. It’s dang good. But you know what? You can easily use a store-bought crust and a tub of whipped cream for the top. No judgements here. ?

Just ditch the pudding mix and make the custard, ok? Because it’s pretty darn easy and tastes 100x better than the boxed stuff. It’s kind of the star of the show.

I’ll walk you through every step of it. It’s easy, I promise!

To start, you’ll want to blind-bake a homemade pie crust (post with step-by-step photos/instructions coming soon, but for now it’s in the recipe card below) and let it cool while preparing the rest of components.

A can of full-fat unsweetened coconut milk for the filling of perfect coconut cream pie.

My coconut cream pie gets its flavor from three, easy-to-find ingredients:

  • Full-fat unsweetened coconut milk
  • Flaked unsweetened or sweetened toasted coconut
  • Coconut extract

A bowl of toasted coconut for the filling and topping of this perfect coconut cream pie.

The filling is smooth and creamy. No chopped up bits of coconut, because most people can’t stand the stringy, chewy texture of it once its cooked. I steep the coconut flakes in the milk mixture to help enhance the flavor of the finished product. Then, I use my favorite pasta clip (it attaches to the side of the pan) to strain the mixture.

A bowl with a whisk for the custard base of this perfect coconut cream pie.

The strained milk gets gradually poured into a bowl with egg, egg yolks and cornstarch. Since it’s warm, you’ll have to whisk it continuously to prevent the eggs from scrambling. This process is called tempering.

Discard the coconut left in the pan, and place the pan back onto medium heat. Gradually pour the filling back into the saucepan and whisk every 30 seconds or so until the mixture thickens.

Allow the mixture to cook for about 6-12 minutes until it becomes VERY thick. You’ll have to continually whisk to prevent scorching. If you need to, you can turn down your heat a little. The goal here is to get your filling as thick as possible (as thick as you’d want it for the final product) because you’ll add in butter which will loosen it up.

A saucepan of the base for this perfect coconut cream pie.

Once the filling has reached the desired consistency, remove it from the heat and add the vanilla bean paste or extract, coconut extract and butter. Whisk for about 2 minutes, then let cool for about 20 minutes. Letting the filling cool will prevent it from softening the bottom of the pie crust. We definitely don’t want to do all of this work and then end up with a soggy bottom as Paul and Mary like to say (Great British Baking Show reference in case you were wondering ?).

Pour the filling into the pie crust and cover it with a piece of plastic wrap, pressing it gently on top of the surface of the custard. Chill for at least 4 hours or overnight.

A slice of perfect coconut cream pie topped with whipped cream and toasted coconut.

Top with whipped cream and lots of crunchy toasted coconut… the more the merrier. Serve chilled! 

This perfect coconut cream pie is a 10/10. It’s going to be a hit all spring and summer long! We hope you will enjoy it as much as we did!


Need more recipes? Subscribe to my email list! Simply enter your email in a subscription box located on the right hand side of the blog or scroll below the recipe and sign up there. You’ll receive posts, newsletters and so much more!


A close up of the perfect coconut cream pie with a slice missing.

Perfect Coconut Cream Pie Recipe

This perfect coconut cream pie is made completely from scratch. It's cool and creamy with whipped cream and toasted coconut on top.
4.64 from 22 votes
Pin Rate
Course: Dessert
Cuisine: American
Prep Time: 1 hr
Cook Time: 1 hr
Cooling Time: 4 hrs
Total Time: 6 hrs
Servings: 8 slices
Calories: 1081kcal
Print Recipe


For the Crust
  • 2 3/4 cup all-purpose flour
  • 2 tsp granulated sugar
  • 1 tsp salt
  • 1 1/2 cup unsalted butter - (3 sticks)
  • 6-9 tbsp water - ice cold
For the Filling
  • 1 cup heavy cream
  • 1 cup whole milk
  • 1 (14.5 oz) can full-fat unsweetened coconut milk
  • 3/4 cup granulates sugar
  • 1 cup unsweetened toasted coconut flakes - OR sweetened coconut flakes
  • 1/4 tsp salt
  • 1 egg
  • 4 egg yolks
  • 1/3 cup cornstarch
  • 1 tsp vanilla extract - or vanilla bean paste
  • 1 tsp coconut extract
  • 4 tbsp unsalted butter - (1/2 stick), room temperature
For the Topping
  • 1 1/2 cup heavy cream
  • 1/4 cup powdered sugar
  • 1/2 tsp vanilla extract
  • 1 cup unsweetened toasted coconut flakes - OR sweetened


For the Crust
  • In a medium mixing bowl whisk together the flour, sugar, salt.
  • Cut butter into tablespoons. Add to the dry ingredients. Using a pastry blender, cut butter into pea-size pieces.
  • Add 6 tablespoons of water, using a fork, mix until combined. If too dry, continue adding water until the crust comes together and is clumpy. It should be shaggy and slightly dry.
  • Turn the mixture onto a lightly floured surface. Fold the dough into itself (kneading lightly) until it comes together. Form it into a ball and divide into two. Pat into flat discs and wrap tightly in plastic wrap. Refrigerate for 2 hours.
  • On a lightly floured surface, using a rolling pin, roll the dough into a 13-inch circle. Place into a 9-inch pie dish. Flute the edges and dock the bottom of the crust with a fork.
  • To blind bake the crust, line with parchment paper or foil, and fill with pie weights, beans, or rice.
  • Refrigerate crust for 30 minutes.
  • Preheat oven to 350 degrees.
  • Bake for 60 minutes, then remove the foil and beans and continue baking for an additional 6-8 minutes or until the bottom is fully baked through.
  • Let cool completely before filling.
For the Filling
  • In a medium saucepan set over medium heat, add the cream, milk, coconut milk, sugar, coconut flakes, and salt. Bring mixture to a simmer, then turn heat off and let stand for 15 minutes.
  • In a medium mixing bowl whisk together the egg, yolks, and cornstarch. Gradually pour the warm milk mixture through a pasta strainer or sieve and into the egg mixture, whisking vigorously to prevent the eggs from scrambling (this is called tempering). Discard coconut.
  • Once fully combined, return the saucepan to the stove and place over medium heat, pour the mixture back in and heat until it reaches 165 degrees on an instant read thermometer. Continue cooking until the custard becomes very thick, about 6-10 minutes.
  • Remove from the heat and add the extracts and butter, continue whisking for 2 minutes. Let cool for 20 minutes before pouring into baked pie shell.
  • Cover with plastic wrap, pressing on the surface of the custard to prevent a skin from forming. Place in the refrigerator for at least 4 hours, or overnight.
For the Topping
  • In the bowl of a stand mixer fitted with the whisk attachment or a large mixing bowl with a hand mixer, beat the cream, powdered sugar, and vanilla extract until stiff.
  • Spread on to the top of the custard, then top with coconut flakes. Serve cold.


Serving: 8g | Calories: 1081kcal | Carbohydrates: 70g | Protein: 11g | Fat: 86g | Saturated Fat: 56g | Cholesterol: 330mg | Sodium: 433mg | Potassium: 285mg | Fiber: 5g | Sugar: 27g | Vitamin A: 2543IU | Vitamin C: 1mg | Calcium: 121mg | Iron: 3mg

Like this Recipe?

Pin it now!

Pin It Now0Pin It Now0

Shop Online

Lil' Luna Products

See All Products

Want more inspiration?

More Recipes You'll Love

Mini Lemon Cheesecakes

Total Time: 50 minutes
5 from 3 votes

Lemon Cream Pie

Total Time: 4 hours 42 minutes
4.66 from 20 votes

Carmelita Cookies

Total Time: 22 minutes
5 from 1 vote

Banana Cookies

Total Time: 50 minutes
5 from 3 votes

Lemon Poppy Seed Layer Cake

Total Time: 1 hour 35 minutes
5 from 12 votes

About the Author


Wife, mother, baker and photographer. Recipe developer & author of Life Made Simple. A self-professed peanut butter lover and fond of anything that involves pumpkin, cookie dough, or sprinkles

Join the Conversation

Rate and Comment

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

Recipe Rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.


  1. You may want to edit the time to bake the pie crust. 😉 I think 60 min is a little long! I imagine you meant 6. 

  2. Yes I’m also curious about 2 discs… is this enough for two pies or…. make it a second time?

      1. 4 stars
        In my case — a second disc for the second  attempt as I didn’t weight well enough and it collapsed. Lesson learned. 😉

      2. I’m also curious about the 60 minutes for the pie crust, haven’t baked this yet but planning on it and I’ve never baked a pie crust that long unless for apple pie or chess pie but never just the crust

  3. 3 stars
    I followed the recipe to the ‘t’, with the exception that I couldn’t find coconut extract at the two stores I went to (didn’t have time to go to more). Everything came out perfect….except…if there wasn’t coconut on the top of the whipped cream, you wouldn’t know it was coconut cream pie. So, I’m not sure if it was the extract/imitation difference or if straining the flakes impacted flavor (every other recipe I find keeps the flakes in the curd). Overall a good pie, but it just didn’t have that rich coconutty flavor. Will make it again after I find extract and see if that makes any difference.

  4. 5 stars
    First time making Coconut Cream pie … the results were excellent!! No tweaks required .
    Definitely a keeper

    1. I’m sorry it didn’t quite turn out as you had expected. Let me know how it goes the second time around. 🙂