Why it works: Cheese and butter are a kitchen classic. They rank in the top 8% of all ingredient pairs, and cooks put them together in 7,962 recipes. Both carry delta-dodecalactone, which smells sweet, creamy. The science ↓
Spanish Onions and Cheese
Ingredients
Directions
The book gives no oven temperature. The 300°F (150°C) in the steps was added when the recipe was transcribed, as a starting point.
Prepare
Peel and slice the onions thinly.
Grate the cheese.
Assemble
Arrange the sliced onions in a pie dish in layers.
Sprinkle cheese, pepper, and salt between each layer of onions.
Finish with a layer of cheese on top.
Scatter breadcrumbs over the top layer of cheese.
Cut the butter into small bits and scatter them over the breadcrumbs.
Pour ½ cup of water into the pie dish.
Bake
Bake at 300°F (150°C) for about 2 hours.
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.
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.
-
Cheese + buttertop 8% of all pairsSmell alikemoderateCooked together7,962 recipes
Shared aroma: delta-dodecalactone (sweet, creamy).
-
Onion + peppertop 11% of all pairsSmell alikemoderateCooked together68,474 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Onion + buttertop 15% of all pairsSmell alikemoderateCooked together42,912 recipes
Shared aroma: decanal (soap, orange peel).
-
Onion + cheesetop 16% of all pairsSmell alikemoderateCooked together4,849 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Cheese + peppertop 18% of all pairsSmell alikemoderateCooked together7,861 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Spanish onններ
- placeholder
The step that matters
Bake low and slow. Gentle, long heat lets the onions soften and sweeten without scorching, while the water creates steam that keeps them moist.
Swap the onion
How well each one fits the dish's main ingredients (cheese, pepper, butter):
- Capsicumfits better
- Potatofits better
- Mustardfits about as well
- Onionthe original
Fit is the average pairing score against cheese, pepper, butter. 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.
Macaroni and Cheese102 recipes
Cheese Making50 recipes
Cheese Fritters34 recipes
Cheese Omelette31 recipes