Why it works: Mace and garlic are a kitchen classic. They rank in the top 18% of all ingredient pairs, and 1,287 recipes mention both. Both carry linalool, which smells floral, citrus. The science ↓
The recipe
Ingredients
Contains: tree nuts (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Prepare the walnut liquid
Place the walnut shells in a pan with the water and salt.
Let them stand for 10 days.
Boil the shells in the water, then drain through a sieve, pressing down with a heavy weight to extract the juice.
Flavour and bottle
Place the liquid in a pot and add the shallots, cloves, mace, pepper, and garlic.
Simmer until the shallots sink.
Once cooled, bottle the mixture and seal tightly.
Let it stand for 6 months before using.
If it ferments, boil again and strain.
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.
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.
-
Mace + garlictop 18% of all pairsAroma overlaplowMentioned together1,287 recipes
Shared aroma: linalool (floral, citrus).
-
Clove + macetop 2% of all pairsAroma overlapmoderateMentioned together8,199 recipes
Shared aroma: methyleugenol (clove, spice).
-
Clove + peppertop 3% of all pairsAroma overlapstrongMentioned together13,144 recipes
Shared aroma: ethyl octanoate (fruity, wine).
-
Garlic + shallottop 4% of all pairsAroma overlapstrongMentioned together1,949 recipes
Shared aroma: coumarin (sweet, hay).
-
Pepper + garlictop 5% of all pairsAroma overlapmoderateMentioned together27,044 recipes
Shared aroma: beta-phellandrene (minty, terpene).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Walnut shells
- Provide the main flavour and dark colour of the ketchup through their extracted juice.
- Salt
- Helps draw out the liquid and preserves the mixture against spoilage.
- Garlic
- Adds pungent aroma and savoury depth to the finished ketchup.
- Shallots
- Add mild onion-like sweetness and aroma to the liquid as it simmers.
The step that matters
Let the ketchup stand for 6 months before using. The long resting period lets the flavours mellow and blend while the sealed mixture matures. Opening early or skipping the rest leaves the taste harsh and raises the chance of fermentation, which the recipe handles by boiling again and straining.
Flavor stand-ins for the garlic
How well each one fits the dish's main ingredients (walnut, clove, mace, pepper, shallot):
- Nutmegbetter flavor fit
- Allspicebetter flavor fit
- Cinnamonbetter flavor fit
- Garlicthe original
Fit is the average pairing score against walnut, clove, mace, pepper, shallot. 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).
“What each ingredient does” and “The step that matters” were written by Claude, an AI, from this recipe’s own method. They are not checked recipe by recipe, so they can be wrong.
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