Coconut cream pie is a classic American dessert with a creamy coconut custard filling, a tender crust, and a whipped topping. This gluten-free version uses a simple press-in crust made from almond flour and coconut, so it skips the rolling and chilling of traditional pastry. It’s a good choice for a summer cookout, a holiday table, or any time you want a cool, coconut-forward dessert that happens to be gluten-free.
Ingredients
- For the crust: 1 ½ cups (170 g) almond flour, ½ cup (40 g) unsweetened shredded coconut, 3 tbsp (42 g) unsalted butter, melted, 2 tbsp (30 ml) honey, ¼ tsp salt
- For the filling: 1 can (13.5 oz / 400 ml) full-fat coconut milk, 1 cup (240 ml) whole milk, ¾ cup (150 g) granulated sugar, ¼ cup (30 g) cornstarch, ¼ tsp salt, 4 large egg yolks, 1 tsp vanilla extract, 1 cup (85 g) sweetened shredded coconut, toasted
- For the topping: 1 ½ cups (360 ml) heavy cream, 2 tbsp (15 g) powdered sugar, ½ tsp vanilla extract, ¼ cup (20 g) toasted coconut flakes for garnish
Instructions
- Preheat oven to 350°F (175°C). In a medium bowl, combine almond flour, ½ cup unsweetened shredded coconut, melted butter, honey, and salt. Mix until the mixture holds together when pressed. Press evenly into a 9-inch (23 cm) pie dish, covering the bottom and up the sides. Bake for 12–15 minutes, until lightly golden. Let cool completely on a wire rack.
- In a medium saucepan, whisk together coconut milk, whole milk, sugar, cornstarch, and salt. Bring to a simmer over medium heat, whisking constantly, until thickened and bubbling, about 8–10 minutes.
- In a small bowl, lightly beat the egg yolks. Slowly 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 constantly, until the mixture thickens to a pudding consistency and reaches 160°F (71°C) on a food thermometer, about 2–3 minutes. Remove from heat and stir in vanilla and 1 cup toasted sweetened coconut.
- Pour the filling into the cooled crust. Press a piece of plastic wrap directly onto the surface of the filling to prevent a skin from forming. Refrigerate for at least 4 hours, or until fully set.
- When ready to serve, in a chilled bowl, whip the heavy cream, powdered sugar, and vanilla until stiff peaks form. Spread or pipe the whipped cream over the chilled pie. Garnish with toasted coconut flakes.
Substitutions
For a dairy-free version, use cold coconut cream (the solid part of a refrigerated can of full-fat coconut milk) in place of the heavy cream, and use a dairy-free butter substitute in the crust. The filling already uses coconut milk; replace the whole milk with an equal amount of unsweetened almond milk or oat milk. The texture will be slightly less rich, but the custard will still set.
If you don’t have almond flour, use an equal amount of gluten-free all-purpose flour blend; the crust will be more crumbly but still work. For a nut-free crust, use sunflower seed flour or a gluten-free graham cracker crust (check that the crackers are gluten-free).
Doneness Cues
The crust is done when it is golden brown and firm to the touch, about 12–15 minutes. The filling is done when it has thickened to a pudding consistency and the internal temperature reaches 160°F (71°C) on a food thermometer; it will continue to thicken as it chills. The pie is fully set when the filling is firm and doesn’t jiggle when the dish is gently shaken, after at least 4 hours of refrigeration.
Storage
Store leftover pie covered in the refrigerator for up to 3 days. The whipped cream topping may weep slightly; if you plan to keep it longer, add the whipped cream just before serving. The pie can be frozen (without the whipped cream) for up to 2 months; wrap tightly in plastic wrap and then foil. Thaw overnight in the refrigerator before serving.
Coconut Cream Pie for Large Batches
To make a 9×13-inch (23×33 cm) pan, double the crust ingredients and use 1 ½ times the filling and topping. Press the crust into the pan and bake for 15–18 minutes. Increase the filling cooking time by about 3–4 minutes, and chill for at least 5 hours. This serves about 15–18 people.
If you’re making individual tartlets, use a 12-cup muffin tin. Press the crust into the cups and bake for 10–12 minutes. Divide the filling among the cups and chill for 3 hours. Top with whipped cream just before serving.
Raw Flour and Egg Safety
This recipe uses egg yolks in the filling, which are cooked to 160°F (71°C) during the custard step, so they are safe. The crust uses almond flour, which is not raw flour, so no heat-treating is needed. However, if you substitute a gluten-free all-purpose flour that contains raw flour, you must heat-treat it to 160°F (71°C) before using, or use a heat-treated flour. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw flour and raw eggs; this recipe’s eggs are fully cooked, but the flour substitution may not be.
Why the Filling Sets
The cornstarch in the filling thickens when heated with the milk and coconut milk. The egg yolks add richness and help stabilize the custard. The mixture must reach 160°F (71°C) to ensure the eggs are safe and to activate the cornstarch fully. Chilling for at least 4 hours allows the custard to firm up completely.
Checking for Gluten in Ingredients
Almond flour, shredded coconut, and cornstarch are naturally gluten-free. However, some brands of shredded coconut may be processed in facilities that also handle wheat, so check the label for a gluten-free certification. If you use a gluten-free flour blend in the crust, verify that it is certified gluten-free. Always read labels, as ingredients can change.
Related
- Gluten Free Coconut Flour Bread Recipe
- Gluten-Free Banana Bread Recipe UK
- Can I Use Lard for Gluten Free Pie Crust?
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).