Silky-smooth and bursting with vanilla flavour, this classic vanilla pastry cream (aka crème pâtissière) is the foundation of many French desserts. Made with just a handful of simple ingredients, it's a rich, custard that's perfect for filling everything from cakes to pastries (or devoured straight from the bowl).
This recipe walks you through the easy process, step by step, from tempering the eggs to achieving that perfect thick, creamy consistency. With helpful tips for avoiding lumps, storage advice and creative variations to take your desserts to the next level.

Never Miss a Recipe!
Get the latest recipes straight to your inbox!
Jump to:
- ❤️ Why you'll love it
- What is crème patissière?
- Ingredients & substitutions
- How to make pastry cream
- What to do with pastry cream
- Tips and tricks
- Troubleshooting
- How to flavor pastry cream
- FAQs
- Vanilla Pastry Cream Planning (Prep Time & Storage)
- More recipes you'll love
- Vanilla Pastry Cream (Crème Pâtissière)
- 💬 Comments
❤️ Why you'll love it
- Bakery worthy results - velvety, rich cream with a deep vanilla flavour.
- Simple ingredients using pantry and fridge staples.
- Versatile: Use it in cakes, pastries, tarts or eat it as a pudding.
- Beginner friendly: Easy enough for beginner bakers.
- Customisable: It's easy to flavour with chocolate, citrus or extracts.
- Make ahead friendly: Will keep in the fridge for 3-4 days.
Just want to get started? Head to the bottom for the recipe or hit the "jump to recipe" button at the top, or read on for more about the techniques and key steps to success!
What is crème patissière?
An essential recipe for any pastry lover, crème pâtissière (French for pastry cream) - is a rich custard made from milk, eggs, sugar and cornstarch and infused with vanilla. Often referred to as crème pat (pronounced krem pat) it's thick enough to hold it's shape making it perfect for filling eclairs, cream puffs, fruit tart, cakes and even donuts.
In French pastries, vanilla pastry cream is also a base for other fillings including crème chiboust, crème diplomat, crème légère and crème mousseline.
Ingredients & substitutions
The ingredients for pastry cream are very basic and readily available.

Jump to the recipe card for full quantities and instructions.
- Whole milk: You'll want whole milk here for the best flavour. Though this vanilla pastry cream will work with lower fat milk and even some milk alternatives, the flavour, texture and body of the pastry cream will change. Whole milk gives the best body and richness.
- Egg yolks: Hold the egg whites for this recipe, in fact freeze them for making meringues or pavlova another time, because all you need are the yolks for this recipe. I use a slightly higher ratio of milk to eggs for my version and it results in the perfect texture and flavour. Too many egg yolks can result in an eggy flavour.
- Sugar: Caster sugar (aka superfine sugar) or white granulated sugar will work here.
- Cornflour (US cornstarch): The cornflour, known as cornstarch in some places, is a very fine starchy flour often used as a thickener.
- Vanilla: You'll want quality vanilla beans or vanilla bean paste here (I use the latter). At the very least, use a pure vanilla extract but you will be missing all those lovely little vanilla flecks.
How to make pastry cream
I've been making this vanilla pastry cream for years now and it's a rock solid recipe that I use again and again. It's easy to make, just make sure to follow the steps precisely.

Heat the milk
Start by warming the milk and sugar over medium heat until it starts steaming heavily. Don't bring it to a boil.

Whisk the egg yolks and cornstarch
In a mixing bowl, whisk together the egg yolks, cornstarch and some reserved cold milk.

Temper the eggs
Tempering means to bring the temperature of the eggs up slowly and we do this so that they don't just scramble. By mixing as we slowly add the hot milk, the eggs fully incorporate smoothly into the hot milk to turn into a silky smooth custard. Make sure to drizzle the hot milk in slowly as you stir with a whisk.

Heat the custard
Pour it all back into the saucepan and heat it again over medium heat and making sure to stir it constantly so that it doesn't turn lumpy. As soon as you see big bubbles starting to break the surface, stir the custard for 1 full minute. This helps to activate the cornstarch. If you don't let it boil like this for a minute, once cooled the pastry cream will just become very liquid again.
Save this post!
No spam, I promise 😊

Add vanilla, butter & salt
Whisk in the butter, vanilla and salt until fully incorporated.

Storing the pastry cream
Pour your pastry cream through a strainer into a clean bowl or jug then cover it tightly with plastic wrap pressed tightly to the surface. The pastry cream can form a skin if air gets in. Chill it until cold.
Using the pastry cream
Once the pastry cream is cold, you need to use it within 3 days. It will be quite firm coming out of the fridge so give it a good whisk to get it smooth and pipeable again.
What to do with pastry cream
This vanilla pastry cream is great for piping into pastries like choux puffs, eclairs and custard horns, inside mini tart shells and topped with fruit, piped inside donuts.
When using between cake layers, you may want to add slightly more cornstarch to help it keep it's shape once sliced or it might gradually ooze out of the cake once cut. A buttercream dam is always helpful when using it in cakes as well. If you want to really make sure it's stable, add a little gelatine to the mix.
Pastry cream / crème patissière is also the base for many other pastry fillings;
- Crème chiboust = pastry cream + meringue
- Crème légère = pastry cream + whipped cream
- Crème diplomat = pastry cream + whipped cream + gelatine
- Crème mousseline = pastry cream + whipped butter
- German buttercream= pastry cream + extra sugar + whipped butter
Tips and tricks
- Temper the eggs gradually: Tempering eggs is a method of adding hot liquid to eggs gradually to prevent them from scrambling. It's very easy; just make sure to drizzle the hot liquid into beaten eggs slowly as you whisk. This technique brings the temperature of the eggs up slowly so they don't scramble.
- Boiling the pastry cream: When it comes to a boil, you'll see big bubbles breaking one or two at a time on the surface. It won't come to a rolling boil like water would and if you try to get it to that point you risk overcooking the eggs and giving it an eggy flavour.
- Store with plastic wrap pressed to the surface - this stops the pastry cream from forming a skin on top
- Chill before piping - pastry cream can be used once room temperature but will pipe more easily if chilled.
Troubleshooting
You didn't cook it long enough. Pastry cream must be cooking at boiling point for at least 1 minute to deactivate the enzyme in eggs that breaks down the starch. If not, the enzyme will destroy the starch and all it's hard work in thickening the pastry cream.
There could be two causes for this - not tempering the eggs might have made the eggs scramble causing small eggy lumps or you didn't stir it enough while cooking causing lumps to form. Add the hot milk to the eggs slowly while stirring to temper them properly and make sure to stir constantly once it's back on the stove.
Either the egg has scrambled or the pastry cream has been overcooked. Make sure to gradually temper the eggs and cook it for just a minute after it starts bubbling.
If you didn't measure the ingredients accurately, you may have too much liquid for the amount of starch and eggs. It may also be that the pastry cream has not come to a bubble yet.

