Why it works: Cinnamon and allspice match in chemistry and in kitchens. They rank in the top 1% of all ingredient pairs, and cooks put them together in 5,536 recipes. Both carry estragole, which smells anise, licorice. The science ↓
Spice Cake
Ingredients
Directions
The book gives no oven temperature. The 350°F (175°C) in the steps was added when the recipe was transcribed, as a starting point.
Prepare the batter
Preheat the oven to 350°F (175°C).
In a large bowl, cream together the butter and brown sugar.
Add the molasses and sour milk, mixing well.
In another bowl, combine the flour, cinnamon, allspice, and cloves.
Gradually add the dry ingredients to the wet mixture.
Incorporate the egg yolks and whole egg, mixing until smooth.
Bake and finish
Divide the batter into three portions for baking.
Bake each portion in separate pans until a toothpick comes out clean.
After baking, frost each cake as desired.
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.
-
Cinnamon + allspicetop 1% of all pairsSmell alikestrongCooked together5,536 recipes
Shared aroma: estragole (anise, licorice).
-
Butter + milktop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Flour + cinnamontop 9% of all pairsSmell alikemoderateCooked together17,341 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Milk + cinnamontop 10% of all pairsSmell alikemoderateCooked together12,655 recipes
Shared aroma: cuminaldehyde (Spicy, cumin).
-
Sugar + cinnamontop 10% of all pairsSmell alikelowCooked together30,779 recipes
Shared aroma: guaiacol (smoky, sweet).
Sugar and cinnamon barely smell alike, yet cooks put them together in 30,779 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
- Butter
- Adds fat and richness, giving the cake a tender crumb and flavor.
- Brown sugar
- Adds sweetness and moisture, and helps the cake brown and stay soft.
- Molasses
- Adds moisture, deep flavor and dark color to the cake.
- Sour milk
- Its acidity reacts with leavening to help the cake rise and tenderize the crumb.
- Flour
- Provides the structure that sets the cake as it bakes.
- Egg yolks
- Add richness, emulsify the batter and help bind it for a tender, set crumb.
The step that matters
Gradually add the dry ingredients to the wet mixture. Adding flour in portions and mixing only until combined keeps the batter smooth and emulsified. Overmixing once flour is added develops gluten, which can make the cake tough.
Swap the allspice
How well each one fits the dish's main ingredients (butter, sugar, molasses, milk, flour, egg, cinnamon):
- Nutmegfits better
- Cardamomfits about as well
- Clovefits about as well
- Allspicethe original
Fit is the average pairing score against butter, sugar, molasses, milk, flour, egg, cinnamon. 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 spice cake 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.

Molasses Cookies96 recipes
Molasses Cake90 recipes
Cinnamon Rolls71 recipes
Clove Cake53 recipes