Why it works: Milk and flour are a kitchen classic. They rank in the top 14% of all ingredient pairs, and cooks put them together in 78,219 recipes. Both carry isobutyraldehyde, which smells malty, green. The science ↓
Custard for Layer Cake
Ingredients
Directions
Prepare
Scald the milk in a saucepan.
In a small bowl, mix the flour and cornstarch with a little cold milk.
Make the custard
Pour the flour mixture into the hot milk, stirring well.
Let the mixture boil for 2 minutes.
Beat the egg with the sugar in a separate bowl.
Slowly pour the egg mixture into the saucepan.
Stir continuously until it thickens but does not boil.
Add your choice of flavoring.
Cool and assemble
Let the custard cool before spreading it between layers of 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.
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 + flourtop 14% of all pairsSmell alikelowCooked together78,219 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Flour + sugartop 15% of all pairsSmell alikemoderateCooked together92,116 recipes
Shared aroma: phenylacetaldehyde (hawthorne, honey).
-
Milk + lemontop 15% of all pairsSmell alikemoderateCooked together19,053 recipes
Shared aroma: 2-nonenal (fatty, green).
-
Egg + flourtop 15% of all pairsSmell alikelowCooked together106,462 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Flour + lemontop 17% of all pairsSmell alikemoderateCooked together30,404 recipes
Shared aroma: isobutyraldehyde (malty, green).
Milk and flour barely smell alike, yet cooks put them together in 78,219 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
- Thickens the custard as it heats and gives it a set, creamy structure.
- Milk
- Forms the liquid base that the thickeners set into a smooth custard.
- Flour
- Adds body and helps thicken the custard.
- Cornstarch
- Thickens the custard strongly for a smooth, glossy texture.
- Sugar
- Sweetens the custard and balances the flavoring.
The step that matters
Stir continuously until it thickens but does not boil. Egg proteins set with heat and can curdle or turn grainy if the custard gets too hot or is not stirred. Constant stirring spreads heat evenly so it thickens smoothly.
Swap the lemon
How well each one fits the dish's main ingredients (egg, milk, flour, sugar):
- Vanillafits better
- Raisinfits better
- Figfits better
- Lemonthe original
Fit is the average pairing score against egg, milk, flour, 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.
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