Homemade Vanilla Pastry Cream (Crème Pâtissière) Recipe

My Homemade Vanilla Pastry Cream (Crème Pâtissière) is rich, smooth and irresistibly creamy. This version is unique because it’s made in one pot without tempering the eggs, making it quick and approachable for home bakers. Pastry cream is a classic French custard used as a filling or a standalone dessert: spoon it over fresh fruit, layer it into tarts or cakes, fill choux or cupcakes, or fold in whipped cream to create a lighter mousse for Swiss roll-style cakes. With a silky texture achieved from egg yolks, milk, cream, sugar and a touch of starch, it’s a versatile component in many desserts.

vanilla pastry cream

What’s the difference between pudding and custard?

Puddings and custards can seem similar, but they differ in thickening agents and richness. Pudding is usually thickened solely with cornstarch (and often contains no eggs), while custard relies on egg yolks combined with starch (and sometimes a bit of flour) plus cream for a richer mouthfeel and fuller flavor. Vanilla pastry cream falls into the custard category, delivering a dense, tender set that holds up well as a filling.

Why you’ll love this recipe

  • One-pot, no tempering — simple and fast; no separate tempering step required.
  • Make ahead — it keeps well in the refrigerator for a few days, so you can prepare it in advance.
  • True vanilla flavor — using a vanilla bean gives tiny flecks and deep flavor, though vanilla extract or paste also works.
  • Flexible use — ideal as a filling for cakes, tarts, cupcakes or as a dessert served with fruit, cookies or meringue.
  • Luxurious texture — thick and velvety when chilled; fold in whipped cream to lighten it for airy fillings.
vanilla pastry cream

Ingredients for vanilla pastry cream

  • Vanilla bean (or 1 teaspoon pure vanilla extract) — split and scrape the seeds for the best flavor; the scraped pod can be simmered with the milk for extra intensity.
  • Cornstarch — the primary thickener that gives a clean set and glossy finish.
  • All-purpose flour — a small addition to increase opacity and give a slightly creamier mouthfeel.
  • Sugar — white granulated sugar keeps the flavor bright while contributing to texture and stability.
  • Milk — whole milk or 2% works best for balance of flavor and texture; avoid skim.
  • Heavy whipping cream — adds richness and helps protect the egg yolks during cooking.
  • Egg yolks — provide structure, silkiness and depth; reserve the whites for another use.
  • Unsalted butter — a little stirred in at the end adds gloss, body and a velvety finish.
vanilla pastry cream
vanilla pastry cream

Step-by-step instructions

  • Combine dry ingredients. Whisk together cornstarch, flour and sugar in a saucepan until smooth and lump-free.
  • Add the cream and milk. Gradually whisk in the cream until fully incorporated, then whisk in the milk so the starch hydrates evenly.
  • Whisk in egg yolks. Add yolks one at a time, whisking until fully combined.
  • Add vanilla. Scrape the seeds from a split vanilla bean into the mixture and add the pod; if using extract, add it after cooking.
  • Cook gently. Place the pan over medium-low heat and whisk constantly for 7–10 minutes. Be patient — the mixture will thicken once the starch activates. When it just begins to bubble, let it bubble briefly while stirring, then remove from heat.
  • Finish with butter. Strain if desired for extra silkiness, discard the bean pod, then whisk in cold cubed butter until smooth and glossy. Stir in vanilla extract now if you used it instead of the bean.
  • Chill. Press plastic wrap directly onto the surface to prevent a skin, then refrigerate until fully chilled, about 3–4 hours.
vanilla pastry cream

Custard science: why this recipe works

  • Starch premix. Blending starch with sugar before adding liquids prevents lumps and ensures even thickening.
  • Cream plus milk. The higher fat from cream protects egg yolks from curdling while contributing a rich, silky texture.
  • Butter finish. Cold butter melted into the warm custard emulsifies into the curd to make it glossier, softer and more luxurious.

