Skip to main content
Zimt

Home baking recipes and cinnamon favourites

Danish Custard Filling Recipe – Easy Pastry Cream

Danish custard filling, also called pastry cream, is a smooth, sweet custard used between layers of Danish pastries or as a topping for fruit tarts. It relies on milk, egg yolks, sugar and starch for thickening, and finishes with butter for silkiness. This version balances richness and stability, making it ideal for piping and holding shape after refrigeration.

Serves 12 · Prep 15 min · Cook 10 min · Total 45 min

Gather the Ingredients for Danish Custard

  • 2 cups (480 ml) whole milk
  • 1/2 cup (100 g) granulated sugar
  • 4 large egg yolks (about 68 g)
  • 3 Tbsp (24 g) cornstarch
  • 2 Tbsp (28 g) unsalted butter, cut into pieces
  • 1 tsp (5 ml) pure vanilla extract
  • Pinch of fine sea salt

Cook the Danish Custard Step‑by‑Step

  1. In a saucepan, combine the milk and half of the sugar. Heat over medium until just below boiling, about 5‑6 minutes, stirring occasionally.
  2. While the milk heats, whisk together the egg yolks, remaining sugar, cornstarch, and salt in a bowl until pale and thick, roughly 2 minutes.
  3. Temper the yolk mixture by slowly whisking in 1/2 cup (120 ml) of the hot milk. Return the tempered mixture to the saucepan.
  4. Cook over medium‑low heat, stirring constantly with a silicone spatula, until the custard reaches 160°F (71°C) – the USDA FSIS safe minimum for egg dishes – and coats the back of the spoon, about 3‑4 minutes.
  5. Remove from heat. Stir in butter and vanilla extract until fully incorporated and the custard is glossy.
  6. Transfer the custard to a shallow container, press a piece of plastic wrap directly onto the surface, and chill for at least 20 minutes before using.

Adjust the Batch Size for Different Needs

Scaling the custard is straightforward because each component is proportional. Halving the recipe yields 1 cup (240 ml) milk, 1/4 cup (50 g) sugar, 2 yolks, 1½ Tbsp cornstarch, 1 Tbsp butter, and ½ tsp vanilla, producing about 2 cups of filling – enough for 6 pastries.

Doubling the quantities creates a larger batch suitable for a catering tray of 24 pastries. The cooking time remains the same; only the pan size changes, so use a pan with a larger surface area to maintain even heating and prevent scorching.

Pair the Custard with Danish Pastries

Use the chilled custard as a core for fruit‑filled Danish, such as raspberry or apricot. Pipe a thin line of custard onto the pastry before folding, then bake as usual. The custard’s vanilla flavor complements almond paste, cinnamon‑spiced apples, or fresh berries.

For a dessert platter, dollop the custard onto warm cinnamon rolls or serve alongside a selection of seasonal fruit. A light dusting of powdered sugar adds visual contrast without altering the texture.

Store the Filling Safely

Transfer the cooled custard to an airtight container. Refrigerate within two hours of cooking; it will keep 3‑4 days at 40°F (4°C) or below. For longer storage, freeze in a freezer‑safe container for up to two months. Thaw frozen custard in the refrigerator, never at room temperature.

When reheating leftovers, bring the custard to a gentle simmer, stirring constantly, until it reaches 165°F (74°C) – the USDA FSIS safe minimum for reheated leftovers. Do not reheat more than once to maintain quality and safety.

Reheat and Use Leftover Custard

Place the desired amount of custard in a saucepan over low heat. Stir continuously and add a splash of milk if the mixture seems too thick. Heat until the custard bubbles lightly and reaches 165°F (74°C). Remove from heat immediately to avoid over‑cooking, which can cause graininess.

If the custard separates after reheating, whisk in a teaspoon of cornstarch dissolved in cold milk. The starch will re‑emulsify the mixture, restoring its silky texture without affecting flavor.

Substitute Ingredients Without Losing Texture

Milk: Whole milk gives the richest flavor. Substitute 2 % milk 1:1 for a slightly lighter custard; increase cornstarch by 1 tsp per cup to compensate for reduced fat.

Butter: Use unsalted European‑style butter for extra creaminess, or replace with an equal amount of a high‑fat margarine for a dairy‑free version. Expect a marginally less buttery taste.

Sugar: Replace granulated sugar with honey at a 3/4 cup honey per 1 cup sugar ratio. Reduce cornstarch by 1 tsp per cup of honey because honey adds extra liquid.

Egg yolks: For a vegan version, blend silken tofu (½ cup) with 2 tsp nutritional yeast and 1 tsp lemon juice per yolk. The texture will be similar, but flavor will shift toward a subtle umami note.

Common Issues and How to Fix Them

Grainy texture: Often caused by overheating or insufficient stirring. Reduce heat to medium‑low and whisk continuously. If graininess appears, strain the custard through a fine‑mesh sieve and return to low heat, adding a teaspoon of butter to smooth it.

Custard too thin: This indicates insufficient starch or undercooking. Return the custard to the pan, increase cornstarch by 1 tsp, and cook an additional 1‑2 minutes, ensuring it reaches 160°F (71°C).

Skin formation: A skin develops when the surface is exposed to air. Press plastic wrap directly onto the custard while it cools to prevent a skin.

Over‑browning of butter: Butter should be added off the heat. If butter separates, whisk vigorously over low heat until it recombines, then cool again.

Scale the Recipe with a Quick Reference Table

BatchMilkSugarEgg YolksCornstarchButterVanilla
Half1 cup (240 ml)1/4 cup (50 g)21½ Tbsp (12 g)1 Tbsp (14 g)½ tsp (2.5 ml)
Full2 cups (480 ml)1/2 cup (100 g)43 Tbsp (24 g)2 Tbsp (28 g)1 tsp (5 ml)
Double4 cups (960 ml)1 cup (200 g)86 Tbsp (48 g)4 Tbsp (56 g)2 tsp (10 ml)

Use this table to quickly adjust quantities without recalculating each ingredient. The cooking time stays constant because the custard thickens based on temperature, not volume.

Read next