Why it works: Onion and allspice 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
Peel the small white onions and place them in a clean glass or food-safe plastic container.
Dissolve the coarse sea salt in enough cold water to cover the onions. Pour it over them, weigh them down if needed, and refrigerate for 2 days.
Drain the onions and rinse them well under cold water. Drain thoroughly.
Cover the onions with plain vinegar and refrigerate overnight. Drain well in the morning and pat dry with paper towels.
In a saucepan, combine the plain vinegar, brown sugar, allspice, celery seed, white mustard seed and turmeric. Heat, stirring until the sugar dissolves and the liquid simmers.
Cool the spiced vinegar to room temperature within 2 hours. Pack the onions into clean, dry jars and pour the vinegar over them to cover.
Seal the jars and refrigerate. Let the pickles chill for about 1 week to develop flavour, then keep them refrigerated and eat within 2 weeks. Discard if mould appears or the smell turns off.
This is a refrigerator pickle. For shelf-stable jars, follow a tested recipe from the USDA or the National Center for Home Food Preservation.
Original text from the book (9 steps)
Peel the onions and place them in a porcelain kettle.
Cover the onions with water and dissolve the salt in it.
As the water heats, remove the kettle from the stove.
Pour the onions and water into a jar and let sit for two days.
Drain the mixture for several hours.
Soak the onions in plain vinegar overnight, then drain again for 3 hours.
Place the onions back in a jar and cover with boiled vinegar.
Add the brown sugar, allspice, celery seed, white mustard seed, and turmeric.
Seal the jar and let it sit for a month.
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.
-
Onion + allspicetop 11% of all pairsAroma overlapmoderateMentioned together4,271 recipes
Shared aroma: coumarin (sweet, hay).
-
Celery + mustardtop 3% of all pairsAroma overlapmoderateMentioned together4,160 recipes
Shared aroma: guaiacol (smoky, sweet).
-
Celery + turmerictop 3% of all pairsAroma overlapstrongMentioned together1,356 recipes
Shared aroma: guaiacol (smoky, sweet).
-
Allspice + mustardtop 4% of all pairsAroma overlapstrongMentioned together1,928 recipes
Shared aroma: methyleugenol (clove, spice).
-
Allspice + turmerictop 4% of all pairsAroma overlapstrongMentioned together629 recipes
Shared aroma: myrcene (balsamic, herbaceous).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
Flavor stand-ins for the turmeric
How well each one fits the dish's main ingredients (onion, vinegar, sugar, allspice, celery, mustard):
- Cinnamonbetter flavor fit
- Tarragonbetter flavor fit
- Thymebetter flavor fit
- Turmericthe original
Fit is the average pairing score against onion, vinegar, sugar, allspice, celery, mustard. 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.
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
Illustration
Illustration