The Feast

Home cooking recipes for everyday dinners and easy entertaining

How to Make Basic Pastry Cream (Crème Pâtissière)

· 5 min read · Dinners

Pastry cream is a thick, silky custard used as a filling for éclairs, cream puffs, tarts, and cakes. It’s made by thickening milk with egg yolks and cornstarch, then flavored with vanilla. This guide walks you through the classic stovetop method, including how to avoid lumps, prevent scorching, and fix common issues. You’ll need a whisk, a medium saucepan, a heatproof bowl, and about 20 minutes.

What You'll Need

  • 2 cups (480 ml) whole milk
  • 1/2 cup (100 g) granulated sugar, divided
  • 4 large egg yolks
  • 1/4 cup (30 g) cornstarch
  • 1 teaspoon vanilla extract (or 1 vanilla bean, split and scraped)
  • Pinch of salt
  • 2 tablespoons (30 g) unsalted butter, cut into small pieces (optional, for richness)
  • Fine-mesh strainer
  • Whisk
  • Medium saucepan
  • Heatproof bowl
  • Plastic wrap

Step-by-Step

  1. Prep the yolks and cornstarch: In a medium bowl, whisk the egg yolks and half of the sugar (1/4 cup) until pale and slightly thickened, about 1 minute. Add the cornstarch and salt, and whisk until smooth and no dry lumps remain. Set aside.
  2. Heat the milk: Pour the milk into the saucepan. Add the remaining 1/4 cup sugar and the vanilla (if using a vanilla bean, add the pod and seeds now; if using extract, add it later). Heat over medium heat, stirring occasionally, until the milk is steaming and small bubbles form around the edges—do not let it boil.
  3. Temper the yolks: Slowly pour about 1/2 cup of the hot milk into the yolk mixture while whisking constantly. This raises the yolk temperature gradually so they don’t scramble. Then, with the whisk still moving, pour the yolk mixture back into the saucepan.
  4. Thicken the cream: Return the saucepan to medium heat and whisk continuously. The mixture will start thin, then suddenly thicken. Keep whisking until it reaches a thick, pudding-like consistency and just begins to bubble (about 2–3 minutes after it comes to a simmer). Let it bubble for 30 seconds to ensure the cornstarch is fully cooked.
  5. Finish with butter and vanilla: Remove from heat. If using vanilla extract, stir it in now. Add the butter pieces (if using) and whisk until melted and fully incorporated.
  6. Strain and cool: Immediately pour the pastry cream through a fine-mesh strainer into a clean heatproof bowl. This removes any cooked egg bits or lumps.
  7. Cover and chill: Press a piece of plastic wrap directly onto the surface of the cream to prevent a skin from forming. Refrigerate until completely chilled, at least 2 hours. The cream will thicken further as it cools.

Common Mistakes

  • Not whisking constantly: If you stop whisking even for a few seconds, the cream will scorch on the bottom and form lumps.
  • Adding hot milk too quickly to yolks: This can scramble the eggs, leaving you with flecks of cooked egg.
  • Not cooking long enough: If you remove it too early, the cornstarch won’t activate fully, and the cream will be thin and won’t set.
  • Skipping the strain: Even with careful whisking, tiny lumps can form. Straining guarantees a silky texture.
  • Leaving the cream uncovered: A skin forms quickly on the surface, which ruins the texture.

Tips

  • Use whole milk for the richest flavor; low-fat milk makes a thinner cream.
  • If you don’t have a vanilla bean, use 1–2 teaspoons of good-quality vanilla extract added after cooking.
  • For a lighter texture, fold in whipped cream after the pastry cream has chilled.
  • To flavor with chocolate, add 4 oz (115 g) chopped dark chocolate after straining, and stir until melted.
  • Pastry cream keeps in the refrigerator for up to 3 days. Whisk it briefly before using to smooth it out.

Troubleshooting

  • Lumpy cream: If you see lumps forming, immediately remove from heat and whisk vigorously. If lumps persist, press the cream through a strainer—this will save it. For future batches, temper more slowly and whisk constantly.
  • Thin cream: If the cream didn’t thicken, it likely wasn’t cooked long enough. Return it to the saucepan and cook over medium heat, whisking, until it bubbles and thickens. If it’s still thin after that, you may have used too little cornstarch—add a slurry of 1 tablespoon cornstarch mixed with 2 tablespoons cold milk, and cook again.
  • Scrambled eggs: If you see cooked egg bits, immediately pour the mixture through a fine-mesh strainer. The cream will still be usable, though slightly less silky. To avoid this, always temper slowly and keep whisking.
  • Skin on top: If a skin forms, simply lift it off with a spoon and discard. The cream underneath is fine. To prevent it, always press plastic wrap directly onto the surface.
  • Too thick after chilling: Whisk the cold cream vigorously, or warm it gently over low heat while whisking until it loosens. Do not overheat or it will curdle.

Frequently Asked Questions

Can I use milk alternatives like almond or oat milk?

Yes, but the cream will be thinner and may not set as firmly. Use a barista-style milk that has more fat and stabilizers, and expect a softer consistency.

Can I make pastry cream without eggs?

Yes, but it won’t be true pastry cream. You can use a cornstarch-only pudding (milk, sugar, cornstarch, and flavoring) cooked until thick, but the texture will be less rich and custardy.

How long does pastry cream last?

Store in an airtight container in the refrigerator for up to 3 days. Do not freeze—it will separate and become watery when thawed.

Can I use pastry cream as a cake filling?

Yes, but it’s quite soft. For a sturdier filling, fold in an equal volume of whipped cream to make a diplomat cream that holds its shape better.

Why does my pastry cream taste starchy?

That usually means the cornstarch wasn’t cooked enough. Always let the cream bubble for at least 30 seconds after it thickens. If it’s already made, you can’t fix it, but next time cook it longer.

Can I make pastry cream ahead of time?

Yes, it’s actually better to make it a day ahead so it has time to fully set. Just keep it covered and refrigerated, and whisk before using.

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions