Why it works: Walnut and shallot match in chemistry and in kitchens. They rank in the top 6% of all ingredient pairs, and 435 recipes mention both. Both carry 2-octenal, which smells fatty, green. The science ↓
The recipe
Ingredients
Contains: tree nuts (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Choose unripe green walnuts that a pin can pierce. Make a strong brine with the coarse sea salt and water. Submerge the walnuts and refrigerate for 8 days, changing the brine every 2 days.
Drain the walnuts and pat them dry with paper towels. Discard the brine. Do not leave the walnuts out at room temperature.
In a saucepan, combine 1 quart of vinegar with the white pepper, mustard seed, sliced ginger, sliced horseradish, allspice, long pepper, mace and bay leaves. Simmer for 30 minutes.
Add the shallots and garlic to the spiced vinegar 5 minutes before the end of simmering. Remove from heat and cool completely.
In a separate saucepan, boil the remaining vinegar with 2 ounces of coarse sea salt per gallon for 15 minutes. Cool completely.
Pack the walnuts into a clean glass jar with a tight-fitting lid. Pour in the cooled spiced mixture, then the cooled salted vinegar, so the walnuts are fully covered. Discard some liquid if needed to fit the spices.
Seal the jar with its lid and refrigerate. Let the walnuts steep for at least 1 week before eating.
Keep refrigerated at all times and eat within 2 weeks. Discard if the vinegar smells off, is cloudy, or the walnuts look slimy or moldy.
For shelf-stable jars, follow a tested recipe from the USDA or the National Center for Home Food Preservation.
Original text from the book (8 steps)
When walnuts are soft enough to pierce with a pin, soak them in a strong brine of salt and water for 8 days to remove bitterness.
Chalk the brine 2-3 times to darken the walnuts, then place them on a large sieve in the sun.
Boil enough vinegar to cover the walnuts, adding 2 ounces of coarse sea salt per gallon.
After boiling for 15 minutes, pour the vinegar over the walnuts and seal the jar tightly with a clean rubber stopper.
In a quart of vinegar, boil the white pepper, mustard seed, ginger, horseradish, allspice, long pepper, mace, and bay leaves for 30 minutes.
Five minutes before removing from heat, add the shallots and garlic.
Cool the mixture, then pour it over the walnuts, discarding some vinegar if necessary to ensure the spices are well mixed.
Seal the jar first with a bladder and then with leather.
From a scanned old cookbook. The method has been rewritten by AI to follow current food-safety guidance (safe cooking temperatures, refrigeration, no raw-egg shortcuts). It hasn't been kitchen-tested. The original text is under the method.
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.
-
Walnut + shallottop 6% of all pairsAroma overlapstrongMentioned together435 recipes
Shared aroma: 2-octenal (fatty, green).
-
Mustard + horseradishtop 1% of all pairsAroma overlapstrongMentioned together1,813 recipes
Shared aroma: coumarin (sweet, hay).
-
Ginger + allspicetop 2% of all pairsAroma overlapstrongMentioned together2,620 recipes
Shared aroma: beta-phellandrene (minty, terpene).
-
Mustard + shallottop 3% of all pairsAroma overlapstrongMentioned together842 recipes
Shared aroma: coumarin (sweet, hay).
-
Allspice + peppertop 3% of all pairsAroma overlapstrongMentioned together6,395 recipes
Shared aroma: beta-phellandrene (minty, terpene).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
Flavor stand-ins for the white pepper
How well each one fits the dish's main ingredients (walnut, vinegar, mustard, ginger, horseradish, allspice, pepper):
- Clovebetter flavor fit
- Cinnamonbetter flavor fit
- Dillbetter flavor fit
- White pepperthe original
Fit is the average pairing score against walnut, vinegar, mustard, ginger, horseradish, allspice, 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).
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