About
My Cookbooks
Work With Me
Contact
  • Facebook
  • Instagram
  • Pinterest
  • X
  • YouTube
The Flavor Bender

Master the Science of Delicious

  • Recipe Index
    • All Recipes
    • Desserts
      • Cakes & Cupcakes
      • Candy & Bite Sizes
      • Chocolate
      • Cookies, Brownies & Bars
      • Frozen Desserts
      • Fruit Desserts
      • Puddings & Custards
      • Dessert drinks
      • No Bake
      • Pastries & Breads
      • Sweet Syrups & Spreads
      • Tarts & Pies
      • Cheesecakes
      • Healthy sweets
    • Breakfasts
      • Tarts, Quiches, & Pies
      • Waffles, Pancakes & Crepes
      • Quick Breads, Scones & Muffins
      • Breakfast Sandwiches
      • Breakfast Pastries
      • Eggs
      • Breakfast & Brunch Drinks
      • Make Ahead Breakfasts
      • Healthy Breakfasts
      • Coffee and Tea drinks
      • Breakfast Smoothies & Juices
      • Breakfast Sides
      • Casseroles
      • Jams & Spreads
    • Courses
      • Main Meals
        • Bread, Sandwiches & Burgers
        • Curries
        • Salads
        • Roasts & BBQ
        • Soups & Stews
        • Casseroles
      • Bread
      • Lunch
      • Beverages
      • Appetizers & Tapas
      • Sides
      • Dips & Condiments
      • Tea Time & Snacks
      • Desserts
      • Meal Prep
      • Cocktails
      • Pet Friendly Recipes
    • Cuisines
      • American
      • European
      • Australasian
      • Sri Lankan
      • East Asian
      • Mexican
      • Middle Eastern
      • South Asian
    • Sri Lankan
      • Main Meals
      • Drinks
      • Desserts
      • Breakfasts
      • Snacks
    • Skill Level
      • Easy
        • Easy Desserts
        • Easy Cooking
        • Easy Breads
        • Easy Breakfasts
        • Easy Dinners
      • Intermediate
        • Intermediate Desserts
        • Intermediate Cooking
        • Intermediate Breads
        • Intermediate Breakfasts
        • Intermediate Dinners
      • Advanced
        • Advanced Desserts
        • Advanced Cooking
    • Recipes by Season
      • Christmas
      • Fall & Winter
      • Halloween
      • Spring & Summer
      • Thanksgiving
      • Valentines Day
    • Recipes by Diet
      • Dairy Free
      • Eggless
      • Gluten Free
      • Paleo
      • Vegan & Vegetarian
    • Recipe Basics
      • Baking Basics
      • Cooking Basics
      • Baking & Cooking 101
  • New? Start Here
  • Measurement Conversions
  • How-To Posts
  • About
  • My Cookbooks
  • Work With Me
  • Contact
The Flavor Bender   ›   Recipes   ›   Delicious Desserts   ›   Chocolate Recipes   ›   Chocolate Pastry Cream (Chocolate Crème Pâtissière)

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

Author:

Dini Kodippili







Jump to Recipe


Updated: 5/16/2024
Total Time8 hours hrs 50 minutes mins
Quick and Easy Recipes
Chocolate Recipes

An easy, delicious recipe for Chocolate Crème Pâtissière (Chocolate Pastry Cream)! A rich, creamy custard with deep chocolate flavor. This recipe is gluten free and dairy free friendly.

Just like my basic crème pâtissière (pastry cream recipe), this too is a custard dessert that can be used as a base for many other dessert recipes!

Learning how to make pastry cream is a basic skill that any type of baking requires, simply because pastry cream is the base for many desserts.

Small glass jar with creamy chocolate cream piped into it.

I’ve talked about all of that before and covered all my tips and how to make pastry cream (vanilla creme patissiere), along with my detailed guide on custard desserts.

Here, I’m sharing the recipe for Chocolate Creme Patissiere (Chocolate Pastry Cream), perfect for chocolate pudding, chocolate eclairs, chocolate cream puffs, profiteroles, and other pastry recipes.

Half of a profiterole showing chocolate pastry cream filling in the middle.

Why this recipe works

  • I use cocoa powder as well as bittersweet chocolate to make this chocolate pastry cream. The cocoa powder adds a rich chocolate flavor, while bittersweet chocolate enhances that flavor.
  • The cocoa butter in bittersweet chocolate makes the chocolate creme patissiere richer. So, the combination of the two types of chocolate ensures that your chocolate pastry cream has great depth of chocolate flavor and creamy richness.
  • Because of the bittersweet chocolate in the pastry cream, this recipe yields a slightly thicker chocolate pastry cream than my vanilla pastry cream recipe.
  • That’s due to the cocoa butter in it, which is a solid at room temperature. I also add extra milk (compared to the classic vanilla pastry cream) to keep the custard creamy and smooth.
  • To make this more stable, you can add gelatin to the chocolate pastry cream, making it perfect for cake fillings too.

Ingredients (and ingredient notes)

Chocolate pastry cream ingredients in separate bowls, with labels.
  • Milk
  • Sugar
  • Eggs and egg yolks
  • Cornstarch
  • Cocoa powder
  • Vanilla and salt
  • Chocolate
  • Butter
  • Gelatin (optional)

