Skip to main content
Dessert

Chocolate Filling

A chocolate filling made from sugar, cornstarch, milk, chocolate, butter, egg, and vanilla.

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 ↓

Chocolate Filling

Ingredients

Directions

Make the filling

  1. In a double boiler, combine sugar, cornstarch, milk, and butter.

  2. Boil while stirring constantly until thickened to your liking.

  3. Remove from heat and let cool.

Finish

  1. Once cool, stir in the beaten egg and add vanilla extract to taste.

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. Chocolate + vanillatop 5% of all pairs
    Smell alikemoderate
    Cooked together10,020 recipes

    Shared aroma: sotolon (curry, maple).

  3. Milk + buttertop 7% of all pairs
    Smell alikemoderate
    Cooked together81,283 recipes

    Shared aroma: (z)-4-heptenal (biscuit, cream).

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

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

  5. Walnut + vanillatop 10% of all pairs
    Smell alikestrong
    Cooked together2,730 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

Cornstarch
Thickens the milk mixture as it boils, giving the filling its body.
Sugar
Sweetens the filling and helps soften its texture.
Milk
Forms the liquid base that the cornstarch thickens.
Butter
Adds fat for richness and a smoother mouthfeel.
Egg
Enriches the cooled filling with extra richness and body.

The step that matters

Boil while stirring constantly. Cornstarch only thickens fully once the mixture reaches a boil. Constant stirring keeps the starch evenly dispersed, preventing lumps and scorching on the bottom of the pan.

Swap the walnut

How well each one fits the dish's main ingredients (sugar, milk, chocolate, butter, egg, vanilla):

  1. Almondfits better
  2. Pecansfits better
  3. Cocoafits better
  4. Walnutthe original

Fit is the average pairing score against sugar, milk, chocolate, butter, egg, vanilla. 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 chocolate filling recipes

You might also like