How to flavor pastry cream
- Chocolate: Using chocolate in pastry cream is a great way to add more flavour. Dark chocolate and white chocolate make lovely versions of pastry cream.
- Coffee: Add instant coffee powder to taste, to the milk as it heats.
- Citrus: For a subtle citrus flavour, add finely grated lemon zest, orange zest or lime zest to the milk as it heats (to taste).
- Strawberry: Add freeze dried strawberry powder to the finished pastry cream (to taste).
- Raspberry: Add freeze dried raspberry powder to the finished pastry cream (to taste).
- Matcha pastry cream: Add matcha powder to taste to milk as it heats.
- Chai pastry cream: Steep chai tea bags in the milk after it has heated for 10-15 minutes then discard. Reheat the milk and proceed.
- Caramel pastry cream: Whisk ½ a cup of warm caramel sauce into the warm pastry cream before chilling.
FAQs
More accurately, pastry cream is a very thick type of custard. It uses both eggs and a thickening agent to achieve the right consistency.
Up to 3 days in the fridge.
Let it cook for one minute after it starts bubbling and it's done. This step is vital as it deactivates the enzyme in the eggs that break down starch.
You only need the yolks for vanilla pastry cream so what to do with all those egg whites. The good news is, they freeze well for up to 3 months. You can use them as needed in cakes or to make meringue and pavlova.
Not all are. This one is gluten free (so long as you check that your cornstarch is gluten free). Some pastry creams use flour to thicken so would not be gluten-free.
Vanilla Pastry Cream Planning (Prep Time & Storage)
Once you've made it, you need to know how to store pastry cream.
Pastry cream is best stored in the fridge with plastic wrap pressed to the surface to stop a skin from forming. You'll need to give it a good whisk before using.
While it's not advisable to freeze it - since it just splits into a disgusting-looking water and curdled-looking bits on thawing - it is possible to recover that silky-smooth texture even after being frozen.
- Let the vanilla pastry cream thaw at room temperature for 3-4 hours or in the fridge overnight.
- Add the thawed pastry cream and the watery part to a heavy-based saucepan over low heat and whisk as it gently heats.
- Once it's warm to the touch, whisk a little more vigorously until it's smooth and reconstituted.

If you made this vanilla pastry cream recipe,
be sure to leave a ⭐⭐⭐⭐⭐ rating below. Thank you!
Hungry for more? Subscribe to the newsletter.
Or, follow along on Facebook, Pinterest and Instagram.

Vanilla Pastry Cream (Crème Pâtissière)
Equipment
- Mixing bowl
- Balloon whisk
Ingredients
- 2 ½ cups whole milk (625ml)
- ½ cup white granulated sugar or caster sugar (105g/~3 ½oz)
- ⅓ cup cornflour (US cornstarch) (38g/1 ⅓oz)
- 4 egg yolks from large eggs
- 1 teaspoon vanilla bean paste or vanilla extract
- 14 g butter (½ oz/1 tablespoon)
- pinch salt
Instructions
- In a heavy based, medium saucepan, over medium heat, heat 2 cups of the milk and all the sugar, stirring to dissolve until it starts steaming point.
- Add the cornflour, eggs and remaining ½ cup of milk to a medium mixing bowl. Whisk, using a balloon whisk until smooth and combined.
- While gently whisking, very slowly drizzle the hot milk into the eggs. Don't pour it too quickly or you'll cook the eggs.
- Return the custard mixture to the pan and cook over medium heat, gently stirring with a whisk the entire time until it starts to thicken and bubble.
- As soon as you see the first bubbles appear, continue cooking and stirring for a full minute to activate the cornflour.
- Remove from the heat and stir in the butter, vanilla and salt until the butter has melted and is fully incorporated.
- Line a small square dish with plastic wrap. Pour the vanilla pastry cream into the dish and seal the plastic wrap over the top (or pour into a bowl or jug and press plastic wrap to the surface).
- Chill to cool completely. You will need to give it a whisk before you use it.
- Pastry cream will last for 3-4 days in the refrigerator. NOT suitable for freezing as the mixture can split on thawing.
- Please take a moment to leave a comment & rating. It's appreciated and so helpful.
Notes
- Yield: Roughly 2 ½ cups.
- Nutritional values based on 1 ¼ cups / half batch.









Comments
No Comments