Why it works: Coconut and vanilla match in chemistry and in kitchens. They rank in the top 1% of all ingredient pairs, and cooks put them together in 2,294 recipes. Both carry ethyl caproate, which smells fruity, apple peel. The science ↓
Cocoanut Pie
Ingredients
Directions
The book gives no oven temperature. The 400°F (200°C) in the steps was added when the recipe was transcribed, as a starting point.
Make the filling
In a saucepan, combine milk, sugar, butter, corn starch, and egg yolks.
Boil the mixture until thick, stirring constantly.
Remove from heat and stir in the shredded coconut.
Assemble and bake
Pour the filling into the baked pie crust.
In a separate bowl, whip the egg whites until stiff peaks form.
Spread the whipped egg whites on top of the pie filling.
Brown the pie in a preheated oven at 400°F (200°C).
Add vanilla extract for flavor before serving.
Transcribed from a scanned cookbook and modernised for today's kitchens. Where the book gave no heat or time, or said "a moderate oven", the temperatures and times here may be modern equivalents rather than the book's own figures.
Photo for illustrative purposes only · Contact us to use it
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much their aromas overlap, and how often cooks already put them together.
-
Coconut + vanillatop 1% of all pairsSmell alikestrongCooked together2,294 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Milk + vanillatop 5% of all pairsSmell alikemoderateCooked together19,187 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Corn + coconuttop 5% of all pairsSmell alikestrongCooked together306 recipes
Shared aroma: decanal (soap, orange peel).
-
Milk + buttertop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Sugar + vanillatop 8% of all pairsSmell alikelowCooked together35,032 recipes
Shared aroma: beta-damascenone (apple, rose).
Sugar and vanilla barely smell alike, yet cooks put them together in 35,032 recipes: they work on texture and structure more than aroma.
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Egg yolks
- Thicken the custard and add richness to the filling.
- Corn starch
- Thickens the milk mixture so the filling sets firm when boiled.
- Egg whites
- Whip into a stiff foam that forms the topping and browns in the oven.
- Butter
- Adds fat for a rich, smooth filling texture.
- Sugar
- Sweetens the filling and helps balance the richness of the eggs.
The step that matters
Boil the filling until thick, stirring constantly. Cornstarch only thickens fully when the mixture reaches a boil, and constant stirring prevents scorching and lumps. Undercooked starch leaves a runny filling that will not hold its shape when sliced.
Swap the coconut
How well each one fits the dish's main ingredients (milk, sugar, butter, corn, egg, vanilla):
- Coconutthe original
- Figfits about as well
- Peachfits about as well
- Blueberryfits less well
Fit is the average pairing score against milk, sugar, butter, corn, egg, vanilla. Candidates are from the same food group and used in at least 100 recipes.
“What each ingredient does” and “The step that matters” were written by Claude from this recipe’s own method and reviewed in samples by CompKitchen.
More coconut pie recipes
You might also like
The free Flavor Lab newsletter: one surprising pairing a week and the molecular reason it works, in 60 seconds. No spam, unsubscribe anytime.
Prefer an account? Create a free account to save pairings and unlock the full chemistry.

Vanilla Ice Cream108 recipes
Corn Cake90 recipes
Corn Starch Cake89 recipes
Corn Cakes22 recipes