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
In a saucepan, combine milk, sugar, shredded coconut, butter, and flour.
Cook over medium heat until thickened.
Remove from heat and fold in the egg whites.
Bake and serve
Pour the mixture into a pre‑baked pie crust.
Frost the top with additional egg whites and place in the oven to brown.
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).
-
Milk + coconuttop 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).
-
Butter + flourtop 12% of all pairsSmell alikelowCooked together124,287 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Milk + flourtop 14% of all pairsSmell alikelowCooked together78,219 recipes
Shared aroma: isobutyraldehyde (malty, green).
Butter and flour 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
- Milk
- Forms the liquid base that thickens into a creamy custard-like filling.
- Flour
- Thickens the mixture as it cooks, giving it body and a sliceable texture.
- Sugar
- Adds sweetness and helps keep the filling soft and tender.
- Shredded coconut
- Adds coconut flavor and chewy texture to the filling.
- Egg whites
- Set with heat to add structure to the filling and form a browned topping.
The step that matters
Cook until thickened. Flour starch thickens only once it is heated enough to swell, and the mixture is then cooled slightly before the egg whites are folded in. Stopping too early leaves a thin filling, while overcooking can scorch the milk and sugar on the base of the pan.
Swap the coconut
How well each one fits the dish's main ingredients (milk, sugar, butter, flour, egg):
- Vanillafits better
- Raisinfits better
- Figfits about as well
- Coconutthe original
Fit is the average pairing score against milk, sugar, butter, flour, egg. 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