Vegan vanilla slice - these vegan custard slices consist of a smooth, creamy vanilla custard sandwiched between two layers of flaky puff pastry and are topped with a sweet, tangy passion fruit glaze.
They are easy to make and just as good as the classic bakery treat but with no eggs or dairy!

What Are Vanilla Slices?:
Vanilla slice, also known as custard slices, are a classic bakery treat that is common in the UK and Australia.
They consist of a thick layer of vanilla flavoured set custard sandwiched between puff pastry and topped either with a sweet glaze or a dusting of icing sugar. They are similar to French mille-feuille but with fewer layers.
Ingredient Details:
Custard powder: This sets the custard filling and adds flavour and colour. Most custard powder is vegan friendly (I use Bird's). You can swap it for cornstarch in a pinch but do use custard powder if you can.
Vegan butter: I add some vegan block butter to the custard filling to make it richer and creamier and also to help it set. You can use spreadable if that is all you have but your custard may be softer so I would recommend increasing the custard powder to 110g in this case.
Milk: I recommend using soya milk for the custard as it is creamy with a neutral flavour. Any other kind of milk should work, but the flavour may come through and depending on which one you choose the custard may not be as creamy.
Vanilla: I use vanilla bean paste but you can also use the seeds scraped out of a vanilla pod or just use vanilla extract.
Sugar: You will need either caster or granulated sugar for the custard and icing (powdered) sugar for the glaze and for dusting the pastry. I do not recommend swapping these for any other kind of sugar or sweetener.
Puff pastry: Most shop-bought puff pastry is vegan friendly (unless it is labelled "all butter"), but do check the packet just in case. Use ready rolled pastry if you can for convenience.
Passion fruit: A simple passion fruit glaze adds a tangy, fruity, citrus flavour to these vegan vanilla slices that works wonderfully with the creamy custard filling. It is optional however, you can simply dust them with a little icing sugar before serving.
How To Make Vegan Vanilla Slice:
(Full measurements and instructions can be found in the recipe card at the bottom of the page)
Step 1: Unroll one sheet of pastry and lay it on a baking tray, keeping the paper underneath. Dust with a little icing sugar, then cover with another sheet of baking paper. Place another baking tray on top and then weigh this down with two loaf tins filled with baking beans.
Step 2: Bake for 35 minutes. Slide the pastry onto a cooling rack and repeat with the other sheet of pastry.
Step 3: Use a sharp knife to cut each piece of pastry into a 23cm square; use your tin to guide you. Place one square into the base of the lined tin.
Step 4: Cut the other pastry square into 10 rectangles, by slicing it in half horizontally and then into 5 vertically.
Step 5: To make the custard, place the custard powder and sugar in a large saucepan. Gradually whisk in the milk a little at a time to avoid lumps. Add the vanilla paste.
Place the pan over a medium heat and stir constantly with a balloon whisk until the custard comes to a boil and thickens considerably.
Remove from the heat, add the butter and stir until melted and combined.
Step 6: Immediately pour the hot custard over the pastry base in the tin and spread it level.
Step 7: Top the custard with the pre-cut pastry slices. Chill for about 4 hours until set.
Step 8: When you are ready to serve them, carefully lift the whole slice out of the tin and use a sharp knife to slice it into portions along the pre-cut pastry lines.
Top with a glaze or simply dust with icing sugar to serve.
Top Tips:
Weighing the pastry down while it cooks controls the rise and helps to make sure it is nice and crisp.
Cutting the top sheet of pastry into portions BEFORE assembling the slices makes it much easier to cut them when you are ready to serve; that way there is no risk of squishing the custard trying to cut through the pastry.
These vegan vanilla slices are best eaten as fresh as possible, as soon as the custard has set, as the pastry will soften over time. They will keep in the fridge for around 3 days but the fresher they are eaten the better.
The custard is a firmish set so that the bars are easy to slice neatly. It is still silky smooth and melt-in-the-mouth, but if you prefer a softer set then you can reduce the custard powder to 70g.
Instead of the passion fruit icing you can simply dust the vegan vanilla slices with icing sugar or make a simple glaze by mixing icing sugar with a little milk, water or lemon juice to make a pourable icing.
I prefer to add the icing after cutting the slices into bars as it is neater. Simply spoon some icing on top of each slice and use the back of a teaspoon to spread it out.
More Vegan Dessert Bars Recipes:
- Vegan lemon bars
- Jaffa cake bars
- Vegan lemon Bakewell slices
- Berry crumble bars
- Fudgy vegan brownies
- Chocolate raspberry crumble bars
If you tried this recipe let me know how it went! Rate it, leave a comment or tag @domestic_gothess on Instagram and hashtag it #domesticgothess
All images and content on Domestic Gothess are copyright protected. If you want to share this recipe then please do so by using the share buttons provided. Do not screenshot or post the recipe or content in full.
Vegan Vanilla Slice
Equipment
- 23 cm (9 in) square cake tin
- 2 baking sheets
- 2 loaf tins
- baking beans or dried rice
Ingredients
- 2 sheets ready rolled puff pastry
- icing (powdered) sugar for dusting
- 90 g (9 packed Tablespoons) custard powder
- 150 g (¾ cup) caster or granulated sugar
- 900 ml (3 + ¾ cups) unsweetened non-dairy milk (I use soy)
- 2 teaspoons vanilla bean paste
- 120 g (½ cup) vegan block butter
Passion Fruit Glaze:
- 150 g (1 + ¼ cups) icing (powdered) sugar
- 1 Tablespoon vegan butter melted
- 2 passion fruit
Instructions
- Preheat the oven to 200℃/180℃ fan/400℉/gas mark 6.
- Unroll one sheet of pastry and lay it on a baking tray, keeping the paper underneath. Dust with a little icing sugar using a small sieve, then cover with another sheet of baking paper. Place another baking tray on top and then weigh this down with two loaf tins filled with baking beans.
- Bake for 30-35 minutes until golden brown. Remove the top tray and slide the pastry onto a wire rack to cool. Repeat with the other sheet of pastry.
- Using the base of a 23 cm/ 9 in square cake tin to guide you, use a sharp knife to cut each piece of pastry into a 23cm square.
- Line the tin with two strips of baking paper, leaving some overhanging on each side so that you can easily lift the slice out of the tin later. Place one of the pastry squares in the base of the tin.
- Cut the other pastry square into 10 rectangles, by slicing it in half horizontally and then into 5 vertically. Set aside.
- To make the custard, place the custard powder and sugar in a large saucepan. Gradually whisk in the milk a little at a time to avoid lumps. Add the vanilla paste.
- Place the pan over a medium heat and stir constantly with a balloon whisk until the custard comes to a boil and thickens considerably. Remove from the heat, add the butter and stir until melted and fully combined.
- Immediately pour the hot custard over the pastry base in the tin and spread it level.
- Top the custard with the pre-cut pastry slices while it is still warm so that they stick. Chill for about 4 hours until set.
- When you are ready to serve them, carefully lift the whole slice out of the tin using the overhanging parchment, and use a sharp knife to slice it into portions along the pre-cut pastry lines.
- To make the glaze, sift the icing sugar into a bowl and stir in the melted butter and the flesh of the passion fruit.
- Spoon some of the glaze onto the top of one of the slices and use the back of a teaspoon to spread it over the top of the pastry, repeat with the other slices and serve. Store in the fridge for up to 3 days.
Notes
- See post above for tips, details and step-by-step photos.
- These vegan vanilla slices are best eaten as fresh as possible, as soon as the custard has set, as the pastry will soften over time. They will keep in the fridge for around 3 days but the fresher they are eaten the better.
- Instead of the passion fruit icing you can simply dust the vegan vanilla slices with icing sugar or make a simple glaze by mixing icing sugar with a little milk, water or lemon juice to make a pourable icing.
Janene
This is a great way to make custard squares, as we call them in New Zealand. They are very popular here. Thanks so much for sharing a vegan version and for the tips to help succeed.
Anna
Love love love theese. Sadly I’m the only one in my household who will even try them. Anyone tried freezing them?
Hannah
Hi Anna, glad you enjoy them! 🙂 Unfortunately I don't think they would freeze well as they are set with cornstarch, freezing it can break down the structure and change the texture.
Anna
Thanks Hannah, I tried it with one slice, I didn't want to sacriffice more than one, if it didn't work. It was edible but the texture of the custard was way off, your prediction was right. Thank you. Just made this again.