Why it works: Ham and egg match in chemistry and in kitchens. They rank in the top 8% of all ingredient pairs, and 4,516 recipes mention both. Both carry 2-octenal, which smells fatty, green. The science ↓
The recipe
Ingredients
Contains: egg, milk, wheat (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Make the cheese sauce
In a medium saucepan over medium heat, melt 2 tablespoons butter.
Add flour, salt and pepper, then stir with a whisk until well blended.
Gradually add milk and cook until thickened and bubbly, whisking constantly.
Once thickened, remove from heat.
Stir in cheese until melted, then set aside.
Cook the filling
In a large skillet, melt 3 tablespoons butter.
Sauté ham and onions until lightly browned.
Add eggs and stir for 2 minutes.
Add mushrooms and cheese sauce, then mix well.
Assemble and bake
Pour into a well greased baking dish.
In a medium saucepan, melt remaining butter.
Toss with bread crumbs, then sprinkle over top of casserole.
Cover and refrigerate overnight.
Bake uncovered at 350°F for 30 minutes.
This recipe comes from the Recipes Wiki on Fandom and is licensed CC BY-SA 4.0. Our formatting and summaries are shared under the same licence.
Steps grouped into stages for easier reading; the method is the source's own.
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 + eggtop 8% of all pairsAroma overlapstrongMentioned together4,516 recipes
Shared aroma: 2-octenal (fatty, green).
-
Butter + mushroomtop 3% of all pairsAroma overlapstrongMentioned together12,516 recipes
Shared aroma: trans-2-decenal (waxy, orange).
-
Butter + milktop 3% of all pairsAroma overlapstrongMentioned together81,222 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Milk + mushroomtop 5% of all pairsAroma overlapstrongMentioned together2,230 recipes
Shared aroma: 1-hexanal (fruit).
-
Onion + mushroomtop 6% of all pairsAroma overlapstrongMentioned together10,619 recipes
Shared aroma: guaiacol (smoky, sweet).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Eggs
- Set when baked, giving the casserole its structure and custardy body.
- Butter
- Adds richness and fat, and helps the flour cook into a smooth roux.
- Flour
- Thickens the milk into a smooth white sauce that holds the casserole together.
- Milk
- Forms the liquid base of the cheese sauce and keeps the eggs tender.
- Mozzarella
- Melts into the sauce, adding creamy texture and savory flavor.
- Bread crumbs
- Form a crisp, golden topping as they toast in the butter and oven.
The step that matters
Cook the cheese sauce until thickened. Flour needs to cook while the milk is whisked constantly, or the sauce stays pasty and lumpy. Fully thickened sauce gives the casserole an even, smooth texture instead of a watery or grainy one.
Flavor stand-ins for the onion
How well each one fits the dish's main ingredients (butter, flour, pepper, milk, ham, egg, mushroom):
- Capsicumbetter flavor fit
- Potatobetter flavor fit
- Asparagusbetter flavor fit
- Onionthe original
Fit is the average pairing score against butter, flour, pepper, milk, ham, egg, mushroom. 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 from this recipe’s own method and reviewed in samples by CompKitchen.
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