Why it works: Onion and garlic match in chemistry and in kitchens. They rank in the top 1% of all ingredient pairs, and 29,030 recipes mention both. Both carry furaneol, which smells caramel, strawberry. The science ↓
The recipe
Ingredients
Directions
Prepare
Drain beans.
Cook the dish
Sauté onions and garlic in hot oil until onions are transparent and soft.
Add beans, chilies, and salt.
Continue sautéing about 5 minutes more.
Dried beans
Use dried beans: soak 1 cup beans overnight.
Simmer until tender, then drain.
Cook to a safe temperature. This method doesn't say how hot the inside should get. Check with a food thermometer in the thickest part:
- Beef, pork, lamb and veal steaks, chops and roasts: 145°F (63°C), then rest 3 minutes.
Figures from the USDA's safe minimum internal temperatures.
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.
-
Onion + garlictop 1% of all pairsAroma overlapstrongMentioned together29,030 recipes
Shared aroma: furaneol (caramel, strawberry).
-
Garlic + peppertop 5% of all pairsAroma overlapmoderateMentioned together27,044 recipes
Shared aroma: beta-phellandrene (minty, terpene).
-
Beans + garlictop 5% of all pairsAroma overlapmoderateMentioned together2,933 recipes
Shared aroma: linalool (floral, citrus).
-
Beans + oniontop 5% of all pairsAroma overlapstrongMentioned together5,241 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Onion + peppertop 7% of all pairsAroma overlapmoderateMentioned together68,463 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
- Beans
- Provide the main body and bulk of the dish.
- Onions
- Soften and turn sweet as they cook, forming the flavour base.
- Garlic
- Adds aroma that mellows as it sautés in the oil.
- Oil
- Carries heat to the onions and garlic and adds richness.
- Chili peppers
- Add heat and a sharp, spicy note to the beans.
The step that matters
Sautéing the onions and garlic. Cook them gently in hot oil until soft and translucent. Browning them too fast turns them bitter and can scorch the garlic, which spoils the flavour base of the whole dish.
Flavor stand-ins for the beans
How well each one fits the dish's main ingredients (onion, garlic, pepper):
- Sesameabout as good a flavor fit
- Black-eyed peaabout as good a flavor fit
- Chickpeaabout as good a flavor fit
- Beansthe original
Fit is the average pairing score against onion, garlic, pepper. 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, an AI, from this recipe’s own method. They are not checked recipe by recipe, so they can be wrong.
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