Why it works: Ham and onion are a kitchen classic. They rank in the top 9% of all ingredient pairs, and 4,158 recipes mention both. Both carry gamma-nonanolactone, which smells coconut, sweet. The science ↓
The recipe
Ingredients
Contains: wheat (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Prepare the onions
Slice and stew the onions until nearly cooked, adding pepper, herbs, and salt if necessary.
Drain the water from the onions and fry them in the pan for about 5 minutes.
Finish and serve
Add the flour to the onions and mix well.
Turn the ham or pork over and serve with the fried onions.
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.
Found this recipe through an AI assistant? CompKitchen also shows which ingredients go well together and why, from the aroma molecules they share and how often recipes combine them. Try the pairing tools.
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much aroma chemistry they share, and how many recipes mention both.
-
Ham + oniontop 9% of all pairsAroma overlapmoderateMentioned together4,158 recipes
Shared aroma: gamma-nonanolactone (coconut, sweet).
-
Onion + peppertop 7% of all pairsAroma overlapmoderateMentioned together68,463 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Ham + peppertop 11% of all pairsAroma overlapmoderateMentioned together6,058 recipes
Shared aroma: 4-ethyl-2-methoxyphenol (smoky, clove).
-
Pepper + flourtop 13% of all pairsAroma overlaplowMentioned together49,477 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Onion + flourtop 13% of all pairsAroma overlaplowMentioned together31,198 recipes
Shared aroma: isobutyraldehyde (malty, green).
Pepper and flour share little aroma chemistry, yet 49,477 recipes mention both: they likely 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
- Soften and sweeten as they cook, and brown in the pan to add savory flavor.
- All-purpose flour
- Mixed into the fried onions to thicken their juices and help them cling together.
The step that matters
Draining the onions before frying. Excess water left from stewing will steam the onions instead of letting them brown. Draining first lets the surface dry so the onions fry and caramelize rather than turning soggy.
“What each ingredient does” and “The step that matters” were written by Claude, an AI, from this recipe’s own method. They are not checked recipe by recipe, so they can be wrong.
Make it your own
Stand-ins, a drink, and quick taste fixes for this dish, ranked by how well each fits its other ingredients: shared aroma molecules and how often recipes combine them.
You might also like
The Sunday pairing: one pairing, the chemistry behind it, and how to cook it. No spam, unsubscribe anytime.
Prefer an account? Create a free account for sign-in; Pro adds the full results and chemistry.
Illustration
Illustration
Illustration
Illustration