Why it works: Milk and butter are a kitchen classic. They rank in the top 7% of all ingredient pairs, and cooks put them together in 81,283 recipes. Both carry (z)-4-heptenal, which smells biscuit, cream. The science ↓
Chocolate Fudge
Ingredients
Directions
Make the fudge
In a large pot, mix together the granulated sugar, confectioner's sugar, sweet milk, and butter.
Boil the mixture for five minutes.
Add the cocoa or grated chocolate and boil for an additional three minutes.
Remove from heat and beat the mixture until it thickens.
If desired, stir in nuts after removing from heat.
Set and cut
Pour into buttered pans and, when nearly cold, mark into squares.
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.
-
Milk + buttertop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Walnut + nutstop 9% of all pairsSmell alikemoderateCooked together284 recipes
Shared aroma: alpha-pinene (pine, turpentine).
-
Cocoa + nutstop 10% of all pairsSmell alikemoderateCooked together65 recipes
Shared aroma: furaneol (caramel, strawberry).
-
Milk + cocoatop 10% of all pairsSmell alikemoderateCooked together643 recipes
Shared aroma: methyl 2-methylbutyrate (fruity, apple).
-
Butter + walnuttop 15% of all pairsSmell alikemoderateCooked together6,832 recipes
Shared aroma: eucalyptol (eucalyptus, herbal).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Granulated sugar
- Provides sweetness and bulk, and helps form the fudge's soft crystalline structure as it cools.
- Confectioner's sugar
- Adds sweetness and fine crystals that contribute to a smoother, creamier texture.
- Sweet milk
- Supplies liquid and milk solids that give the fudge its creamy body and mouthfeel.
- Cocoa or grated chocolate
- Provides the chocolate flavor and color, and adds fat and solids that firm the fudge.
- Butter
- Adds fat for a rich mouthfeel and helps keep the fudge tender and smooth.
The step that matters
Beating until it thickens. Beating the hot mixture as it cools encourages fine sugar crystals to form, giving a smooth, creamy texture. Beating too late, after it has set, can leave the fudge grainy or hard to work with.
Swap the nuts
The recipe marks nuts as optional. How well each one fits the dish's main ingredients (sugar, milk, butter, walnut, cocoa):
- Almondfits better
- Pecansfits about as well
- Pistachiofits about as well
- Nutsthe original
Fit is the average pairing score against sugar, milk, butter, walnut, cocoa. 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 chocolate fudge 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.

Coconut Pudding26 recipes
Coconut Cake17 recipes
Cocoa Nut Candy11 recipes
Cocoa Nut Pudding9 recipes