Vanilla Pastry Cream
5 from 3 votes

32 comments
Vanilla Pastry Cream Recipe | ZoëBakes | Photo by Zoë François

Pastry cream is one of the most versatile recipes in a professional pastry kitchen (and your home). It is used for the filling of eclairs, napoleons, fruit tarts, banana cream pie, trifle, and just scooped out of the bowl with a spoon. It is essentially “kick-ass” vanilla pudding, to quote one of my former bosses. It can be scented with vanilla, in fact I always start with vanilla pastry cream and then add flavors to it. I’ve made everything from Thai chili-chocolate to passion fruit pastry cream. Here is the basic vanilla pastry cream recipe to start with!

This is an old post with old photos (I’ve come a long way with my camera since then)…

How to Make Pastry Cream

See me make the pastry cream step by step here, then head to the bottom of this post for the full recipe.

Bring the milk, 1/4 cup of the sugar, butter, salt and vanilla bean to a gentle boil in a medium saucepan.

Boiling Ingredients for Vanilla Pastry Cream | ZoëBakes | Photo by Zoë François

Remove from heat.

Vanilla Pastry Cream Recipe | ZoëBakes | Photo by Zoë François

Whisk together the cornstarch and the remaining 1/4 cup of sugar. Add the egg and yolks to the cornstarch and mix into a smooth paste.

Vanilla Pastry Cream Recipe | ZoëBakes | Photo by Zoë François

Slowly, and in small amounts, whisk a little of the hot milk into a the egg mixture. This is called tempering the eggs, which you need to do to get them to the same temperature of the hot milk in the pan, so they won’t curdle.

Vanilla Pastry Cream Recipe | ZoëBakes | Photo by Zoë François

Once the egg mixture is warm to the touch, pour it back into the milk in the pan.

Vanilla Pastry Cream Recipe | ZoëBakes | Photo by Zoë François

Return the custard to the stove and bring to a boil, whisking continuously for 2 to 3 minutes. The pastry cream will thicken almost immediately but it is important to cook out the starch so that it isn’t grainy and so your pastry cream won’t separate. (separating pastry cream is when the liquid releases from the cream, easily prevented by cooking for 2-3 minutes!) When the pastry cream is done it will be smooth and glossy.

Vanilla Pastry Cream Recipe | ZoëBakes | Photo by Zoë François
Vanilla Pastry Cream Recipe | ZoëBakes | Photo by Zoë François
Vanilla Pastry Cream Recipe | ZoëBakes | Photo by Zoë François

Strain the pastry cream into a shallow container.

Vanilla Pastry Cream Recipe | ZoëBakes | Photo by Zoë François

Because the pastry cream is so think you will need to press it through the strainer with a rubber spatula.

Vanilla Pastry Cream Recipe | ZoëBakes | Photo by Zoë François

Cover with plastic wrap pressed directly on the surface of the cream to prevent a skin from forming. Set the container in the freezer for 15 minutes (this cools down the eggs quickly) and then refrigerate for up to a few days.

Vanilla Pastry Cream | ZoëBakes | Photo by Zoë François
A Weck Jar fillled with Vanilla Pastry Cream next to a spoonful of pastry cream

Vanilla Pastry Cream

Pastry cream is rich, luscious pudding that’s used in all kinds of cakes, a true staplein the pastry kitchen. To flavor this silky custard, you can use pure vanilla extract ora scraped vanilla bean, which will give the most intense and satisfying flavor. If youhave never tried baking with a real vanilla bean, try it now and you’ll be hooked.The seeds will add a fragrant aroma and flecks of real vanilla. You can replace the vanilla bean with other flavors, like cinnamon sticks, star anise, ginger, instant espresso, or anything else you think up.
5 from 3 votes
Servings: 3 cups (780g)

Ingredients

  • 2 cups (480ml) whole milk
  • 1/2 cup (100g) granulated sugar
  • 1/4 cup (55g) unsalted butter
  • 1 pinch kosher salt
  • Seeds scraped from 1/2 vanilla bean or 2 tsp vanilla extract
  • 3 Tbsp cornstarch
  • 1 egg at room temperature
  • 4 egg yolks at room temperature

