About
My Cookbooks
Work With Me
Contact
  • Facebook
  • Instagram
  • Pinterest
  • X
  • YouTube
The Flavor Bender

Master the Science of Delicious

  • Recipe Index
    • All Recipes
    • Desserts
      • Cakes & Cupcakes
      • Candy & Bite Sizes
      • Chocolate
      • Cookies, Brownies & Bars
      • Frozen Desserts
      • Fruit Desserts
      • Puddings & Custards
      • Dessert drinks
      • No Bake
      • Pastries & Breads
      • Sweet Syrups & Spreads
      • Tarts & Pies
      • Cheesecakes
      • Healthy sweets
    • Breakfasts
      • Tarts, Quiches, & Pies
      • Waffles, Pancakes & Crepes
      • Quick Breads, Scones & Muffins
      • Breakfast Sandwiches
      • Breakfast Pastries
      • Eggs
      • Breakfast & Brunch Drinks
      • Make Ahead Breakfasts
      • Healthy Breakfasts
      • Coffee and Tea drinks
      • Breakfast Smoothies & Juices
      • Breakfast Sides
      • Casseroles
      • Jams & Spreads
    • Courses
      • Main Meals
        • Bread, Sandwiches & Burgers
        • Curries
        • Salads
        • Roasts & BBQ
        • Soups & Stews
        • Casseroles
      • Bread
      • Lunch
      • Beverages
      • Appetizers & Tapas
      • Sides
      • Dips & Condiments
      • Tea Time & Snacks
      • Desserts
      • Meal Prep
      • Cocktails
      • Pet Friendly Recipes
    • Cuisines
      • American
      • European
      • Australasian
      • Sri Lankan
      • East Asian
      • Mexican
      • Middle Eastern
      • South Asian
    • Sri Lankan
      • Main Meals
      • Drinks
      • Desserts
      • Breakfasts
      • Snacks
    • Skill Level
      • Easy
        • Easy Desserts
        • Easy Cooking
        • Easy Breads
        • Easy Breakfasts
        • Easy Dinners
      • Intermediate
        • Intermediate Desserts
        • Intermediate Cooking
        • Intermediate Breads
        • Intermediate Breakfasts
        • Intermediate Dinners
      • Advanced
        • Advanced Desserts
        • Advanced Cooking
    • Recipes by Season
      • Christmas
      • Fall & Winter
      • Halloween
      • Spring & Summer
      • Thanksgiving
      • Valentines Day
    • Recipes by Diet
      • Dairy Free
      • Eggless
      • Gluten Free
      • Paleo
      • Vegan & Vegetarian
    • Recipe Basics
      • Baking Basics
      • Cooking Basics
      • Baking & Cooking 101
  • New? Start Here
  • Measurement Conversions
  • How-To Posts
  • About
  • My Cookbooks
  • Work With Me
  • Contact
The Flavor Bender   ›   Recipes   ›   Delicious Desserts   ›   Custards and Puddings   ›   Pastry Cream Recipe (Crème Pâtissière)

Pastry Cream Recipe (Crème Pâtissière)

Author:

Dini Kodippili







Jump to Recipe


Updated: 5/12/2024
Total Time8 hours hrs 40 minutes mins
Quick and Easy Recipes
{{title}}
Creme Patissiere - creamy Vanilla pastry cream, that is used in many desserts. Perfect for profiteroles and eclairs.  This recipe is gluten free, and also dairy free friendly.

A simple yet delicious recipe for Vanilla Pastry Cream (Creme Patissiere). This is a rich and creamy type of custard used in many types of dessert. This recipe is gluten free, and also dairy free friendly.

For the chocolate version, check out my chocolate pastry cream recipe. Here, I’ll show you how to make the most perfect, rich, creamy vanilla pastry cream from scratch with all the troubleshooting tips!

Creme Patissiere - creamy Vanilla pastry cream, that is used in many desserts. Perfect for profiteroles and eclairs.  This recipe is gluten free, and also dairy free friendly.
Contents
 [hide]
  • What is pastry cream?
  • Ingredients (and ingredient notes)
  • How to make pastry cream (with recipe tips)
  • What is pastry cream used for? (Desserts with pastry cream)
  • Recipe variations
  • Storage instructions
  • Frequently asked questions and troubleshooting

What is pastry cream?

Pastry cream (crème pâtissière) is a quintessential part of pastry making and used as a filling in many pastry recipes. Colloquially it’s also known as cream pat.

It’s an essential skill to learn if you love to bake pastries and other desserts. Creme patissiere is basically a delicious, rich, creamy custard, thickened with starch and eggs. It’s an important component for many desserts.

Pouring custard being poured into a small bowl to show the consistency.
Creme Anglaise (Thin custard)
Pastry cream piped into a small bowl.
Creme Patissiere (Thick custard)

What’s the difference between pastry cream and custard?

A custard is made with milk, sugar and eggs, and pastry cream (crème pâtissière) is one of many types of custard that is made with milk, sugar, and eggs. Pastry cream is simply a thicker version of custard, due to the addition of starch in the form of cornstarch or flour.

