Why it works: Vanilla and lemon are a kitchen classic. They rank in the top 15% of all ingredient pairs, and cooks put them together in 5,961 recipes. Both carry eucalyptol, which smells eucalyptus, herbal. The science ↓
Marshmallow Filling
Ingredients
Directions
Make the filling
Place half of the marshmallows in a double boiler with the water over heat until melted.
Beat the egg whites until very stiff and gradually pour them over the melted marshmallows.
Add vanilla and lemon juice, then mix well.
Assemble and finish
Spread the mixture between layers of cake.
Put the remaining marshmallows in the oven until they swell but do not brown.
Place them on top of the cake and pour boiled filling over them.
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.
-
Vanilla + lemontop 15% of all pairsSmell alikemoderateCooked together5,961 recipes
Shared aroma: eucalyptol (eucalyptus, herbal).
-
Egg + lemontop 19% of all pairsSmell alikelowCooked together44,316 recipes
Shared aroma: (e,e)-2,4-decadienal (fatty, deep fried).
-
Egg + vanillatop 23% of all pairsSmell alikelowCooked together27,347 recipes
Shared aroma: 1-octen-3-ol (mushroom, earthy).
Egg and lemon barely smell alike, yet cooks put them together in 44,316 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
- Marshmallows
- Melt to form a sweet, sticky base that holds the filling together.
- Egg whites
- Whipped to stiff foam, they add lightness and structure to the filling.
- Lemon juice
- Adds acidity that balances the marshmallow sweetness and helps stabilise the whipped whites.
The step that matters
Heating the remaining marshmallows. Marshmallows swell and soften with gentle heat, but browning means the sugars have caramelised too far. Watching them closely keeps them pale and soft for the topping.
Swap the vanilla
How well each one fits the dish's main ingredients (egg, lemon):
- Orangefits better
- Limefits better
- Raspberryfits better
- Vanillathe original
Fit is the average pairing score against egg, lemon. 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.

Lemon Cake228 recipes
Lemon Ice147 recipes
Vanilla Ice Cream108 recipes
Lemon Sherbet103 recipes