• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Sweetly Cakes
  • Home
  • Recipes
  • Cakes
  • Cupcakes
  • Frostings
  • Cake basics
  • Brownies
  • Cookies
  • About
  • Contact
  • Français
menu icon
go to homepage
  • Home
  • Recipes
  • Cakes
  • Cupcakes
  • Frostings
  • Cake basics
  • Brownies
  • Cookies
  • About
  • Contact
  • Français
subscribe
search icon
Homepage link
  • Home
  • Recipes
  • Cakes
  • Cupcakes
  • Frostings
  • Cake basics
  • Brownies
  • Cookies
  • About
  • Contact
  • Français
×
Home / Cake basics / Frosting & filling

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

Updated Dec 4, 2025 · Published Jan 9, 2022 by Fadela

Jump to Recipe

Pastry cream is a classic French custard filling I make often for tarts, éclairs, and cakes — smooth, thick, and packed with real vanilla flavor.

pastry cream in a medium bowl

This vanilla pastry cream (crème pâtissière) is the classic French custard I make for tarts, choux, and cakes.

As a French baker, this is the crème pâtissière recipe I learned in pastry school and still use today.

Smooth, thick, and full of vanilla flavor — the perfect pastry cream filling for all French desserts.

Why you'll love this recipe

  • Authentic French pastry cream: A real crème pâtissière from a French baker, not a shortcut pudding mix.
  • Silky vanilla texture: Thick, smooth, and stable for filling tarts, choux, and cakes.
  • One base, many uses: Turn it into diplomat cream, mousseline cream, chocolate pastry cream, and more.

Ingredients for pastry cream

You only need a few basic ingredients to make this vanilla pastry cream:

  • Milk: You can use semi-skimmed, whole milk, or a combination of milk and heavy cream. More fat results in a firmer cream.
  • Vanilla: Flavor the base with a vanilla bean, or vanilla bean paste or use a pure vanilla extract.
  • Eggs: You can use egg yolks only for a richer cream or whole eggs.
  • Sugar: Sweeten the cream with granulated sugar.
  • Cornstarch: Use corn starch (corn flour) or all-purpose flour.
  • Optional: To further thicken the cream, you can add a gelatine sheet or incorporate butter at the end of cooking.
bowls with ingredients for a vanilla pastry cream

Tips for this recipe

  • Whisk the yolks and sugar well until pale before adding the starch. It keeps the pastry cream smooth.
  • Temper the eggs slowly with hot milk while whisking so they don’t scramble.
  • Cook until it bubbles and thickens; the pastry cream should be thick but still spreadable.
  • Strain while hot through a fine sieve to remove any tiny lumps.
  • Chill with plastic wrap on the surface so no skin forms and the cream stays silky.

How to make Pastry Cream

This is the classic crème pâtissière recipe we use in France — thick, smooth, and stable.

In a saucepan, bring the milk to a boil with the split and scraped vanilla bean.

saucepan with milk and a vanilla pod for pastry cream

In a bowl, whisk the yolks with the sugar and cornstarch until smooth.

mixing bowl with egg yolk mixture for pastry cream

While whisking, pour the hot milk in gradually (remove the bean) to temper the mixture.

medium bowl with egg mixture and hot milk for pastry cream

Return the mixture to the saucepan and cook over medium heat, stirring constantly until it boils and thickens for 1 minute.

saucepan with hot French pastry cream

Transfer to a clean dish and cover with plastic wrap in contact before chilling completely.

Before using, whisk the cold pastry cream to restore a smooth texture.

baking dish filled with French pastry cream

Serving suggestions

  • Fill éclairs, choux, or cream puffs.
  • Spoon into fruit tarts or tartlets — the best pastry cream for tarts because it stays smooth and stable.
  • Use as a cake filling — this pastry cream filling for cakes holds its shape beautifully.
  • Add between puff pastry layers for mille-feuille.
  • Layer in verrines or trifles with fresh fruit.

Storage

  • Fridge: Store pastry cream in an airtight container with plastic wrap touching the surface for 2–3 days. Whisk before using.
  • Freezer: Freeze for up to 2–3 months. Thaw overnight in the fridge and whisk; the texture softens slightly but works for simple fillings.

Recipe Variations

  • Diplomat cream (crème diplomate): Fold whipped cream into chilled pastry cream for a lighter filling.
  • Mousseline cream (crème mousseline): Beat softened butter into pastry cream for a rich cake filling.
  • Chocolate pastry cream: Add melted dark chocolate or cocoa powder while the cream is still warm.
  • Coffee pastry cream: Whisk in a little espresso powder for an éclair or tiramisu-style filling.
  • Fruit pastry cream: Mix in fruit purée (strawberry, passion fruit, mango) once the cream has cooled.

