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
Make the filling
Mix grated coconut and flour with milk or water in a saucepan.
Place the mixture on the stove and stir until thickened.
Remove from heat.
Add butter while warm.
Mix in salt, egg yolks, and sugar, beating until combined.
Fill the pie crust with the mixture.
Bake and top
Bake the pie.
Beat egg whites with powdered sugar until stiff peaks form.
Spread the egg white mixture on top of the pie.
Return the pie to the oven to brown slightly.
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 + 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).
-
Flour + buttertop 12% of all pairsSmell alikelowCooked together124,287 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Flour + milktop 14% of all pairsSmell alikelowCooked together78,219 recipes
Shared aroma: isobutyraldehyde (malty, green).
Flour and butter barely smell alike, yet cooks put them together in 124,287 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
- Grated coconut
- Provides the main body and chewy coconut flavour of the filling.
- Flour
- Thickens the milk or water mixture as it heats, giving the filling body.
- Egg yolks
- Enrich and help set the filling, adding richness and smoothness.
- Egg whites
- Whipped with sugar to form a stable meringue topping that browns in the oven.
- Butter
- Adds fat for richness and a smooth mouthfeel to the filling.
The step that matters
Stirring until thickened. Flour needs to be stirred over heat until the mixture thickens, because starch only thickens fully once heated. Stopping too early leaves a thin filling that may run when cut.
Swap the coconut
How well each one fits the dish's main ingredients (flour, milk, butter, egg, sugar):
- Vanillafits better
- Raisinfits better
- Figfits about as well
- Coconutthe original
Fit is the average pairing score against flour, milk, butter, egg, sugar. 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