Why it works: Gruyere cheese and cream work together. They rank in the top 8% of all ingredient pairs, and 105 recipes mention both. Both carry gamma-decalactone, which smells peach, creamy. The science ↓
The recipe
1 - 9x13 inch panIngredients
Contains: milk (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Method written by CompKitchen from the ingredient list. Not the original author's method, not kitchen-tested.
Heat the oven to 375°F (190°C). Grease a 9x13 inch pan generously with the softened butter.
Put the chopped onions, white wine and water in a saucepan. Simmer over medium heat about 15 minutes, stirring now and then, until the onions are soft and most of the liquid has cooked off. Season with salt and pepper.
Peel and thinly slice the potatoes. Arrange a single layer of potato slices in the buttered pan and season lightly with salt and pepper.
Spread some of the cooked onions over the potatoes and sprinkle with some of the shredded Gruyere. Repeat the layers until the potatoes, onions and cheese are used up, finishing with cheese on top.
Pour the heavy cream evenly over the layers, pressing the potatoes down gently so the cream reaches the bottom.
Cover the pan tightly with foil and bake about 35 minutes, until the potatoes start to feel tender when pierced with a knife.
Remove the foil and bake 25 minutes more, until the top is golden and bubbling and the potatoes are fully tender.
Let the gratin rest 10 minutes before cutting into squares and serving.
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.
-
Gruyere cheese + creamtop 8% of all pairsAroma overlapmoderateMentioned together105 recipes
Shared aroma: gamma-decalactone (peach, creamy).
-
Gruyere cheese + white winetop 2% of all pairsAroma overlapstrongMentioned together55 recipes
Shared aroma: ethyl pentanoate (yeast, fruit).
-
Potato + oniontop 2% of all pairsAroma overlapstrongMentioned together9,019 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Butter + white winetop 3% of all pairsAroma overlapstrongMentioned together5,039 recipes
Shared aroma: ethyl octanoate (fruity, wine).
-
Butter + creamtop 3% of all pairsAroma overlapstrongMentioned together41,494 recipes
Shared aroma: delta-dodecalactone (sweet, creamy).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
Flavor stand-ins for the onion
How well each one fits the dish's main ingredients (butter, potato, pepper, gruyere cheese, white wine, cream):
- Onionthe original
- Capsicumabout as good a flavor fit
Fit is the average pairing score against butter, potato, pepper, gruyere cheese, white wine, cream. 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).
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.
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.