Why it works: Milk and coconut 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 Custard
Ingredients
Directions
Make the custard
Combine sweet milk, sugar, cornstarch, and grated coconut in a saucepan.
Boil the mixture together.
Beat egg whites until stiff peaks form.
Gently stir the beaten whites into the hot mixture on the stove.
Assemble and serve
Pour the custard into a pre-baked pie crust.
Grate the remaining half of the coconut and sprinkle it on top 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.
-
Milk + coconuttop 10% of all pairsSmell alikemoderateCooked together2,648 recipes
Shared aroma: delta-dodecalactone (sweet, creamy).
-
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).
-
Sugar + eggtop 21% of all pairsSmell alikemoderateCooked together122,807 recipes
Shared aroma: 2-nonenal (fatty, green).
-
Sugar + coconuttop 22% of all pairsSmell alikelowCooked together5,742 recipes
Shared aroma: 1-penten-3-one (fish, pungent).
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
- Sweet milk
- Forms the liquid base of the custard that sets when cooked with starch.
- Cornstarch
- Thickens the boiled milk mixture into a smooth, sliceable custard.
- Egg whites
- Whipped to stiff peaks, they add lightness and airy structure to the custard.
- Sugar
- Adds sweetness and helps balance the flavor of the coconut and milk.
The step that matters
Gently stir the beaten whites into the hot mixture. Folding rather than vigorously stirring keeps the whipped egg whites from deflating, preserving the light texture of the custard.
Swap the coconut
How well each one fits the dish's main ingredients (milk, sugar, egg):
- Vanillafits better
- Figfits better
- Raisinfits better
- Coconutthe original
Fit is the average pairing score against milk, sugar, 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 custard 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