Escape to the tropics with this heavenly coconut cream pie made with real coconut milk and shredded coconut for a flavorful and authentic coconut taste.

A slice of coconut cream pie being lifted out of the pie plate.


 

Why you’ll love this recipe:

  • Rich & creamy filling – The homemade coconut custard is velvety smooth, packed with real coconut flavor, and perfectly balanced in sweetness.
  • Flaky, buttery crust – Whether using a homemade or store-bought crust, the crisp and tender base complements the luscious filling beautifully.
  • Light & airy topping – The whipped cream adds a dreamy, cloud-like texture, making each bite indulgent yet light.

If you love coconut desserts, try my Chewy Coconut Oatmeal Cookies, Easy Coconut Macaroons, and No-Bake Cookies with Coconut. If you are in the mood for the ultimate coconut treat, try my Homemade Coconut Cake with Cream Cheese Frosting.

A coconut cream pie topped with toasted coconut on a plaid napkin.

Ingredients you’ll need:

  • a single 9″ pie crust (store-bought or homemade)
  • granulated sugar
  • cornstarch
  • full-fat canned coconut milk
  • whipping cream
  • eggs
  • unsalted butter
  • vanilla extract
  • unsweetened shredded coconut
  • powdered sugar

How to make coconut cream pie:

(The full written and printable recipe is further below.)

An image collage of how to make coconut cream pie steps 1-4
  1. Line a 9″ pie plate with a single pie crust and crimp the edges as desired.
  2. Blind bake at 425F for 15-20 min or until golden brown. Let cool completely.
  3. In a large saucepan, whisk together the sugar and cornstarch. In a separate mixing bowl, whisk together the coconut milk, cream, and eggs. Slowly add the milk mixture to the saucepan with the sugar and cornstarch mixture while whisking.
  4. Over medium heat, bring to a boil stirring constantly. Allow to boil for one minute, the custard should be pretty thick at this point. Remove from the heat, stir in the butter and vanilla extract until all the butter has dissolved into the mixture.
  5. Stir in the coconut.
  6. Cover with plastic wrap, placing the plastic wrap directly on the surface of the custard, and allow to stand in the saucepan for 30 minutes.
  7. Remove the plastic wrap, stir the filling, and spoon it into the prepared pie crust. Cover tightly with plastic wrap and refrigerate the pie for 2 hours or until ready to serve.
  8. When ready to serve, beat the whipping cream, sugar and vanilla until medium peaks. Spread over the custard filling and top with toasted coconut.
An image collage of how to make coconut cream pie steps 5-8

🌟 Expert tips:

  • Use full-fat coconut milk – The key to this recipe is the coconut milk, the full-fat kind that comes in a can. It’s what gives this pie its real coconut flavor. Without it it’s just a custard pie with shredded coconut.
  • Toast the coconut – Lightly toasting the shredded coconut enhances its natural flavor and adds a delicious crunch to the topping.
  • Chill for best texture – Let the pie set in the fridge for at least 2 hours (or overnight) for a firmer, sliceable consistency.
A close up of a coconut cream pie with a slice cut out.

Recipe FAQs:

Can I make this coconut cream pie ahead of time?

Yes! You can prepare the pie a day in advance. Just add the whipped topping right before serving for the freshest taste.

How long does this coconut cream pie last?

Store it covered in the refrigerator for up to 3 days. Avoid freezing, as the custard may separate when thawed.

Why is my custard too runny?

This could be due to undercooking. Make sure the custard thickens to a pudding-like consistency before removing it from the heat. It will firm up more as it chills.

Can I make this pie dairy-free?

Yes! Use vegan butter for the filling. For the whipped topping, try coconut whipped cream made from chilled coconut cream.

If you’ve tried this Coconut Cream Pie Recipe or any other recipe on my blog, please leave a 🌟 star rating and let me know how it went in the 📝 comments below. Thanks for visiting!

This homemade coconut cream pie is made with coconut milk and shredded coconut for the most flavorful and delicious custard filling you've ever tasted!#coconutcreampie #coconutmilk #flakypiecrust #Thanksgivingdessert
5 from 2 reviews

Coconut Cream Pie

Escape to the tropics with this heavenly coconut cream pie made with coconut milk and shredded coconut for a flavorful and authentic coconut taste.

Ingredients

Crust

  • 1 single 9" pie crust, store-bought or homemade

Filling

  • 1/2 cup (100g) granulated sugar
  • 1/4 cup (30g) cornstarch
  • 1 can (400ml) full-fat coconut milk
  • 1/3 cup (80ml) whipping cream
  • 2 large eggs
  • 3 Tbsp (45g) unsalted butter, cut into tablespoon-sized pieces
  • 1 tsp vanilla extract
  • 1 cup (100g) unsweetened shredded coconut

Topping

  • 1 cup (240ml) whipping cream
  • 1/4 cup (30g) powdered sugar
  • 1/4 cup (25g) unsweetened shredded coconut

Instructions
 

  • Preheat oven to 425F.
  • Fit the pie crust into a 9" pie plate and finish the edges as desired. Poke the bottom of the crust in several places with the tines of a fork.
    1 single 9" pie crust
  • Bake for 15-20 min or until golden brown. Let cool completely.
  • In a large saucepan, whisk together the sugar and cornstarch. Set aside.
    1/2 cup (100g) granulated sugar, 1/4 cup (30g) cornstarch
  • In a separate large mixing bowl, whisk together the coconut milk, cream, and eggs.
    1 can (400ml) full-fat coconut milk, 1/3 cup (80ml) whipping cream, 2 large eggs
  • Slowly add the milk mixture to the saucepan with the sugar and cornstarch mixture while whisking.
  • Over medium heat, bring to a boil stirring constantly. Allow to boil for one minute, the custard should be pretty thick at this point. Remove from the heat, stir in the butter and vanilla extract until all the butter has dissolved into the mixture. Stir in the coconut.
    3 Tbsp (45g) unsalted butter, 1 tsp vanilla extract, 1 cup (100g) unsweetened shredded coconut
  • Cover with plastic wrap, placing the plastic wrap directly on the surface of the custard, and allow to stand in the saucepan for 30 minutes.
  • In the meantime, toast the remaining coconut in a small frying pan over medium heat until lightly browned. Set aside to cool completely.
    1/4 cup (25g) unsweetened shredded coconut
  • Remove the plastic wrap, stir the filling, and spoon it into the prepared pie crust. Cover tightly with plastic wrap and refrigerate the pie for 2 hours or until ready to serve.
  • When ready to serve, beat the whipping cream, powdered sugar, and vanilla until medium peaks. Spread over the custard filling and top with toasted coconut. Slice and serve.
    1 cup (240ml) whipping cream, 1/4 cup (30g) powdered sugar

Notes

Leftover pie can be stored in the fridge covered tightly in plastic wrap for up to 3 days.
Calories: 367kcal, Carbohydrates: 21g, Protein: 4g, Fat: 31g, Saturated Fat: 24g, Polyunsaturated Fat: 1g, Monounsaturated Fat: 5g, Trans Fat: 0.1g, Cholesterol: 78mg, Sodium: 32mg, Potassium: 192mg, Fiber: 2g, Sugar: 15g, Vitamin A: 619IU, Vitamin C: 1mg, Calcium: 37mg, Iron: 2mg
Did you make this recipe?Tag @littlesweetbaker on Instagram and hashtag it #littlesweetbaker.

Coconut custard filling adapted from Live Well Bake Often.