Why it works: Lemon and butter are a kitchen classic. They rank in the top 16% of all ingredient pairs, and cooks put them together in 41,227 recipes. Both carry 3-hexenal, which smells apple, fruity. The science ↓
Lemon Cake Filling
Ingredients
Directions
In a double boiler, combine the egg, sugar, grated lemon rind, lemon juice, and butter.
Cook the mixture over simmering water, stirring constantly, until it thickens.
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.
-
Lemon + buttertop 16% of all pairsSmell alikemoderateCooked together41,227 recipes
Shared aroma: 3-hexenal (apple, fruity).
-
Egg + buttertop 17% of all pairsSmell alikemoderateCooked together118,967 recipes
Shared aroma: decanal (soap, orange peel).
-
Sugar + buttertop 17% of all pairsSmell alikemoderateCooked together98,233 recipes
Shared aroma: guaiacol (smoky, sweet).
-
Sugar + lemontop 18% of all pairsSmell alikelowCooked together53,532 recipes
Shared aroma: 2-nonenal (fatty, green).
-
Egg + lemontop 19% of all pairsSmell alikelowCooked together44,316 recipes
Shared aroma: (e,e)-2,4-decadienal (fatty, deep fried).
Sugar and lemon barely smell alike, yet cooks put them together in 53,532 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
- Thickens the filling as it cooks and sets it into a spreadable custard.
- Sugar
- Sweetens the filling and helps balance the sharpness of the lemon.
- Lemon juice
- Adds acidity and bright lemon flavour that cuts the sweetness.
- Butter
- Adds fat for a smoother, richer texture in the finished filling.
The step that matters
Cook over simmering water while stirring constantly. Egg proteins thicken gently at moderate heat. If the heat is too high or stirring stops, the egg can scramble and curdle, leaving the filling lumpy instead of smooth.
Swap the lemon
How well each one fits the dish's main ingredients (egg, sugar, butter):
- Vanillafits better
- Lemonthe original
- Raisinfits about as well
- Figfits about as well
Fit is the average pairing score against egg, sugar, 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.
Lemon Cake228 recipes
Lemon Ice147 recipes
Lemon Sherbet103 recipes
Lemon Custard64 recipes