The Chocolate Pastry Cream is a decadent filling to elevate your pastry: a twist from the classic vanilla pastry cream to please the chocolate addicts.

Whether you want to fill cream puffs, eclairs, pies, donuts, or enjoy it as it is, this rich, smooth, chocolate pastry cream is a must-have you should have in your recipe repertory.This chocolate pastry cream recipe is made with chocolate and cocoa powder to ensure the best chocolate flavor.
I wrote an entire post on the vanilla pastry cream, but I know it can be tricky to adapt a recipe, especially with chocolate, as you need to know the quantity of cocoa powder and chocolate to get the creamy texture. So, let’s jump into this chocolate crème patissiere.

Ingredients to make the Chocolate Pastry Cream:
- Milk: 2% fat or whole milk. Both are good
- Egg yolks: for a rich cream. Use the white to make this Hazelnut Cake macarons, financiers, floating islands, pavlova, meringues…
- Sugar: caster sugar or granulated sugar
- Cornstarch: to get the right consistency
- Unsalted Butter: it helps for a creamy texture
- Cocoa Powder: I use a Dutch-processed cocoa powder
- Semi-sweet chocolate (52% for me): finely chopped.
Tips for the Chocolate Pastry Cream
This French chocolate cream is accessible, and with a few tips, you will make it.
- Ingredients at room temperature.
- Chop the chocolate finely; it will help to melt quickly.
- Ensure to mix the egg yolks and sugar. Then add the cornstarch and cocoa powder together. Mix before adding the hot milk. It prevents lumps. But don’t do it ahead of time. Mix it together a few minutes before adding the milk.
- While pouring the hot milk, keep the bowl with the egg-sugar mixture on a tea towel to prevent it from slipping.
- Cook over a medium heat. It’s important not to cook at high temperatures because you will end up with a grainy, lumpy cream.
- Stir constantly the chocolate pastry cream while cooking.
- If you want to cool it faster, use a shallow dish.
- Cover the surface immediately with plastic wrap touching the surface to prevent skin forming.
- Let it cool completely before using it.
- Soften the chocolate cream with a spatula when you are ready to use it.
Troubleshooting with the Chocolate Pastry Cream
My pastry cream is too thin: you haven’t cooked the pastry cream properly. Return it to the heat; it will thicken as it cooks.
My pastry cream is too thick: You may have overcooked the cream. Once completely cooled, add milk, a teaspoon at a time, stirring with a flexible spatula between each addition to soften the cream.
Or maybe, you add too much flour/cornstarch. Use a kitchen scale for accurate measurements.
My pastry cream is lumpy/grainy: make sure to mix properly the egg yolks, sugar, cornstarch, and cocoa powder together before adding the hot milk. Cook over a medium heat. A higher temperature may cause a lumpy cream.
FAQs
Storage
In the fridge for up to 3 days, in an air-tight container covered with plastic wrap on the entire surface.
Don’t freeze the chocolate pastry cream; it will split, and it won’t be easy to get the creamy texture back.
How to use the Chocolate Pastry Cream?
Éclair, cream puff pastry, tart filling, cupcake filling, there are many possibilities to use it as a chocolate cream filling.

Try these Recipes, next:
If you tried these Chocolate Pastry Cream or any recipe on the blog, let me know how you liked it by leaving a comment below.
Find me on Instagram, Facebook and Pinterest for even more tips and recipes.