Why it works: Allspice and onion are a kitchen classic. They rank in the top 11% of all ingredient pairs, and 4,271 recipes mention both. Both carry coumarin, which smells sweet, hay. The science ↓
The recipe
Ingredients
Directions
Choose firm, dry, ripe onions. Peel off the thin papery outer skin and any bruised layers.
Cut the onions as you like, using a clean stainless steel knife.
Put 2 teaspoons allspice and 2 teaspoons whole black pepper into a clean glass jar.
Pour 1 quart vinegar over the spices in the jar.
Add the cut onions and press them down so they are fully covered by the vinegar. Seal the jar.
Refrigerate the jar and let the onions pickle for at least 1 week before using.
Keep the jar refrigerated and use the onions within 2 months.
For shelf-stable jars, follow a tested recipe from the USDA or the National Center for Home Food Preservation.
Original text from the book (6 steps)
Gather dry, ripe onions.
Remove the thin outer skin using your fingers.
Use a silver knife to cut the onions as desired.
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.
From a scanned old cookbook. The method has been rewritten by AI to follow current food-safety guidance (safe cooking temperatures, refrigeration, no raw-egg shortcuts). It hasn't been kitchen-tested. The original text is under the method.
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.
-
Allspice + oniontop 11% of all pairsAroma overlapmoderateMentioned together4,271 recipes
Shared aroma: coumarin (sweet, hay).
-
Allspice + peppertop 3% of all pairsAroma overlapstrongMentioned together6,395 recipes
Shared aroma: beta-phellandrene (minty, terpene).
-
Vinegar + peppertop 6% of all pairsAroma overlapmoderateMentioned together27,805 recipes
Shared aroma: 4'-methylacetophenone (bitter almond).
-
Pepper + oniontop 7% of all pairsAroma overlapmoderateMentioned together68,463 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Vinegar + oniontop 7% of all pairsAroma overlapmoderateMentioned together18,203 recipes
Shared aroma: acetic acid (sour, vinegar).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
Flavor stand-ins for the allspice
How well each one fits the dish's main ingredients (vinegar, pepper, onion):
- Garlicbetter flavor fit
- Celerybetter flavor fit
- Dillbetter flavor fit
- Allspicethe original
Fit is the average pairing score against vinegar, pepper, onion. 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).
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.
More pickled onions recipes
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