Milk – Preferably whole milk. You could substitute some of the milk with heavy cream or single cream, but I find that it’s not necessary because the pastry cream is rich as it is.

Sugar – To add sweetness. You can use white sugar, but I like to add brown sugar because the molassey flavor complements the chocolate flavor. But both types of sugar will work in this recipe.

Eggs and egg yolks – I used to make this recipe with a combination of egg yolks and whole eggs, which you can absolutely do. But I have also made this with ALL egg yolks, and love the results! This recipe is flexible enough for you to go with either option. Just note that the egg yolk only method is slightly thicker, while adding whole eggs increases the yield.

Cornstarch – Acts as a stabilizer and thickener. The starch stabilizes the egg proteins, which helps to prevent curdling. The cornstarch also gelatinizes in the heat and absorbs liquid, making the pastry cream thick as well. You can add more cornstarch to make the chocolate pastry cream thicker for different applications. Some recipes use flour, but I prefer cornstarch.

Cocoa powder – Adds flavor and also acts as a thickener. I use dutch processed cocoa powder which adds a deep chocolate flavor without the bitterness, but it also contributes to thickening the pastry cream along with the cornstarch. The amount of cocoa powder I use only adds a subtle chocolate flavor, which is why I also add chocolate in addition to the cocoa powder.

Vanilla and salt – While the vanilla is optional, the salt is not. Just add the minimum amount of salt to yield depth of flavor to the chocolate. Add up to the maximum amount to add a salty kick to the pastry cream. I’m a sucker for salty and sweet flavors, so I love to add extra salt, but this is up to you.

Chocolate – Chocolate adds flavor but also contributes to the rich, creaminess and the final thick texture of the chilled chocolate pastry cream. Since this is the main flavor, use a really good quality chocolate! A couverture chocolate (made with cocoa butter) is much better than a compound chocolate (made with vegetable fat).

  • For a deeper, less sweet chocolate flavor, use bittersweet chocolate.
  • For a more balanced chocolate and sweet flavor, use semisweet chocolate.

As chocolate is solid at room temperature, the chocolate pastry cream is thicker when chilled after cooking.

Butter – Butter adds flavor and the smooth mouthfeel. Because of the presence of chocolate, butter is not as important as it is in vanilla pastry cream. But I like to add it because I still love the flavor it imparts on the final pastry cream.

Gelatin – This is an optional ingredient. But gelatin (bloomed in water) will provide added stability to your pastry cream. This is especially important if you want to use this as a filling for tarts, where the filling should hold even when the tart is cut. Or inside cakes, where you don’t want the pastry cream to squeeze out the sides when slices are cut.

How to make chocolate pastry cream

Heating milk in a saucepan to make chocolate cream.

Step one – Heat the milk

Place the milk in a saucepan and heat it over medium heat. The milk does not need to come to a boil, but it should start to steam. The purpose of this is to cut down on the cook time of the pastry cream after adding the egg mixture. Otherwise, you would be stirring the mixture forever!

Make sure to occasionally stir the milk to prevent the milk from burning. Once heated, remove the milk from the stove.

Step two – Prepare the egg mixture

While the milk is heating, prepare the egg mixture. You can also do this before heating the milk.

Place the eggs, egg yolk, cornstarch, cocoa powder, sugar, and salt in a bowl or a measuring jug. Using a whisk, whisk all the ingredients together very well. It’s important to scrape the sides and bottom to make sure there are no streaks of leftover ingredients.

Whisk until the egg mixture is a little pale in color. This is to ensure everything is mixed very well, and will mix with the eggs properly as well.

Mixing eggs and other ingredients for the chocolate cream, and how to temper egg mixture with hot milk.

Step three – Temper the eggs

Place the bowl with the egg mixture on a cloth napkin (a damp cloth napkin is better) to keep it from slipping. Use a small measuring cup or small bowl to remove some hot milk from the saucepan.

Pour the hot milk into the egg mixture in a thin, slow stream while whisking the egg mixture. This is to prevent the eggs from getting too hot too quickly and scrambling. Add enough milk to warm up the egg mixture to almost the same temperature as the milk. This process is called tempering the eggs.

Pour the warmed egg hot milk mixture back into the saucepan, and mix with the remaining milk in the saucepan. Return the pot back to the stove.

Pouring hot chocolate milk into the egg mix to temper the egg mixture and cook the chocolate cream mixture.

Step four – Cook the chocolate pastry cream

For the chocolate pastry cream to thicken properly, it must be brough to a boil. However, heating the custard mixture to that temperature will absolutely cause the eggs to scramble and cause lumps in the mixture.

So it’s crucial to cook the pastry cream over a manageable heat while constantly whisking to evenly distribute the heat and prevent the eggs from setting.

If the heat is too high and / or not whisking fast enough, the custard will form clumps. So it’s important to adjust the heat to a medium or lower temperature, while making sure to whisk constantly.

As you heat the chocolate custard mixture, it will start to thicken. Use the whisk to get the corners and bottom of the saucepan. The time for this to happen will vary depending on your stove temperature, the pot, and the size of pot you use. So it’s important to keep an eye on the custard to look for signs of it being ready.

