Why it works: Garlic and onion 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 ↓
Spanish Beans
Ingredients
Directions
Prepare the beans
Boil the beans in soda water for 20 minutes, then wash off.
Cook
Add tomatoes, garlic, onions, bay leaves, chili pepper, salt, and cayenne pepper.
Boil for three hours.
Bake and serve
Transfer to a baking dish and place slices of bacon on top.
Bake for 30 minutes before serving.
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.
-
Garlic + oniontop 1% of all pairsSmell alikestrongCooked together29,058 recipes
Shared aroma: furaneol (caramel, strawberry).
-
Beans + tomatotop 1% of all pairsSmell alikestrongCooked together2,713 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Tomato + garlictop 3% of all pairsSmell alikemoderateCooked together14,076 recipes
Shared aroma: furaneol (caramel, strawberry).
-
Beans + garlictop 6% of all pairsSmell alikestrongCooked together2,935 recipes
Shared aroma: linalool (floral, citrus).
-
Beans + oniontop 7% of all pairsSmell alikestrongCooked together5,242 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
- Frijoles (beans)
- Form the main body of the dish and absorb the flavours of the sauce as they cook.
- Tomatoes
- Provide acidity and liquid that break down during the long simmer into a thick sauce.
- Bacon
- Adds fat and smoky, savoury flavour, and browns on top in the oven.
- Onions
- Add sweetness and savoury depth as they soften during cooking.
- Garlic
- Adds pungent aroma that mellows and sweetens as it cooks.
The step that matters
Boil the beans in soda water, then wash off. Soaking and boiling beans in an alkaline solution softens the skins and shortens cooking time. Rinsing afterwards removes the soda, so the beans taste clean rather than bitter or soapy.
Swap the onion
How well each one fits the dish's main ingredients (beans, tomato, garlic, pepper):
- Okrafits better
- Capsicumfits better
- Spinachfits better
- Onionthe original
Fit is the average pairing score against beans, tomato, garlic, pepper. 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.
Tomato Soup526 recipes
Cream of Tomato Soup107 recipes
Tomato Bisque61 recipes
Cream Tomato Soup28 recipes