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 Custard
Ingredients
Directions
Prepare the custard
Bake a pastry shell.
In a saucepan, boil milk, sugar, and cornstarch until thick.
Remove from heat and stir in the grated coconut.
Assemble and finish
Pour the mixture into the baked pastry shell.
Beat the egg white until stiff and spread it on top of the custard.
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 + 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).
-
Coconut + sugartop 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
- Milk
- Forms the liquid base of the custard that sets into a creamy filling.
- Cornstarch
- Thickens the milk when boiled, giving the custard its body.
- Sugar
- Sweetens the custard and helps it stay smooth and tender.
- Egg white
- Whips into a stiff foam that forms a light topping over the custard.
- Grated coconut
- Adds coconut flavour and a soft, moist texture to the filling.
The step that matters
Boil the milk mixture until thick. Cornstarch only thickens fully when it is boiled with the liquid, as its starch granules swell and set. Undercooked starch leaves the custard thin and runny.
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