Why it works: Milk and lemon are a kitchen classic. They rank in the top 15% of all ingredient pairs, and cooks put them together in 19,053 recipes. Both carry 2-nonenal, which smells fatty, green. The science ↓
Custard, Boiled
Ingredients
Directions
Mix the cornflour with a little milk until smooth.
Simmer the remaining milk with the lemon rind until flavored, then strain it over the cornflour mixture, stirring continuously.
Return to the heat and simmer gently for a few minutes to cook the cornflour.
Add the sugar and let the mixture cool slightly.
Beat the eggs and stir them into the mixture, cooking gently by the side of the fire for a few minutes.
Allow the custard to cool before serving.
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 + lemontop 15% of all pairsSmell alikemoderateCooked together19,053 recipes
Shared aroma: 2-nonenal (fatty, green).
-
Sugar + lemontop 18% of all pairsSmell alikelowCooked together53,532 recipes
Shared aroma: 2-nonenal (fatty, green).
-
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).
-
Egg + lemontop 19% of all pairsSmell alikelowCooked together44,316 recipes
Shared aroma: (e,e)-2,4-decadienal (fatty, deep fried).
Sugar and lemon barely smell alike, yet cooks put them together in 53,532 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 and carries the flavor of the lemon rind.
- Cornflour
- Thickens the milk as it simmers, giving the custard its body.
- Eggs
- Set gently with heat to enrich and thicken the custard further.
- Sugar
- Sweetens the custard.
The step that matters
Cooking the eggs gently. Eggs can scramble if the custard gets too hot or boils after they are added. Gentle heat, with constant stirring, lets the egg proteins set smoothly and keeps the custard silky.
Swap the lemon
How well each one fits the dish's main ingredients (milk, sugar, egg):
- Vanillafits better
- Figfits about as well
- Raisinfits about as well
- Lemonthe 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 boiled 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.

Lemon Cake228 recipes
Lemon Ice147 recipes
Lemon Sherbet103 recipes
Lemon Custard64 recipes