Recipe Questions

How to fix a grainy pastry cream?

Whisk constantly while cooking. If it turns grainy, pass the hot pastry cream through a fine sieve, then chill it.

Can you freeze pastry cream?

Yes, but the texture is always better fresh. Freeze cooled pastry cream in an airtight container for up to 2–3 months, then thaw in the fridge and whisk well before using.

What is the difference between custard and crème pâtissière?

Custard is a general soft dessert cream. Crème pâtissière (pastry cream) is a thicker vanilla custard used as a filling for French pastries like éclairs and fruit tarts.

bowl with vanilla pastry cream on a table

More pastry cream fillings

  • Diplomat cream
  • Vanilla buttercream
  • Mousseline cream
  • Almond cream filling

I hope you’ll love this recipe! Rate it ★★★★★ and leave a quick comment — it always helps. Happy baking!

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
Pastry cream recipe

Pastry cream


5 Stars 4 Stars 3 Stars 2 Stars 1 Star

5 from 2 reviews

  • Author: Fadela
  • Total Time: 10 minutes
  • Yield: 12 servings
Print Recipe
Save Recipe Recipe Saved

Description

Delicious and creamy French pastry cream, easy to make and perfect for filling tarts, choux, cream puffs, or cakes. This classic vanilla custard gives any homemade dessert a real French pâtisserie touch. (about 10–12 servings)


Ingredients

500 ml (2 cups) milk – semi-skimmed or whole

1 vanilla bean

3 egg yolks – room temperature

100 g (½ cup) granulated sugar

40 g (⅓ cup) cornstarch or flour


Instructions

Place the milk and the split vanilla bean in a saucepan and bring to a boil over medium heat.

Whisk the yolks with the sugar and cornstarch for 1 minute until smooth.

Remove the vanilla bean, then pour the hot milk gradually over the egg mixture while whisking.

Pour everything back into the saucepan and cook over medium heat, whisking constantly, until it boils and thickens for 1–2 minutes.

Transfer the pastry cream to a clean dish, cover with plastic wrap touching the surface, and refrigerate until fully cooled.

Whip the cold pastry cream briefly before using.

Equipment

Image of Fine mesh strainer

Fine mesh strainer

Buy Now →
Image of hand blender

hand blender

Buy Now →

Stand mixer

Buy Now →

Airtight container

Buy Now →

Notes

Storage

Refrigerate in an airtight container for 2–3 days. Freeze up to 2–3 months, then thaw and whisk before using.

 

Tips

Use whole milk for a firmer texture.

Whisk constantly to avoid lumps.

Strain the hot cream if needed.

Chill with plastic wrap touching the surface.

Whip briefly before filling tarts or choux.

  • Prep Time: 10 minutes
  • Cook Time: 5 minutes
  • Category: Dessert, filling
  • Cuisine: French

Nutrition

  • Calories: 86
  • Sugar: 10
  • Sodium: 20
  • Fat: 3
  • Saturated Fat: 1
  • Carbohydrates: 14
  • Protein: 2
  • Cholesterol: 53

Did you make this recipe?

Tag @sweetlycakes on Instagram

This post may contain affiliate links

More Frosting & filling

  • Coffee Ganache
  • Coffee Buttercream
  • Cocoa Buttercream Frosting
  • Black Buttercream Frosting (No Food Coloring)

Reader Interactions

Comments

  1. Nadine

    December 28, 2023 at 12:56 pm

    This cream was delicious, thank you for the recipe and the advice.

    Reply

Leave a Reply Cancel reply

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

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

Primary Sidebar

Hi, I’m Fadela!

I’m the baker and photographer behind Sweetly Cakes. Here you’ll find cake, cupcake, and dessert recipes, with tips to help you bake them at home.

More about me →

 Popular Posts

  • Chocolate Caramel Cupcakes
  • Pumpkin Caramel Cake with Cream Cheese Frosting
  • Pumpkin Cupcakes with Cream Cheese Frosting
  • Mocha Cupcakes

Follow us

Search on the blog

Footer

↑ back to top

About

  • Privacy Policy
  • About me
  • Recipes

Newsletter

  • Sign Up! for emails and updates

Contact

  • Contact
  • Work with me
  • Français

As an Amazon Associate, I earn from qualifying purchases.

Copyright © 2026 SWEETLYCAKES