If there ever was a recipe to make you feel like a French pâtissier in your own kitchen, this is it! Pastry Cream is luxuriously silky, deeply flavorful, and the backbone of so many beloved desserts from éclairs and fruit tarts to layer cakes and cream puffs. With just a handful of humble ingredients and a bit of whisking, you can create a custard that’s sure to elevate even the simplest dessert into something utterly magical. Get ready to fall in love with this versatile classic—your homemade treats will never be the same!

Ingredients You’ll Need
You only need a few staple pantry items to make pastry cream, but every ingredient brings something special. These basics harmonize perfectly to deliver that luscious texture, glossy finish, and faintly sweet, creamy flavor everyone adores.
- Whole Milk: The foundation of our pastry cream, lending rich flavor and that luscious, creamy consistency.
- Granulated Sugar: Sweetens the cream just enough, allowing the vanilla and dairy notes to shine.
- Cornstarch: The secret to a beautifully thick, sliceable cream without heaviness.
- Egg Yolks: Give the custard its decadent texture and gorgeous pale yellow color.
- Salt: Just a pinch makes all the flavors pop—don’t skip it!
- Unsalted Butter: Added at the end for a smooth finish and extra richness.
- Vanilla Extract: Infuses classic pastry cream with warm, bakery-fresh aroma.
How to Make Pastry Cream
Step 1: Warm the Milk
Begin by heating the whole milk in a medium saucepan over medium heat. You want it to be hot and steamy—right before it starts to simmer. This warms things up and gets your pastry cream process off to the smoothest start, ensuring easy incorporation later.
Step 2: Whisk the Egg Mixture
While your milk is warming, grab a bowl and whisk together the sugar, cornstarch, egg yolks, and salt until silky and pale. This step is key for a lump-free result, and it helps dissolve the sugar and smooth out the cornstarch, setting you up for custard excellence.
Step 3: Temper the Eggs
This part always feels a little bit chef-y! Slowly pour about half a cup of the hot milk into your egg mixture, whisking constantly as you go. The gradual heat helps prevent your yolks from scrambling—a culinary magic trick called tempering.
Step 4: Combine and Cook
Pour the now-warmed egg mixture back into the saucepan with the rest of the milk, again whisking non-stop. Keep cooking over medium heat, whisking, until the mixture thickens and bubbles begin to appear, which takes about 3 to 5 minutes. The transformation is always so satisfying!
Step 5: Finish with Butter and Vanilla
Once your pastry cream is thick and lovely, remove the pan from heat. Immediately stir in the unsalted butter and vanilla extract for that final dose of flavor and glossy richness. If you want it extra silky, strain through a fine mesh sieve into a bowl. Press plastic wrap right onto the surface to stop a skin from forming and refrigerate for at least two hours to set up.
How to Serve Pastry Cream

