Why it works: Milk and vanilla are a kitchen classic. They rank in the top 5% of all ingredient pairs, and cooks put them together in 19,187 recipes. Both carry ethyl caproate, which smells fruity, apple peel. The science ↓
Boston Cream Pie
Ingredients
Directions
The book says “a rather quick oven”. The 400°F (200°C) in the steps is the modern equivalent, not the book's own figure.
Make the custard
Boil the milk in a saucepan.
In a bowl, beat the eggs and mix in sugar and flour.
Stir the egg mixture into the boiling milk, then add butter.
Stir continuously until thickened, then flavor with vanilla or lemon.
Make and bake the cake
In another bowl, combine beaten eggs, sugar, flour, baking powder, and milk or water.
Divide the batter in half and pour into two greased pie tins.
Bake at 400°F (200°C) until golden brown.
Assemble and serve
Once cooled, split each cake in half and spread half the cream between the layers.
Serve cold.
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.
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.
-
Milk + vanillatop 5% of all pairsSmell alikemoderateCooked together19,187 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Milk + buttertop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Sugar + vanillatop 8% of all pairsSmell alikelowCooked together35,032 recipes
Shared aroma: beta-damascenone (apple, rose).
-
Flour + buttertop 12% of all pairsSmell alikelowCooked together124,287 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Flour + vanillatop 12% of all pairsSmell alikemoderateCooked together19,241 recipes
Shared aroma: isobutyraldehyde (malty, green).
Sugar and vanilla barely smell alike, yet cooks put them together in 35,032 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
- Eggs
- Set the custard and give the cake structure as they coagulate with heat.
- All-purpose flour
- Thickens the custard and gives the cake its body.
- Granulated sugar
- Sweetens the custard and cake and helps the cake brown.
- Butter
- Adds richness and a smoother texture to the custard.
- Baking powder
- Releases gas in the batter so the cakes rise and stay light.
- Milk
- Provides liquid that thickens into the custard and moistens the cake.
The step that matters
Stir continuously until thickened. Egg and flour mixtures can lump or scorch on the bottom of the pan if left unattended. Constant stirring keeps the custard smooth as the starch gelatinizes and the eggs set.
Swap the vanilla
How well each one fits the dish's main ingredients (milk, egg, sugar, flour, butter):
- Vanillathe original
- Raisinfits about as well
- Figfits less well
- Coconutfits less well
Fit is the average pairing score against milk, egg, sugar, flour, butter. 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.
Vanilla Ice Cream108 recipes
White Cake431 recipes
Pound Cake373 recipes
Orange Bundt Cake349 recipes