Zimt

How to Make Custard Cake Filling That Sets

· 5 min read · Cakes

In this article
  1. Step-by-Step Custard Filling Method
  2. What Ratio of Milk to Egg Yolk to Starch Works
  3. How to Tell the Custard Is Cooked Enough
  4. Why the Filling Turned Lumpy and How to Save It
  5. How Long Custard Filling Lasts and How to Store It
  6. How to Stop Custard Filling From Weeping Under Fondant
  7. Can You Use Custard Powder or a Boxed Mix Instead
  8. Flavour Variations That Keep the Set
  9. Filling and Assembling the Cake

Make custard cake filling by cooking 500 ml (2 cups) whole milk with 4 large egg yolks, 100 g (1/2 cup) sugar, 25 g (3 tbsp) cornstarch and a pinch of salt over medium-low heat, stirring constantly for 8–12 minutes until it thickens to the consistency of pudding, then stir in 25 g (2 tbsp) butter and 5 ml (1 tsp) vanilla off the heat. The mixture must reach a gentle bubble for 60 seconds to activate the starch fully, or it will stay loose and weep under fondant. Cool it with plastic wrap pressed directly on the surface for at least 2 hours before spreading.

Step-by-Step Custard Filling Method

  1. Whisk 25 g (3 tbsp) cornstarch, 100 g (1/2 cup) sugar and 1/8 tsp fine salt in a medium saucepan until no lumps remain.
  2. Whisk in 4 large egg yolks (about 72 g total) plus 60 ml (1/4 cup) of the 500 ml milk to form a smooth paste; this slurry prevents clumping when the rest of the milk goes in.
  3. Add the remaining 440 ml milk and 5 ml (1 tsp) vanilla extract, then set the pan over medium-low heat.
  4. Stir continuously with a silicone spatula, scraping the bottom and corners, for 8–12 minutes until the mixture coats the spatula and a finger swipe leaves a clean line.
  5. Let it bubble gently for 60 seconds while stirring, then pull it off the heat and stir in 25 g (2 tbsp) unsalted butter until melted.
  6. Pour into a shallow dish, press plastic wrap onto the surface, and refrigerate at 4°C (40°F) for at least 2 hours, or up to 3 days.
  7. Whisk briefly before spreading to loosen it; use about 200 g per 20 cm (8 inch) cake layer.

What Ratio of Milk to Egg Yolk to Starch Works

The reliable base is 500 ml milk to 4 yolks to 25 g cornstarch. That ratio gives a filling firm enough to hold between sponge layers but soft enough to pipe. Changing any one ingredient shifts the texture, so use the table below to match the result you want.

StyleMilkYolksCornstarchResult
Standard layer filling500 ml425 gSoft set, spoonable, holds a 2-layer cake
Firm for stacking500 ml435 gSliceable, supports 3 layers and light fondant
Rich pastry cream500 ml525 gDenser, more eggy, best for tarts and eclairs
Light custard500 ml320 gLoose, use only inside a bowl or trifle

Whole milk gives the best body; skim milk produces a thinner filling because it lacks fat to coat the starch granules. If you swap in cream, cut it half-and-half with milk, since all-cream custard can taste heavy and split more easily.

How to Tell the Custard Is Cooked Enough

Two tests decide doneness. First, dip a spatula in and draw a finger across the coating: the line should stay clean with no drip running back. Second, watch for the first lazy bubbles breaking the surface, then count 60 seconds of gentle bubbling while stirring. Undercooked starch tastes chalky and thins out as it cools; overcooked custard curdles into grainy specks. A thermometer reading of 82–85°C (180–185°F) confirms the starch has fully gelatinised without scrambling the yolks.

Why the Filling Turned Lumpy and How to Save It

Lumps come from three causes: starch added to hot liquid, heat too high, or insufficient stirring at the pan's edges. If lumps appear early, pull the pan off the heat and whisk hard for 30 seconds; if they persist, push the custard through a fine sieve while still hot. Grainy curdling from overheating cannot be reversed by whisking, but a blender run for 20 seconds at low speed smooths small curds. To prevent the problem, keep the burner at medium-low and never let the custard boil hard for more than the 60 seconds needed.

How Long Custard Filling Lasts and How to Store It

Covered and refrigerated at 4°C (40°F) or below, custard filling keeps 3 days. It does not freeze well: the starch breaks down and the filling turns watery on thawing, so make only what you need. Never leave it at room temperature more than 2 hours, and discard any custard that sat out longer, since egg-and-milk mixtures support bacterial growth quickly. When filling a cake, keep the assembled cake refrigerated and bring slices out only 20–30 minutes before serving.

How to Stop Custard Filling From Weeping Under Fondant

Weeping happens when water separates from the custard and soaks the cake or softens fondant. Three fixes work together: cook the starch fully so it traps water, cool the filling completely before spreading, and build a barrier. Pipe a ring of buttercream around the cake's edge to contain the custard, spread the custard no thicker than 1 cm (3/8 inch), and chill the filled cake for 30 minutes before the crumb coat. For fondant-covered cakes, use the firm 35 g starch version and skip custard within 2 cm of the outer edge.

Can You Use Custard Powder or a Boxed Mix Instead

Yes, and the swap is straightforward. Custard powder is cornstarch plus colour and flavouring; use 30 g powder in place of the 25 g cornstarch and sugar, and add the sugar to the milk instead. Boxed pudding mixes set softer than scratch custard, so reduce the milk by 60 ml (1/4 cup) per box to get a spreadable filling. Neither version should be used as a substitute for the cooked-egg method when a recipe relies on the yolks for structure, such as in a baked custard tart.

Flavour Variations That Keep the Set

Add flavour without adding liquid. For vanilla bean, steep the split pod in the milk for 10 minutes off the heat before whisking in the yolks. For chocolate, melt 60 g dark chocolate into the hot custard after it comes off the heat; the extra fat firms it slightly. For citrus, add 5 g (1 tsp) finely grated zest to the sugar and rub it in with your fingers before whisking. Avoid adding juice or liqueur beyond 15 ml (1 tbsp), since alcohol and acid both thin the starch gel and can make the filling run.

Filling and Assembling the Cake

Spread 200 g of chilled custard per 20 cm (8 inch) layer using an offset spatula, leaving a 2 cm border for buttercream. Press the next layer gently so the filling spreads evenly, and don't stack more than three custard layers, as the weight squeezes the filling out. If the cake will sit more than 4 hours before serving, chill it assembled and add fruit or crisp elements only at the last minute, because moisture from the custard softens them within 30 minutes.