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
Add allspice and black pepper to a quart of vinegar.
Remove the first skin of the onions with your fingers and the second skin with a silver knife.
Pack and pickle
Pack the onions into well-washed and dried bottles or jars.
Pour enough cold vinegar over the onions to cover them, ensuring it is seasoned with the spices.
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).
-
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
- Acts as the preserving liquid, its acidity keeping the onions stable and giving them a sharp flavor.
- White onions
- Provide the main body and texture of the pickle, softening and turning mellow during the wait.
- Whole allspice
- Adds warm, aromatic spice flavor that infuses into the vinegar.
- Whole black pepper
- Adds sharp, aromatic heat that infuses into the vinegar.
The step that matters
Sealing the jars tightly. Keeping air out limits oxidation and spoilage, and the onions need the full two-week rest so the vinegar and spices can penetrate them evenly.
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.
Tomato Soup526 recipes
Brown Bread461 recipes
Mutton Broth292 recipes
Yorkshire Pudding264 recipes