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

Disclosure: This post may contain affiliate links which provide us a small commission when used for purchase. Please read my disclosure policy for more information. I am grateful for your support!

Crème pâtissière is one of the first things you learn in a French pastry kitchen, and for good reason. Once you can make it, a whole shelf of French desserts opens up: éclairs, fruit tarts, choux, mille-feuille, all of them start here.
It looks intimidating but really it isn’t. Milk, yolks, sugar, a little starch and vanilla, cooked in one pan. The only moment that asks for your attention is a minute or two at the stove, and once you’ve done it once you’ll make it without thinking. I’ll walk you through the steps that keep it silky rather than lumpy!
Table of Contents
Where crème pâtissière comes from
Crème pâtissière is exactly what its name says: pastry cream, the cream or custard that French pâtisserie is built on. It belongs to a family of French custards that all start from the same idea of thickening milk with eggs, and the small differences between them are worth knowing, since the names get used loosely everywhere.
Crème anglaise is the loose, pourable one, thickened with yolks alone and never boiled, closer to a sauce. Crème pâtissière takes the same base and adds starch, flour or cornflour, which lets it boil without the eggs scrambling and sets it thick enough to pipe and to hold its shape in a tart. From there it becomes other things: fold in whipped cream and it’s crème légère, beat in butter and it’s crème mousseline, add gelatine and more cream and it’s crème diplomate. All of them begin with the recipe below.
The thickening-with-starch method that makes it pipeable was refined through the great period of French pâtisserie in the nineteenth century, and it’s been the workhorse of the pastry kitchen ever since. It isn’t a dish you serve on its own so much as the thing inside everything else, which is why every French pastry cook learns it early and makes it constantly.
Ingredients

- Whole milk — the body of the cream, and it needs to be whole. Lower-fat milk gives a thinner, duller custard, since the fat carries flavour and richness.
- Egg yolks — yolks only, not whole eggs, which is what gives the classic richness and colour. Save the whites for financiers or meringues.
- Sugar — sweetens, and part of it is whisked with the yolks to protect them from the hot milk.
- Cornflour, or a mix of cornflour and flour — the thickener that lets the cream boil and sets it firm. Cornflour alone gives a glossier, lighter set; adding a little plain flour makes it more stable for piping. Both are traditional.
- Vanilla — a whole pod, split and scraped, is the classic choice, infused into the milk. Good vanilla is the main flavour, so it’s worth using well.
- Butter (optional) — a knob beaten in at the end, off the heat, for shine and a smoother finish. Common in professional kitchens, and worth doing.
How to make crème pâtissière
1. Infuse the milk with vanilla
Split the vanilla pod lengthways, scrape out the seeds, and put both pod and seeds into the milk. Bring it slowly to just below a boil, then take it off the heat and leave it to infuse for 10 to 15 minutes. This draws the vanilla through the milk, and the gentle heat is enough. If you’re short of time, skip the infusion and carry on, though the flavour is better for it.
2. Whisk the yolks, sugar and starch
While the milk infuses, whisk the yolks with the sugar until pale, then whisk in the cornflour until smooth. The starch coats the yolks and is what stops them scrambling when the hot milk goes in, so make sure there are no lumps before you go further.
3. Temper the yolks with the hot milk
Fish out the vanilla pod, then pour the hot milk onto the yolk mixture in a thin stream, whisking hard the whole time. Adding it slowly brings the yolks up to temperature without cooking them, which is the difference between smooth custard and sweet scrambled egg. Don’t rush it.
4. Cook it until it thickens and boils
Pour everything back into the pan and cook over medium heat, whisking constantly and reaching into the corners of the pan. It will thicken suddenly, then start to bubble. Once it boils, keep whisking for a further 1 to 2 minutes. This cooks out the raw starch taste and sets the cream, and unlike crème anglaise, it must reach a boil to thicken.
5. Beat in the butter, if using
Off the heat, beat in the butter until it melts through and the cream turns glossy. This is optional but gives a smoother, shinier finish.
6. Film it and chill it fast
Pass it through a sieve for the silkiest result, then press a sheet of cling film directly onto the surface so no skin forms. Chill it quickly, and once cold, whisk it smooth again before you use it, since it sets firm in the fridge.
Tools for this recipe
Check out my favorite kitchen essentials and cookware!
- Use a heavy saucepan with an even base, since a thin pan gives hot spots where the custard catches and scrambles before the rest has thickened.
- Use a whisk that reaches into the corners of the pan, which is where the cream catches first.
- Use a sieve and spatula to strain out the vanilla pod and any set egg, which is the simplest route to a silky texture.
Tips for success
- Whisk constantly once it’s back in the pan: this is the ninety seconds that matter, stop whisking and the base catches and scrambles, so keep moving until it’s thick and boiling.
- Let it actually boil: unlike crème anglaise, pastry cream needs to reach a boil for the starch to set it and to lose its raw taste. Take it off too early and it stays runny.
- Whisk the starch in thoroughly before the milk: lumps of dry cornflour won’t disappear later, so make sure the yolk mixture is completely smooth first.
- Temper slowly: pour the hot milk onto the yolks in a thin stream while whisking. Tip it in all at once and you’ll scramble the edges.
- Film the surface while hot: cling film pressed right onto the cream stops a skin forming. A skin means lumps when you whisk it later.
- Chill it properly before using: it needs to be cold and set, then whisked smooth. Warm pastry cream won’t pipe or hold.
- Strain it: one pass through a sieve catches the vanilla pod and any thread of cooked egg, and it’s the easiest way to a professional texture.
How to store it
- In the fridge: Keeps 3 days in a covered container with cling film pressed to the surface. It must stay refrigerated, since it’s an egg-and-milk custard. Whisk it smooth again before using, as it sets firm.
- At room temperature: Only while cooling before it goes into the fridge. Don’t leave it standing about, for the same reason you wouldn’t leave custard out.
- In the freezer: Not recommended. Pastry cream splits and turns watery and grainy on thawing, since the starch structure breaks down. Make it fresh instead!

