Why it works: Butter and lemon 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 Filling
Ingredients
Directions
Combine water, part of the sugar, lemon juice, and grated rind in a double boiler.
Heat to boiling.
Mix the remaining sugar with cornstarch and stir into the boiling mixture.
Boil for 10 minutes.
Add the beaten egg and butter.
Beat for a few minutes until well combined.
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.
-
Butter + lemontop 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
- Cornstarch
- Thickens the liquid into a smooth, set filling as it boils.
- Egg
- Adds richness and helps thicken the filling as it cooks.
- Sugar
- Sweetens the filling and balances the lemon's acidity.
- Butter
- Adds fat for a smoother, richer texture.
- Lemon
- Provides acidity and aroma from the juice and grated rind.
The step that matters
Boil for 10 minutes. Cornstarch needs to reach a full boil and hold it to thicken fully and lose its raw starchy taste. Stopping early can leave the filling thin or chalky.
Swap the lemon
How well each one fits the dish's main ingredients (sugar, egg, butter):
- Vanillafits better
- Lemonthe original
- Raisinfits about as well
- Figfits about as well
Fit is the average pairing score against sugar, egg, 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.
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
Lemon Sherbet103 recipes
Lemon Custard64 recipes