Expert tips for perfect pastry cream

  • Keep the sugar amount. Proper sugar helps texture and guards against curdling; avoid reducing it significantly.
  • Never walk away. Constant stirring ensures even heat distribution and prevents scorching.
  • Be patient. Starch and egg proteins set at specific temperatures — cook gently until the custard thickens and briefly bubbles to fully activate the starch.
  • Hydrate starch slowly. Add cream gradually when mixing the dry ingredients so the starch incorporates smoothly.
  • Strain if needed. For the smoothest result, pass warm custard through a fine-mesh sieve to remove any cooked egg bits.
crème brûlée cupcakes split in half

Recipe FAQ

What type of milk is best for pastry cream?

Whole milk or 2% gives the best texture and flavor; avoid skim for this recipe.

Is there a substitute for whipping cream?

There’s no true substitute here—the recipe benefits from the higher fat in 35% heavy cream for texture and stability.

What causes curdling in custard?

Overheating or cooking too quickly causes egg proteins to coagulate and squeeze out liquid. Low sugar or fat can also increase the risk of curdling because they help protect the eggs.

Why won’t my custard set?

Changing proportions (less sugar, starch or yolks) or undercooking/overcooking the starch can prevent proper setting. Cornstarch activates at a specific temperature and needs that brief bubble to gel properly.

Can vanilla custard be frozen?

Freezing is not recommended—high water content means it can separate and become grainy once thawed. If frozen, use it blended into smoothies or milkshakes rather than as a set filling.

Where can I find vanilla beans?

Vanilla beans are available at many supermarkets and specialty food shops; they’re also sold by reputable online retailers.

vanilla pastry cream in a bowl with spoon

Storing

Store pastry cream in the refrigerator for up to 4 days. Press a layer of plastic wrap directly on the surface to prevent a skin from forming. Freezing is not recommended if you want to retain the original silky texture—thawed pastry cream will often separate.

Ideas for using pastry cream:

Use it to fill cakes, cupcakes, tarts or cream puffs. Serve it alongside pound cake and fresh berries, or enjoy it as a simple dessert with crumbled cookies or meringue.

Related recipes

Looking for more dessert inspiration? Try tuxedo cake, hostess cake, chocolate sheet cake or a moist milk chocolate cake—these are great companions to pastry cream.

  • Tuxedo Cake
  • Hostess Cake
  • Chocolate Texas Sheet Cake
  • Moist Milk Chocolate Cake

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

Christina Marsigliese

This easy vanilla bean pastry cream is made in one pot without tempering the yolks. It’s thick, rich and perfect for filling cakes, tarts and pastries or serving with fresh fruit and crumbled biscuits.

Ingredients

  • ⅓ cup (65g) granulated sugar
  • 2 tablespoons (16g) cornstarch
  • 1 tablespoon (9g) all-purpose flour
  • ¾ cup (180ml) heavy whipping cream (35%)
  • ¾ cup (180ml) whole milk or 2% milk
  • 4 large egg yolks
  • 1 vanilla bean (or 1 tsp pure vanilla extract)
  • 2 tablespoons (28g) unsalted butter

Instructions

  • In a small saucepan, whisk sugar, cornstarch and flour until smooth. Slowly whisk in the cream, then whisk in the milk so the starch hydrates evenly. Add egg yolks one at a time, whisking thoroughly after each addition.
  • Prepare the vanilla: split the bean lengthwise, scrape the seeds and add both seeds and pod to the saucepan. If using extract, hold it for the end.
  • Cook over medium-low heat, whisking constantly until the mixture thickens. This can take up to 10 minutes; increase heat slightly if needed but continue stirring to avoid scorching.
  • When the custard begins to bubble, let it bubble for a few seconds while stirring, then remove from heat. Strain through a fine mesh sieve if you prefer an ultra-smooth texture and discard the vanilla pod.
  • Whisk in the cold butter until incorporated. If using vanilla extract, add it now. Press plastic wrap directly onto the surface and refrigerate at least 3–4 hours until thoroughly chilled. Use within 3–4 days.