More dessert recipes to try
Variations
- Chocolate: stir 50 to 100g of chopped dark chocolate into the hot cream at the end until melted, for crème pâtissière au chocolat.
- Coffee: replace a little of the milk with strong espresso, or infuse coffee beans into the milk with the vanilla.
- Crème légère: fold whipped cream through the cold pastry cream for a lighter filling, ideal for choux and fruit tarts.
- Crème mousseline: beat soft butter into the finished cream for a richer, pipeable filling, which is what goes inside a proper Paris-Brest.
- Crème diplomate: pastry cream with whipped cream and a little gelatine folded in, for a filling that holds its shape.
- Pistachio or praline: whisk a spoonful of pistachio paste or praline into the hot cream, which is a classic pâtisserie flavour.
FAQ
What’s the difference between crème pâtissière and crème anglaise?
Crème anglaise is a loose, pourable custard thickened with egg yolks alone and never boiled. Crème pâtissière adds starch, which lets it boil without scrambling and sets it thick enough to pipe and fill with.
Why did my pastry cream go lumpy?
Either the starch wasn’t whisked in smoothly, or you stopped whisking while it cooked and the base caught. Whisk constantly over the heat, and strain the finished cream through a sieve to catch any lumps.
Can you use flour instead of cornflour?
Yes. Cornflour alone gives a glossier, lighter set, while a mix of cornflour and plain flour makes a firmer, more stable cream for piping. Both are traditional.
Does pastry cream need to boil?
Yes. Unlike crème anglaise, it has to reach a boil for the starch to set it and to cook out the raw taste. Keep whisking for a minute or two once it bubbles.
How long does crème pâtissière keep?
Three days in the fridge, covered with cling film pressed to the surface. It doesn’t freeze well, so make it fresh when you need it.
Get this recipe in your inbox!
Pop in your email and I’ll send it straight over, ready for when you cook. Plus one email a month from my French kitchen!

Pastry Cream (Crème Pâtissière)
Ingredients
- 500 ml whole milk
- 1 vanilla pod
- 4 eggs yolks
- 100 gr caster sugar
- 45 gr corn starch or 25g cornflour and 20g plain flour
- 25 gr unsalted butter
Instructions
1. Infuse the milk
- Split the vanilla pod lengthways and scrape out the seeds. Put both pod and seeds into the milk in a saucepan and bring slowly to just below a boil. Remove from the heat and leave to infuse for 10–15 minutes.
2. Whisk the yolks
- In a bowl, whisk the egg yolks with the sugar until pale, then whisk in the cornflour until completely smooth.
3. Temper
- Remove the vanilla pod from the milk. Pour the hot milk slowly onto the yolk mixture in a thin stream, whisking constantly.
4. Cook
- Pour everything back into the saucepan and cook over medium heat, whisking constantly, until it thickens and comes to a boil. Keep whisking for a further 1–2 minutes, until thick and glossy.
5. Finish
- Take off the heat and beat in the butter, if using, until smooth and shiny.
6. Chill
- Pass the cream through a sieve into a clean bowl. Press a sheet of cling film directly onto the surface and chill for at least 2 hours. Whisk smooth before using.
Notes
- Whisk constantly once it’s back in the pan, especially into the corners, or it will catch and scramble.
- It must come to a boil to set and to cook out the raw starch taste.
- Cling film pressed onto the surface stops a skin forming.
- Doesn’t freeze. Make it fresh and use within 3 days.
Made it? I’d love to know!
Leave a rating and your thoughts in the comments, it helps fellow French foodies discover this recipe too. Snap a photo and tag @obviously.french on Instagram, or pin the recipe on Pinterest!










