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 ↓
Soft Custard
Ingredients
Directions
Mix the flour, sugar, and salt in a bowl.
Add the slightly beaten egg yolks to the dry ingredients.
Stir the mixture into the hot milk.
Cook over boiling water, stirring constantly, until thickened, about 2 minutes.
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).
-
Sugar + vanillatop 8% of all pairsSmell alikelowCooked together35,032 recipes
Shared aroma: beta-damascenone (apple, rose).
-
Flour + vanillatop 12% of all pairsSmell alikemoderateCooked together19,241 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Milk + flourtop 14% of all pairsSmell alikelowCooked together78,219 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Sugar + flourtop 15% of all pairsSmell alikemoderateCooked together92,116 recipes
Shared aroma: phenylacetaldehyde (hawthorne, honey).
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
- Egg yolks
- Thicken the custard as they set and add richness and a smooth texture.
- Flour
- Stabilizes the custard so it thickens without becoming grainy or runny.
- Milk
- Forms the liquid base that the yolks and flour thicken into custard.
- Sugar
- Adds sweetness and softens the flavor of the custard.
The step that matters
Cook over boiling water, stirring constantly. Egg yolks can curdle or turn lumpy if overheated. Constant stirring spreads heat evenly so the custard thickens smoothly rather than scrambling.
Swap the vanilla
How well each one fits the dish's main ingredients (milk, sugar, egg, flour):
- Vanillathe original
- Raisinfits about as well
- Figfits less well
- Blueberryfits less well
Fit is the average pairing score against milk, sugar, egg, flour. 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.
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