Skip to content

Vanilla Slice

Two layers of crisp puff pastry around a thick, set vanilla custard, topped with passionfruit icing. The custard is boiled to set, so it cuts cleanly. Jump to recipe.

Be the first to rate it

  • Prep35 min
  • Cook40 min
  • Serves12

Vegetarian.

Vanilla Slice

The recipe

Vanilla slice

Two layers of crisp puff pastry around a thick, set vanilla custard, topped with passionfruit icing. The custard is boiled to set, so it cuts cleanly. Jump to recipe.

No ratings yet

  • Prep 35 min
  • Cook 40 min
  • Total 1 hr 15 min
  • Serves 12
  • Makes 12 slices, from a 20 cm square tin
  • Diet Vegetarian

Ingredients

Pastry

Custard

Icing

Method

  1. Heat the oven to 220C (200C fan-forced). Line two baking trays with baking paper.
  2. Place one pastry sheet on each tray and prick all over with a fork.
  3. Cover each sheet with baking paper and place a second tray on top to keep the pastry flat.
  4. Bake on the middle shelf for 15 minutes, until the pastry is lightly golden and set. (15 min)
  5. Remove the top trays and paper and bake for another 5 to 8 minutes, until deep golden and crisp.
  6. Cool the pastry on the trays, then trim one sheet to fit the tin. This is the base. Trim the second sheet slightly smaller to fit inside the tin. This is the top.
  7. Line the tin with baking paper, leaving an overhang, and place the base sheet inside.
  8. Whisk the cornflour, custard powder and sugar in a large saucepan. Gradually whisk in the milk and cream until smooth.
  9. Add the egg yolks and whisk to combine.
  10. Cook over medium heat, whisking constantly, until the custard thickens and comes to a gentle bubble.
  11. Keep whisking at a gentle bubble for 2 minutes, until very thick and glossy. (2 min)
  12. Take the pan off the heat and whisk in the butter and vanilla.
  13. Pour the hot custard over the base sheet and spread it evenly to the corners.
  14. Lay the top sheet over the custard, flat side up, and press down gently.
  15. Chill for 4 hours, until the custard is completely firm. (4 hr)
  16. Stir the icing sugar, passionfruit pulp and butter together until thick and spreadable, adding milk only if needed.
  17. Spread the icing over the top pastry and let it set for 15 minutes.
  18. Lift out and cut into slices with a sharp serrated knife using a gentle sawing action.

Equipment

  • 20 cm square cake tin
  • Two baking trays
  • Large saucepan
  • Whisk
  • Fork
  • Sharp serrated knife
  • Baking paper

Tips

Boil the custard for the full 2 minutes. Underboiled custard stays runny and will not hold a slice.
Weigh the pastry down while it bakes so it stays flat and crisp.
Trim the top sheet slightly smaller so it sits inside the tin without being crushed.
Cut with a serrated knife and a gentle sawing motion so the pastry does not shatter.
Chill for the full 4 hours. A warm custard cuts messily.

Storage

Keep in the fridge, covered, for up to 2 days. The pastry softens after the first day, so serve it as fresh as you can.

Freezing

Not recommended. The custard splits and the pastry goes soggy when thawed.

Make ahead

Bake the pastry sheets a day ahead and store them airtight. Fill and chill on the day you plan to serve.

Substitutions

Use vanilla icing instead of passionfruit by replacing the pulp with a little milk. Use three pastry sheets for a taller slice. Cream cheese icing is a modern option, but is not traditional.

Updated 25 Nov 2026

Spotted a mistake? Tell us

Rate it

One email a month

What is in season in Australia and what to cook with it, plus one idea for using up what is piling up.

Why this works

**Flat, crisp pastry.** Weighting the pastry with a second tray stops it puffing up. The result is thin layers that crack cleanly under the knife.

**Starch and yolks.** Cornflour and custard powder set the custard firm without gelatine. Boiling for two minutes cooks the starch fully, which is what makes it hold a slice, and cooks the egg through.

**Cream with the milk.** The cream makes the custard rich and keeps it from feeling like a plain pudding.

**Chilling.** The custard firms up as it cools, so a full four hours matters.

Questions

Why is my vanilla slice runny?

The custard was not boiled long enough. After thickening, keep whisking at a gentle bubble for 2 minutes. Also chill it for a full 4 hours before cutting. Weighing the cornflour accurately matters.

How do I stop the pastry shattering when cutting?

Use a sharp serrated knife with a gentle sawing action, and chill the slice first. Do not press down. Some bakers freeze the slice for 30 minutes before cutting. A sharp knife dipped in hot water also helps.

Can I use ready-made custard?

A thick ready-made custard can work as a shortcut, but it often stays softer than home-cooked custard. Choose the thickest one you can find and chill the slice overnight. Always taste it first, since some brands are very sweet.

What is a vanilla slice also called?

In Australia it is also known as a custard slice. The pastry-and-custard dish is also sold as a snot block in some bakeries. The traditional topping is passionfruit icing or plain white icing.

From the editor

Food & Drinks Editor. Every recipe is checked for Australian measures and ingredients before it goes up, and again when we change it. How we review recipes

Spotted a mistake? Tell us and we will fix it and note the change here.

More with puff pastry

All recipes