Why it works: Milk and vanilla are a kitchen classic. They rank in the top 5% of all ingredient pairs, and cooks put them together in 19,187 recipes. Both carry ethyl caproate, which smells fruity, apple peel. The science ↓
Custard Sauce
Ingredients
Directions
Prepare the milk
Melt the butter in the milk, stirring thoroughly.
Let the mixture cool.
Make the custard
Gradually stir the milk mixture into the egg.
Heat over low heat until the custard thickens.
Remove from heat and stir until the sugar is dissolved.
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 + vanillatop 5% of all pairsSmell alikemoderateCooked together19,187 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Milk + buttertop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Vanilla + sugartop 8% of all pairsSmell alikelowCooked together35,032 recipes
Shared aroma: beta-damascenone (apple, rose).
-
Walnut + vanillatop 10% of all pairsSmell alikestrongCooked together2,730 recipes
Shared aroma: eucalyptol (eucalyptus, herbal).
-
Butter + vanillatop 14% of all pairsSmell alikemoderateCooked together20,050 recipes
Shared aroma: guaiacol (smoky, sweet).
Vanilla and sugar 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
- Milk
- Forms the liquid base that the egg thickens into a smooth sauce.
- Egg
- Its proteins set on gentle heat, thickening the sauce into custard.
- Butter
- Adds richness and a smooth, rounded mouthfeel to the sauce.
- Sugar
- Adds sweetness that balances the richness of the milk and egg.
The step that matters
Heat over low heat until the custard thickens. Egg proteins set at moderate temperatures, and too much heat can curdle the sauce into grainy lumps. Gentle, steady heat and constant stirring keep it smooth while it thickens.
Swap the walnut
How well each one fits the dish's main ingredients (milk, butter, egg, vanilla, sugar):
- Almondfits better
- Pecansfits better
- Cocoafits better
- Walnutthe original
Fit is the average pairing score against milk, butter, egg, vanilla, sugar. 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 custard sauce 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