Why it works: Allspice and ginger match in chemistry and in kitchens. They rank in the top 1% of all ingredient pairs, and cooks put them together in 2,620 recipes. Both carry estragole, which smells anise, licorice. The science ↓
Soft Ginger Bread
Ingredients
Directions
The book gives no oven temperature. The 400°F (200°C) in the steps was added when the recipe was transcribed, as a starting point.
Prepare
Preheat the oven to 400°F (200°C).
Mix and pour
In a large bowl, mix together the flour, molasses, sugar, butter, eggs, and allspice and ginger until well combined.
Pour the batter into a greased baking pan.
Bake
Bake in the preheated oven until golden brown.
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.
Photo for illustrative purposes only · Contact us to use it
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 + gingertop 1% of all pairsSmell alikestrongCooked together2,620 recipes
Shared aroma: estragole (anise, licorice).
-
Molasses + sugartop 11% of all pairsSmell alikemoderateCooked together9,225 recipes
Shared aroma: ethanol (alcoholic, ethereal).
-
Flour + buttertop 12% of all pairsSmell alikelowCooked together124,287 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Flour + allspicetop 13% of all pairsSmell alikemoderateCooked together4,302 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Molasses + gingertop 14% of all pairsSmell alikelowCooked together4,116 recipes
Shared aroma: ethanol (alcoholic, ethereal).
Flour and butter barely smell alike, yet cooks put them together in 124,287 recipes: they work on texture and structure more than aroma.
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Flour
- Provides the main structure that holds the bread's crumb together as it bakes.
- Molasses
- Adds moisture, sweetness, and the dark color and rich flavor typical of ginger bread.
- Sugar
- Adds sweetness and helps the crust brown during baking.
- Butter
- Adds fat that tenderizes the crumb and carries flavor.
- Eggs
- Bind the batter and add structure as their proteins set in the oven.
The step that matters
Bake until golden brown. Baking too long dries out the crumb and makes the bread firm rather than soft, so check for color and doneness near the end of baking.
Swap the allspice
How well each one fits the dish's main ingredients (flour, molasses, sugar, butter, egg, ginger):
- Cinnamonfits better
- Nutmegfits better
- Cardamomfits about as well
- Allspicethe original
Fit is the average pairing score against flour, molasses, sugar, butter, egg, ginger. 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.
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.

Ginger Cookies213 recipes
Molasses Cookies96 recipes
Ginger Cake93 recipes
Molasses Cake90 recipes