Why it works: Chocolate and walnut are a kitchen classic. They rank in the top 10% of all ingredient pairs, and cooks put them together in 1,548 recipes. Both carry 3-ethyl-2,5-dimethylpyrazine, which smells roasted, nutty. The science ↓
Chocolate Nut Bar
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 and mix
Preheat the oven to 300°F (150°C).
In a bowl, mix together the eggs, melted butter, sugar, flour, chocolate, and walnut meats until well combined.
Pour the mixture into a shallow pan.
Bake and serve
Bake slowly until set.
Cut into squares while warm.
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.
-
Chocolate + walnuttop 10% of all pairsSmell alikemoderateCooked together1,548 recipes
Shared aroma: 3-ethyl-2,5-dimethylpyrazine (roasted, nutty).
-
Butter + flourtop 12% of all pairsSmell alikelowCooked together124,287 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Flour + walnuttop 12% of all pairsSmell alikemoderateCooked together5,873 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Sugar + chocolatetop 13% of all pairsSmell alikemoderateCooked together15,404 recipes
Shared aroma: guaiacol (smoky, sweet).
-
Walnut + meattop 13% of all pairsSmell alikemoderateCooked together1,035 recipes
Shared aroma: 2,4-decadienal (seaweed).
Butter and flour barely smell alike, yet cooks put them together in 124,287 recipes: they work on texture and structure more than aroma.
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Eggs
- Bind the batter and set into a firm, sliceable structure as they cook.
- Butter
- Adds fat for a rich, tender texture and moisture.
- Sugar
- Sweetens the bar and adds moisture and a chewy texture.
- Flour
- Provides the structure that holds the bar together when set.
- Chocolate
- Adds deep chocolate flavour and fat that keeps the bar moist.
- Walnut meats
- Add crunch and a toasty, nutty flavour against the soft interior.
The step that matters
Bake slowly until set. Low, gentle heat sets the egg and flour proteins evenly without over-firming them. Baking too hot can make the bar dry, rubbery, or cracked, and underbaking leaves it wet in the centre. Judge doneness by the surface being set, not by a fixed time.
Swap the walnut
How well each one fits the dish's main ingredients (egg, butter, sugar, flour, chocolate, meat):
- Almondfits better
- Pecansfits about as well
- Walnutthe original
- Chestnutfits about as well
Fit is the average pairing score against egg, butter, sugar, flour, chocolate, meat. 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.
Chocolate Cream171 recipes
Chocolate Cookies76 recipes
Chocolate Fudge55 recipes
Chocolate Drop Cookies50 recipes