Cooking the chocolate pastry cream in a saucepan with a big bubble at the surface.

Step five – Boil the pastry cream

The thickening potential of the cornstarch (in the chocolate custard) will only activate properly when the mixture is brought to a boil. The starch molecules are able to hold the moisture only when they are heated to boiling temperature.

This will also ensure that the cornstarch cooks through and does not leave any starchy taste.

The chocolate pastry cream has come to a boil when it releases large thick bubbles on the surface, kind of like bubbling lava.

Once the bubbles break the surface, keep stirring continuously and let the pastry cream cook for at least a further 1 – 1.5 minutes at low-medium heat. This is to make sure all the cornstarch hits the right temperature to properly thicken the custard.

Adding chocolate and butter to the cooked custard base in a saucepan and whisking to melt the chocolate.

Step six – Add the chocolate and butter

Once the chocolate pastry cream is cooked and thickened properly, turn off the heat and remove the pot from the stove.

At this stage, add the chocolate, butter, and bloomed gelatin (only if using). Whisk the custard to allow the chocolate to completely melt, and mix well along with the butter and gelatin.

If needed, place the saucepan on the (turned off or low heat) stove to allow some residual heat for better melting.

Step seven – Strain and cool

The pastry cream should have absolutely no lumps if properly cooked. But if you do have a few lumps, you can use a stick blender to blend the chocolate pastry cream. Then pass the custard through a sieve into a large bowl or storage container while still warm.

Cover the custard with plastic wrap that is touching the whole surface. This will prevent a skin from forming on top of the chocolate creme patissiere. Allow the custard to cool slightly, and then place it in the fridge to chill completely.

Covering chocolate pastry cream in a glass dish with plastic wrap, and then whisking chilled cream to make it smooth again.

Step eight – Prepare the pastry cream for use

The chocolate pastry cream is ready to be used when,

  • Pastry cream is chilled. A chilled chocolate pastry cream sets fairly firm (especially with gelatin). So you must use a whisk to break apart the custard and mix it well to make it creamy again. Otherwise, it will not pipe or spread smoothly.
  • Chocolate pastry cream is at room temperature. Perfect to use when you want it to set properly as it chills. For example, as a pie or tart filling, or cake filling, or even to make other custard desserts like diplomat cream.

Remember that adding gelatin will make the chocolate pastry cream firmer, so it’s perfect for applications where you need the custard to have more structure.

Chilled chocolate pastry cream in a glass dish ready to be used after whisking.

Recipe tips

  • The biggest issue novice cooks have with pastry cream is the pastry cream or custard becoming lumpy. This is because the eggs scramble in the milk, causing a grainy and lumpy texture. So, it’s crucial to follow a few tips to avoid this.
  • If this is your first time making pastry cream – take it slow. Do not be impatient and rush the process.
  • The chocolate pastry cream must be cooked on a low to medium temperature. The higher the temperature, the faster you must whisk the mixture to prevent the eggs from scrambling and creating lumps. If you’re unsure, lower the heat.
  • The more you make custard, the more confident you will become with the process. The texture and stages will become more familiar, and you will get faster at making chocolate pastry cream, or any other kind of pastry cream.
  • Since chocolate is the main flavor, use a good quality chocolate. Bittersweet for a less sweet pastry cream, and semisweet for a sweeter version. Avoid using melting chocolates as they are compound chocolates.
Silky smooth, creamy chocolate creme patissiere in a saucepan.

Recipe variations

With a few additional ingredients, you can transform your chocolate pastry cream recipe into other delicious flavors as well. Here are some flavor options.

  • Mocha pastry cream – Add about 1 tsp of instant coffee granules to the milk. Allow the instant coffee to dissolve in the milk and then proceed with the recipe.
  • Bourbon chocolate pastry cream – Reduce about 3 – 4 tbsp of milk from the recipe. Then add 3 tbsp of bourbon along with the butter and chocolate at the end and whisk it in until well mixed with the custard. 
  • Jaffa pastry cream – Add 1 tsp orange extract and then proceed with the recipe.
  • Cinnamon chocolate pastry cream – Add ½ tsp cinnamon into the milk and then proceed with the recipe.
  • White chocolate pastry cream – If you’re making white chocolate pastry cream, then remove the cocoa powder and add cornstarch instead. Then substitute the regular chocolate with a good quality white chocolate. But keep in mind that the pastry cream will be much sweeter, and the texture will be softer because of the white chocolate.
  • If you’d like a richer version of this chocolate pastry cream (that is more like ganache), you could try making chocolate cremeux, a dessert made with creme anglaise.
Chocolate creme patissiere piped into a small bowl with chocolate profiteroles in the background.

How to use this chocolate pastry cream

I made something quite similar to chocolate creme patissiere in this no bake chocolate pudding pie. 

The filling for that pie is a chocolate pudding which is basically a chocolate creme pat, BUT richer (with more egg yolks and butter), and made with more chocolate and no cocoa powder.

