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
Make the custard
Combine milk, grated coconut, and sugar alternately with beaten egg yolks in a bowl.
Place the mixture in a vessel of boiling water.
Stir until thick and smooth.
Finish and serve
Once it reaches a hard boil, remove from heat and serve in cups or tumblers.
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
- Egg yolks
- Thicken the custard as they set with gentle heat, giving it a smooth, rich body.
- Grated coconut
- Adds coconut flavor and body to the custard.
- Milk
- Forms the liquid base that the yolks thicken into a custard.
- Sugar
- Sweetens the custard and adds body as it dissolves into the milk.
The step that matters
Stirring over boiling water. Egg yolks thicken through gentle heat and can curdle or turn grainy if overheated or left unstirred. Constant stirring keeps the heat even so the custard sets smooth.
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