Why it works: Coconut and milk are a kitchen classic. They rank in the top 10% of all ingredient pairs, and cooks put them together in 2,648 recipes. Both carry delta-dodecalactone, which smells sweet, creamy. 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
Preheat the oven to 350°F (175°C).
Make the filling
In a bowl, beat the eggs and sugar together until creamy.
Add the milk and a pinch of salt, then stir in the brandy.
Bake
Line a pie plate with plain pastry and pour in the mixture.
Bake for 30 minutes.
Sprinkle the top with grated coconut just before the pie is done.
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 + milktop 10% of all pairsSmell alikemoderateCooked together2,648 recipes
Shared aroma: delta-dodecalactone (sweet, creamy).
-
Milk + brandytop 15% of all pairsSmell alikemoderateCooked together3,738 recipes
Shared aroma: gamma-nonanolactone (coconut, sweet).
-
Egg + brandytop 17% of all pairsSmell alikemoderateCooked together7,340 recipes
Shared aroma: acetoin (butter, cream).
-
Milk + eggtop 18% of all pairsSmell alikemoderateCooked together88,785 recipes
Shared aroma: 2-nonenal (fatty, green).
-
Milk + sugartop 18% of all pairsSmell alikelowCooked together77,875 recipes
Shared aroma: 2-nonenal (fatty, green).
Milk and sugar barely smell alike, yet cooks put them together in 77,875 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
- Eggs
- Set the custard filling and add richness and structure as they cook.
- Grated coconut
- Adds chewy texture and toasted flavour on the top of the pie.
- Sugar
- Sweetens the filling and helps the eggs become creamy when beaten.
- Milk
- Provides moisture and body to the custard filling.
- Brandy or sherry
- Adds aroma and a subtle flavour to the filling.
The step that matters
Sprinkle the top with grated coconut just before the pie is done. Adding coconut too early lets it over-brown and burn during the longer bake. Adding it near the end lets it toast lightly while the custard sets.
Swap the coconut
How well each one fits the dish's main ingredients (milk, sugar, egg, brandy):
- Vanillafits better
- Figfits better
- Apricotfits better
- Coconutthe original
Fit is the average pairing score against milk, sugar, egg, brandy. 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.

Brandy Peaches68 recipes
Brandy Cream21 recipes
Brandy Pudding13 recipes
White Cake431 recipes