There seems to be some confusion about custard desserts and their terminology, so I’m going to clear that up before I get into the pastry cream recipe.

  • Creme Anglaise (pouring custard) is the “sauce” version of custard. It It’s not typically thickened with a starch (although some use a little cornstarch to prevent egg scrambling), and usually only uses eggs/egg yolks. It’s like a thick sauce that can be poured over desserts. This custard isn’t heated to a boil to prevent the eggs from curdling.
  • Creme Chantilly is lightly whipped cream sweetened with sugar and (usually) flavored with vanilla.
  • Creme Patissiere (pastry cream) is a thicker custard. It’s thickened using starch and eggs/egg yolks and can be piped. It’s mostly used to fill French pastries and desserts. Pastry cream is heated to a boil, so that it thickens well. Because of the starch, the eggs don’t curdle readily.
  • Creme Legere is pastry cream (creme patissiere) with sweetened and flavored whipped cream (chantilly) added. Most people refer to crème légère as creme diplomat as well.
  • Creme Diplomat is pastry cream mixed with chantilly, gelatin, and any extra flavorings (optional). It’s basically creme legere made with stabilized whipped cream.
  • Creme Bavarois is a dessert on its own. It’s like panna cotta, but made with creme patissiere. It’s creme patissiere mixed with chantilly, but with extra gelatin (so that it sets like a pudding), and extra flavorings.

Crème pâtissière (pastry cream) is the base for so many pastry essentials, so I hope you give this recipe a go!

Ingredients (and ingredient notes)

Overhead image of ingredients needed to make pastry cream or cream pattisiere with labels.
  • Milk – Full cream milk is preferred for better flavor. You can also mix in half milk and half cream for an even richer tasting pastry cream.
  • Sugar – I use white sugar, but you can use brown sugar as well (which will change the flavor though).
  • Egg yolks – Egg yolks add richness and helps to thicken the pastry cream a little.
  • Cornstarch – This starch helps thicken the pastry cream to the desired thickness, while also acting as a buffer to prevent the egg yolks from curdling too quickly. Using cornstarch makes this pastry cream naturally gluten free.
  • Salt – Just a pinch of salt adds depth of flavor to your pastry cream. It’s the difference between a bland tasting custard and a spectacular one!
  • Vanilla – Obviously needed to add flavor. You can use vanilla extract, fresh vanilla beans, or vanilla bean paste.
  • Gelatin and water – This is an optional ingredient, but gelatin will add more stability to your pastry cream, especially if you’re using it as a filling in a cake.

The importance of eggs

Eggs (specifically egg yolks) play two roles in creme patissiere (pastry cream). It adds richness (especially the yolks), and also thickens the custard. 

I use large eggs in this recipe, where an egg weighs 2 oz / 57 g on average, or an egg yolk that weighs about 0.7 oz / 17 – 20 g on average. So if you’re using different-sized eggs, you can adjust accordingly. But a little extra egg (or egg yolk) won’t mess up your pastry cream.

I use 4 egg yolks from large eggs OR 3 large egg yolks, plus 1 large egg for this recipe.

This easy pastry cream is delicious and spreadable and pipeable (i.e. isn’t too stiff). If you want a RICHER tasting pastry cream then I’d suggest to use up to 5 large egg yolks instead.

This version is slightly thicker because of the extra egg yolks.

The higher the ratio of eggs to milk, the richer and better the custard will taste. BUT as soon as the balance is tipped, it will also greatly increase the chances of it turning into scrambled eggs, or turning into an omelet.

The importance of cornstarch

Pastry cream is cooked with cornstarch or flour. This helps to thicken the pastry cream further AND it also acts as a buffer to prevent the eggs from turning into scrambled eggs. But I use cornstarch here, as you need less of it AND it’s gluten free as well.

However, you still need to stir or whisk the pastry cream very frequently to prevent the eggs from scrambling. But the starch in the cornstarch will create a buffering matrix which will reduce the chances of the eggs coagulating.

The more cornstarch you add, the thicker the pastry cream will be. For example, for diplomat cream, I prefer to add much more cornstarch for a thicker pastry cream that will still be stable after mixing with whipped cream.

How to make pastry cream (with recipe tips)

Heating the milk on the stove, using a whisk to heat the milk evenly.

Step 01 – Heat the milk

Some recipes call to scald the milk, which isn’t necessary if you’re using pasteurized milk. 

However, if you’re using fresh vanilla beans, scalding the milk with the vanilla and letting it cool down a little will allow the vanilla to infuse into the milk.

I heat the milk until almost to a boil, so that it speeds up the process of dissolving the sugar and thickening. Make sure to mix the milk, to prevent the milk from burning on the bottom.

Egg yolk, sugar and cornstarch in a glass jug in the left image, and the ingredients mixed really well till pale, in the right image.

Step 02 – Mix the eggs, cornstarch, sugar together in a separate bowl

Whisk really well until you have a nice, smooth paste. I like to whisk until the egg yolk mixture turns a little pale in color. This ensures that you have NO LUMPS in the cornstarch, or the egg yolks, and will not form lumps in the hot milk.

The egg mixture being whisked until pale in color simply helps with making sure that the hot milk does not immediately scramble the egg yolks (that have not been mixed in properly).

But don’t do this too far ahead of time. I only mix it just before heating the milk, or while the milk is heating. The egg yolks will tend to “cook” in the sugar the longer you keep it together.

Two image collage showing how to temper egg mixture with hot milk, and using a whisk to mix the egg and milk mixture.

Step 03 – Temper the eggs

Be careful when you temper eggs with the hot milk. If you’re a beginner, you could get someone to help you whisk the egg mix while you pour the hot milk in a thin stream to temper the eggs.

Another way to temper the eggs is to keep the bowl with the egg-sugar mix on a slightly damp tea towel (to prevent slipping), and pour the hot milk from a light and small measuring cup (light enough to control with one hand).

