Pastry Cream (Crème Pâtissière)
Pastry cream is a thick custard made from milk, egg yolks, sugar, and cornstarch, boiled until set. It's the pipeable filling for éclairs, cream puffs, and tarts.
Say it: PAY-stree kreem
By Andrew Cooks · Updated · 7 min read
At a glance
Pastry cream (crème pâtissière in French) is the thick, pipeable custard that fills éclairs, cream puffs, fruit tarts, mille-feuille, and doughnuts. Unlike crème anglaise, it contains cornstarch or flour, and that starch changes everything: it protects the egg yolks so the custard can, and must, be boiled, which cooks out the raw-starch taste and sets it into a firm, glossy, spoon-standing cream. Made from milk, yolks, sugar, starch, and vanilla, then chilled with plastic wrap pressed onto its surface, it's the workhorse filling of the pastry kitchen. It's also a base for further creams: lighten it with whipped cream for crème diplomat, with butter for crème mousseline, or with meringue for crème chiboust. If crème anglaise is the custard you pour, pastry cream is the custard you pipe.
What it does for you
Pastry cream provides a rich, sweet, sturdy custard filling that holds its shape inside and atop pastries. It's made by whisking egg yolks with sugar and cornstarch (or flour), tempering in hot milk, then cooking the mixture to a full, bubbling boil while whisking hard: the starch both thickens it and shields the eggs from curdling, so the boil that would ruin a crème anglaise is exactly what sets a pastry cream and cooks out the pasty starch flavor.
Cook's tip
Bring it to a full boil and keep whisking for about a minute, reaching into the corners of the pan, so it thickens fully and loses the raw starch taste.
Kitchen trivia
Did you know a little cornstarch is what lets pastry cream survive a boil that would ruin crème anglaise?
See the answerKey facts
- Method
- Moist heat
- Skill level
- Intermediate
- Origin
- Classical French pâtisserie
- Cuisines
- French and European pastry
- Key ingredients
- Milk, egg yolks, sugar, cornstarch (or flour), vanilla, and often butter whisked in at the end
- Equipment
- Heavy saucepan, whisk, fine strainer; stand mixer for lightened variants
- Traditional equipment
- Heavy saucepan, balloon whisk, fine strainer, bowl, plastic wrap
- Credited to
- A foundational preparation of classical French pastry
Common uses
Filling éclairs, cream puffs, profiteroles, doughnuts, and Danishes; the custard layer under glazed fruit in a fruit tart; layering mille-feuille (Napoleons) and Boston cream pie; and as the base for lighter creams like crème diplomat and mousseline.
He whisked the pastry cream hard as it came to a boil, and it thickened all at once into a glossy, spoon-standing cream ready to pipe into the éclairs.
Cooking with pastry cream tonight?
Save any recipe from any website, video or family recipe card into one recipe box, then cook from it step by step.
Save your recipes in Cooked.it, freeMore about pastry cream
The thick, starch-stabilized custard used to fill pastries: milk, egg yolks, sugar, and cornstarch or flour cooked to a boil until thick and set, then flavored with vanilla and often enriched with butter. Because the starch protects the yolks, it must be boiled (unlike crème anglaise). The filling of éclairs, cream puffs, fruit tarts, and mille-feuille, and the base for crème diplomat, mousseline, and chiboust.
Known in French as crème pâtissière.
A thick, smooth, glossy, pale-yellow cream stiff enough to hold its shape and stand in a piped rosette or mound. Warm from the pan it's pourable and pudding-like; chilled it firms to a sliceable, pipeable set that's whisked smooth again before use.
Off the heat, butter and vanilla are often whisked in for gloss and richness, and it's chilled with plastic wrap on the surface to prevent a skin. The firm, stable result fills choux pastries (éclairs, cream puffs, profiteroles), lines fruit tarts under glazed fruit, layers mille-feuille and Boston cream pie, and fills doughnuts and Danishes. It's also a springboard: folded with whipped cream it becomes the lighter crème diplomat; beaten with soft butter, crème mousseline; folded with Italian meringue, crème chiboust.
Its defining traits (thick enough to pipe, stable enough to hold under fruit, boilable thanks to starch) are what set it apart from the pourable, starch-free anglaise.
Step by step
- Heat milk with vanilla. Whisk egg yolks with sugar and cornstarch until smooth and pale. Temper: whisk the hot milk into the yolk mixture gradually. Return everything to the pan and cook over medium heat, whisking constantly and vigorously, until it comes to a full boil and thickens.
- Boil for about a minute, still whisking, to cook out the starch. Off the heat, whisk in butter and vanilla. Strain, press plastic wrap onto the surface, and chill. Whisk smooth before using.
How to tell it's done
Comes to a full, bubbling boil and thickens to a glossy cream that mounds on the whisk and holds a shape; no raw-starch taste; smooth after straining.
Troubleshooting
Lumpy: whisk hard or blitz with an immersion blender and strain. Too thin: it didn't reach a full boil; return to the heat and boil, whisking, until it thickens. Raw/pasty taste: boil it a little longer.
Skin: press wrap onto the surface next time. Too stiff after chilling: whisk it smooth, or loosen with a little cream/milk.
Common confusions
Unlike crème anglaise, pastry cream contains starch, which is why it MUST be boiled (the starch protects the eggs and needs heat to thicken and cook out). It is a filling, not a pouring sauce; thin it with milk if you want something to pour.
Safety notes
General kitchen safety tips. Always follow the manufacturer's instructions and current food safety guidance.
Because it's boiled, pastry cream is fully cooked and well past the USDA's 160°F egg-safety target. It is, however, a rich dairy custard that spoils readily: cool it quickly, keep it refrigerated with the surface covered, and use it within a few days. Don't leave filled pastries at room temperature for long.
Substitutions
| Use instead | How much | What changes |
|---|---|---|
| crème anglaise + starch | Add cornstarch, boil | Essentially how you'd build a pastry cream from a pouring custard |
| custard powder custard, thickened | Per package, extra powder | A quick eggless stand-in filling when speed matters more than richness |
| Whipped cream / crème diplomat | Fold in whipped cream | Lighten a pastry cream with whipped cream when you want an airier filling |
Common mistakes
- Not boiling it long enough: the starch needs a full boil for a minute or so to thicken fully and lose its raw, pasty taste; pull it too soon and it's thin and floury.
- Whisking poorly at the boil (it thickens fast and scorches or lumps on the bottom: whisk constantly, into the corners).
- Adding the hot milk to the yolks all at once (lumps).
- Not straining out any bits.
- And storing it uncovered so a skin forms: press plastic wrap directly onto the surface. It thickens further as it chills, so whisk it smooth again before piping.
In short
- Under-boiling (thin, raw-starch taste).
- Poor whisking (lumps, scorching).
- Adding hot milk too fast (lumps).
- Skin forming.
- Not re-whisking chilled cream before piping.
Product picks
- Heavy saucepanSee it on Amazon: heavy saucepan
- Balloon whiskSee it on Amazon: balloon whisk
- Fine-mesh strainerSee it on Amazon: fine-mesh strainer
History
Crème pâtissière is a cornerstone of classical French pâtisserie, developed as the sturdy, boilable counterpart to the delicate crème anglaise. The addition of starch (a technique refined in European pastry kitchens) solved a real problem: how to make a custard firm and stable enough to fill and hold inside a pastry without weeping or collapsing. It became the standard filling of the great choux and puff-pastry desserts, and the base from which pastry chefs build a family of lightened and enriched creams.
Its logic (starch as an egg protector that permits boiling) is one of the key insights of custard-making.
Is it still used today?
Yes, pastry cream is an everyday staple of bakeries and pastry kitchens worldwide, the default filling for éclairs, tarts, and cream puffs, and a base that every pastry cook learns early.
Questions people ask
What is pastry cream?
Pastry cream (crème pâtissière) is a thick, starch-stabilized custard made from milk, egg yolks, sugar, cornstarch, and vanilla, boiled until thick and set. It's the classic pipeable filling for éclairs, cream puffs, fruit tarts, and doughnuts: firm enough to hold its shape inside a pastry.
What is the difference between pastry cream and crème anglaise?
Pastry cream contains cornstarch or flour; crème anglaise doesn't. That starch protects the egg yolks, so pastry cream must be boiled to thicken and set, producing a thick, pipeable filling. Crème anglaise, with no starch, can't boil (it would curdle) and stays a thin pouring sauce.
Filling vs sauce, thick vs pourable.
Why do you have to boil pastry cream?
The cornstarch needs to reach a boil to fully thicken and to cook out its raw, pasty flavor, and the starch shields the egg yolks from curdling at that temperature. Bring it to a full, bubbling boil and keep whisking for about a minute. Stopping too early leaves it thin and floury-tasting.
Why is my pastry cream lumpy or runny?
Lumps usually come from adding the hot milk to the yolks too fast, or from not whisking constantly as it thickens; whisk it smooth or blitz and strain. Runny pastry cream didn't reach a full boil, so the starch never fully thickened; return it to the heat and boil it properly, whisking hard, until it mounds on the whisk.
How do you make pastry cream lighter or fancier?
Fold in whipped cream and you get crème diplomat (lighter, for tarts and cream puffs); beat in soft butter for crème mousseline (rich, for mille-feuille and fraisier); fold in Italian meringue for crème chiboust. All start with a base pastry cream, which is why it's such a useful foundation.
How long does pastry cream keep?
Refrigerated with plastic wrap pressed onto the surface, about 2 to 3 days. It doesn't freeze well (the starch and eggs can weep and turn grainy on thawing). Whisk it smooth before using, since it firms up as it chills, and don't leave filled pastries out at room temperature for long.
Why does pastry cream need such careful handling?
It is a rich milk and egg cream that bacteria grow in readily, so professional kitchens treat it strictly: clean, sanitized equipment, no fingers in the cream, tasting only with a clean spoon, rapid chilling in shallow pans, and keeping the cream and anything filled with it refrigerated at all times.
Trivia answer
The starch granules in pastry cream physically get between the egg proteins and slow their coagulation, so the custard can be boiled to thicken and stabilize instead of curdling. That's why pastry cream is firm and boilable while starch-free crème anglaise must be coaxed just to the edge of setting.
Origin and background
- Why it was developed
A thick, stable, boilable custard filling sturdy enough to fill and hold inside pastries, the starch-stabilized counterpart to crème anglaise.
Related
- Custard
Custard is a family of preparations in which a liquid, usually milk or cream, is thickened and set by egg.
- Crème anglaise
Crème anglaise (French for 'English cream') is the classic pouring custard: a thin, silky custard sauce of egg yolks, sugar, and milk or cream, cooked gently on the stovetop and flavored with vanilla.
- Custard tart
A custard tart is a custard baked in a pastry shell: the oldest and most literal form of custard, since the word itself comes from the medieval 'crustade,' a crusted tart.
- Vanilla
Vanilla is the cured seed pod of a climbing orchid: the world's second-most-expensive spice and, despite its name's slander, the most complex 'plain' flavor in the kitchen, sold as vanilla bean, extract, paste, and powder.
- Milk
Milk is the white, nutrient-rich liquid produced by mammals to feed their young, and, as a food, almost always cow's milk (goat, sheep, buffalo, and others are used regionally).
- Frozen custard
Frozen custard is a rich, dense, egg-enriched frozen dessert: essentially a custard base (crème anglaise) that's churned and frozen, giving it more body and a silkier texture than ordinary ice cream.
Cooking with pastry cream tonight?
Save any recipe from any website, video or family recipe card into one recipe box, then cook from it step by step.
Save your recipes in Cooked.it, freeSources
- ckbk (Wiley, Professional Cooking) (Pastry Cream, from Professional Cooking, 10th Edition (Wayne Gisslen) (accessed 2026-11-28))
- Wisconsin Department of Agriculture, Trade and Consumer Protection, Division of Food and Recreational Safety (Proper Ways to Cool Cooked Foods (accessed 2026-11-29))
