Dinners

Dairy-Free Coconut Cream Pie Recipe

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
4 hr 45 min
Prep
30 min
hands-on
Cook
15 min
oven or stovetop
Serves
8
as written
USDA safe temp
160°F / 71°C
check the thickest part

Jump to recipe Save

This dairy-free coconut cream pie is a make-ahead dessert for warm-weather gatherings, potlucks, and holiday tables. It has a crisp, buttery crust, a silky coconut custard, and a cloud of coconut whipped topping. Serve it chilled, straight from the fridge, with extra toasted coconut on top.

Ingredients

  • 1 ½ cups (190 g) all-purpose flour
  • ½ teaspoon salt
  • ½ cup (115 g) cold dairy-free butter or margarine, cut into cubes
  • 4–5 tablespoons (60–75 ml) ice water
  • 1 can (13.5 oz / 400 ml) full-fat coconut milk
  • 1 cup (240 ml) unsweetened dairy-free milk (oat, almond, or soy)
  • ¾ cup (150 g) granulated sugar
  • ¼ cup (30 g) cornstarch
  • ¼ teaspoon salt
  • 3 large egg yolks (pasteurized if you prefer, see note)
  • 1 teaspoon vanilla extract
  • 1 cup (100 g) sweetened shredded coconut, toasted
  • 1 can (13.5 oz / 400 ml) full-fat coconut milk, chilled overnight (for topping)
  • 2 tablespoons (15 g) powdered sugar
  • ½ teaspoon vanilla extract (for topping)

Instructions

  1. Make the crust: In a medium bowl, whisk flour and salt. Cut in the cold dairy-free butter with a pastry blender or your fingers until the mixture resembles coarse crumbs. Sprinkle with ice water, 1 tablespoon at a time, stirring until the dough just holds together. Shape into a disk, wrap, and refrigerate for 30 minutes.
  2. Roll the dough on a floured surface to a 12-inch (30 cm) round. Transfer to a 9-inch (23 cm) pie plate, trim the edge, and crimp. Prick the bottom with a fork. Freeze for 15 minutes while the oven preheats to 375°F (190°C).
  3. Line the crust with parchment paper and fill with pie weights or dried beans. Bake for 15 minutes, then remove the weights and parchment. Bake for 8–10 minutes more, until the crust is golden and dry. Cool completely on a rack.
  4. Make the filling: In a medium saucepan, whisk together the full-fat coconut milk, dairy-free milk, sugar, cornstarch, and salt. Cook over medium heat, whisking constantly, until the mixture thickens and bubbles, about 8–10 minutes.
  5. In a small bowl, lightly beat the egg yolks. Gradually whisk about 1 cup of the hot milk mixture into the yolks to temper them, then pour the yolk mixture back into the saucepan. Cook over medium heat, whisking, for 2–3 minutes, until the filling is very thick and just begins to bubble. Remove from heat.
  6. Stir in the vanilla and ¾ cup of the toasted coconut. Pour the filling into the cooled crust. Press a piece of plastic wrap directly onto the surface to prevent a skin. Refrigerate for at least 4 hours, until completely set.
  7. Make the topping: Open the chilled coconut milk can. Scoop out the solid cream that has risen to the top (save the liquid for smoothies or another use). Beat the cream with an electric mixer until fluffy, about 2 minutes. Add the powdered sugar and vanilla, and beat until stiff peaks form, about 1–2 minutes more.
  8. Spread or pipe the topping over the chilled pie. Sprinkle with the remaining ¼ cup toasted coconut. Serve chilled.

Doneness Cues

The crust is done when it is deep golden brown and dry to the touch. The filling is done when it has thickened to a pudding-like consistency and just begins to bubble at the edges. The pie is fully set when the filling does not jiggle when the pie plate is gently tapped.

Storage & Make-Ahead

Refrigerate the pie, covered, for up to 3 days. The crust may soften slightly after the first day. Freeze the baked, unfilled crust for up to 2 months, wrapped tightly. The filled pie can be frozen for up to 1 month, but the topping may weep upon thawing; add the topping after thawing if possible. Perishable dairy-free custard pies should not sit out for more than 2 hours (1 hour if above 90°F/32°C).

Half & Double Batches

Batch Pie plate Filling amount Bake time (crust)
Half 6-inch (15 cm) pie plate Use ⅔ of the filling recipe 12–15 min + 6–8 min
Full 9-inch (23 cm) pie plate As written 15 min + 8–10 min
Double Two 9-inch (23 cm) pie plates Double all filling ingredients 15 min + 8–10 min each

Equipment & Swaps

A glass or ceramic pie plate gives the most even baking. If you use a metal pie pan, check the crust 2–3 minutes early. No pie weights? Use dried beans or a second pie plate nested inside. For a shortcut, use a store-bought dairy-free pie crust (check the label for butter or milk).

Variations

Chocolate-Coconut: Add 2 tablespoons (15 g) unsweetened cocoa powder to the cornstarch mixture in the filling. Reduce the vanilla to ½ teaspoon.

Lime-Coconut: Stir in 1 teaspoon lime zest and 2 tablespoons lime juice with the vanilla. Omit the toasted coconut in the topping, and garnish with lime zest.

Nutty Crust: Replace ¼ cup (30 g) of the flour with finely ground almonds or pecans. Toast the nuts before grinding for more flavor.

Raw Egg Note

This filling uses egg yolks that are cooked until the mixture reaches 160°F (71°C), which is the safe minimum for egg dishes. If you prefer, use pasteurized eggs. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw or lightly cooked eggs; this recipe cooks the eggs fully, so it is safe for those groups.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).