This makes it easier to whisk the egg mix with one hand and pour hot milk with the other.

Pour hot milk, in a slow, thin stream into the egg mixture, while whisking the eggs constantly. Add just enough hot milk to warm up the egg mixture, and then use the whisk to make sure the egg mixture has been mixed in well with the milk (no egg mixture stuck to the side or bottom).

Tempered egg mixture poured back into the saucepan, and placing the pot back on the stove to cook.

Next, pour the heated egg mixture back into the saucepan to mix with the remaining milk. Whisk to mix very well, and return the pan to the stove to thicken.

Stirring pastry cream mixture with whisk, while cooking it on a stove to thicken.

Step 04 – Thicken the pastry cream mixture

Here is the tricky part. The custard mixture should be heated to bring to a boil, BUT you absolutely must keep whisking is while the pastry cream is cooking.

It’s important to keep the milk-egg mix moving while it’s heating. The eggs in the milk will curdle when it comes closer to the boiling point, and you do NOT want that.

The whisking will help keep the custard smooth. I find that a good whisk is perfect at this, as long as you whisk constantly and well.

If you’re new to making pastry cream, use a low heat to cook the pastry cream. If the milk is “setting” at the bottom of the pan and creating scrambled-like lumps, then the heat is too high OR you’re not mixing the custard fast enough and causing it to “set” too quickly.

The bubbles or foam on top of the pastry cream mixture will reduce as it starts to thicken as well, so keep an eye on that as you whisk your mixture.

If you feel that the pastry cream is heating up too fast, lower the heat of the stove, and remove the pot from the heat periodically while stirring to re-distribute the heat in the custard and make it smooth again.

The pastry cream will thicken up just before coming to a boil.

An image showing what the pastry cream will look like when it comes to a boil, with the bubbles labeles, and whisking to thicken the boiling pastry cream in the second image.

Step 05 – Bring the vanilla pastry cream to a boil

Unlike other custards, pastry cream needs to be brought to a boil. This is essential for the consistency of the custard. The cornstarch is only able to reach its best thickening ability when it has been boiled in the liquid. This will also ensure that the cornstarch cooks through and does not leave any starchy taste.

When the pastry cream comes to a boil, the starch in the cornstarch expands, forming starch bonds that thicken and stabilize the pastry cream. Heat also allows the eggs to form strong protein bonds.

You will know that the pastry cream has come to a boil when it releases large thick bubbles on the surface, kind of like bubbling lava. I like to say that the custard makes “blub blub” sounds.

Once these bubbles break the surface, keep stirring continuously and let the pastry cream cook at least for a further 1 minute at low-medium heat.

4 image collage showing adding and whisking butter and gelatin to cooked and thickened, hot pastry cream.

Step 06 – Add the butter and gelatin (if using)

As soon as the cutard is done, turn off the stove and immediately add the butter and bloomed gelatin. Bloomed gelatin is gelatin that has soaked in water. While the gelatin is optional, the butter is not.

Whisk in the gelatin and butter well until it has dissolved and mixed in with the pastry cream very well. The residual heat in the custard and the turned off stove will be enough to melt the gelatin and butter.

Cooked pastry cream placed in a sieve and passing through using a spatula, and a smooth, thick pastry cream in glass container.

Step 07 – Strain the pastry cream

It’s not necessary to strain the creme patissiere unless it’s lumpy, BUT it’s still a good extra measure to make sure the pastry cream is silky smooth. Another way to remove any lumps is to use a stick blender to blend the custard WHILE it’s still hot.

Place a fine-mesh sieve over a bowl, and pour the custard through the sieve into the bowl. You can use a spatula to push the custard through as well.

Covering the entire surface of the pastry cream with plastic wrap to prevent a skin from forming as it cools.

Step 08 – Store and cool down the pastry cream

Spread the custard evenly inside the bowl or container, and then cover it with a piece of plastic wrap or parchment paper. It’s ABSOLUTELY crucial that the plastic wrap is in contact with the entire surface of pastry cream to prevent a skin from forming as the pastry cream cools down.

Once the pastry cream has cooled down a little, then transfer it to the fridge to cool completely.

To allow the pastry cream to cool down quickly, spread it in a large bowl or shallow pan, so that the custard layer is fairly shallow.

Chilled and set pastry cream in container, next to a chilled pastry cream that has been whisked, and has a softer texture.

Step 09 – Prepare the pastry cream for use

Once the pastry cream is chilled, you will find that the pastry cream sets a bit. If you added gelatin, the pastry cream will be firmer than without gelatin. Adding more cornstarch will also result in a firmer chilled custard.

Remove the chilled custard from the fridge and scrape the set custard into a large bowl. Then, use a whisk to break and mix the custard to make a smooth pastry cream.

The pastry cream is now ready to be used!

Creme Patissiere - creamy Vanilla pastry cream, that is used in many desserts. Perfect for profiteroles and eclairs.  This recipe is gluten free, and also dairy free friendly.

What is pastry cream used for? (Desserts with pastry cream)

  • It’s used to fill choux pastries, classic profiteroles, and cream puffs
  • To fill chocolate eclairs
  • As filling for cakes such as Boston cream pie
  • Filling for fruit tarts such as this strawberry tart
  • To make mille feuille
  • To make vanilla pudding or chocolate pudding
  • As a filling for cakes (you may need to use buttercream as a dam to ensure the custard doesn’t squeeze out of the cake layers).
  • As a filling inside croissants.
  • Making baked custard breads like this brioche tart.
  • To make crème mousseline for this Paris Brest pastry.
  • It’s also the base for my banana pudding and banana cream pie.
  • Butterscotch pastry cream is used to make this delicious butterscotch mousse.
