Curious Minds

Clear answers to science and history questions

How to Make a Vanilla Custard Danish at Home

· 6 min read · Science

To make a vanilla custard danish, roll enriched laminated dough into a 12 x 12 inch (30 x 30 cm) square, cut it into four 6 inch (15 cm) squares, fold each corner to the centre and press a spoonful of cooled vanilla custard into the middle before baking at 375°F (190°C) for 18–22 minutes.

This is the home-bakery version: a shortcut puff pastry base plus a from-scratch vanilla custard made on the stove, which gives you the crisp, shattery layers and the soft, creamy centre a good danish needs. It suits a weekend breakfast, a brunch table or a coffee break, and the custard can be made the day before so the morning itself is mostly rolling and baking.

Before You Start the Vanilla Custard Danish

  • Pastry: one 17.3 oz (490 g) package of all-butter puff pastry, two sheets, thawed in the fridge overnight. All-butter pastry browns and tastes better than the shortening kind; check the label, because laminating your own dough from scratch is a separate half-day project.
  • Custard ingredients: 2 cups (480 ml) whole milk, ½ cup (100 g) granulated sugar, 3 tbsp (24 g) cornstarch, ¼ tsp salt, 4 large egg yolks, 2 tsp (10 ml) vanilla extract, and 2 tbsp (28 g) unsalted butter.
  • Finishing: 1 egg beaten with 1 tbsp (15 ml) water for the egg wash, 2 tbsp (25 g) coarse sugar, and a handful of sliced almonds if you like.
  • Equipment: a heavy medium saucepan, a whisk, a rimmed baking sheet, parchment paper, a sharp knife or pizza wheel, and a pastry brush.
  • Timing: make the custard first and let it chill for at least 1 hour. Warm custard will slide off the pastry and leak in the oven.

Puff pastry needs to stay cold. Work on a sheet of parchment, keep the second sheet in the fridge while you shape the first, and if the dough starts to feel soft or sticky, slide it onto the baking sheet and chill it for 10 minutes before you keep going. Warm dough bakes up flat instead of puffed.

How to Make the Vanilla Custard Filling

  1. Whisk ½ cup (100 g) sugar, 3 tbsp (24 g) cornstarch and ¼ tsp salt together in a medium saucepan. Pour in 2 cups (480 ml) whole milk a little at a time, whisking until smooth and no dry lumps remain.
  2. Set the pan over medium heat and whisk constantly for 6–8 minutes, until the mixture thickens enough to coat the back of a spoon and the first large bubbles break at the surface.
  3. Whisk the 4 egg yolks in a small bowl. Ladle about ½ cup (120 ml) of the hot milk mixture into the yolks in a thin stream while whisking, then pour the warmed yolks back into the pan.
  4. Return to medium-low heat and cook for 2–3 minutes more, whisking without stopping, until the custard is thick, glossy and holds a soft shape. Do not let it boil hard, or it can turn grainy.
  5. Take the pan off the heat and stir in 2 tbsp (28 g) butter and 2 tsp (10 ml) vanilla extract until the butter melts.
  6. Scrape the custard into a shallow bowl, press a sheet of plastic wrap directly onto the surface to stop a skin forming, and refrigerate for at least 1 hour, or up to 3 days.

If the custard does look grainy or lumpy anyway, push it through a fine sieve while still warm and keep going — you will lose a little volume but the texture comes back. Cold custard will be firmer than it looked in the pan, which is exactly what you want for filling the danishes.

Shaping and Baking the Danishes

  1. Heat the oven to 375°F (190°C) and line two baking sheets with parchment.
  2. Lay one puff pastry sheet on a lightly floured surface and roll it gently to a 12 x 12 inch (30 x 30 cm) square. Cut into four 6 inch (15 cm) squares with a sharp knife or pizza wheel, pressing straight down rather than dragging.
  3. Fold each corner of a square toward the centre and press the tips down firmly with a fingertip, leaving a small square hollow in the middle. Repeat with the remaining squares and the second pastry sheet, giving eight danishes.
  4. Space the danishes 2 inches (5 cm) apart on the parchment. Chill the trays for 15 minutes while the oven finishes heating.
  5. Brush the pastry rims with egg wash, avoiding the hollow. Spoon 2 heaped tablespoons (about 40 g) of cold custard into each hollow and spread it level, leaving the folded pastry edges bare.
  6. Sprinkle with coarse sugar and sliced almonds if using.
  7. Bake one tray at a time for 18–22 minutes, until the pastry is deep golden brown and crisp at the edges and the custard is set and barely wobbling in the centre. Rotate the tray halfway through if your oven browns unevenly.
  8. Slide the parchment onto a wire rack and cool for at least 15 minutes before eating, so the custard can firm up.

The custard is an egg dish, so it should reach a safe minimum internal temperature of 160°F (71°C); the pastry browning and the set centre are your visual cue that it has been baked through. Pastry is done when the underside sounds hollow and the layers look dry rather than pale or sweaty.

Why Did My Custard Danishes Leak or Go Soggy?

SymptomLikely causeFix
Custard runs out over the trayFilling was warm, or the hollow was overfilledChill the custard fully and use about 2 tbsp (40 g) per danish
Bottom is pale and soggyPastry was warm before baking, or underbakedChill shaped danishes 15 minutes and bake until the base is dry and golden
Edges barely puffedFolded tips pressed too flat, or egg wash on the cut edgesPress only the tips, keep egg wash on the top surface
Custard is grainyYolks added too fast, or the pan boiledTemper the yolks slowly and sieve the custard if needed
Custard cracked and dryBaked too long or the filling was too thinPull the tray when the custard is barely set; use whole milk, not skim
Bottoms stuck and toreNo parchment, or sugar on the baseAlways bake on parchment and keep sugar on top only

The most common issue is a rush on chilling. Cold pastry and cold custard are what hold the shape, so if you are short on time, shape the danishes, freeze them on the tray for 20 minutes, and bake from there, adding 2–3 minutes to the time.

Storing and Reheating Vanilla Custard Danishes

Keep baked danishes in the fridge in a sealed container for up to 3 days, since the custard is perishable; leave them out no longer than 2 hours at room temperature before refrigerating. Warm them at 350°F (180°C) for 5–6 minutes on a baking sheet to bring back the crispness, or use a toaster oven on a low setting; a microwave softens the pastry fast. Cold custard keeps 3 days in the fridge with the plastic wrap pressed on, and it freezes for up to 1 month in a sealed container — thaw in the fridge overnight and whisk before using. Unbaked shaped danishes freeze well for up to 2 months; bake straight from frozen, adding about 5 minutes to the bake time.

Can I Change the Filling or the Pastry?

Yes, and the method stays the same. For a firmer set, add 1 extra tablespoon (8 g) of cornstarch to the custard; for a richer one, replace ½ cup (120 ml) of the milk with heavy cream. Vanilla bean paste can replace the extract at the same amount, or use the scraped seeds of half a vanilla bean steeped in the warm milk for 10 minutes. A pinch of ground cardamom or the zest of half a lemon goes into the milk at the start.

Frozen phyllo is too thin for this shape and will not hold the hollow; croissant dough gives a chewier, breadier danish but needs its own proofing time. If you are using a pre-made custard from a tub, check the label and chill it well before filling, since ready-made versions are often looser than homemade.

In this article
  1. Before You Start the Vanilla Custard Danish
  2. How to Make the Vanilla Custard Filling
  3. Shaping and Baking the Danishes
  4. Why Did My Custard Danishes Leak or Go Soggy?
  5. Storing and Reheating Vanilla Custard Danishes
  6. Can I Change the Filling or the Pastry?