You can use either of these two recipes for chocolate pudding. The chocolate creme patissiere that I’m sharing here is thicker and therefore can be piped on or used to fill any type of pastry (like choux pastry, eclairs, cream puffs, paris brest, choux au craquelin, and even croissants!).

It’s perfect for trifles (like this chocolate brownie trifle), chocolate cream puffs (profiteroles filled with chocolate pastry cream), boston cream pie, and even no bake pies (like this no bake chocolate pudding pie).

This rich chocolate pastry cream can also be used as a filling for cakes, but make sure to use a buttercream dam for stability. I’ve had readers who used this pastry cream as a filling in my vanilla cake and chocolate cake.

If you like diplomat cream (or boston cream), then you can make chocolate diplomat cream with this recipe too! Make sure to add the gelatin to the pastry cream.

Then make chantilly cream and fold it in with the chocolate cream patissiere to make a light, chocolatey, mousse-like filling that can be used as a filling for tarts or pies. But it can also be served as is, as a richer chocolate mousse!

Spoonful of chocolate cream held over a bowl of the custard to show its consistency.

Storage

Chocolate pastry cream can be stored in the fridge, in an airtight container for up to 5 days.

You can also freeze chocolate pastry cream for up to 2 months. Due to the chocolate in the pastry cream, it is more stable and likely to have a similar texture when thawed and re-whisked.

Small glass jar of chocolate creme patissiere (chocolate cream) with chocolate chips and cocoa powder next to it.

Recipe

Small glass jar of chocolate creme patissiere with chocolate chips and cocoa powder next to it.
4.9 from 51 votes

Chocolate creme patissiere (Chocolate pastry cream)

Author: Dini Kodippili
Yield: Makes about 840 g or about 3.5 cups
Cuisine: European

 Difficulty: 

Easy
Super easy and delicious recipe for Chocolate Creme Patissiere (Chocolate Pastry Cream)! A rich, creamy custard with deep chocolate flavor. This recipe is gluten free and dairy free friendly.
EASY – This is an easy recipe, but requires constant supervision. Please read the recipe fully before proceeding.
Please use weight measurements for accurate, consistent results. US based cup, teaspoon, tablespoon measurements. Common Measurement Conversions.

US based cup, teaspoon, tablespoon measurements. Weight‌ ‌measurements‌ ‌are‌ ‌recommended‌ ‌for‌ ‌accurate‌ ‌results whenever available.

Common Measurement Conversions
Prep: 20 minutes mins
Cook: 30 minutes mins
Chilling time (overnight): 8 hours hrs
Total Time: 8 hours hrs 50 minutes mins
Print Recipe Rate SaveSaved!
Makes: 14 servings (¼ cup / 60 g)

Ingredients:
 

  • 540 g whole milk 2 ¼ cups
  • 10 mL vanilla extract 2 tsp
  • 18 g dutch processed cocoa powder 2 tbsp
  • 2 egg yolks from large eggs
  • 2 large eggs or substitute with 2 egg yolks for a slightly thicker version
  • 100 g brown sugar ½ cup (You can also use white sugar)
  • 25 g cornstarch 2 ½ tbsp
  • ¼ tsp sea salt ½ tsp for a salted chocolate pastry cream
  • 170 g bittersweet or semisweet chocolate 6 oz
  • 30 g butter 2 tbsp, softened (OR vegan butter)
  • 2 tsp powdered gelatin optional
  • 30 mL water 2 tbsp (To bloom the gelatin)

Instructions:
 

  • Optional step – Place the water in a small bowl and sprinkle the gelatin over the water. Mix gently with a toothpick (or something similar) and allow the gelatin to bloom in the water while you get the custard ready.
    Use gelatin if you want a more stable chocolate pastry cream.
    2 tsp powdered gelatin, 30 mL water
  • Add the milk into a saucepan. Heat the milk over medium high heat until it's steaming and just about to boil. It's not necessary to boil the milk, but it is OK if it does boil gently.
    540 g whole milk
  • While the milk is heating, place the sugar, eggs and yolks, cornstarch, cocoa powder, vanilla, and salt in a bowl. Whisk until you have a thick, smooth mix. Place this egg mix on a towel or napkin (to prevent it from slipping in the following step), and then set it aside until the milk comes to a boil.
    10 mL vanilla extract, 18 g dutch processed cocoa powder, 2 egg yolks, 2 large eggs, 100 g brown sugar, 25 g cornstarch, ¼ tsp sea salt
  • As soon as the milk starts to boil, remove it from the heat. Slowly pour about one half of the hot milk into the egg mix (in a thin stream), WHILE WHISKING CONSTANTLY to temper the egg mix. When the eggs have been tempered, add the egg-milk mix back into the hot milk in the saucepan.
  • Heat the custard base over medium heat, while whisking vigorously until it starts to thicken. This should take about 2 – 5 minutes (depending on your stove and heat level and type of saucepan you use).
  • Heat until the pastry cream comes to a boil. The pastry cream is boiling when you see bubbles at the surface (see pictures in the post for reference). Once the first few bubbles break the surface, keep whisking the pastry cream for about 1 – 1.5 minutes while whisking constantly. This ensures that the cornstarch cooks and thickens the custard properly. Now turn off the heat.
  • Remove the saucepan from the heat and immediately add the chocolate, butter, and bloomed gelatin (if using). Whisk the mixture well until the chocolate, butter, and gelatin dissolve and mix in well with the rest of the custard. If needed, keep the pot on the stove (with the heat off), so that the residual heat continues to melt and mix the custard together.
    170 g bittersweet or semisweet chocolate, 30 g butter, 2 tsp powdered gelatin, 30 mL water
  • Strain the custard (optional, but recommended if you think you have lumps in the custard), directly into a bowl or container where you will be storing the chocolate pastry cream.
  • Immediately cover the surface with plastic wrap, making sure the plastic wrap is touching the whole surface. This is to prevent a custard skin from forming on top.
  • Let the custard cool down slightly, and then let it chill in the fridge for a few hours, or overnight, until completely chilled. You can use the pastry cream once it has cooled down to room temperature as well.
  • This may set as it cools down (definitely will set in the fridge), so you will need to whisk the chocolate creme patissiere to make it smooth again before use. 
  • Store the chocolate pastry cream in an airtight container for up to 4 days in the fridge.

