The Feast

Home cooking recipes for everyday dinners and easy entertaining

Pastry Cream Recipe: How to Make Crème Pâtissière

· 5 min read · Dinners

Pastry cream, or crème pâtissière, is the silky, vanilla-scented custard that fills éclairs, fruit tarts, and cream puffs. It’s made by thickening milk with egg yolks and cornstarch, giving it a stable, pipeable texture that holds its shape in pastries. This recipe delivers a foolproof, lump-free cream every time, with a rich flavor and a smooth, luxurious mouthfeel.

Ingredients

  • 2 cups (480 ml) whole milk
  • 1 vanilla bean (or 2 teaspoons vanilla extract)
  • 5 large egg yolks (about 85 g)
  • 1/2 cup (100 g) granulated sugar
  • 1/4 cup (30 g) cornstarch
  • 2 tablespoons (30 g) unsalted butter, softened
  • 1/4 teaspoon salt

Instructions

  1. Prepare the milk: Pour the milk into a medium saucepan. If using a vanilla bean, split it lengthwise and scrape the seeds into the milk, then add the pod. Heat over medium heat until the milk is steaming but not boiling, about 3–4 minutes. If using vanilla extract, add it later in step 5.
  2. Whisk the yolks: In a medium bowl, whisk the egg yolks and sugar together until pale and slightly thickened, about 1 minute. Add the cornstarch and salt, and whisk until smooth and no lumps remain.
  3. Temper the eggs: Slowly pour about 1/2 cup of the hot milk into the yolk mixture while whisking constantly. This raises the temperature of the eggs gradually so they don’t scramble. Then, pour the yolk mixture back into the saucepan with the remaining milk, whisking to combine.
  4. Thicken the cream: Place the saucepan over medium heat and cook, whisking constantly, until the mixture thickens and comes to a gentle boil. This usually takes 2–4 minutes. Once it boils, continue whisking for 1 full minute to cook out the cornstarch taste and ensure the cream is fully set.
  5. Finish the cream: Remove the saucepan from heat. If you used a vanilla bean, fish out the pod and discard (or rinse and dry for reuse). Stir in the butter until fully melted and smooth. If using vanilla extract, stir it in now.
  6. Chill quickly: Pour the pastry cream into a shallow baking dish or a bowl. 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 cold and set.
  7. Whisk before use: Once chilled, whisk the pastry cream briefly to smooth it out. It should be thick, glossy, and pipeable. Use immediately or store as directed below.

Tips

  • Keep whisking: Constant stirring while heating is non-negotiable. If you stop, the mixture will scorch on the bottom or form lumps. Use a flat-bottomed whisk to reach the corners of the pan.
  • Substitute cornstarch: You can replace cornstarch with an equal amount of all-purpose flour, but the cream will be slightly less glossy and a bit heavier. For a gluten-free option, cornstarch is already gluten-free.
  • Fix a curdled cream: If your cream looks scrambled or lumpy, immediately strain it through a fine-mesh sieve. This won’t fix overcooked eggs, but it will remove small lumps and give you a smooth texture.
  • Don’t overboil: Boiling for more than a minute can cause the cornstarch to break down, making the cream runny. Stick to the 1-minute boil.

Serving Suggestions

Use pastry cream as a filling for cream puffs, éclairs, or profiteroles. Spread it into a baked tart shell and top with fresh berries for a classic fruit tart. Layer it with sponge cake and fruit for a trifle, or pipe it into doughnuts. It also works beautifully as a filling for crepes or as a base for a fruit-topped tart.

Variations

  • Chocolate pastry cream: Add 4 oz (115 g) chopped dark chocolate to the hot cream after removing from heat, stirring until melted.
  • Coffee pastry cream: Dissolve 1 tablespoon instant espresso powder in the milk before heating.
  • Lemon or orange pastry cream: Add the zest of one lemon or orange to the milk while heating; strain it out before chilling.
  • Almond pastry cream: Replace 2 tablespoons of the milk with 1/4 teaspoon almond extract, added at the end.

Storage and Reheating

Pastry cream keeps in the refrigerator for up to 3 days, covered tightly with plastic wrap pressed to the surface. Do not freeze, as the texture will become watery and grainy when thawed. To reheat, spoon the cream into a saucepan and warm over low heat, stirring constantly, until it just loosens. Do not boil. Alternatively, microwave in 15-second bursts, stirring between each, until smooth. Reheated pastry cream is best used immediately, as it will not re-set as firmly.

Frequently Asked Questions

Can I use milk alternatives like almond or oat milk?

Yes, but the cream will be thinner and less stable. Use a barista-style oat milk that has more fat and stabilizers for the best results. You may need to increase the cornstarch by 1 tablespoon.

Why is my pastry cream runny?

Runny cream usually means the cornstarch didn’t reach a full boil, or you boiled it too long and broke down the starch. Make sure to bring it to a rolling boil for 1 minute while whisking. Also, ensure you measure the cornstarch accurately—a heaping spoonful can throw off the ratio.

How do I avoid lumps?

Lumps form when the hot milk is added too quickly to the egg mixture, or when the cream isn’t whisked constantly during cooking. Temper slowly, and whisk vigorously the whole time. If lumps still appear, strain the cream through a fine sieve.

Can I make pastry cream ahead of time?

Absolutely. Pastry cream actually tastes better after a few hours in the fridge, as the flavors meld. Make it up to 2 days in advance, but keep it covered with plastic wrap to prevent a skin from forming.

Is it safe to eat pastry cream made with raw eggs?

This recipe cooks the eggs to a safe temperature (at least 160°F/71°C) during the boiling step, so it’s safe for most people. For vulnerable individuals (pregnant women, young children, the elderly), use pasteurized eggs to eliminate any risk.

Can I use this pastry cream for a cake filling?

Yes, but it’s quite soft. To make it sturdier for layer cakes, fold in 1/2 cup of whipped cream after the pastry cream has chilled. This lightens it and helps it hold up better between layers.

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions