This post may contain affiliate links. For more information, read my disclosure policy.

This is truly the best Coconut Cream Pie recipe for anyone who wants a deep coconut flavor, from scratch pudding, and a buttery pie crust. Unlike many recipes that taste only of vanilla and extract, this version features a thick, velvety coconut pudding made with canned coconut milk and piled high with fresh whipped cream and toasted coconut, every bite is a tropical dream.

A slice of coconut cream pie topped with whipped cream and toasted coconut flakes sits on a plate, while the rest of the coconut cream pie and a small bowl of toasted coconut are visible in the background.

Coconut is a newer-to-me flavor obsession. I spent my childhood and early adulthood thinking I didn’t like coconut until I tasted coconut cream pie for the first time. Then I became the biggest coconut lover you’ve ever met! While I love semi-homemade pudding pies, this from scratch version is hard to beat. There’s something about the extra coconut-y creamy and rich pudding that makes a mix hard to copy. This pie is sure to become a favorite!

Coconut Cream Pie is a classic custard pie made from scratch with a flaky pastry crust, rich coconut pudding, and fresh whipped cream. This recipe uses canned coconut milk and shredded coconut for an intense tropical flavor. After cooking the custard on the stovetop, it is chilled in a blind-baked pie crust and topped with toasted coconut and freshly whipped cream.

Labeled ingredients for coconut cream pie: coconut milk, milk, sugar, cornstarch, salt, butter, egg yolks, vanilla, coconut, toasted coconut, and a baked pie crust arranged on a white surface.

Important Ingredients for Coconut Custard Filling

  • You can use a refrigerated pie crust (or frozen) but my all butter pie crust recipe is not only easy to make, it’s the best flaky pastry crust you’ll ever eat.
  • The pudding pie is made of homemade coconut pudding made with whole milk or half and half and canned coconut milk. For the best results, use full-fat canned coconut milk from the Asian foods aisle. Light coconut milk or the refrigerated cartons are too thin and won’t allow the pudding to set properly for clean slices. Half and half will yield a slightly richer pudding than whole milk.
  • The custard will thicken using a combination of cornstarch and egg yolks.
  • The filling is full of shredded sweetened coconut (also called angel flake) and the top is garnished with toasted coconut, made using more shredded sweetened flakes.

Click to see the recipe card below for full ingredients & instructions. See below the recipe card for even more information: process shots, variations, FAQ and more.

How to Temper Eggs

When making an egg-based custard or pudding, you need to temper it. Egg yolks add a ton of richness to pudding that just cornstarch can’t accomplish. However, it’s important to add your yolks to the hot and boiling mixture very carefully or you’ll end up with scrambled eggs (yuck!)

Before starting your pudding, whisk your egg yolks in a medium size bowl to break them up. Once your pudding mixture thickens whisk some of the mixture into the bowl of eggs while whisking the entire time. If you pour without whisking the eggs will be cooked by the hot liquid! Then, whisking constantly in the pan, pour the tempered eggs back into the pot and cook for 2 minutes to make sure the egg yolks are the correct temperature. I always strain cooked pudding or curd to remove any bits of egg.

A glass pie dish filled with coconut cream pie, topped with whipped cream and toasted coconut flakes. A slice is missing, and two plated slices of coconut cream pie are visible in the background.

SAVE THIS RECIPE

We'll email this post to you, so you can come back to it later!

Dorothy’s Expert Tips for Perfect Pudding Pies

  • Learn how to blind bake pie crust. This involves cooking the prepared crust in a hot oven so that it’s completely cooked through before adding any filling.
  • To keep your pastry crust crisp, ensure it is completely cooled before adding the warm coconut custard.
  • Sometimes coconut milk in the can will separate. Shake the can vigorously before opening. If it’s still separated once opening the can, whisk it together or put it in a sealed container and shake some more. Using the cream at the top without the water at teh bottom will result in a filling that is too heavy and greasy (and using only the water part will result in a filling that never sets).
  • After adding the egg yolks and tempering, look for large, slow bubbles that pop on the surface. Once those bubbles appear, continue to whisk and cook for a full 2 minutes. This ensures the heat neutralizes the alpha-amylase enzyme in the egg yolks, which can otherwise break down the starch and turn the pie into liquid overnight.
  • To avoid a weepy pie, make sure the custard is completely cold and set before adding whipped cream. To avoid a skin from forming on the pie as it cooles, press wax paper directly onto the surface of the custard while it chills. This also helps stabilize the moisture levels.
  • When making whipped cream, always start with a cold bowl, cold heavy cream, and cold beaters. If you want a more stable cream, you can add 1/2 teaspoon cream of tartar to the mixture with the sugar.
  • Don’t rush the chill! This pie needs at least 4 hours (or ideally overnight) in the refrigerator to fully set. If you slice it too early, the custard will be delicious but messy.
A slice of coconut cream pie topped with whipped cream and toasted coconut flakes sits on a plate, while the rest of the coconut cream pie and a small bowl of toasted coconut are visible in the background.

Coconut Cream Pie Recipe

No ratings yet
Coconut Cream Pie from scratch with a homemade coconut pudding and a buttery pie crust. This is the perfect coconut pie recipe!
Prep Time 10 minutes
Cook Time 20 minutes
Chill Time 4 hours
Total Time 4 hours 30 minutes
Yield 10 slices
Serving Size 1 slice

