Delicious Classic Vanilla Slice (Puff Pastry Custard Bars) – Step-by-Step
This nostalgic vanilla slice (think custard bars or mille-feuille) layers crisp puff pastry with a silky, vanilla-rich custard. It’s surprisingly simple: bake store-bought puff pastry, cook a one-pot custard, assemble, chill, and dust with powdered sugar. Perfect for holidays, tea time, and every sweet memory in between.
At a Glance
Serves: 9–12
Active Time: ~40 minutes
Chill/Inactive: 3–4 hours
Total: ~4 hours
Pan: 9×13-inch (23×33 cm) pan, lined with parchment and overhang
Ingredients
Pastry Layers
1 (16 oz / 450 g) package puff pastry, 2 sheets, chilled (not frozen)
Powdered sugar, to dust (as needed)
Vanilla Custard
1 ½ cups (360 ml) whole milk
1 ½ cups (360 ml) heavy cream
½ cup (120 ml) water
⅔ cup (135 g) granulated (superfine) sugar
⅓ cup (40 g) all-purpose flour (see swaps below)
¼ cup (56 g) unsalted butter, cubed
6 egg yolks, beaten
2 teaspoons vanilla extract (or 1 tsp paste)
Swaps: Use ¼ cup (32 g) cornstarch instead of flour for a glassy, sliceable custard. Or use half flour, half cornstarch for a hybrid texture.
Equipment
Baking sheets, parchment paper, fork, medium saucepan, whisk, rubber spatula, fine-mesh strainer (optional), instant-read thermometer (optional), 9×13-inch pan.
Step-by-Step Instructions
1) Prep the pans & oven
Heat oven to 350°F (175°C).
Line two baking sheets with parchment.
Line a 9×13-inch pan with parchment, leaving a 2-inch overhang on the long sides (for easy lift-out).
2) Bake the puff pastry sheets
Unfold each puff pastry sheet onto a prepared baking sheet.
Dock all over with a fork (poke holes), staying ½-inch from edges.
Optional (flattest layers): Place a second sheet of parchment over the pastry and set another baking sheet on top as a weight.
Bake 20–22 minutes until evenly golden. Cool completely.
Trim both baked sheets to fit snugly in the 9×13 pan.
3) Start the vanilla base
In a medium saucepan, combine milk, cream, sugar, butter, and vanilla.
Heat over medium, whisking occasionally, until steaming and tiny bubbles form at the edges (do not boil yet).
4) Make the thickener & temper the yolks
In a small bowl, whisk flour with water until smooth (no lumps).
Place beaten egg yolks in a large heatproof bowl.
Temper: Slowly pour 1 cup of the hot milk mixture into yolks while whisking constantly.
Whisk the flour slurry into the tempered yolks until smooth.
5) Cook the custard to set
Return everything to the saucepan. Cook over medium, whisking constantly.
When it bubbles (gentle boil), continue whisking 30–60 seconds until thick, glossy, and smooth.
Optional but recommended: strain through a fine-mesh sieve into a clean bowl for an ultra-silky custard.
Let stand 5 minutes, whisking once or twice to release steam.
Don’t undercook this stage; that quick boil activates the starch so the slice sets cleanly.
6) Assemble
Place one pastry sheet in the lined 9×13 pan.
Pour warm custard over and smooth the surface.
Top with the second pastry sheet, golden side up. Press very lightly so it adheres without squishing the filling.
7) Chill to set
Cover and refrigerate 3–4 hours (or overnight) until fully set.
8) Finish & serve
Lift out using parchment. Dust generously with powdered sugar.
For neat pieces, use a serrated knife and wipe the blade between cuts.
Serve chilled or at cool room temperature.
Pro Tips for Perfect Slices
Flat pastry layers: Weight the pastry during baking or press gently under a clean tray while it cools to keep it level.
Custard too soft? It likely didn’t boil long enough. Next time, extend the bubble-phase by 15–30 seconds.
Ultra-vanilla flavor: Replace 1 tsp extract with vanilla bean paste or steep a split bean in the milk/cream (remove before thickening).
Clean cuts: Chill at least 4 hours; dip the knife in hot water and dry before each slice.
Flavor Variations
Iced Top: Whisk 1 cup powdered sugar with 1–2 Tbsp milk + ½ tsp vanilla. Spread over the top pastry; set 20 minutes.
Lemon Twist: Add 1–2 tsp lemon zest to the custard; finish with a thin lemon icing.
Fruit Layer: Spread a thin layer of raspberry jam or sliced strawberries over the bottom pastry before adding custard.
Chocolate Cap: Brush top pastry with melted dark chocolate; let set before slicing.
Storage & Make-Ahead
Fridge: Cover and store up to 3 days.
Freeze: Not recommended (custard can weep on thawing).
Make-ahead: Bake pastry and cook custard a day ahead; assemble and chill overnight.
Troubleshooting FAQ
Why did my custard lump?
Whisk constantly and don’t skip tempering. If lumps appear, strain while hot.
Can I use only milk?
Yes—use 3 cups milk and skip cream; texture will be slightly lighter.
Flour vs. cornstarch?
Cornstarch gives a clearer, sliceable gel; flour yields a more “pudding-style” custard. Both work—just boil briefly to activate.
No egg yolks option?
Use ⅓ cup (40 g) cornstarch and omit yolks; texture will be firmer and egg-free.