Instructions

  • In a medium saucepan over medium heat, combine the milk, 1/4 cup / 50g of the sugar, butter, salt, and vanilla; bring to a gentle boil; and then remove from the heat.
  • In a medium bowl, whisk together the cornstarch and remaining 1/4 cup / 50g sugar. Add the egg and egg yolks and whisk into a smooth paste.
  • Whisk enough of the hot milk, a little at a time, into the egg mixture until it is warm to the touch. Once the eggs are tempered, pour the mixture back into the remaining milk in the pan.
  • Return the saucepan to medium-high heat and bring the mixture to a boil; continuously whisk for 3 minutes more or the pastry cream will separate once it cools.
  • If there are any lumps in the pastry cream, strain it through a fine-mesh sieve into a shallow container and cover with plastic wrap, pressed directly onto the surface, to prevent a skin from forming.
  • In a large bowl, add enough ice cubes and cold water to create a bath for the container to sit in without the water breaching the sides.
  • Set the container in the ice bath or place in the freezer until chilled, about 15 minutes before using. Or transfer to an airtight container and store in the refrigerator for up to 3 days.
Tried this recipe?Let us know how it was!

32 Comments

  1. 5 stars
    Hey Zoe! I was making this pastry cream for the filling of a tart. After cooking the pastry cream do I let it set then put it in the tart and put the tart in the oven. Or do I put the hot pastry cream in the tart shell to set and put that in the oven?

    • Stephani from The ZoeBakes Team

      Hi Shelby! If you’re using the pastry cream in a tart that you’ll bake, then pour it in the tart shell and bake it right after it comes off the stove. Cheers!

  2. I would like to make this pastry cream flavored with Kirsch. When would be the time to add it ?

  3. Made this once and love it, but I need a larger batch, would doubling this recipe be okay?

  4. 5 stars
    How would you incorporate bourbon?

    • Stephani from The ZoeBakes Team

      Hi Georgia, It depends. If you want the alcohol to burn off, you need to add it early when it’s cooking. If you want more alcohol flavor, do it at the end, 1 tbsp at a time, but be careful because if you add too much it can change the texture and could become too runny!

  5. hello zoe,
    i was thinking of making strawberry pastry cream. do i need to change the base recipe when adding some fruit puree into the pastry cream? because i am afraid that it will become too watery. .

    • Hi Amanda,

      You may want to flavor it with a strawberry preserve, which has more body and the flavor is more concentrated. If you use a puree, it will indeed make the pastry cream too thin, and you will have to stabilize it with more egg and cornstarch. I think you will get better flavor with the preserves.

      Thanks, Zoë

  6. Hi! Great site and recipes! one of the comments say is pretty stiff, does it stay that way at room temperature? Pastry Cream is used a lot here in the DR as cake filling, I want to use yours but need to know if it can stand a few hours of room temperature?
    Thanks in advance!

    S

    • Hi Sheyla,

      The pastry cream is pretty stiff and will hold up at temperatures in the 70s, but perhaps much warmer a room will make it soft. If you need it to be out in a warm environment, you may want to increase the cornstarch a little bit or stabilize it with some whipped cream, set with a touch of gelatin. Not too much or it will feel like jello.

      Thanks, Zoë

  7. Zoe – would pastry cream be a good filling for a cake? I was asked to do a cake with “custard” filling (but by someone who’s English – so not sure if we’re using custard exactly the same way). Could/should I lighten it with whipped cream? Thank you! The recipe sounds great and not too hard.

  8. Stacy,
    Don’t know if you’ll read this or get a copy, but go to:
    http://www.lepicerie.com/catalog/category_287_FINE_FOODS_Fruit_Purees__SICOLY__Boiron_page_2.html

    Lepicerie.com has amazing fruit purees, which I’ve used in ice creams and other desserts, such as pastry creams and even in a creme anglaise base.

  9. Hi Zoë – First attempt at Pistachio Pastry cream failed miserably. Trying it again using your recipe. We’ll see how it turns out this time. You’ve always come through for me before, I’m hoping your base recipe will work this time as well. Wish me luck.

    • Hey Bret,

      pistachios are very fatty and will make your pastry cream break down if you use the whole nut. Did you try steeping them in the milk and then strain them through a chinois? This will give you a subtler flavor, but perhaps it is enough to get the idea across?

      Thanks, Zoë

  10. Hey Zoe! I’m having a hard time finding fresh passion fruit or puree for my pastry cream. I did find passion fruit juice. How and when would I incorporate the juice?

  11. Hi Ashley,

    You want a rather stiff pastry cream to make Napoleans so I would just melt about 4-6 ounces of bittersweet chocolate over a double boiler. While it is melting make the pastry cream and add them together before straining and cooling. it will make the pastry cream much more still, but this is actually ok for what you are using it for, it will be easier to cut without it falling apart!

    Enjoy, Zoë

  12. I’m making napoleons and I was wondering how to change the cream so its chocolate. Thanks

  13. I made this twice so far, and it’s fabulous. Once for danish, and once for cream puffs. Thanks.

  14. Hi Shea,

    It will be wonderful! Have fun.

    Zoë

  15. Thank you Zoe! I can’t wait to try this. Wish me luck 🙂

  16. Hi Shea,

    Sounds like a fantastic idea. I used the pulp of about 2 or 3 passion fruits and folded that into the whipped cream and then into the pastry cream. You can also use passion fruit puree and do the same thing. Just don’t use so much that it will make your pastry cream too loose. My recipe for pastry cream is pretty stiff once it is chilled so it lends itself well to adding things to it. Be sure to stir it until it is smooth before trying to fold the whipped cream in.

    Let me know how it comes out. Thanks, Zoë

  17. Hi Zoe,
    you mentioned passion fruit pastry cream. Can you tell me how to incorporate passion fruit into this recipe? I’m making a Tres Leches layer cake and wanted to do a passion fruit pastry cream (with whipped cream folded in to make it lighter)for the layers. I also found another site that recommended just using passion fruit curd with whipped cream folded in instead of making pastry cream. Any thoughts? Many thanks!

  18. Great Michelle,

    Please let me know how it comes out!

    Zoë

  19. Hi Zoë,

    Thank you very much for your help and prompt response!! Great website and I’ll let you know how I do! 🙂

    Michelle

  20. Hi Michelle,

    The trick to adding fruit to the pastry cream is to either use fresh berries and handle them gently or use frozen and remove as much liquid as possible. If you are going for the fresh berries then keep in mind that you will have a difficult time getting the berries to come through your piping bag unless you have a very large tip.

    Frozen berries work really well but you want to set them in a strainer for at least a couple of hours to allow any of the juice to drain away. The frozen berries will turn the pastry cream pink, which can be pretty.

    Whisk the pastry cream so that it is nice an fluffy before adding the fruit. Fold the berries in as gently as possible.

    Enjoy, it sounds wonderful!

    Zoë

  21. Michelle

    Hello,
    How do you incorporate fruit in this without watering it down? I plan on adding (seperately) blackberries, strawberries and raspberries and piping into cream horns. Any help would greatly be appreciated! Thanks 🙂

  22. Hi Matthew,

    It will make just over 2 cups.

    Zoë

  23. How much does your recipe make?

  24. Hi Miss T,

    I know that craving well!

    Zoë

  25. I adore pastry cream. Sometimes I crave it to the extent that I have to make chocolate eclairs, just to have an excuse to eat it.

  26. Hi Matthew,

    It was inspiration! Looks like I’ll be making choux paste in my near future! 😉

    Thanks, Zoë

  27. I didn’t expect to create such a stir (no pun intended). The link is to my attempt at eclairs with a different cream recipe. Now to get the piped choux to come out in even shapes after being baked.

5 from 3 votes (1 rating without comment)

Leave a Comment

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

*

Recipe Rating