Why it works: Ham and butter match in chemistry and in kitchens. They rank in the top 7% of all ingredient pairs, and 5,475 recipes mention both. Both carry anethole, which smells sweet, anise. The science ↓
The recipe
Ingredients
Contains: milk (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Prepare the filling
Chop the cold boiled ham very fine.
Mix the ham with melted butter, onion juice, and cayenne pepper.
Assemble the sandwiches
Cut the crusts off the sandwich loaf and butter it.
Cut the loaf into very thin slices.
Cover with a buttered slice or roll, pressing the edge firm and tying with ribbon.
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 + buttertop 7% of all pairsAroma overlapstrongMentioned together5,475 recipes
Shared aroma: anethole (sweet, anise).
-
Onion + peppertop 7% of all pairsAroma overlapmoderateMentioned together68,463 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Butter + oniontop 7% of all pairsAroma overlapmoderateMentioned together42,827 recipes
Shared aroma: guaiacol (smoky, sweet).
-
Ham + oniontop 9% of all pairsAroma overlapmoderateMentioned together4,158 recipes
Shared aroma: gamma-nonanolactone (coconut, sweet).
-
Butter + peppertop 11% of all pairsAroma overlapstrongMentioned together85,512 recipes
Shared aroma: ethyl octanoate (fruity, wine).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Cold boiled ham
- Provides the meaty flavor and the bulk of the filling.
- Melted butter
- Adds moisture and richness so the chopped ham stays soft and spreadable.
- Sandwich loaf
- Gives structure that holds the filling, especially when cut into thin slices.
- Onion juice
- Adds savory aroma and flavor to the ham filling.
The step that matters
Pressing the edge firm before tying. Firm pressing compacts the bread and filling so the sandwich holds together and the cut edges stay neat rather than crumbling or spilling filling.
Flavor stand-ins for the onion
How well each one fits the dish's main ingredients (ham, butter, pepper):
- Capsicumbetter flavor fit
- Potatoabout as good a flavor fit
- Onionthe original
- Tomatoabout as good a flavor fit
Fit is the average pairing score against ham, butter, pepper. Candidates are from the same food group and used in at least 100 recipes. This compares flavor only: it does not check the job the ingredient does in the dish (bulk, moisture, acidity, structure).
“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.
More ham sandwich recipes
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