Crème pâtissière is the thick, silky pastry cream that fills éclairs, fruit tarts, and choux buns. This method cooks the cream just until it thickens, giving you a stable, pipeable filling that holds its shape without being gluey. The result is a smooth, vanilla-scented cream that sets firmly enough to slice through cleanly.
Serves 4 · Prep 10 min · Cook 10 min · Total 2 hr 40 min
Ingredients
- 2 cups (480 ml) whole milk
- 1/2 vanilla bean, split and scraped, or 2 tsp vanilla extract
- 4 large egg yolks (about 60 g)
- 1/2 cup (100 g) granulated sugar
- 1/4 cup (30 g) cornstarch
- 2 tbsp (30 g) unsalted butter, cut into small pieces
- Pinch of salt
Cook the Cream Until It Thickens and Boils
- In a medium saucepan, heat the milk and vanilla bean (if using) over medium heat until steaming, about 3–4 minutes. Do not boil. Remove from heat and let steep for 5 minutes. If using vanilla extract, add it later in step 4.
- In a large bowl, whisk the egg yolks and sugar together until pale and thick, about 1 minute. Sift the cornstarch over the yolk mixture and whisk until smooth and no lumps remain.
- Slowly pour about 1/2 cup (120 ml) of the hot milk into the yolk mixture, whisking constantly. Then pour the warmed yolk mixture back into the saucepan with the remaining milk, whisking all the while.
- Place the saucepan over medium heat and cook, whisking constantly, until the mixture thickens and just reaches a boil, about 5–7 minutes. The cream will bubble once or twice; keep whisking for 30 seconds after it boils to ensure the cornstarch is fully cooked. The cream should be thick enough to hold a ribbon on the whisk.
- Remove from heat. If using vanilla extract, stir it in now. Add the butter and salt, and whisk until the butter is fully melted and the cream is smooth.
- Immediately pour the cream through a fine-mesh sieve into a clean bowl to remove any cooked egg bits. Press a piece of plastic wrap directly onto the surface of the cream to prevent a skin from forming.
- Refrigerate for at least 2 hours, until completely chilled and set. The cream will thicken further as it cools.
Chill and Store the Cream Properly
Pastry cream must be refrigerated within 2 hours of cooking. It keeps for up to 3 days in the refrigerator, covered with plastic wrap pressed on the surface. Do not freeze pastry cream—it will separate and become watery when thawed. If you need to make it ahead, prepare it up to 2 days in advance and whisk it briefly before using to smooth it out.
Use It in Tarts, Éclairs, and Choux
This cream is the standard filling for French fruit tarts (tarte aux fruits), éclairs, cream puffs, and choux à la crème. You can also layer it in mille-feuille or use it as a base for diplomat cream (fold in an equal volume of whipped cream). For a chocolate version, melt 4 oz (115 g) dark chocolate and whisk it into the hot cream after straining. For a coffee version, dissolve 1 tbsp instant espresso powder in the hot milk before cooking.
Substitutions and Adjustments
- Milk: Use whole milk for the richest texture. You can substitute 2% milk, but the cream will be slightly less thick and less creamy. Almond or oat milk works but will change the flavor and may need an extra tablespoon of cornstarch.
- Cornstarch: Replace with 1/4 cup (30 g) all-purpose flour, but cook for 2–3 minutes longer to remove the raw flour taste. The texture will be slightly softer.
- Vanilla: Use 1 tsp vanilla paste or 1 tsp almond extract in place of the vanilla bean. If using extract, add it after cooking to preserve the aroma.
- Sugar: Reduce to 1/3 cup (65 g) for a less sweet cream, or use 1/2 cup (100 g) brown sugar for a caramel note.
- Butter: Omit the butter for a lighter cream, but note it will be less glossy and may set slightly softer.
Fix a Lumpy or Thin Pastry Cream
If your cream becomes lumpy, you likely added the hot milk too quickly or didn't whisk constantly. Strain it through a fine-mesh sieve and whisk vigorously—it will smooth out. If the cream is too thin after chilling, it wasn't cooked long enough. Return it to the saucepan and cook over medium heat, whisking constantly, until it thickens and boils again. If it's too thick, whisk in 1–2 tbsp of warm milk until it loosens.
Raw Egg Warning
This recipe uses egg yolks that are cooked to a safe temperature of 160°F (71°C) during the boiling step, so it is safe for most people. However, if you are making a no-cook version or using raw eggs elsewhere, heat-treat the flour to 160°F (71°C) and use pasteurised eggs. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw eggs and raw flour.