Creme Patissiere - creamy Vanilla pastry cream, that is used in many desserts. Perfect for profiteroles and eclairs.  This recipe is gluten free, and also dairy free friendly.

How to use pastry cream with different textures as a filling

For a softer pastry cream filling, I like to add 30g of cornstarch to my pastry cream. This is great for profiteroles, or even as a thick topping for desserts. To make this more stable, but still creamy you can add a little gelatin.

Side by side comparison of the thickness and stability of pastry cream made with the addition of gelatin for stability vs no gelatin.

For a firmer pastry cream, I add 40 g of cornstarch. This is great to use as a cake filling for lighter layer cakes, but I would also add a little gelatin to make it more stable.

You can also use a buttercream dam, and fill it with this pastry cream as well. This can also work as a filling for smaller tarts, eclairs, or profiteroles.

You can also use 50 g of cornstarch if you like an even thicker, more stable pastry cream.

This pastry cream will even pipe well and keep its shape fairly well. Great for cake fillings when used with a little gelatin. I also use this pastry cream as a base for making diplomat cream or chiboust cream.

The thickest pastry cream that I make is with 60 g of cornstarch. This pastry cream is EXETREMELY stiff.

I use this as a base for mousseline cream or German butter cream, as the extra butter will make this pastry cream much lighter.

Both diplomat cream or chiboust cream can also use this pastry cream as a base, but I prefer 50g for those versions as mentioned above.

Overhead view of wavy piped lines of pastry cream showing texture differences with varying cornstarch amounts. Less cornstarch and more runny at top, and the firmer pastry cream at the bottom.

Pastry cream with different sweetness levels

I personally don’t like my pastry cream to be too sweet. So, I only add 6 tbsp / 70 g of sugar for every 2 cups of milk. 

Feel free to adjust the sweetness to your taste. This will change depending on what I will be using the pastry cream for as well.

Recipe variations

  • Chocolate pastry cream
  • Earl grey pastry cream
  • Salted caramel diplomat cream – a lighter and sweeter version of this pastry cream.
  • Banana pastry cream – This is the base for my homemade banana pudding that tastes HEAPS better than the Magnolia Bakery banana pudding!
  • Butterscotch pastry cream – Use to make butterscotch mousse.
  • Matcha pastry cream – Add culinary grade matcha to the milk while making pastry cream.
  • Strawberry pastry cream – Add freeze dried strawberry powder to the custard to give it a lovely strawberry flavor. Remember that the dry powder will also contribute to making the custard a little thicker (depending on how much you add). Then use it to fill these strawberry cream puffs!
  • Lemon pastry cream – For a lovely lemony hint in your pastry cream, add grated lemon zest to the milk when making the pastry cream.
  • Orange pastry cream – Just like with lemon pastry cream, add orange zest to the milk when making the custard for a orange pastry cream.
Chocolate Creme Patissiere (Chocolate Pastry Cream) - a rich, creamy custard with deep chocolate flavor, that can be used in many types of dessert. This recipe is gluten free and dairy free friendly. 
Chocolate Pastry Cream
Overhead close up of the smooth banana pudding pastry cream after mixing in the butter and gelatin.
Banana Pastry Cream

Dietary variations

  • Dairy free pastry cream – If you’d like to make this recipe dairy free, substitute the milk with a plant-based milk such as almond milk, coconut milk, cashew milk, or even soy milk. And substitute the butter with a dairy free or vegan butter. 
  • Vegan pastry cream – Vegan pastry cream is possible by replacing the eggs with more cornstarch. How much cornstarch to be used will depend on how thick you want the pastry cream to be. Also use a dash of kala namak to give the pastry cream at least a little hint of the egg flavor. But remember, without the eggs, the flavor of the custard will be different. Also substitute the milk and butter with vegan substitutes and skip the gelatin.
  • Eggless pastry cream – Eggless pastry cream is also possible if you substitute the eggs with cornstarch. However, without eggs, the custard will lose flavor. Just as I mentioned in the vegan version, add a pinch of kala namak.
Filling the tart with the pastry cream base

Storage instructions

Never keep the vanilla pastry cream outside. It’s made with milk and eggs that go bad when not refrigerated. The pastry cream will go bad if stored at room temperature, so it is important to store it in the fridge as soon as you can.

I prefer not to store pastry cream in the freezer, UNLESS I add gelatin. The starch in the pastry cream can cause the custard to split as it thaws out, but gelatin acts as a stabilizer.

There are some who have stored cream pat in the freezer and have still got good results, but I haven’t tried it myself WITHOUT gelatin.

I prefer to store pastry cream in the fridge, in an airtight container, with a piece of plastic wrap covering the entire surface of the pastry cream. It will last about 3 – 4 days in the fridge. This means you can make vanilla pastry cream ahead of time for your recipes too.

Frequently asked questions and troubleshooting

Is this recipe gluten free?

This pastry cream recipe is gluten free, because I use cornstarch instead of flour to thicken it. Some pastry cream recipes use flour, or both flour and cornstarch, but that’s not necessary.

I also find that using cornstarch alone makes the pastry cream less likely to taste floury, which is a common issue with pastry cream made with flour.

Can I use flour instead of cornstarch?

Yes! As stated above, some recipes make pastry cream with flour. In theory, you will need to increase the flour 3-fold to get the same thickening effect as cornstarch.

