Skip to main content
Dessert

Custard Filling for Cakes

A custard made from egg yolks, sugar, cornflour, milk, and vanilla, used as a filling for small cakes.

From an old cookbook · modernised transcription
Jump to recipe ↓

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 ↓

Custard Filling for Cakes

Ingredients

Directions

Make the custard

  1. Dissolve the sugar in the milk and bring it to a boil.

  2. Mix the cornflour and egg yolks together with a little cold milk.

  3. Pour the boiling milk over the cornflour and yolks while stirring continuously.

  4. Return the mixture to the pan and heat until just below boiling, without letting it boil.

  5. Remove from heat and add vanilla essence.

  6. Let it cool.

Use

  1. Use this custard as a filling for various small cakes.

Recipe from a historical cookbook (Internet Archive).

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.

  1. Milk + vanillatop 5% of all pairs
    Smell alikemoderate
    Cooked together19,187 recipes

    Shared aroma: ethyl caproate (fruity, apple peel).

  2. Sugar + vanillatop 8% of all pairs
    Smell alikelow
    Cooked together35,032 recipes

    Shared aroma: beta-damascenone (apple, rose).

  3. Egg + milktop 18% of all pairs
    Smell alikemoderate
    Cooked together88,785 recipes

    Shared aroma: 2-nonenal (fatty, green).

  4. Sugar + milktop 18% of all pairs
    Smell alikelow
    Cooked together77,875 recipes

    Shared aroma: 2-nonenal (fatty, green).

  5. Egg + sugartop 21% of all pairs
    Smell alikemoderate
    Cooked together122,807 recipes

    Shared aroma: 2-nonenal (fatty, 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

Egg yolks
Thicken the custard and add richness as their proteins set with gentle heat.
Cornflour
Thickens the milk into a smooth, sliceable filling as its starch swells when heated.
Milk
Forms the liquid base that gives the custard its body and creamy texture.
Sugar
Adds sweetness and balances the flavour of the milk and yolks.

The step that matters

Keep the custard below boiling after adding the yolks. Egg yolk proteins can curdle or scramble if overheated, leaving a grainy texture. Heating just below boiling lets the cornflour thicken the custard smoothly while the yolks set gently.

“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