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, Pickled
Ingredients
Directions
Prepare the onions
Gather dry, ripe onions.
Remove the thin outer skin using your fingers.
Use a silver knife to cut the onions as desired.
Pickle
Combine vinegar, allspice, and black pepper in a jar.
Add the prepared onions to the jar and seal it.
Let the onions pickle for at least a week 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).
-
Vinegar + allspicetop 13% of all pairsSmell alikemoderateCooked together4,548 recipes
Shared aroma: 2-methylbutyl acetate (fruit).
-
Vinegar + oniontop 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
- Vinegar
- Provides the acidity that preserves the onions and gives them their sharp, tangy flavour.
- Onions
- Supply the main body and texture of the pickle, softening and taking on the brine's flavour over time.
- Allspice
- Adds warm, aromatic spice notes that flavour the pickling liquid.
- Whole black pepper
- Contributes mild heat and aroma to the pickling liquid.
The step that matters
Let the onions pickle for at least a week. Acid from the vinegar needs time to penetrate the onion layers and mellow their sharpness. Using them too early leaves them harsh and under-flavoured, since the spices also need time to infuse.
Swap the onion
How well each one fits the dish's main ingredients (vinegar, allspice, pepper):
- Mustardfits better
- Capsicumfits better
- Horseradishfits better
- Onionthe original
Fit is the average pairing score against 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.
Fritters56 recipes
Crisp Crackers7 recipes