• 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 · 2 Comments

    5 from 1 vote
    Jump to Recipe Jump to Video

    This vanilla pastry cream (crème pâtissière) recipe is a thick, silky French custard you can make right on the stovetop with simple ingredients!

    It’s the filling for éclairs, cream puffs, fruit tarts, and layer cakes. This was one of the first recipes I learned in pastry school since it’s used in so many classic pastry recipes.

    I’m sharing step-by-step photos, a video, and my best tips 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 at Le Cordon Bleu, and then we made it for other recipes too.

    I’m sharing the tips I picked up from the demos, the practice, and my own trial and error, so yours turns out creamy and lump-free.!🙌🏼

    What is pastry cream?

    Pastry cream is a foundational French custard. It’s delicious as is and can be used in many desserts.

    It comes together in minutes and uses simple ingredients: milk, egg yolks, sugar, cornstarch, flour and vanilla.

    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).

    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?
    • Why You’ll Love This Recipe
    • Ingredient Notes
    • Substitutions and Variations
    • How to make pastry cream
    • 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.
    • No special equipment needed: You probably have everything all the basic tools in your kitchen already.
    • 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? Omit the flour and use 28 g cornstarch in total.
    • 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

    Quick Video Recap

    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, slice the bean in half lengthwise and scrape the seeds out of one half with the tip of your knife. Add the seeds and the scraped pod to a medium saucepan with the milk. Save the other half for another recipe.

    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, remove the vanilla bean pod (if using). 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 one 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.
    • Use a vanilla bean or vanilla bean paste if possible- the bean infuses the milk with flavor, and both the bean and paste give you those pretty vanilla flecks.😍 Vanilla extract works great too, but you won’t get the little flecks.
    • 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 cover on contact and refrigerate.
    • Spread the pastry cream on a baking sheet to cool it faster- the wider surface lets the heat escape quicker than it would in a bowl.

    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. Swap out the curd in my lemon curd donuts and pipe pastry cream in instead!

    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 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 shouldn’t sit out at room temperature. It’s made with egg yolks and milk, so bacteria can grow quickly. Put it in the fridge right away to cool, with plastic wrap pressed directly onto the surface.

    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

    • Sweet Potato Cheesecake
    • Easy Cornbread Recipe
    • Cream puffs filled with chantilly cream and topped with powdered sugar.
      Cream Puffs Recipe
    • Chocolate Pecan Pie Recipe

    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 in 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!
    5 from 1 vote
    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 the bean in half lengthwise and scrape the seeds out of one half with the tip of your knife. Add the seeds and the scraped pod to a medium saucepan with the milk. Save the other half 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, discard the vanilla bean pod if using. 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 1 minute so the flour and cornstarch cook through.
      If it starts to stick or get lumpy, lower the heat slightly.
      Remove from heat. Stir in vanilla bean paste or vanilla extract if using.
    • Use a clean spatula to scrape the pastry cream onto a clean rimmed baking sheet or into a large heatproof bowl. Immediately press plastic wrap directly onto the surface. Refrigerate until completely cool, about 45 minutes to 1 hour on a baking sheet or a few hours in a bowl.
    • Once cooled, whisk the pastry cream in a large bowl for about 30 seconds until smooth again then use as needed!

    Video

    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.
    Cooling: Cool the pastry cream in a large heatproof bowl or on a clean baking sheet. The baking sheet is faster. The larger surface area cools it in about 45 minutes to 1 hour, compared to a few hours in a bowl. Press plastic wrap directly onto the surface either way.
    Servings: 1 recipe makes about 2 and 1/2 cups pastry cream or about 12 servings of  3 and 1/2 tablespoons. 
    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

    Comments

    1. Leanne M

      October 26, 2026 at 8:48 am

      5 stars
      I have wanted to make this recipe for a long time now, I finally tried it this Weekend when I came across it on your site. It was very easy to make and turned out perfect and delicious.

      Reply
      • Natalie Ward

        October 29, 2026 at 12:44 pm

        Hey Leanne, So good to hear you made this pastry cream and that you enjoyed the recipe! Thanks for making it. 🙂 Natalie

        Reply
    5 from 1 vote

    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

    • Salted Caramel Apple Pie Bars
    • 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
    • No Bake Pumpkin Cheesecake Bars
    • Crimped pie dough in a pie dish next to a rolling pin.
      Homemade Pie Crust

    Popular Posts

    • Pumpkin cake with cream cheese frosting cut into slices.
      Pumpkin Olive Oil Cake
    • Phyllo Dough Apple Turnovers
    • 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

    Recipe Ratings without Comment

    Something went wrong. Please try again.