I personally have not made this recipe with flour, so it will take some experimentation to determine how much flour is needed.

What kind of vanilla is best to use for this recipe?

Since vanilla is the key flavoring in this pastry cream recipe, PLEASE make sure to use good quality vanilla. It’s the one flavoring that I never skimp out on.

Use a good vanilla extract and try to avoid vanilla essence (usually imitation flavor), and if you can use vanilla bean paste or vanilla beans, even better.

My pastry cream is lumpy?

This happens if you’ve heated the pastry cream at too high of a temperature or you didn’t stir it well when it was coming to a boil.

If the custard only formed a few lumps, don’t worry, whisk it VERY well to get rid of the lumps (off the heat), or if that doesn’t work, pass it through a sieve as soon as you’ve cooked it. You can also use a stick blender to blend the custard while it’s still hot to remove lumps as well.

My pastry cream is too thin?

This happens if you haven’t cooked the pastry cream properly. This recipe makes a pastry cream that is spreadable and pipeable, but it’s not stiff enough to hold its shape.

If you did want a stiffer and thicker vanilla pastry cream, you can increase the amount of cornstarch as mentioned above in the post and/or add gelatin as well.

If you added extra cornstarch and it’s still not thick enough, you absolutely need to allow the pastry cream to bubble (boil) and cook for a minute while whisking to activate the cornstarch thickening properties.

My pastry cream has discolored (looks gray in color)?

If you used an aluminum pot to make the custard, chances are that some of that aluminum can get into the pastry cream. Use a stainless steel pot, a copper pot, or a non-stick pot.

My pastry cream tastes like cornstarch?

If you did not cook the pastry cream properly to activate the cornstarch, then it will taste a little starchy.

My pastry cream is too thick?

Chances are you added too much cornstarch. If you compacted the cornstarch into your measuring spoon, or used an incorrect measuring spoon, this could happen.

You can fold in a little stabilized chantilly cream to loosen up the pastry cream to achieve the right consistency – like a creme diplomat.

My pastry cream feels grainy?

This happens if the pastry cream was cooked at too high of a heat and it curdled at some point. Even though you whisked the mixture to break down the curdled egg, and passed it through a sieve, some of the curdled egg is still there.

It has dispersed through the custard making it feel grainy. Unfortunately, there is no fix for this and it needs to be made again.

Can I use this pastry cream as a cake filling?

As the recipe stands, you can use this as a cake filling ONLY if you have a buttercream damn along the edge of your cake. The pastry cream is too soft and will run out the sides if not.

If you want to have a thicker pastry cream as a filling, then I recommend making the pastry cream with 40 – 50 g of cornstarch. Adding about 1 – 2 tsp of bloomed gelatin will also increase the stability of the pastry cream to be used as a filling.

And if the cake layers are heavy, I ALWAYS recommend a buttercream dam simply because the pastry cream will squeeze out the sides if the cake layers are heavy.

Equipment and tools I use for this recipe

  • Whisks and silicone spatula – to stir the pastry cream
  • Plastic wrap
  • Pyrex glass containers with lids – to store the pastry cream (remember to cover the surface with plastic wrap).
  • Measuring cups & spoons

Recipe

Creme Patissiere - creamy Vanilla pastry cream, that is used in many desserts. Perfect for profiteroles and eclairs.  This recipe is gluten free, and also dairy free friendly.
5 from 156 votes

Creme Patissiere (Vanilla Pastry Cream)

Author: Dini Kodippili
Yield: about 750 g or 600 mL (about 2 ½ cups)
Cuisine: French, Other
Creme Patissiere - creamy Vanilla pastry cream, that is used in many desserts. Perfect for profiteroles and eclairs.  This recipe is gluten free, and also dairy free friendly.

 Difficulty: 

Easy
Creamy vanilla pastry cream used in many types of dessert. Perfect for profiteroles, cream puffs, eclairs etc. This recipe is gluten free and also dairy free friendly.
Easy – This is an easy recipe, but requires constant supervision. Please read the recipe fully before proceeding.
Please use weight measurements for accurate, consistent results.

US based cup, teaspoon, tablespoon measurements. Weight‌ ‌measurements‌ ‌are‌ ‌recommended‌ ‌for‌ ‌accurate‌ ‌results whenever available.

Common Measurement Conversions
Prep: 10 minutes mins
Cook: 30 minutes mins
Chilling Time (overnight): 8 hours hrs
Total Time: 8 hours hrs 40 minutes mins
Print Recipe Rate SaveSaved!
Makes: 14 servings , 50g each

