Why it works: Milk and butter are a kitchen classic. They rank in the top 7% of all ingredient pairs, and cooks put them together in 81,283 recipes. Both carry (z)-4-heptenal, which smells biscuit, cream. The science ↓
Scalloped Onions
Ingredients
Directions
The book gives no oven temperature. The 350°F (175°C) in the steps was added when the recipe was transcribed, as a starting point. The book gives no cooking times either; the times in the steps were added in transcription, so check for doneness rather than trusting the clock.
Prepare the sauce
Preheat the oven to 350°F (175°C).
In a saucepan, melt the butter and stir in the flour to make a roux.
Gradually add the top milk, stirring until thickened.
Assemble and bake
Layer the sliced onions in a baking dish, pour the sauce over them, and season with salt.
Bake for 30 minutes until the onions are tender and the top is golden.
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 + buttertop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Butter + flourtop 12% of all pairsSmell alikelowCooked together124,287 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Milk + flourtop 14% of all pairsSmell alikelowCooked together78,219 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Onion + buttertop 15% of all pairsSmell alikemoderateCooked together42,912 recipes
Shared aroma: decanal (soap, orange peel).
-
Onion + flourtop 17% of all pairsSmell alikemoderateCooked together32,460 recipes
Shared aroma: isobutyraldehyde (malty, green).
Butter and flour barely smell alike, yet cooks put them together in 124,287 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
- Onions
- Form the bulk of the dish and turn tender and sweet as they bake.
- Butter
- Enriches the sauce and carries flavour while helping it brown on top.
- Flour
- Thickens the milk into a smooth sauce when cooked into a roux.
- Top milk
- Forms the liquid base of the sauce that coats and moistens the onions.
The step that matters
Adding the milk to the roux. Pouring milk in gradually while stirring keeps the flour evenly dispersed, so the sauce thickens smoothly instead of forming lumps.
Swap the onion
How well each one fits the dish's main ingredients (milk, butter, flour):
- Potatofits better
- Arrowrootfits better
- Leekfits better
- Onionthe original
Fit is the average pairing score against milk, butter, 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.

Tomato Soup526 recipes
Brown Bread461 recipes
Mutton Broth292 recipes
Yorkshire Pudding264 recipes