Why it works: Pineapple and allspice work together. They rank in the top 10% of all ingredient pairs, and 120 recipes mention both. Both carry 2-methylbutyl acetate, which smells fruit. The science ↓
The recipe
Ingredients
Directions
Peel the pineapple, remove the core, and cut the flesh into small squares. Combine the pineapple and sugar in a bowl, cover, and refrigerate until the sugar dissolves, about 8 hours or overnight.
Transfer the mixture and its juices to a heavy pot. Cook over medium heat until the pineapple is tender when pierced with a fork.
Remove the pineapple with a slotted spoon. Add the vinegar to the syrup. Tie the mace, cloves, and allspice in a cheesecloth bag and add it to the syrup.
Simmer the syrup until it thickens slightly and coats the back of a spoon. Return the pineapple to the pot.
Simmer everything together for 30 minutes, stirring often, until the pineapple looks glossy and the syrup is thick. Remove and discard the spice bag.
Let the pineapple cool completely, then spoon it into clean jars. Cover and refrigerate within 2 hours of cooking. Use within 2 weeks, or freeze for longer storage.
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)
Combine the pineapple and sugar in a bowl; let it sit until the sugar dissolves.
Transfer the mixture to a kettle and cook until the pineapple is tender.
Remove the pineapple and add vinegar, mace, cloves, and allspice to the syrup.
Cook the syrup until it thickens, then return the pineapple to the kettle.
Boil everything together for 30 minutes.
Pour into jars and seal while hot.
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.
-
Pineapple + allspicetop 10% of all pairsAroma overlapmoderateMentioned together120 recipes
Shared aroma: 2-methylbutyl acetate (fruit).
-
Clove + allspicetop 1% of all pairsAroma overlapstrongMentioned together7,711 recipes
Shared aroma: methyleugenol (clove, spice).
-
Mace + clovetop 2% of all pairsAroma overlapmoderateMentioned together8,199 recipes
Shared aroma: methyleugenol (clove, spice).
-
Mace + allspicetop 2% of all pairsAroma overlapstrongMentioned together3,189 recipes
Shared aroma: methyleugenol (clove, spice).
-
Pineapple + vinegartop 6% of all pairsAroma overlapstrongMentioned together409 recipes
Shared aroma: 2-methylbutyl acetate (fruit).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
Flavor stand-ins for the mace
How well each one fits the dish's main ingredients (pineapple, sugar, vinegar, clove, allspice):
- Cinnamonbetter flavor fit
- Gingerbetter flavor fit
- Cardamombetter flavor fit
- Macethe original
Fit is the average pairing score against pineapple, sugar, vinegar, clove, allspice. 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