Why it works: Milk and vanilla are a kitchen classic. They rank in the top 5% of all ingredient pairs, and cooks put them together in 19,187 recipes. Both carry ethyl caproate, which smells fruity, apple peel. The science ↓
Chocolate Fudge
Ingredients
Directions
Make the fudge
In a saucepan, combine sugar, sweet milk, and grated chocolate.
Add butter and cook over medium heat, stirring constantly until the mixture forms a soft ball when tested in cold water.
Remove from heat and stir in vanilla extract.
If desired, mix in chopped nuts or crystallized fruits.
Beat the mixture until creamy, then pour it into buttered tins.
Set and cut
Allow to cool, then cut 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 + vanillatop 5% of all pairsSmell alikemoderateCooked together19,187 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Chocolate + vanillatop 5% of all pairsSmell alikemoderateCooked together10,020 recipes
Shared aroma: sotolon (curry, maple).
-
Milk + buttertop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Sugar + vanillatop 8% of all pairsSmell alikelowCooked together35,032 recipes
Shared aroma: beta-damascenone (apple, rose).
-
Vanilla + walnuttop 10% of all pairsSmell alikestrongCooked together2,730 recipes
Shared aroma: eucalyptol (eucalyptus, herbal).
Sugar and vanilla barely smell alike, yet cooks put them together in 35,032 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
- Granulated sugar
- Forms the bulk of the fudge and, when cooked to a soft ball, sets into a firm yet tender texture.
- Sweet milk
- Adds moisture and dissolves the sugar, giving the fudge a creamy body.
- Baker's chocolate
- Provides the chocolate flavour and fat that give the fudge its richness.
- Butter
- Adds fat for smoothness and a rich mouthfeel in the finished fudge.
The step that matters
Cooking to a soft ball. Sugar syrup must reach the right concentration to set properly. Stirring constantly prevents scorching and sugar crystals, and undercooking leaves the fudge soft and runny while overcooking makes it hard and grainy.
Swap the walnut
The recipe marks walnut as optional. How well each one fits the dish's main ingredients (sugar, milk, chocolate, butter, vanilla):
- Almondfits better
- Cocoafits better
- Hazelnutfits better
- Walnutthe original
Fit is the average pairing score against sugar, milk, chocolate, butter, vanilla. 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.

Chocolate Cream171 recipes
Vanilla Ice Cream108 recipes
Chocolate Cookies76 recipes
Chocolate Drop Cookies50 recipes