Pinterest Hidden Image

This vegan pastry cream is based on my easy vegan custard recipe. It comes together with just a few simple ingredients, and it's made without coconut, eggs, or dairy.

It's thicker than regular custard and holds its shape when cooled and sliced, making it the perfect filling for my vegan tarte aux fraises and other desserts.

close up of pastry cream with vanilla specks and a spoon inside.Pin
Jump to:

📖 Recipe Overview

  • Rich and thick consistency that's perfect for piping or filling desserts.
  • Less than 10 minutes of hands-on preparation.
  • Uses just 6 simple ingredients.
  • Full of vanilla bean flavor.
  • Completely eggless, dairy-free, and nut-free.

🗒 What Is Pastry Cream?

Crème pâtissière (pastry cream) was one of the staple recipes which I learned back in culinary school. Crème pâtissière (or crème pât as its often called) is a rich, thick custard that's based on egg yolks and thickened with flour.

It is often used as a filling in desserts such as fruit tarts, Mille-feuille, and choux buns. It also forms the base of diplomat cream, which it is mixed with cream for a lighter consistency.

🥛 Ingredients needed

ingredients to make vegan pastry cream measured out on a metal tray.Pin

Ingredient Notes

I recommend using soy milk for the best results. I did also test this recipe with almond milk and it was also delicious. Cashew milk would also work well, but steer away from super watery milk like rice milk or oat milk.

This recipe calls for vegan block butter (butter sticks) not the spreadable kind from a tub. I have not tried it with margarine so I can't say how it will work, although it may not hold up as well due to its higher water content.

Cornstarch is what thickens this dairy-free pastry cream. As the recipe is also eggless, it needs to depend fully on the thickening properties of cornstarch.

The vanilla flavor is what really shines through in creme patissiere therefore I recommend using a real vanilla pod. You just can't beat it! Alternatively, go for vanilla bean paste over vanilla extract if at all possible.

🥣 How To Make This Recipe

Essentially, we're making a thickened vegan custard here, so the method is very similar to my vegan custard recipe.

To start, add the cornstarch and sugar to a saucepan along with the soy milk. Whisk the mixture really well to ensure that there are no visible lumps. You always want to add cornstarch to cold liquids where possible.

Scrape out the vanilla pod and add the seeds and pod to the saucepan over medium heat. Alternate between using a whisk and a rubber spatula to stir the mixture as it cooks. This helps the mixture to heat more evenly and prevents it from burning to the pan.

top down view of custard with vanilla pod in a saucepan.Pin

After 4-5 minutes, the mixture will become really thick. Remove it from the heat and stir in the sea salt and vegan butter until incorporated fully.

top down view of custard and a spatula in a saucepan.Pin

Lastly, pour the pastry cream into a bowl and cover it with some plastic wrap. This prevents air from getting at it which can cause the custard to form a skin. Chill the mixture for at least an hour before using.

top down view of custard in a bowl covered with plastic wrap.Pin

🍰 Ways To Use Pastry Cream

This vegan crème pâtissière recipe makes the perfect eggless and dairy-free alternative to the classic version and is perfect for piping. It's so delicious it's almost impossible not to eat it straight from the spoon!

  • Piped into eclairs, choux buns, or profiteroles (cream puffs).
  • In puff pastry desserts such as mille-feuille.
  • For filling cakes such as Boston cream pie.
  • Piped into the centers of custard or Boston cream pie donuts.
  • As a base filling for fruit tart, strawberry tart, rhubarb custard tart, raspberry tart, and fruit flan.

👩‍🍳 Recipe success tips

💬 FAQs

How should it be stored?

Store in an airtight container and refrigerate for up to 5-7 days. If used in desserts, factor this into their shelf life as well.

Is pastry cream the same as custard?

Pastry cream is a type of custard. According to Our Everyday Life, it is a starch-thickened custard. It is thicker than regular custard and holds its shape once chilled. Whereas other custards can have a looser pourable consistency.

Can I freeze vegan pastry cream?

I don't recommend freezing this recipe as it contains cornstarch, which can turn spongy when defrosted (via Cooks Info). Like with anything, there are exceptions to this rule (like vegan ice cream for example).

How long can pastry cream sit out?

For no more than 2-3 hours. Pastry cream needs to remain chilled in order to hold its structure and freshness.

custard in a bowl with a spoon and vanilla pods scattered around it.Pin

➕ More Vegan Basics

Stay in touch with me through social media @ InstagramPinterestTikTok, and Facebook. And subscribe via email to get all our new recipes!

📖 Recipe

Vegan Pastry Cream

5 from 54 votes
PREP TIME: 2 minutes
COOK TIME: 5 minutes
Chilling Time: 1 hour
TOTAL TIME: 1 hour 7 minutes
Servings: 8 (400ml)


This vegan pastry cream recipe (crème pâtissière) uses a few simple ingredients and less than 10 minutes of preparation. It can be piped on desserts or used as a filling for tarts and cakes.


  • 400 ml (1 ⅔ cups) unsweetened soy milk, or other non-dairy milk *see recipe notes
  • 70 g ( cups) granulated sugar, *see recipe notes
  • 50 g (6 ¼ tablespoons) cornstarch
  • 1 vanilla pod, *see recipe notes
  • ¼ teaspoon sea salt
  • 50 g (1.76 oz) vegan butter


  • Add the soy milk, sugar, and cornstarch to a saucepan and whisk well to remove any lumps. Cut the vanilla pod down the center and scrape out the seeds. Add the seeds and the pod to the saucepan and place on medium heat.
  • Bring the mixture to a gentle simmer and cook on low-medium heat for about 5 minutes whilst whisking until it thickens enough to coat the back of the spoon. Alternate between using a whisk and rubber spatula to make sure the custard does not stick to the pan. The mixture will become thick once the cornstarch is cooked (see images in the post for reference), remove it from the heat, and don't be tempted to overcook it.
    Carefully remove the vanilla pod and stir in the vegan butter and salt until melted through.
  • Cover the bowl with clingfilm to prevent a skin from forming and allow the custard to cool for 10 minutes before transferring it to the fridge to cool fully for an hour before using.

Storage and Serving

  • Store in an airtight container and refrigerate for up to 5-7 days. Use as a filling for fruit tart, strawberry tart, or choux buns.


  • Swap soy milk for almond milk and cashew milk. I don't recommend using rice or oat milk due to its low-fat content.
  • Some white sugar in the US is not vegan, if in doubt use organic sugar.
  • You can use one tablespoon of vanilla bean paste in place of the vanilla pod.
  • To save a lumpy consistency, pass the mixture through a sieve while still hot/warm.
  • The pastry cream will thicken once chilled, whisk vigorously to bring it back to a creamy consistency. 


Calories: 112kcal | Carbohydrates: 15g | Protein: 1g | Fat: 5g | Saturated Fat: 1g | Polyunsaturated Fat: 2g | Monounsaturated Fat: 2g | Trans Fat: 1g | Sodium: 132mg | Potassium: 62mg | Fiber: 1g | Sugar: 9g | Vitamin A: 342IU | Calcium: 62mg | Iron: 1mg
Did you make this recipe? Tag me TodayBe sure to leave a rating and a review in the section below, and mention @addictedtodates or tag #addictedtodates

© All content and images are protected by copyright. If you want to share this recipe, please do so using the share buttons provided. Do not screenshot or republish the recipe or content in full. instead, include a link to this post for the recipe.