Why it works: Flour and raisin match in chemistry and in kitchens. They rank in the top 1% of all ingredient pairs, and cooks put them together in 9,075 recipes. Both carry isobutyraldehyde, which smells malty, green. 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. The book gives no cooking times either; the times in the steps were added in transcription, so check for doneness rather than trusting the clock.
Prepare the batter
Preheat the oven to 350°F (175°C).
In a large bowl, cream the butter and sugar together until light and fluffy.
Add the molasses and sweet milk, mixing well.
In a separate bowl, combine the flour, baking soda, and spices.
Gradually add the dry ingredients to the wet mixture, stirring until just combined.
Fold in the eggs and raisins until evenly distributed.
Bake
Pour the batter into a greased cake pan and bake for 30-40 minutes, or until a toothpick comes out clean.
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.
-
Flour + raisintop 1% of all pairsSmell alikestrongCooked together9,075 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Raisin + nutmegtop 6% of all pairsSmell alikemoderateCooked together5,377 recipes
Shared aroma: alpha-terpineol (lilac, floral).
-
Butter + milktop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Flour + nutmegtop 8% of all pairsSmell alikemoderateCooked together18,623 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Molasses + sugartop 11% of all pairsSmell alikemoderateCooked together9,225 recipes
Shared aroma: ethanol (alcoholic, ethereal).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Butter
- Creams with sugar to trap air, giving the cake a light, tender crumb and rich flavor.
- Flour
- Forms the structure that holds the cake together as it bakes.
- Eggs
- Bind the batter and add structure and richness as they set in the oven.
- Molasses
- Adds moisture, dark color and a deep sweetness that carries the spices.
- Baking soda
- Reacts with the molasses's acidity to produce gas that helps the cake rise.
- Sugar
- Sweetens the batter and helps create a tender, moist crumb when creamed with butter.
The step that matters
Gradually add the dry ingredients to the wet mixture. Mixing in the flour only until just combined keeps gluten development limited, so the cake stays tender rather than tough and dense.
Swap the nutmeg
How well each one fits the dish's main ingredients (butter, molasses, sugar, flour, milk, egg, raisin):
- Cinnamonfits better
- Nutmegthe original
- Gingerfits less well
- Allspicefits less well
Fit is the average pairing score against butter, molasses, sugar, flour, milk, egg, raisin. 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.

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