Recipe Notes

I like to use 4 egg yolks total, instead of 2 egg yolks and 2 whole eggs, for a richer and slightly thicker consistency. 
Adding gelatin will make the creme patissiere more stable. You can also increase the amount of cornstarch to make the pastry cream even thicker. 

For a dairy free version

Substitute the milk with a plant-based milk. However, make sure the plant-based milk is also similar in fat content, so it thickens the same way. I like to use barista oat milk or cashew milk. 

Flavor modifications

  • Mocha pastry cream – Instead of the vanilla (or in addition to the vanilla) – add ½ tsp of instant coffee granules. Allow the instant coffee to dissolve in the milk and then proceed with the recipe.
  • Bourbon chocolate pastry cream – Use ¼ cup less of the milk/half and half for the custard. Add 3 tbsp of bourbon along with the butter and whisk it in until well mixed with the custard. 
  • Jaffa pastry cream – Add 1 tsp orange extract along with the vanilla extract and then proceed with the recipe.
  • Cinnamon chocolate pastry cream – Add ½ tsp cinnamon along with the vanilla into the milk and then proceed with the recipe.

Nutrition Information:

Serving: 0.25cup Calories: 162kcal (8%) Carbohydrates: 18g (6%) Protein: 4g (8%) Fat: 8g (12%) Saturated Fat: 6g (38%) Polyunsaturated Fat: 0.4g Monounsaturated Fat: 1g Trans Fat: 0.1g Cholesterol: 61mg (20%) Sodium: 97mg (4%) Potassium: 177mg (5%) Fiber: 1g (4%) Sugar: 13g (14%) Vitamin A: 188IU (4%) Vitamin C: 0.1mg Calcium: 100mg (10%) Iron: 1mg (6%)

“This website provides approximate nutrition information for convenience and as a courtesy only. Nutrition data is gathered primarily from the USDA Food Composition Database, whenever available, or otherwise other online calculators.”

Tag me on Instagram!I love seeing what you’ve made! Tag me on Instagram at @TheFlavorBender or leave me a comment & rating below.

If you liked this chocolate creme patissiere (chocolate pastry cream) recipe, don’t forget to subscribe for new (and free) recipes by entering your email address on the side bar (and get all these recipes delivered straight to your inbox), so you don’t miss out on a thing. You can find me on FACEBOOK, INSTAGRAM,  PINTEREST, YOU TUBE and GOOGLE-PLUS too.

Dini Kodippili Avatar

About

Dini Kodippili

Dini Kodippili is a professional food writer, recipe developer, food photographer, cookbook author, and baker. Dini has been featured on HuffPost, Cosmopolitan, Forbes, Delish, Food & Wine and more. Learn More

I love hearing from you! Submit your question or recipe review here.

4.89 from 51 votes (11 ratings without comment)

Leave a Reply Cancel reply

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

Made this? Rate this recipe:




This site uses Akismet to reduce spam. Learn how your comment data is processed.

