• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Parsley and Icing
  • About
  • Fall Recipes
  • Recipes
  • Contact
  • Privacy Policy
menu icon
go to homepage
  • About
  • Fall Recipes
  • Recipes
  • Contact
  • Privacy Policy
    • Facebook
    • Instagram
    • Pinterest
  • subscribe
    search icon
    Homepage link
    • About
    • Fall Recipes
    • Recipes
    • Contact
    • Privacy Policy
    • Facebook
    • Instagram
    • Pinterest
  • ×
    Home » Recipes » Custard and Pudding Recipes

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

    Published: Oct 23, 2026 by Natalie Ward · This post may contain affiliate links · Leave a Comment

    Be the first to rate it!
    Jump to Recipe

    This vanilla pastry cream (crème pâtissière) recipe is the silky custard used so many classic French pastries. It’s a versatile filling that’s perfect for eclairs, cream puffs, tarts, and layer cakes.

    I’m including step-by-step photos tips I learned in pastry school and a video in this guide, so it turns out smooth every time!

    Silky vanilla pastry cream in a bowl and on a whisk.

    Would you like to save this?

    We'll email this post to you, so you can come back to it later!

    We had a whole class on pastry cream when I was a student at Le Cordon Bleu. We then made it in many other lessons. We practiced it so many times until it became second nature.

    What is pastry cream?

    Pastry cream is a foundational French custard. It’s delicious as is and is a delicious part of many desserts.

    It comes together in minutes and uses simple ingredients: milk, egg yolks, sugar, cornstarch, flour and vanilla. You cook it on the stovetop then chill it before using.

    How to use pastry cream

    You can use pastry cream as the filling for eclairs or cream puffs using my choux pastry recipe! It’s also delicious in tarts, cakes, cupcakes (use it to fill these Boston cream pie cupcakes) and more.

    Pastry cream is the base for other classic fillings. Add gelatin and whipped cream for diplomat cream, add butter for crème mousseline, or add Italian meringue for crème chiboust.

    We’re making classic vanilla pastry cream today. It’s also easy to customize with other flavors like chocolate, coffee, or citrus.

    For another bakery-style recipe I learned in pastry school, be sure to try my apple tart recipe!

    Jump to:
    • What is pastry cream?
    • How to use pastry cream
    • Why You’ll Love This Recipe
    • Ingredient Notes
    • Substitutions and Variations
    • How to make pastry cream (step by Step by Step Instructions)
    • Why is my pastry cream lumpy
    • Expert Tips for Perfect Pastry Cream
    • Where to use pastry cream
    • Recipe FAQs
    • More Recipes You’ll Love
    • Pastry Cream Recipe

    Why You’ll Love This Recipe

    • Simple ingredients: You only need milk, egg yolks, sugar, cornstarch, flour, and vanilla.
    • So versatile: Fill eclairs, cream puffs, tarts, and cakes, or use it as the base for other fillings.
    • Silky smooth: It’s thick, luscious and delicious.
    • Easy to customize: Make classic vanilla, or stir in chocolate, citrus or lots of other flavors.
    Labeled ingredients needed to make pastry cream laid out on a table.

    Ingredient Notes

    Here are some useful notes about the ingredients. You likely already have most of the ingredients!

    • Whole milk gives the best flavor and texture.
    • Egg yolks add richness and help thicken the cream. Save the whites for meringues or macarons.
    • Granulated sugar: You can modify the amount of sugar you add depending on your preference or depending on what you’re using the pastry cream for.
    • All-purpose flour and cornstarch work together to thicken the cream. Cook it until it bubbles so that you activate both and cook out any starchy flavor.
    • Vanilla: You can use half a vanilla bean, vanilla bean paste or vanilla extract. If you’re using vanilla bean, add it with the milk in the beginning to infuse the flavor.

    See recipe card below for a full list of ingredients and measurements.

    Substitutions and Variations

    • Don’t have a vanilla bean? Add some vanilla bean paste or pure vanilla extract at the end off the heat.
    • Want to make gluten free pastry cream? Swap in extra corn starch in place of the flour.
    • Out of whole milk? Whole milk gives the best rich, creamy pastry cream, but you can swap in 2%. It won’t be as rich, but it’ll work. I don’t recommend using skim milk.
    • Want to make a boozy version? Stir in a splash of rum, Grand Marnier, or Kirsch at the end.
    • Add a pinch of salt to balance the sweetness.

    How to make pastry cream (step by Step by Step Instructions)

    A four photo collage showing how to make pastry cream.

    Step 1: Bring milk to a simmer over medium heat. If using a vanilla bean, scrape out the seeds of half a bean. Add the seeds and the scraped pod to the the milk.

    Step 2: While the milk heats up, whisk together the sugar and yolks.

    Step 3: Whisk in the cornstarch until the cornstarch has dissolved. Whisk in the flour.

    Step 4: Temper the yolks. Once the milk is steaming and small bubbles form around the edge of the pan, whisk about 1/3 of the hot milk into the yolk mixture. Whisk for about 20 seconds, then whisk in another 1/3.

    A four photo collage showing steps for making and cooling pastry cream.

    Step 5: Whisk the milk and yolk mixture into the saucepan with the rest of the milk. Scrape the bowl with a spatula.

    Step 6: Return the saucepan to medium heat. Whisk nonstop, including the sides and corners of the pan. Once it starts to thicken and bubble, whisk vigorously for another minute so the flour and cornstarch cook through.

    Once thickened, remove from heat. Remove vanilla bean pod or whisk in vanilla extract or vanilla bean paste if using.

    Step 7: Pour pastry cream into a large heat proof bowl or a clean baking sheet. Press plastic wrap directly on the surface. Refrigerate for at least 45 minutes or until cooled completely.

    Step 8: Whisk before using. If cooled on a baking sheet, use a scraper or spatula to scrape the cream out and into a bowl. Whisk pastry cream for about 20-30 seconds before using.

    Why is my pastry cream lumpy

    Lumpy pastry cream usually comes from clumps of flour and cornstarch or from eggs that cook too fast. The good news is that it’s easy to prevent. Follow these tips for a smooth cream:

    • Mix the flour and cornstarch into the yolks and sugar until smooth before adding any milk.
    • Pour the warm milk in slowly while whisking the yolks. This tempers the eggs gently so they don’t scramble.
    • Cook over medium heat. Higher heat can make the eggs set too quickly.
    • Whisk constantly, especially along the sides and corners of the pan, where the cream can stick and cook faster.
    • Boil for 1 minute once it thickens so the flour and cornstarch fully cook.

    Expert Tips for Perfect Pastry Cream

    • Measure out all your ingredients before beginning– you want the yolk mixture ready to be tempered when your milk reaches a simmer.
    • Read over the recipe before you start-pastry cream moves fast once the milk comes to a simmer, so you’ll want to know what comes next before you begin.
    • Take out all your equipment before starting-that way you won’t need to stop and search for something when you’re in the middle of making the recipe.
    • Whisk the sugar into the yolks as soon as you add it-don’t leave the sugar sitting on the yolks because it can cook the yolks.
    • Press plastic wrap directly onto the surface. This stops a skin from forming and keeps condensation from dripping back in. Extra moisture can water down the cream and help bacteria grow, so cool it quickly and refrigerate.

    Where to use pastry cream

    Pastry cream goes with so many desserts. If you just made a batch or have leftovers, here are my favorite ways to use it:

    • Éclairs: Pastry cream is a classic filling for choux pastry. Pipe about 3 tablespoons (45 g) into each baked 4-inch éclair. One batch fills about 14.
    • Cream puffs: Fill each baked 2-inch puff with about 1 1/2 tablespoons (25 g) of pastry cream, then top with chantilly if you like. One batch fills about 28.
    • Fruit tarts: Spoon it into a baked tart shell and top with fresh fruit. You can also use it in place of the mascarpone cream in my mascarpone blueberry tart.
    • Cakes: Spread it between cake layers as a filling. Pipe a ring of buttercream around the edge first to hold it in.
    • Cupcakes and donuts: Use it as a filling. Pipe it into the center of cupcakes or donuts with a piping bag and a small round tip.

    Turn Pastry Cream Into Other Fillings

    Once you’ve mastered pastry cream, you can use it as the base for other classic fillings:

    • Diplomat cream: Fold in whipped cream for a lighter, fluffier filling.
    • Crème mousseline: Whip in butter for a richer, silkier cream.
    • Crème chiboust: Fold in Italian meringue for a filling that holds its shape.

    Recipe FAQs

    Are pastry cream and custard the same thing?

    Pastry cream is a type of custard since it’s a mix of milk/cream, sugar and egg.

    Can pastry cream be made with whole eggs?

    Yes. Swap the egg yolks for the same weight of whole egg. For 80 g of yolks, lightly whisk 2 large eggs and weigh out 80 g. Then make the recipe as written. Whole eggs make a slightly lighter, less rich cream, so for the silkiest texture I stick with yolks.

    Why is my pastry cream lumpy?

    Lumps usually come from clumped flour and cornstarch or eggs cooking too fast. Whisk constantly over medium heat, and boil for 30 seconds to 1 minute once it thickens. If you still have a few lumps, press the cream through a fine mesh sieve. See my tips above for more ways to prevent lumps.

    How to flavor pastry cream?

    There are many ways you can flavor pastry cream. You can infuse the milk with tea, coffee or spices. You can also make chocolate pastry cream by adding some cocoa powder to the starch/egg mixture (adjust the ratios since you’d be adding extra dry). Add extracts, alcohol or zests after taking off the heat and before cooling.

    Can pastry cream be left out?

    No. Pastry cream can’t be left out. It is made with egg yolks and milk. It will go bad if it’s left out at room temperature.

    Can pastry cream be made in advance?

    Yes. Pastry cream can be made in advance. Store it in the refrigerator. Whisk it until smooth before using.

    How do I store pastry cream?

    Store pastry cream in an airtight container with plastic wrap pressed against the surface in the refrigerator for up to 3 days. Pastry cream doesn’t freeze well.

    More Recipes You’ll Love

    • A batch of golden brown choux puffs on a round wire rack.
      How to Make Choux Pastry (Pâte à Choux)
    • An apple tart on a cooling rack.
      Apple Tart Recipe
    • Fresh Berries and Cream Cake
    • Peach and blueberry cobbler in a square glass baking dish.
      Peach Blueberry Cobbler

    Did you try this recipe or any other recipe on my website? Please leave a 🌟star rating below and let me know how you enjoyed it in the 📝 comments below.

    Don’t forget to tag me on Instagram, Facebook, and Pinterest!

    A jar of pastry cream and some cream puffs with pastry cream and whipped cream.

    Pastry Cream Recipe

    Natalie
    This pastry cream (crème pâtissière) is the silky custard used so many classic French pastries. It's a versatile filling that's perfect for eclairs, cream puffs, tarts, and layer cakes. Mix it up in minutes with just six ingredients!
    Be the first to rate it!
    Print Recipe Pin Recipe
    Prep Time 10 minutes mins
    Cook Time 10 minutes mins
    Chill time 45 minutes mins
    Total Time 1 hour hr 5 minutes mins
    Course Dessert
    Cuisine French
    Servings 12 servings
    Calories 87 kcal

    Ingredients
     

    • 2 cups (488 g) whole milk
    • ½ (2 g) vanilla bean or 1½ teaspoon pure vanilla extract (7 g) or vanilla paste (9 g) add at the end of cooking
    • 4 (80 g) large egg yolks
    • ½ cup (100 g) sugar
    • 3 tablespoons (24 g) cornstarch spooned and leveled or use a scale
    • 1½ tablespoons (11 g) all-purpose flour spooned and leveled or use a scale

    Instructions
     

    • If using a vanilla bean: slice it in half lengthwise. Scrape out the seeds with the tip of your knife, then add the seeds and the scraped pod to a medium saucepan with the milk into a saucepan. Save the other half of the vanilla bean for another recipe.
      If you're using vanilla extract or vanilla bean paste: stir it in after you take the pastry cream off the heat.
    • Heat the milk over medium heat and bring it to a simmer.
    • While the milk heats up, whisk the egg yolks in a large heatproof bowl until smooth. Add the sugar to the egg yolks and immediately whisk well (for about 30 seconds) until the mixture is smooth and has thickened and lightened in color.
      (Important: do not leave the sugar and egg yolks in a bowl without whisking them immediately.)
    • Whisk the cornstarch into the yolks for about 20 seconds until the corn starch has dissolved. Whisk in the flour for another 20 seconds until completely incorporated.
    • Once the milk is steaming and small bubbles form around the edge of the pan, slowly pour about 1/3 of the hot milk into the yolk mixture, whisking constantly as you pour. Whisk for about 20 seconds, then slowly pour in another 1/3, whisking constantly.
    • Next, slowly pour the yolk mixture into the saucepan with the remaining milk, whisking constantly as you pour. Use a spatula to scrape out the bowl.
    • Return the saucepan to medium heat. Whisk constantly, including the sides and corners of the pan. Once it thickens and bubbles, whisk vigorously for another 30 seconds to 1 minute so the flour and cornstarch cook through.
      If it starts to stick or lump, lower the heat slightly.
      Remove from heat. Remove the vanilla bean or stir in vanilla bean paste or vanilla extract if using.
    • Use a clean spatula to pour the pastry cream into a clean baking sheet or large heat proof mixing bowl. Immediately press plastic wrap on contact with the surface of the pastry cream. Place it in the fridge for a couple of hours to cool completely.
    • Once cooled, whisk the pastry cream for about 30 seconds until smooth again then use as needed!

    Notes

    Sugar: Adjust sweetness to your preference and depending on other components you’re using alongside your pastry cream. For a slightly less sweet pastry cream, use around 1/3 cup sugar in this recipe. For a sweeter pastry cream, you could use up to 2/3 cups sugar.
    All-purpose flour and cornstarch work together to thicken the cream. Cornstarch makes the pastry cream smooth and light and flour makes it stable. Spoon the cornstarch or flour into the measuring spoon, then scrape the top flat with a knife. Don’t pack it down. For the most accurate results, use a kitchen scale.
    Whisking: Whisk constantly while tempering and cooking. This keeps the eggs from scrambling and the cream from sticking to the pan or forming lumps.
    Want to make gluten free pastry cream? Use 28 g (3 1/2 level tbsp) cornstarch and no flour.
    Vanilla: For the best flavor, use half a vanilla bean. Lay the bean flat and slice it in half lengthwise. Scrape out the seeds with the tip of your knife, then add the seeds and the scraped pod to the milk as it heats. Save the other half for another recipe. If you’d rather use vanilla extract or vanilla bean paste, stir it in after you take the pastry cream off the heat. High heat can cook off some of the flavor.
    Servings: 1 recipe makes about 2 and 1/2 cups pastry cream or about 12 3 and 1/2 tbsp servings. 
    Storage: Refrigerate in an airtight container with plastic wrap pressed against the surface for up to 3 days. Pastry cream doesn’t freeze well.

    Nutrition

    Serving: 3.5tablespoonsCalories: 87kcalCarbohydrates: 13gProtein: 2gFat: 3gSaturated Fat: 1gPolyunsaturated Fat: 0.3gMonounsaturated Fat: 1gCholesterol: 70mgSodium: 19mgPotassium: 69mgFiber: 0.04gSugar: 10gVitamin A: 152IUCalcium: 58mgIron: 0.2mg

    Please note that nutritional values are created by an online calculator and should only be used as an estimate.

    Tried this Recipe? Leave a comment below & tag @parsleyandicing on social!

    About Natalie Ward

    Reader Interactions

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Recipe Rating




    Primary Sidebar

    Natalie sitting on a white couch holding a mug.

    Hi! I’m Natalie, the baker and photographer here at Parsley and Icing! Here you will find a collection of delicious and decadent dessert recipes made with fresh, from scratch ingredients! More About Natalie and Parsley and Icing

    Add As a Trusted Google Source

    Fall Recipes

    • Phyllo Dough Apple Turnovers
    • Pumpkin cake with cream cheese frosting cut into slices.
      Pumpkin Olive Oil Cake
    • Step By Step Pumpkin Bread With Cream Cheese Frosting Recipe
    • Apple Cider Whoopie Pies
    • A slice of apple crumble pie topped with caramel sauce.
      The Best Apple Crumble Pie Recipe (Homemade And Delicious!)
    • A stack of three snickerdoodle bars on a plate.
      Snickerdoodle Bars

    Popular Posts

    • Pumpkin cake with cream cheese frosting cut into slices.
      Pumpkin Olive Oil Cake
    • Mini Chocolate Cheesecakes
    • A lemon cheesecake with lemon curd and toasted meringue being sliced.
      Lemon Meringue Cheesecake
    • freshly baked sour cream cookies with chocolate chips on a counter top.
      Sour Cream Chocolate Chip Cookies
    • Squares of coffee cake topped with almond streusel and powdered sugar.
      Almond Coffee Cake
    • Ricotta Pistachio Cake

    Footer

    ↑ back to top

    About

    • About me
    • Privacy Policy
    • Accessibility Policy

    Newsletter

    • Sign Up! for emails and updates

    Connect

    • Contact

    As an Amazon Associate I earn from qualifying purchases.

    Copyright © 2026 Parsley and Icing

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required