Why it works: Coconut and vanilla match in chemistry and in kitchens. They rank in the top 1% of all ingredient pairs, and cooks put them together in 2,294 recipes. Both carry ethyl caproate, which smells fruity, apple peel. The science ↓
Cocoanut Custard
Ingredients
Directions
Make the custard base
Combine the milk, coconut, and sugar in a saucepan.
Place the saucepan in a larger pan of boiling water and bring to a boil.
Mix the cornstarch with a little cold milk and stir it into the saucepan.
Cook until it boils for 2 minutes.
Beat the egg yolks with 2 tablespoons of cold milk and stir them into the mixture.
Cook until it thickens, but do not let it boil.
Remove from heat and add the rose and vanilla extracts.
Finish and serve
Beat the egg whites with 2 tablespoons of sugar until stiff peaks form.
Gently fold them into the custard.
Pour the custard into cups.
Sprinkle a little coconut on top.
Serve with white cake.
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 + vanillatop 1% of all pairsSmell alikestrongCooked together2,294 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Milk + vanillatop 5% of all pairsSmell alikemoderateCooked together19,187 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Sugar + vanillatop 8% of all pairsSmell alikelowCooked together35,032 recipes
Shared aroma: beta-damascenone (apple, rose).
-
Milk + coconuttop 10% of all pairsSmell alikemoderateCooked together2,648 recipes
Shared aroma: delta-dodecalactone (sweet, creamy).
-
Rose + vanillatop 13% of all pairsSmell alikelowCooked together456 recipes
Shared aroma: beta-damascenone (apple, rose).
Sugar and vanilla barely smell alike, yet cooks put them together in 35,032 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
- Yolks thicken the custard and whites, whipped stiff, lighten it into a delicate texture.
- Cornstarch
- Starch thickens the milk mixture into a smooth, sliceable custard as it heats.
- Sugar
- Sweetens the custard and helps stabilize the whipped egg whites.
- Fine grated coconut
- Adds coconut flavor and a fine, tender texture to the milk base.
- Rich sweet milk
- Forms the liquid base that the starch and eggs thicken into custard.
The step that matters
Cooking the custard after adding the egg yolks. Egg yolks can curdle or scramble if boiled, leaving a grainy texture. Cooking gently until it thickens lets the proteins set smoothly without overheating.
Swap the coconut
How well each one fits the dish's main ingredients (milk, sugar, egg, rose, vanilla):
- Figfits better
- Raspberryfits about as well
- Peachfits about as well
- Coconutthe original
Fit is the average pairing score against milk, sugar, egg, rose, vanilla. 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.

Vanilla Ice Cream108 recipes
White Cake431 recipes
Pound Cake373 recipes
Orange Bundt Cake349 recipes