Ingredients
 

  • 1 (9-inch) All Butter Pie Crust, pre-baked and cooled
  • 1 ½ cups (140g) shredded sweetened coconut, divided
  • 4 large egg yolks
  • ¾ cup (150g) granulated sugar
  • ¼ cup (32g) cornstarch
  • Pinch of salt
  • 1 (13.5) ounce can unsweetened coconut milk
  • ¾ cup whole milk or half and half
  • 1 tablespoon (14g) unsalted butter, softened
  • 1 teaspoon vanilla extract
  • ½ teaspoon coconut extract, optional
  • Whipped Cream, for garnish

Instructions

  • Place 1/2 cup (40g) coconut in a small skillet and cook over medium-low heat, stirring constantly, until toasted, about 7-8 minutes. Transfer toasted coconut to a bowl and set aside to cool.
  • Place egg yolks in a small bowl and whisk until smooth.
  • Whisk sugar, cornstarch and salt in a medium saucepan. Whisk in the coconut milk and whole milk until smooth. Place the pan over medium-high heat and cook, whisking constantly, until the mixture is hot, steaming, and just shy of boiling.
  • Slowly stream about 1 cup of the milk mixture into the beaten egg yolks, whisking continuously, then pour the yolk mixture back into the saucepan. Bring to a gentle boil and reduce heat to low. Cook, stirring constantly, for an additional 2 minutes and then remove from heat. Whisk in butter, vanilla and coconut extract (if using).
  • Strain filling mixture through a fine-mesh sieve into a medium size bowl and then fold in remaining 1 cup (80g) of un-toasted coconut. Pour filling into baked and cooled pie crust.
  • Press a piece of wax or parchment paper or plastic wrap directly on top of the filling and chill for at least 4 hours or overnight before serving.
  • Before serving, top with whipped cream and toasted coconut.
  • Store loosely covered, in the refrigerator, for 2-3 days. I don’t recommend freezing this pie.
Save this recipe!
Get this recipe emailed to you – plus get all recipes sent straight to your email!

Recipe Notes

  • Learn how to blind bake pie crust for a perfectly baked pie shell.
  • After separating the egg yolks, the unused egg whites can be stored in an airtight container in the refrigerator for up to 3 days or in the freezer for up to 1 year and used in your favorite recipes.

Recipe Nutrition

Serving: 1slice | Calories: 367kcal | Carbohydrates: 37g | Protein: 4g | Fat: 23g | Saturated Fat: 16g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 4g | Trans Fat: 0.05g | Cholesterol: 83mg | Sodium: 134mg | Potassium: 207mg | Fiber: 2g | Sugar: 23g | Vitamin A: 169IU | Vitamin C: 1mg | Calcium: 45mg | Iron: 2mg
Nutritional information not guaranteed to be accurate
Course Dessert
Cuisine American

How to Store and Serve Coconut Cream Pie

  • This pie can be made up to 48 hours ahead and stored in the fridge without the whipped cream. Just make sure to cover it well with plastic wrap (after removing the wax paper once it’s completely cool).
  • Once adding the whipped cream, slice and serve within 24 hours (unless using a stable whipped cream).
  • I don’t recommend freezing homemade pudding pies.
  • Serve with extra toasted coconut.

How to make Coconut Cream Pie

  1. Blind bake your pie crust. Directions will vary based on type of crust; follow package directions for a refrigerated crust. For my pie crust recipe, line the extra cold or frozen crust with parchment paper and pie weights, then bake at 425°F for 10 minutes. Carefully remove the parchment paper and weights, poke the bottom with the tines of a fork and cook another 8-12 minutes or until the entire crust is cooked through. Cool completely before continuing.
  2. Toast your coconut – do not walk away from the stove or it’ll burn. Let cool.
  3. Whisk eggs in a medium bowl and set aside.
  4. Whisk sugar, salt, and cornstarch in a saucepan. Add coconut milk and milk and whisk over medium heat, stirring until the mixture thickens and starts to simmer.
  5. Temper your eggs quickly and carefully, then cook the custard for an additional 2 minutes.
  6. Stir in butter and vanilla extract.
  7. Strain the pudding into a bowl. Stir in coconut. Place in crust. Cover with wax paper and cool.
  8. Before serving, top with whipped cream and coconut.

FAQs

Can I use a graham cracker crust instead?

Absolutely! While a pastry crust is traditional, a buttery graham cracker or golden Oreo crust pairs beautifully with the coconut filling.

Does the pie need to be refrigerated?

Yes, because of the egg yolks and dairy, this pie must stay chilled. Only take it out right before serving.

Why didn’t my pudding thicken?

This usually happens if the custard wasn’t brought to a sufficient boil to activate the cornstarch, or if it wasn’t cooked long enough after adding the yolks.

Can I use frozen coconut?

Yes, but make sure to thaw it and pat it dry before adding it to the custard so you don’t introduce extra moisture.

Why is my pie weepy?

Make sure that the pudding is completely cool before adding whipped cream. Be sure the crust is cool before adding the pudding. Any extra warmth will cause condensation.

Favorite Pudding Pies

Dorothy Kern

Welcome to Crazy for Crust, where I share recipes that are sometimes crazy, often with a crust, and always served with a slice of life.

Leave a Comment

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

Recipe Rating