Ingredients:
 

  • 480 mL milk 2 cups (Preferably whole milk, see recipe notes)
  • 75 g sugar 6 tbsp (Use more if you want a sweeter pastry cream. This recipe isn't too sweet)
  • Pinch sea salt kosher salt is fine too
  • 30 g cornstarch (cornflour) 3 tbsp. packed tablespoons (4 tbsp / 40 g for a stiffer pastry cream OR you can also add up to 50 g / 5 tbsp if you want an even thicker, more stable pastry cream)
  • 15 mL vanilla bean paste or extract 1 tbsp. 1 vanilla bean pod
  • 4 large egg yolks about 17 – 20 g each (please see recipe notes)
  • 43 g unsalted butter 3 tbsp, softened
Adding gelatin (optional)
  • 45 mL water 3 tbsp
  • 5 g powdered gelatin 1½ tsp. 225 bloom strength

Instructions:
 

  • If using vanilla bean pods, split the bean and scrape the vanilla seeds / caviar out of the beans.
    15 mL vanilla bean paste or extract
  • Add the bean and caviar with the milk into a saucepan. Heat the milk over medium high heat and bring it to a simmer, almost to a boil (see recipe notes below).
    480 mL milk
  • While heating the milk, place the sugar, egg yolks, cornstarch, and salt in a bowl. Whisk until you have a thick, smooth mix. (If you're using vanilla bean paste or extract, add it to the egg mix too). Place the bowl with the egg mix on a towel or napkin (to prevent the bowl from slipping while whisking in the next step), and set aside until the milk comes to a boil (almost to a boil).
    75 g sugar, Pinch sea salt, 30 g cornstarch (cornflour) , 4 large egg yolks, 15 mL vanilla bean paste or extract
  • As soon as the milk starts to steam or simmer, remove it from the heat. Slowly pour about a half of the hot milk in a thin stream into the egg mix, WHILE WHISKING CONSTANTLY to temper the egg mix. When the eggs have been tempered, add the egg mix back into the hot milk in the saucepan.
  • Heat the custard base over medium heat, while whisking vigorously until it starts to thicken. This should take about 1 – 2 minutes depending on the heat of your stove and size of your saucepan. Make sure to reach the corners of the saucepan so that the custard does not catch at the bottom of the pan.
  • While whisking, let the custard come to a boil (the custard will release bubbles). You may need to stop whisking from time to time for a few seconds to see if the custard is "bubbling". Look for big "bloops" breaking the surface of the custard (see pictures in the post for reference).
  • Lower the heat and cook for a further 1 – 2 minutes after you see the first bubbles break the surface, and make sure to whisk constantly.
  • Remove from the heat and add the butter. Whisk in the butter until it’s completely mixed in.
    43 g unsalted butter
  • Pour the custard into a bowl and immediately cover the surface with plastic wrap, making sure the plastic wrap is touching the whole surface. This is to prevent a custard skin from forming on top. You can also choose to pass the custard through a sieve to remove any lumps.
  • Let the custard cool down to room temperature and then let it chill in the fridge for a few hours, until completely chilled.
  • The custard will "set" after chilling. So it's important to whisk the pastry cream to make it smooth again before using.
  • Use as needed after the pastry cream has been chilled. 
Adding gelatin
  • Gelatin should be added to the pastry cream WHILE IT'S STILL HOT. Please read recipe notes below on whether adding gelatin to your pastry cream is the right option for you.
  • While the milk is heating (for the pastry cream), place the water in a small bowl.
    45 mL water
  • Sprinkle the gelatin over the water and use a toothpick or skewer (something slim) to mix the gelatin into the water so that there is no dry gelatin. Let this sit for at least 10 minutes to bloom (or until the pastry cream has cooked and thickened).
    5 g powdered gelatin
  • While the pastry cream is hot, add the bloomed gelatin along with the butter, and thoroughly whisk to make sure all the gelatin has dissolved in the hot pastry cream.
  • Cover the pastry cream with plastic wrap (same as above), and keep an eye on the pastry cream. Let it come to room temperature and then use the pastry cream as needed. If you chill the pastry cream it will harden as the gelatin sets.

Recipe Notes

This recipe initially called for 1 whole egg, but I have updated the recipe to include ONLY egg yolks. I have also included more information on how to make it thicker for other applications.
  • For a thicker and richer vanilla creme patissiere, you can add up to 5 egg yolks. 
  • For a richer taste, you can also substitute half of the milk with heavy cream or 18% fat cream (half and half). 
  • Increase the amount of cornstarch to 50 g for a thicker pastry cream. 
  • For a dairy-free version, substitute the milk and butter with a plant-based milk such as almond milk, coconut milk, cashew milk, or even soy milk, and use a plant-based butter. 
  • You can choose to bring the milk to a boil, or just let it come to a simmer. It was important to boil the milk back in the days when milk wasn’t pasteurized. However, I have not noticed any difference in the pastry cream consistency when using boiling milk vs steaming hot milk. 
  • Here’s the recipe for classic vanilla diplomat cream (crème diplomat).
  • Here’s the recipe for classic chocolate pastry cream.

Adding gelatin to your pastry cream

You can absolutely add gelatin to your pastry cream for any reason. 
If you allow your pastry cream to cool in the fridge, the gelatin will set. You can still re-whisk and use this pastry cream as normal, but it won’t “set” the same way as before, but will be thicker and more stable than if you hadn’t used gelatin at all. 
For proper setting properties, allow the pastry cream to cool to slightly warmer than room temperature. Then you may use it for any application you please. But this means you cannot make it ahead of time.
You can add whipped cream to it to make diplomat cream (and you do not have to add extra gelatin to the whipped cream). You may also add Italian meringue to make chiboust cream as well. 

Nutrition Information:

Serving: 50g Calories: 59kcal (3%) Carbohydrates: 5g (2%) Protein: 1g (2%) Fat: 3g (5%) Saturated Fat: 1g (6%) Cholesterol: 44mg (15%) Sodium: 15mg (1%) Potassium: 38mg (1%) Sugar: 4g (4%) Vitamin A: 145IU (3%) Calcium: 33mg (3%) Iron: 0.1mg (1%)

“This website provides approximate nutrition information for convenience and as a courtesy only. Nutrition data is gathered primarily from the USDA Food Composition Database, whenever available, or otherwise other online calculators.”

Tag me on Instagram!I love seeing what you’ve made! Tag me on Instagram at @TheFlavorBender or leave me a comment & rating below.
Dini Kodippili Avatar

About

Dini Kodippili

Dini Kodippili is a professional food writer, recipe developer, food photographer, cookbook author, and baker. Dini has been featured on HuffPost, Cosmopolitan, Forbes, Delish, Food & Wine and more. Learn More

I love hearing from you! Submit your question or recipe review here.

4.95 from 156 votes (12 ratings without comment)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Made this? Rate this recipe:




This site uses Akismet to reduce spam. Learn how your comment data is processed.

571 responses

  1. Raymond R
    May 2, 2020

    I am thinking of experimenting and am wondering if I can use this recipe along with a chocolate mousse in a three tiered chocolate layer cake? Also, would you use it along with a buttercream frosting or is that all a bit too much?

    Reply
  2. Nina
    April 30, 2020

    HI. I made this but it was too thin to pipe into the choux pastry shells (making profiteroles). I think I did not heat it up enough. Any way I can still fix it? Thank you!

    Reply
    1. Dini
      April 30, 2020

      Hi Nina!
      If you think you were not able to heat the pastry cream enough, then you can re cook the pastry cream until it is starts to bubble. It will be thicker than it would have been since it was cooked twice, but the full thickening power of cornstarch is only activated once the mixture is boiled.
      To rapidly cool it down, you can spread the custard in a clean baking tray and cover it with a plastic wrap (touching the entire surface). You can place this in the fridge for it to cool down faster.
      I hope that helps!

      Reply
      1. Nina
        April 30, 2020

        Will try this. Thank you for your reply!

        Reply
  3. Jane doe
    April 29, 2020

    5 stars
    If i have 28 profiteroles each with 1 and 1/2 diameter and hieght(thats before baking) would this 750g of pastry cream be enough for it?

    Reply
  4. Peggy
    April 25, 2020

    5 stars
    Thank you very much for this recipe, i followed it precisely and it turned out wonderful. It was my first attempt at making this cream and i agree that whisking all the time is the key to its success. I used the same amount of sugar because i used a shortcrust pastry low in sugar. I wish i could load a photo. Thank you again.

    Reply
  5. Inna S.
    April 24, 2020

    Two questions – is there any additional corn starch etc necessary if I substitute regular milk for plant-based milk, since the chemical setup is completely different? Secondly, would it be wise to use an electrical mixer because the whisking action is a bit crazy? I whisked it for life, yet it still clumped and I couldn’t salvage it off heat nor with a sieve.

    Reply
  6. Roberta
    April 22, 2020

    Thanks from Holland for the clear recipe. My pan has quite a thin bottom so I used a simmer plate underneath – it took a bit longer to boil than 2 minutes, but it made me feel less anxious. I used 4 tbsp. of sugar as some noted the creme came out too sweet – I still think 4 was too much.
    I ate some of it just now and will serve it with baba au rhum tomorrow for my mother’s birthday 🙂

    Reply
  7. Tilda f
    April 16, 2020

    I was thinking of making this to put in a vanilla slice. if i added the extra egg yolks in stead of a full egg and increased the amount of corn flour would it be thick enough to stand up?
    also would it be to sweet for a vanilla custard- type slice?

    Reply
    1. Dini
      April 16, 2020

      Hi Tilda
      Yes! Once the pastry cream is chilled, it will be thick enough for a vanilla custard slice. The sweetness level is what we prefer. However this is less sweet than a vanilla pudding. You can add a little extra sugar if it’s not sweet enough for you!
      I hope that helps!

      Reply
  8. Freda
    April 15, 2020

    How many profiteroles could this recipe fill?

    Reply
    1. Dini
      April 15, 2020

      Hi Freda
      It will depend on how big the profiteroles are, so it’s hard for me to give an exact answer.
      It fills about 15 of my medium large profiteroles (if I pipe in 50 g of filling to each one)
      Hope that helps

      Reply
  9. Lee
    April 11, 2020

    4 stars
    But too sweet but otherwise nice

    Reply
  10. Nicole
    April 10, 2020

    I love custard-filled chocolate iced donuts and I was wondering if this is the type of custard that would be good to make those with?

    Reply
    1. Dini
      April 11, 2020

      Hi Nicole!
      Absolutely 🙂 I use this recipe to fill my custard filled donuts as well 🙂
      Hope that helps!

      Reply
      1. Amber
        April 23, 2020

        5 stars
        4 23 20 i’ve had european pastries and they’re soooo rich.

        If I replaced the milk with heavy cream, would that work, or is it too thick, or too much fat to work? thx

        Reply
        1. Dini
          April 25, 2020

          Hi Amber
          It is possible, though I haven’t tried it. I expect it would be like an extremely rich ice cream base. I would think that it would extremely rich and have a fattier texture. I would be more inclined to add more egg yolks to increase richness, but I’m not sure of the texture and taste of the pastry cream you have tried to make the suggestion.
          I hope that helps!

          Reply
  11. Jess
    April 8, 2020

    I read through this twice and still messed it up 🙁 i think I over cooked it cause it get super thick and then the butter didn’t mix in at all.

    Reply
    1. Dini
      April 14, 2020

      Hi Jess
      The custard is supposed to come to a boil, and it can be very thick if you cooked it with the extra cornstarch and only egg yolks. It has the consistency of thick pudding.
      Also, the butter should EASILY incorporate into the pastry cream regardless of how thick/thin it is, because it’s added while the pastry cream is still hot.
      Did you add the butter while the pastry cream was hot or after it cooled down? What was the consistency of the pastry cream once it cooled down?
      Thank you!

      Reply
  12. Kerry Kleve
    April 5, 2020

    5 stars
    I love this recipe, it was so easy.

    Reply
  13. Liz Manns
    April 5, 2020

    5 stars
    This is such an awesome and easy recipe! It turned out perfect!

    Reply
  14. Natalie C
    March 31, 2020

    Hello! I was planning on making a fruit tart and wanted to use your recipe for the filling. I wanted to ask to be sure – will this recipe make enough creme pat to fill a fruit tart made in a 9″ pan? Thank you!

    Reply
    1. Dini
      April 2, 2020

      Hi Natalie!
      I’m sorry for the late reply
      This recipe (the thicker version) makes about 600mL (about 2.5 cups). I think this should be enough for a 9 inch tart, but it really depends on how deep the tart is.
      I hope that helps!

      Reply
  15. Ariel Sanchez
    March 30, 2020

    Would the thicker version with extra yolks and cornstarch be thick enough for a banana cream pie?

    Reply
    1. Dini
      April 2, 2020

      Hi Ariel!
      Sorry for the late reply!
      Yes, the thicker version would be thick enough for a pie.

      Reply
  16. Pam
    March 26, 2020

    You mentioned using this basic to make pudding, what would need to be changed?

    Reply
  17. Julia
    March 24, 2020

    4 stars
    Great recipe, I loved the detailed information and troubleshooting. Mine came out perfect in consistency and vanilla flavor. It’s only a bit too sweet for me, so next time I’ll try with 4-5 tbsp instead. Not a biggie this time, as the rest of the recipe will not be sweet 🙂

    Reply
  18. Kathy
    March 24, 2020

    Came out great, on the thick side. But Better that than it doesn’t set up! Question: Can I re-warm pastry cream once it’s chilled to fold in beaten egg white?

    Reply
    1. Dini
      March 24, 2020

      Hi Kathy!
      I wouldn’t recommend reheating the pastry cream if you want to fold in egg whites. This is because the warmth will deflate the egg whites. It will be the same if you want to fold in whipped cream.
      Once the pastry cream is chilled, you can whisk the chilled pastry cream to “loosen” it a little, and then fold in whisked egg white foam or whipped cream. I add whipped cream to my pastry cream often to make cream diplomat.
      I hope that helps!

      Reply
  19. Thea
    March 22, 2020

    Hi can I use this recipe as filling for a sponge cake roll?

    Reply
    1. Dini
      March 24, 2020

      Hi Thea
      Yes you can! You will have to use the thicker version (yolks only) to make sure that it will be spreadable and sturdy as a filling.
      Hope that helps!

      Reply
    2. Thea
      May 1, 2020

      5 stars
      Wow, I am Thea as well. I never thought I would see someone else with my name in the comments, looking up the same recipe, and trying to use the filling for a cake too!

      This is cray-cray!

      Reply
  20. chanie dichosa
    March 17, 2020

    5 stars
    First timer and I loved it.. thanks

    Reply
←Older Comments
1 … 3 4 5 6 7 … 16
Newer Comments→

Hey There!

Hi! I’m Dini, a third culture kid by upbringing and a food-geek by nature. I was born in Sri Lanka, grew up in New Zealand and lived in Australia, and then the US, before moving to and settling down in Canada. My food is a reflection of those amazing experiences!

Read More
Front cover of the Secret Layer Cakes cookbook by Dini Kodippili.

The Flavor Bender

Cookbook

Buy now on Amazon!

Recipe Basics

  • How To Make Perfect Choux Pastry

    How To Make Perfect Choux Pastry

  • Flaky All Butter Pie Crust Recipe

    Flaky All Butter Pie Crust Recipe

  • How To Make Homemade Marshmallows (Foolproof Guide)

    How To Make Homemade Marshmallows (Foolproof Guide)

  • The Best Homemade Bread (White Bread Recipe)

    The Best Homemade Bread (White Bread Recipe)

  • Homemade French Croissants (Step By Step Recipe)

    Homemade French Croissants (Step By Step Recipe)

  • The BEST Pavlova Recipe (Step by step recipe and video)

    The BEST Pavlova Recipe (Step by step recipe and video)

Featured On

Master the science of baking!

Get my FREE Printable Cake Pan Conversion Chart!

So you’ll know how to substitute cake pans of different shapes, sizes & volumes in a pinch!

A must have resource for all pro bakers, novice bakers, and aspiring bakers alike!

Download now!

Reader Faves

  • How to make the Best Instant Pot Short Ribs

    How to make the Best Instant Pot Short Ribs

  • Perfect Quick and Easy Rough Puff Pastry

    Perfect Quick and Easy Rough Puff Pastry

  • The Best Spicy Sweet Chili Sauce (Easy Recipe!)

    The Best Spicy Sweet Chili Sauce (Easy Recipe!)

  • The Best Homemade Bread (White Bread Recipe)

    The Best Homemade Bread (White Bread Recipe)

The Flavor Bender

I love baking, cooking, experimenting with flavors and ingredients, and passing on all my tips and tricks to you!

Read More

About

Meet Dini
My Book
Work With Me
Contact

Browse

Recipes
Measurement Guide
Baking How-To’s
Shop My Faves
Privacy
Disclosure
Terms

Branding by MRD

Theme by OC

Back to Top
  • Facebook
  • Instagram
  • Pinterest
  • X
  • YouTube
101515 shares

Rate This Recipe

Your vote:




A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.