205 responses

  1. Shondra
    August 30, 2019

    Hi again! If I were to use this recipe for Choux au craquelin, do I need to mix with whipped cream as well?

    Thanks!!

    Reply
    1. Dini
      August 30, 2019

      Hi Shondra!
      You can use any cream patissiere recipe with choux au craquelin, or you can mix it with some whipped cream (diplomat cream) and then fill it too. I have used both types of filling for my choux pastries (eclairs, cream puffs and craquelin). It’s about what you prefer. The cream patissiere is richer and more dense, while the diplomat cream will be lighter.
      Hope that helps!

      Reply
  2. Rachel Bibi
    August 2, 2019

    5 stars
    Hi I made this recipe it is unreal!!! I licked the pot clean thank you!! I made a double recipe can it be frozen?

    Reply
  3. Parisha Singh
    July 26, 2019

    Hi! Can it be eggless?

    Reply
    1. Dini
      July 26, 2019

      Hi Parisha,
      In theory you can make an eggless pastry cream by using cornstarch (or flour) as a thickener, but this will have an effect on the taste. Unfortunately I don’t know how much starch to add, as I haven’t made this pastry cream without eggs.
      I would very highly recommend following an eggless pastry cream recipe (or vegan recipe) that has been tested, so you know you will get good results! Sorry I couldn’t be of more help. Good luck!

      Reply
  4. Mrs.Malik
    June 10, 2019

    5 stars
    It turned out great. The sweetness was just perfect. I used it to top Tres Leches cake and ate the remaining on its own.
    I give the recipe 5 stars.
    Thank you =)

    Reply
    1. Dini
      June 13, 2019

      Thank you so much for letting me know! So glad it came out well for you! 🙂

      Reply
  5. Little Cooking Tips
    May 11, 2019

    5 stars
    Congratulations for the amazing recipe and the fantastic instructions and tips! We used it with half the chocolate and added a touch of Grand Marnier at the end, to make chocolate pudding. They were beyond amazing!
    Thank you so much for this!!!

    Reply
  6. Hana
    March 4, 2019

    Hi, I have a few questions in regards to the recipe:

    1. You say you used more milk in the chocolate creme pat as opposed to the vanilla one but both are listed as 2 cups, is that correct?

    2. A follow up to that, later on you say if we wish to have a thicker consistency we should reduced the milk and only and 2 1/4 cups but that’s more than the 2 cups that is originally listed so that’s a bit confusing.

    3. It says to use 6 ounces of chocolate in the recipe, but looking at some existing comments there are people mentioning 5 ounces of chocolate, so, again, there are a few discrepancies with the quanties and I want to make sure I have the correct recipe.

    Maybe you’ve just updated the recipe and forgot to change other parts to match? Not entirely sure, but some clarification would be much appreciated, thank you.

    Reply
    1. Dini
      March 6, 2019

      Hi Hana,
      Thank you so much for the questions. Yes, in fact I did update the recipe just last month. It looks like during the updating process, the recipe defaulted to a previous update.
      I increased the bittersweet chocolate from 5 to 6 oz, and in the previous version I used 2.5 cups of milk. But based on feedback from my readers and re-testing the recipe, I’ve now updated it to use 2 1/4 cups of milk (and 2 cups for a thicker consistency). I hope that helps! Please let me know if you have any other questions.

      Reply
  7. Barb
    February 12, 2019

    4 stars
    I was so so about the taste of this pastry cream, the coco taste was predominant making it less like rich chocolate and more like weak hot coco. It had a slightly chalky taste that might have been not cooking it long enough but it was quite thick so I didn’t want to cook it any longer. I loved your recipe for regular pastry cream, and probably need to play around with this version a little more to see how it comes out.

    Reply
  8. Kashipan
    February 12, 2019

    5 stars
    This looks amazing! I wonder if I might be able to ask a question, as I want to use this recipe as a foundation for a few tweaks I need to make to an existing pastry cream powder I need to use up the last of. It’s basically just a basic powder with corn starch in it. I’ll still be adding all the egg yolks and milk to it like doing it from scratch (not honestly sure how the powder saves any trouble! XD ), but I got a request for Valentine’s Day to make a chocolate mille-feuille and I’m sort of freaking out. I need to start the process tomorrow to have it ready, so I’ll want to make the pastry cream then, and let it chill overnight. Do you think I might be able to make my powdered pastry cream as per its instructions, just adding some cocoa powder, as per your recipe, to the actual powder before mixing it, then adding in the chopped up chocolate during the cooking stage, as you have recommended here? I worry about it becoming a bit too thick. At what stage does it become the point of no return for adding a bit of extra milk? It has to be able to be thick enough to stand up for the mille-feuille. How fluffy does your recipe come out? Do you think it’ll stand up well once piped on to the pastry and layered?

    Thanks so much, sorry if my question seems unrelated – it’s really not! I’ve been searching for the last 3 days for a recipe that incorporates chocolate into a pastry cream, and yours is the best I’ve found, it sounds and looks absolutely delicious! Thanks in advance, and I don’t mean to rush you, though I’d be delighted if I might hear back from you soon! 🙂

    Reply
    1. Dini
      February 12, 2019

      Hi Kashipan
      Unfortunately I can’t guarantee how the custard will come out when you use a custard powder because I haven’t done that before. But hopefully I can give you some information to help you out.
      You could theoretically add melted chocolate to the custard while you’re cooking it, or after cooking it, while it’s still hot. The point of no return for custard is when the eggs curdle, or the custard burns (the eggs will probably curdle before burning the custard) so if the eggs don’t curdle, you can still adjust the recipe. If the custard is too thick after adding the chocolate (remember that custard thickens as it cools), you can either re-cook it with a little milk, OR you can add a little whipped cream to the chilled chocolate pastry cream to lighten it (like a chocolate creme chantilly).
      Pastry cream isn’t generally “fluffy”, because it’s a thick custard, but can be made fluffy by adding a little whipped cream and transforming it to creme chantilly if that’s what you prefer.
      I hope that helps!
      Cheers,
      Dini

      Reply
      1. Kashipan
        February 12, 2019

        Oh, I was so happy to wake up this morning and see your reply – thank you so much! Hahah, by fluffy, I think I just meant that I hoped it would set up ok and be able to withstand the pressure of a few layers of puff pastry crust and more custard! 🙂 Thanks so much for your advice, and I’m going to go ahead and try a small test run to see how it comes out with my powder. The more I look at the instructions on the package, it’s literally little more than some corn starch. I have to add milk, egg yolks and sugar, which seems to be the bare foundation of pastry cream anyway! I can’t imagine it would hurt to incorporate chocolate the way you have it here (and maybe a wee bit more sugar!).

        Thanks again so much for such a quick reply, I appreciate it so much!!!

        Reply
      2. Kashipan
        February 13, 2019

        Hiya! A day later and I just wanted to tell you that it worked out great! The only adjustment I made was to add about 100ml more milk! Otherwise, adding 2 tbsp. of cocoa powder and the 6oz of bittersweet chocolate made it perfectly rich, and still quite sweet! It didn’t take long to thicken right up, so as long as I’m careful when adding the chocolate, this will always be great! Thanks again so much for your help, and happy Valentine’s Day! 🙂

        Reply
  9. vipra
    February 5, 2019

    Will this recipe pipe well to decorate the top of a sponge?

    Reply
    1. Dini
      February 6, 2019

      Hi Vipra
      I haven’t tried to decorate the top of a sponge cake or any cake with pastry cream before. I have used it as a cake filling, but I can’t be certain if it will hold its shape when piped onto a cake. If you’re looking for a chocolate buttercream frosting that holds better as cake decorations, you can follow this recipe instead.
      I hope that helps!
      Cheers,
      Dini

      Reply
  10. Sarah
    January 25, 2019

    I am planning on making sweet buns and am looking for a sweet chocolate filling i can put into the dough and bake. How do you think this will turn out after being baked for about 30minutes? Thank you.

    Reply
    1. Dini
      January 25, 2019

      Hi Sarah
      I haven’t tried baking pastry cream inside bread before. I think it might melt too fast. However, it could work if the custard is thickened a little more, and then frozen into cubes. Then the cubes may survive the heat while they are being baked inside the bread. I can’t be sure because I haven’t done it myself though.

      Reply
      1. Sarah
        January 28, 2019

        I’ll try that out. Thank you

        Reply
  11. Rivera
    December 21, 2018

    5 stars
    This was a great recipe. I opted for the thicker consistency method as inwas making chocolate custard horns. And it was excellent. Thanks chick!

    Reply
    1. Dini
      December 21, 2018

      Thank you so much for letting me know Rivera! 🙂 I want chocolate custard horns too now!

      Reply
      1. Mrs.Malik
        June 2, 2019

        The recipe looks delish. Do you think it can be spread over tres leche cake?
        Thank you =)

        Reply
        1. Dini
          June 3, 2019

          Hi Mrs Malik!
          Usually a tres leche cake is topped with whipped cream, to keep it light. However, if you want chocolate pastry cream instead, you can use this recipe too. The cake will be on the richer side though.

          Reply
  12. Lauren Vavala | DeliciousLittleBites
    December 1, 2018

    5 stars
    This looks so amazing! I literally want to reach through my computer and try this!!

    Reply
  13. Zurina
    November 30, 2018

    This custard did NOT thicken at all. The proportion of milk to cornflour must be wrong. I followed the recipe to a T. Please tell how much is 2 and a half cups milk in metrics please. As per conversion it would be 625 ml. Unless you are using a much smaller cup.

    Reply
    1. Dini
      November 30, 2018

      Hi Zurina
      This recipe uses US cups, and therefore 2 1/2 cups is approximately 600 mL (you can check the measurement conversions here). I’m not sure why the custard didn’t thicken up for you. I actually made this pastry cream again today, and the custard thickened up beautifully! However, if you do like an even thicker consistency, you can use about 540 mL milk (2 1/4 US cups).
      It is important to use bittersweet chocolate (80% cocoa content) and 2 oz regular eggs, because chocolate with a lesser cocoa content, or smaller eggs can also affect the thickening of the custard.
      I hope that helps!

      Reply
    2. shelley
      August 10, 2019

      IF you used cornflour that could be your problem. It should be cornstarch. Completely different ingredients. And 2 1/4 cups in metric is 532.3235 ml.

      Reply
      1. Dini
        August 10, 2019

        Hi Shelley,
        Thank you for your comment. Cornflour is the same as cornstarch however, since cornflour is what cornstarch is known as in the UK and many other commonwealth countries. They both refer to the starch extracted from the endosperm of corn. Corn flour (two words) is what you’re referring to, and that’s certainly different (ground cornmeal). These two terms do often result in some confusion, due to the different words used in the US and some other parts of the world.

        Reply
  14. Nellie Tracy
    August 9, 2018

    5 stars
    This looks divine! I have been looking for a good chocolate pastry cream and I think I just found it!

    Reply
  15. Linda Nortje
    August 9, 2018

    5 stars
    I am so glad to have found your Chocolate Creme pastry cream recipe as I have lost mine ! So many uses for this delicacy !

    Reply
  16. Shelly
    June 24, 2018

    Hi, how long can you store this for and what is the best way to do so? Thank you!

    Reply
    1. Dini
      June 24, 2018

      Hi Shelly!
      I wouldn’t recommend storing pastry cream for longer than 3 – 4 days in the fridge. I let the pastry cream cool in a container, with plastic wrap on the surface of the custard (using a shallow dish will make this process a lot shorter). Then I cover the container with an airtight lid and I put it in the fridge (as soon as it’s cooled down), and use it within 3 days. Custards always taste best when they are fresh 🙂
      I hope that helps!

      Reply
  17. Sarah
    June 2, 2018

    I followed this recipe exactly and it didn’t get thick like creme pattissiere should. The texture is all wrong. I used 70% cocoa chocolate, and I think 5 ounces was too much maybe. I’m pretty bummed. I’ll wait to see what it’s like once it’s cooled, but it looks like I’ve just wasted some very good ingredients.

    Reply
    1. Dini
      June 7, 2018

      Hi Sarah!
      I’m sorry to hear that! I’ve had several people make this with no problems before, so I would love to be able to figure out what may have gone wrong! The pastry cream does have a thicker and pipeable consistency when it cools down, and the chocolate actually helps thicken the pastry cream too! This is because the cocoa solids make the custard thicker. Could you let me know if the custard was too runny or too thick?
      Cheers
      Dini

      Reply
  18. Laura Provancal
    March 6, 2018

    Hi Dini,
    Quick question for you- how long do these eclairs stay fresh/tasty in the fridge for or are these able to freeze? I’m thinking of making these tonight for a party on Saturday and wanted to make sure it wasn’t too soon to make them. Thanks!

    Reply
    1. Dini
      March 6, 2018

      Hi Laura!
      Unfortunately filled eclairs aren’t that great at storing for later because the filling can seep into the pastry and make it soggy. But, you can make the choux pastry cases and freeze them, unfilled, in an air-tight container, if you wanted to have it made ahead of time. Then on the day, you can fill the thawed out choux pastry cases with the filling before serving. This is my personal preference.
      I have seen some that have filled the choux pastry case with filling (with a thicker pastry cream), and then freeze the filled pastry cases, then thaw them out before serving. But I feel this way the filling seeps into the pastry as it freezes and thaws out and inevitably makes the eclairs (or profiteroles) soggy in the end.
      I hope that helps!
      Dini

      Reply
  19. cakespy
    February 25, 2018

    OMG, this is so clearly necessary for continued joy, and must be put on top of every single food from now on.

    Reply
  20. Neha chopra
    February 15, 2018

    Hi.Your recipie is great.But when are we supposed to add the 5 oz of bittersweet chocolate ?

    Reply
    1. Dini
      February 15, 2018

      Hi Neha!
      The bittersweet chocolate is added after the custard is thickened. It’s mentioned in step 5 🙂
      Hope that helps!
      Cheers
      Dini

      Reply
