Why it works: Beans and walnut match in chemistry and in kitchens. They rank in the top 8% of all ingredient pairs, and cooks put them together in 162 recipes. Both carry 2,3,5-trimethylpyrazine, which smells cocoa, roasted. The science ↓
To Roast Coffee
Ingredients
Directions
The book gives no oven temperature. The 400°F (200°C) in the steps was added when the recipe was transcribed, as a starting point.
Roast
Preheat the oven to 400°F (200°C).
Place the coffee beans in a large pan.
Roast in the oven, stirring often, until evenly dark brown.
Add the walnut-sized piece of butter and stir until melted.
Finish and store
Do not grind the coffee too fine.
Store the ground coffee in a tightly covered container.
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.
Photo for illustrative purposes only · Contact us to use it
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.
-
Beans + walnuttop 8% of all pairsSmell alikestrongCooked together162 recipes
Shared aroma: 2,3,5-trimethylpyrazine (cocoa, roasted).
-
Coffee + walnuttop 11% of all pairsSmell alikemoderateCooked together289 recipes
Shared aroma: 2,4-nonadienal (fatty, green).
-
Coffee + beanstop 13% of all pairsSmell alikemoderateCooked together289 recipes
Shared aroma: 2-isobutyl-3-methoxypyrazine (green bell pepper, earthy).
-
Butter + walnuttop 15% of all pairsSmell alikemoderateCooked together6,832 recipes
Shared aroma: eucalyptol (eucalyptus, herbal).
-
Beans + buttertop 19% of all pairsSmell alikemoderateCooked together2,799 recipes
Shared aroma: trans-2-nonenal (cardboard, fatty).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Coffee beans
- Roasting browns the beans, developing their deep aroma and bitter-sweet flavour.
- Butter
- Melted fat coats the beans, adding richness and a smoother mouthfeel to the finished coffee.
The step that matters
Roast until evenly dark brown, stirring often. Uneven heat scorches some beans while leaving others underdeveloped. Stirring spreads the heat so browning reactions between sugars and amino acids proceed evenly, giving a consistent flavour.
Swap the beans
How well each one fits the dish's main ingredients (coffee, butter, walnut):
- Hazelnutfits better
- Almondfits better
- Pecansfits better
- Beansthe original
Fit is the average pairing score against coffee, butter, walnut. 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.
More roasted coffee recipes
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.

Green Corn Pudding64 recipes
Cornmeal mush12 recipes