Why it works: Milk and butter are a kitchen classic. They rank in the top 7% of all ingredient pairs, and cooks put them together in 81,283 recipes. Both carry (z)-4-heptenal, which smells biscuit, cream. The science ↓
Cocoanut Pie
Ingredients
Directions
The book gives no oven temperature. The 350°F (175°C) in the steps was added when the recipe was transcribed, as a starting point.
Prepare the coconut
Cut off the brown part of the coconut and grate the white part.
Make the custard
In a saucepan, mix the grated coconut with milk and bring to a boil over low heat for 8 to 10 minutes.
In a bowl, beat the eggs and sugar together until frothy, then stir in the wine.
Allow the coconut and milk mixture to cool, then add the egg mixture, crushed cracker, and nutmeg.
Bake
Pour the mixture into deep pie plates lined with puff pastry.
Bake immediately at 350°F (175°C) until set.
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.
-
Milk + buttertop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Coconut + nutmegtop 8% of all pairsSmell alikestrongCooked together411 recipes
Shared aroma: beta-pinene (pine, resin).
-
Coconut + milktop 10% of all pairsSmell alikemoderateCooked together2,648 recipes
Shared aroma: delta-dodecalactone (sweet, creamy).
-
Coconut + buttertop 12% of all pairsSmell alikemoderateCooked together3,467 recipes
Shared aroma: delta-dodecalactone (sweet, creamy).
-
Wine + buttertop 13% of all pairsSmell alikemoderateCooked together8,645 recipes
Shared aroma: 2-furfurylthiol (coffee, roasted).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Eggs
- Set the custard as they cook, giving the pie its firm, sliceable body.
- Grated coconut
- Provides the main flavor and a moist, tender texture in the filling.
- Milk
- Forms the liquid base of the filling and carries the coconut flavor.
- White sugar
- Adds sweetness and helps balance the richness of the eggs and coconut.
- Crushed cracker
- Adds body and helps absorb liquid so the filling holds together.
The step that matters
Bake immediately at 350°F (175°C) until set. The egg mixture is added to a cooled coconut-milk base and should go straight into the oven. Eggs coagulate on heating, so letting the mixture sit can thin it and affect how well the pie sets.
Swap the coconut
How well each one fits the dish's main ingredients (milk, egg, sugar, wine, butter, nutmeg):
- Vanillafits better
- Figfits better
- Lemonfits better
- Coconutthe original
Fit is the average pairing score against milk, egg, sugar, wine, butter, nutmeg. 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.

White Cake431 recipes
Pound Cake373 recipes
Orange Bundt Cake349 recipes
Spice Cake344 recipes