1 2 3 … 6
Newer Comments→

Hey There!

Hi! I’m Dini, a third culture kid by upbringing and a food-geek by nature. I was born in Sri Lanka, grew up in New Zealand and lived in Australia, and then the US, before moving to and settling down in Canada. My food is a reflection of those amazing experiences!

Read More
Front cover of the Secret Layer Cakes cookbook by Dini Kodippili.

The Flavor Bender

Cookbook

Buy now on Amazon!

Recipe Basics

  • How To Make Perfect Choux Pastry

    How To Make Perfect Choux Pastry

  • Flaky All Butter Pie Crust Recipe

    Flaky All Butter Pie Crust Recipe

  • How To Make Homemade Marshmallows (Foolproof Guide)

    How To Make Homemade Marshmallows (Foolproof Guide)

  • The Best Homemade Bread (White Bread Recipe)

    The Best Homemade Bread (White Bread Recipe)

  • Homemade French Croissants (Step By Step Recipe)

    Homemade French Croissants (Step By Step Recipe)

  • The BEST Pavlova Recipe (Step by step recipe and video)

    The BEST Pavlova Recipe (Step by step recipe and video)

Featured On

Master the science of baking!

Get my FREE Printable Cake Pan Conversion Chart!

So you’ll know how to substitute cake pans of different shapes, sizes & volumes in a pinch!

A must have resource for all pro bakers, novice bakers, and aspiring bakers alike!

Download now!

Reader Faves

  • How to make the Best Instant Pot Short Ribs

    How to make the Best Instant Pot Short Ribs

  • Perfect Quick and Easy Rough Puff Pastry

    Perfect Quick and Easy Rough Puff Pastry

  • The Best Spicy Sweet Chili Sauce (Easy Recipe!)

    The Best Spicy Sweet Chili Sauce (Easy Recipe!)

  • The Best Homemade Bread (White Bread Recipe)

    The Best Homemade Bread (White Bread Recipe)

The Flavor Bender

I love baking, cooking, experimenting with flavors and ingredients, and passing on all my tips and tricks to you!

Read More

About

Meet Dini
My Book
Work With Me
Contact

Browse

Recipes
Measurement Guide
Baking How-To’s
Shop My Faves
Privacy
Disclosure
Terms

Branding by MRD

Theme by OC

Back to Top
  • Facebook
  • Instagram
  • Pinterest
  • X
  • YouTube
26068 shares

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.