Garnishes
For a touch of elegance, finish your pastry cream with sliced fresh berries, vibrant citrus zest, or a delicate dusting of powdered sugar. Even a single raspberry or a few toasted almonds can take your dessert to the next level!
Side Dishes
Pastry cream shines alongside simple accompaniments like crisp butter cookies, flaky puff pastry twists, or a bowl of seasonal fruit. It’s also utterly delightful served in a tart shell with a hot espresso on the side.
Creative Ways to Present
Unleash your creativity! Pipe chilled pastry cream into éclairs or donuts, sandwich between layers of sponge cake, or spoon it into elegant parfait glasses with fruit or crumbled shortbread. For special occasions, swirl it into verrines or serve as a dip for fresh berries—a total crowd-pleaser every time.
Make Ahead and Storage
Storing Leftovers
Keep any leftover pastry cream tightly covered with plastic wrap pressed on the surface and stored in the refrigerator. It will stay deliciously fresh for up to three days, perfect for prepping ahead of time or sneaking midnight spoonfuls.
Freezing
While pastry cream generally isn’t a fan of the freezer (it can separate and change texture), you can freeze it in a pinch. Thaw overnight in the fridge and give it a really good whisk after defrosting—just keep in mind that it may not be quite as velvety as freshly made.
Reheating
Reheating is usually not necessary since pastry cream is best enjoyed chilled. But if it’s become too thick or slightly lumpy from storage, whisk it in a bowl over a gentle double boiler to restore its smoothness—just watch closely and stir continuously.
FAQs
Why did my pastry cream turn lumpy?
Lumps usually appear if the mixture cooks too quickly or isn’t whisked constantly. Take your time, whisk vigorously, and if needed, strain the finished cream for that ultra-smooth finish.
Can I use low-fat milk to make pastry cream?
You can, but whole milk is classic for a reason—it gives the pastry cream richness and body. Lower-fat milk makes a lighter cream but will be less luxurious.
What desserts can I fill with pastry cream?
The possibilities are endless! Éclairs, cream puffs, fruit tarts, Boston cream pie, donuts, mille-feuille—the list goes on. Anywhere you want something decadent and creamy, pastry cream is your friend.
Can I make pastry cream ahead of time?
Absolutely! Pastry cream loves being made in advance. Prepare it up to three days before you need it—just keep it covered directly with plastic wrap in the fridge to prevent a skin from forming.
How do I flavor pastry cream differently?
Try infusing your milk with coffee, citrus zest, or a cinnamon stick before making the cream. Or stir in a little chocolate, almond extract, or even a splash of liqueur after cooking—the pastry cream will gladly take on new flavors!
Final Thoughts
If you’ve ever dreamed of crafting bakery-worthy desserts at home, learning to make pastry cream is your delicious first step. It’s simple, reliable, and truly transforms everyday treats into showstoppers. Your tastebuds (and anyone lucky enough to share with you) will thank you, so don’t wait—give this classic recipe a whirl!
Print
Pastry Cream Recipe
- Prep Time: 10 minutes
- Cook Time: 10 minutes
- Total Time: 20 minutes (plus chilling)
- Yield: 2 cups
- Category: Filling
- Method: Stovetop
- Cuisine: French
- Diet: Vegetarian
Description
Learn how to make a luscious and creamy pastry cream that is perfect for filling tarts, éclairs, cream puffs, and layered cakes. This classic French custard is easy to prepare and versatile in its application.
Ingredients
Ingredients:
- 2 cups whole milk
- 1/2 cup granulated sugar
- 1/4 cup cornstarch
- 4 large egg yolks
- 1/4 teaspoon salt
- 2 tablespoons unsalted butter
- 1 teaspoon vanilla extract
Instructions
- In a medium saucepan, heat the milk over medium heat until it’s just about to simmer.
- In a separate bowl, whisk together the sugar, cornstarch, egg yolks, and salt until smooth and pale.
- Slowly pour about 1/2 cup of the hot milk into the egg mixture while whisking constantly to temper the eggs.
- Gradually add the tempered egg mixture back into the saucepan with the remaining milk, whisking continuously.
- Cook over medium heat, whisking constantly, until the mixture thickens and starts to bubble, about 3–5 minutes.
- Once thick, remove from heat and stir in the butter and vanilla extract until smooth.
- Pour the pastry cream into a bowl and press plastic wrap directly onto the surface to prevent a skin from forming.
- Chill in the refrigerator for at least 2 hours before using.
Notes
- For an extra silky texture, strain the cream through a fine mesh sieve before chilling.
- This cream is perfect for filling tarts, éclairs, cream puffs, and layered cakes.
Nutrition
- Serving Size: 1/4 cup
- Calories: 160
- Sugar: 13 g
- Sodium: 90 mg
- Fat: 7 g
- Saturated Fat: 4 g
- Unsaturated Fat: 2.5 g
- Trans Fat: 0 g
- Carbohydrates: 20 g
- Fiber: 0 g
- Protein: 3 g
- Cholesterol: 100 mg