Why it works: Onion and garlic match in chemistry and in kitchens. They rank in the top 1% of all ingredient pairs, and cooks put them together in 29,058 recipes. Both carry furaneol, which smells caramel, strawberry. The science ↓
Salt Cod and Potato Casserole
Ingredients
Directions
Prepare the cod
Starting the day before, soak the salt cod, refrigerated, in a container of water for 16–24 hours, changing the water 3–4 times.
Drain and rinse the cod.
Place the cod in a saucepan and fill with water to cover the fish by 1 inch (2.5 cm). Bring to a boil and then simmer for about 20 minutes until the fish flakes easily when tested with a fork.
Drain thoroughly and flake the fish coarsely, removing any skin or bones with a paring knife. Set aside.
Prepare the potatoes and onions
Boil the potatoes in their skins until easily pierced with a fork or skewer but not soft. Drain, cool and peel. Slice into ¼-inch (6 mm) slices. Set aside.
In a heavy frying-pan, heat ½ cup of olive oil over medium high heat for two minutes. Add the sliced onion and sauté for about 6–7 minutes until the onions are translucent and slightly brown. Stir in the garlic and remove from the heat.
Assemble and bake
To assemble, lay half the potatoes in the bottom of a casserole. Cover them with half the cod and then half the onion. Repeat with the rest and drizzle the rest of the olive oil over the top.
Bake for about 20 minutes in a 400°F/200°C oven until the top is lightly browned.
Garnish with olives and hard-boiled egg slices. Sprinkle with parsley.
Serve from the casserole with a cruet of olive oil and port vinegar on the side.
Nutrition, whole recipe (rough)
What these numbers assume: 9 portions
| Ingredient | Portion assumed | kcal |
|---|---|---|
| Salmon | 100g cooked | 208 |
| Potato | 1 medium (173g) baked | 161 |
| Olive Oil | 1 tbsp (14g) | 119 |
| Egg | 1 large egg (50g) | 78 |
| Onion | 1 medium (110g) | 44 |
| Garlic | 1 clove (3g) | 4 |
| Olive | 1 large (4g) | 4 |
| Parsley | 1 tbsp chopped fresh (3.8g) | 1 |
| Salt | 1 tsp (6g) | 0 |
One typical portion per ingredient; the recipe's quantities are not counted. A rough guide only, not for medical or dietary planning.
Steps grouped into stages for easier reading; the method is the source's own.
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.
-
Onion + garlictop 1% of all pairsSmell alikestrongCooked together29,058 recipes
Shared aroma: furaneol (caramel, strawberry).
-
Olive + garlictop 2% of all pairsSmell alikemoderateCooked together25,665 recipes
Shared aroma: linalool (floral, citrus).
-
Onion + potatotop 3% of all pairsSmell alikemoderateCooked together9,023 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Garlic + potatotop 4% of all pairsSmell alikemoderateCooked together4,517 recipes
Shared aroma: furaneol (caramel, strawberry).
-
Garlic + parsleytop 4% of all pairsSmell alikestrongCooked together9,308 recipes
Shared aroma: beta-phellandrene (minty, terpene).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Salt cod
- Provides the main flaky, savoury protein once soaked to remove salt.
- Potatoes
- Add starchy body and soak up the oil and onion flavour in the layers.
- Onions
- Cooked slowly in oil until sweet and soft, adding depth and moisture to the dish.
- Olive oil
- Carries flavour and adds richness, coating the onions and layers as they bake.
- Hard-boiled eggs
- Add creamy texture and a mild richness when sliced over the top.
- Garlic
- Adds aroma and pungency that mellows during the brief cooking in oil.
The step that matters
Soaking the salt cod. Salt cod must soak long enough, with the water changed several times, to draw out excess salt. Too little soaking leaves the fish overly salty and tough, while the flesh needs careful handling to stay moist and flaky.
Swap the onion
How well each one fits the dish's main ingredients (olive, garlic, potato, egg, parsley):
- Chivefits better
- Spinachfits better
- Broccolifits better
- Onionthe original
Fit is the average pairing score against olive, garlic, potato, egg, parsley. 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.
Potato Croquettes255 recipes
Potato Rolls78 recipes
Potato Chips53 recipes
Sweet Potato Croquettes53 recipes