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 ↓
Pickled Onions
Ingredients
Directions
Prepare
Remove the first skin of the onions with your fingers and the second skin with a silver knife.
Pack the onions into well-washed and dried bottles or jars.
Pickle
Pour enough cold vinegar over the onions to cover them completely, seasoned with the allspice and black pepper. Ensure the vinegar fully covers the onions.
Cover and seal the jars tightly to exclude air.
Let the onions sit for two weeks before using.
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).
-
Pepper + oniontop 11% of all pairsSmell alikemoderateCooked together68,474 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Allspice + oniontop 13% of all pairsSmell alikemoderateCooked together4,270 recipes
Shared aroma: coumarin (sweet, hay).
-
Allspice + vinegartop 13% of all pairsSmell alikemoderateCooked together4,548 recipes
Shared aroma: 2-methylbutyl acetate (fruit).
-
Onion + vinegartop 14% of all pairsSmell alikemoderateCooked together18,226 recipes
Shared aroma: acetic acid (sour, vinegar).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Small white ripe dry onions
- Provide the main vegetable that becomes tender and mellow as it steeps in the vinegar.
- Cold vinegar
- Acidifies and preserves the onions, giving them their sharp, tangy flavour.
- Whole allspice
- Adds warm, aromatic spice notes that infuse into the vinegar and onions.
- Whole black pepper
- Contributes mild heat and aromatic sharpness to the pickling liquid.
The step that matters
Keep the onions fully submerged in vinegar. Onions exposed to air can spoil and mould, while full coverage by acidic vinegar inhibits microbial growth and keeps the pickle safe and crisp.
Swap the onion
How well each one fits the dish's main ingredients (allspice, pepper, vinegar):
- Mustardfits better
- Capsicumfits better
- Horseradishfits better
- Onionthe original
Fit is the average pairing score against allspice, pepper, vinegar. 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