Why it works: Vanilla and milk 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 ↓
Lemon Filling
Ingredients
Directions
Make the filling
In a bowl, mix the lemon juice, grated rind, egg yolks, sugar, and butter.
Cook the mixture in a double boiler until it thickens and becomes spongy.
Allow it to cool as it will thicken further.
Assemble and frost
Spread the filling between cake layers.
For the frosting, beat together the powdered sugar, vanilla, and milk until smooth.
Spread the frosting on top of the cake.
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.
-
Vanilla + milktop 5% of all pairsSmell alikemoderateCooked together19,187 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Butter + milktop 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).
-
Butter + vanillatop 14% of all pairsSmell alikemoderateCooked together20,050 recipes
Shared aroma: guaiacol (smoky, sweet).
-
Lemon + vanillatop 15% of all pairsSmell alikemoderateCooked together5,961 recipes
Shared aroma: eucalyptol (eucalyptus, herbal).
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
- Egg yolks
- Thicken the filling as they cook and give it a rich, custard-like body.
- Lemon juice
- Provides the sharp acidity that defines the filling's lemon flavour.
- Butter
- Adds fat for a smooth, rich texture in the cooked filling.
- Sugar
- Sweetens the filling and balances the lemon's acidity.
- Powdered sugar
- Dissolves easily into the milk and vanilla to form a smooth, spreadable frosting.
The step that matters
Cooking the filling in a double boiler. Egg yolks can curdle or scramble if overheated. Gentle, indirect heat in a double boiler lets the mixture thicken smoothly as the proteins set slowly.
Swap the lemon
How well each one fits the dish's main ingredients (egg, sugar, butter, vanilla, milk):
- Figfits better
- Peachfits better
- Coconutfits better
- Lemonthe original
Fit is the average pairing score against egg, sugar, butter, vanilla, milk. 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 lemon filling 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.
Lemon Cake228 recipes
Lemon Ice147 recipes
Vanilla Ice Cream108 recipes
Lemon Sherbet103 recipes