Why it works: Allspice and pepper match in chemistry and in kitchens. They rank in the top 5% of all ingredient pairs, and cooks put them together in 6,395 recipes. Both carry estragole, which smells anise, licorice. The science ↓
Onions
Ingredients
Directions
Prepare the onions
Peel the brown skin off the onions.
Boil water in a tin stew-pan and add the onions until they look clear.
Remove the onions quickly with a slotted spoon and place them on a clean cloth.
Cover the onions with another cloth.
Scald more onions.
Pickle and store
Let the onions cool, then place them in a jar or glass bottle.
Pour hot (not boiling) white wine vinegar over the onions.
Add 1 ounce of allspice and 1 ounce of black pepper for each gallon of vinegar.
Once cooled, cover the jar.
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.
-
Allspice + peppertop 5% of all pairsSmell alikestrongCooked together6,395 recipes
Shared aroma: estragole (anise, licorice).
-
Onion + peppertop 11% of all pairsSmell alikemoderateCooked together68,474 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
White wine + vinegartop 11% of all pairsSmell alikemoderateCooked together1,776 recipes
Shared aroma: beta-damascenone (apple, rose).
-
Onion + white winetop 12% of all pairsSmell alikemoderateCooked together4,535 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Onion + allspicetop 13% of all pairsSmell alikemoderateCooked together4,270 recipes
Shared aroma: coumarin (sweet, hay).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Small white round onions
- Form the main body of the pickle, becoming tender and mild as they soak.
- Best white wine vinegar
- Provides the sharp acidity that preserves the onions and gives the pickle its tang.
- Allspice
- Adds warm, aromatic flavour to the pickling liquid.
- Whole black pepper
- Adds gentle heat and spice to the pickling liquid.
The step that matters
Pour hot (not boiling) white wine vinegar over the onions. Vinegar that is too hot can soften the onions and cook them, while cooling it too far slows flavour absorption. Hot but not boiling vinegar keeps the onions firm and lets the spices infuse steadily.
Swap the onion
How well each one fits the dish's main ingredients (white wine, vinegar, allspice, pepper):
- Capsicumfits better
- Mustardfits better
- Shallotfits better
- Onionthe original
Fit is the average pairing score against white wine, vinegar, allspice, pepper. 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 pickled onions 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.
Tomato Soup526 recipes
Brown Bread461 recipes
Mutton Broth292 recipes
Yorkshire Pudding264 recipes