The Best Fluffy Pancakes recipe you will fall in love with. Full of tips and tricks to help you make the best pancakes.
Chocolate Pastry Cream – Silky, Rich & Perfect for Filling Pastries
Chocolate Pastry Cream is one of those classic pastry fillings that instantly makes desserts feel more elegant and indulgent. It is silky, spoonable, and deeply chocolatey, with the kind of texture that works beautifully in éclairs, tarts, cream puffs, and layered cakes.

What is it
Chocolate Pastry Cream, also known as chocolate crème pâtissière, is a thick custard made from milk, egg yolks, sugar, starch, and chocolate. The starch and egg yolks thicken the cream as it cooks, while the chocolate adds richness and a more intense flavor than vanilla pastry cream.
Because it sets firmly when chilled, it is ideal as a stable filling for pastries that need structure but still feel creamy when eaten. It is also naturally versatile: you can keep it classic, enrich it with butter, or lighten it slightly with whipped cream before piping.
Why you’ll love it
- Silky, rich, and deeply chocolate-flavored.
- Perfect for filling éclairs, profiteroles, tarts, cream puffs, and cakes.
- Stable enough to pipe and layer once chilled.
- Easy to make in one pot with simple pantry ingredients.
- Pairs beautifully with Chocolate Ganache, White Chocolate Ganache, or Espresso Chocolate Ganache.
- Works especially well with Chocolate Swiss Roll Cake, Vanilla Sponge Cake, and Chocolate Tiramisu Cupcakes.
Ingredients
For about 4 cups / 950 g pastry cream
- 480 ml (2 cups) whole milk.
- 120 ml (½ cup) heavy cream.
- 4 large egg yolks.
- 100 g (½ cup) granulated sugar.
- 30 g (¼ cup) cornstarch.
- 20 g (2 tbsp) unsweetened cocoa powder.
- 120 g (4 oz) dark chocolate, finely chopped.
- 30 g (2 tbsp) unsalted butter, optional but recommended.
- 1 tsp vanilla extract.
- Pinch of fine salt.
Optional flavor boost
- 1 tsp espresso powder for a deeper chocolate note.
- ½ tsp instant coffee for a more complex finish.

How to make
Step 1: Heat the dairy
In a medium saucepan, warm the milk and heavy cream over medium heat until just steaming. Do not let it boil aggressively.
Step 2: Whisk yolks and dry ingredients
In a heatproof bowl, whisk together the egg yolks, sugar, cornstarch, cocoa powder, and salt until smooth and pale.
Step 3: Temper the eggs
Slowly pour about one-third of the hot milk mixture into the egg mixture while whisking constantly. Then pour everything back into the saucepan. This prevents scrambled eggs and creates a smooth custard base.
Step 4: Cook until thick
Cook over medium heat, whisking constantly, for about 2 to 4 minutes until the cream thickens and starts to bubble. Once it bubbles, keep whisking for another 30 seconds to 1 minute so the starch fully cooks.
Step 5: Add chocolate
Remove from the heat and add the chopped dark chocolate. Whisk until fully melted and smooth, then stir in the butter and vanilla.
Step 6: Strain and chill
For the smoothest result, pass the pastry cream through a fine-mesh sieve into a clean bowl. Press plastic wrap directly onto the surface to prevent a skin from forming, then chill for at least 2 hours or overnight.

How To Serve
Chocolate Pastry Cream is best served chilled or slightly cool, depending on how you plan to use it. Pipe it into éclairs, spoon it into tart shells, or layer it inside cakes for a luxurious chocolate filling.
It is especially lovely inside French Macarons as a soft filling, or folded into a dessert parfait for a more modern presentation. You can also pair it with White Cake or White Chocolate Frosting to create a striking contrast of flavors and color.

How To Store
Store Chocolate Pastry Cream in an airtight container with plastic wrap pressed directly onto the surface. Keep it refrigerated for up to 3 days.
If it becomes too firm after chilling, whisk it briefly to smooth it out before using. Do not freeze pastry cream, because freezing can break the custard texture and make it watery when thawed.
FAQs
Can I make Chocolate Pastry Cream ahead of time?
Yes. In fact, it is better made a day ahead so it has time to fully set and develop a smooth texture.
Why did my pastry cream turn lumpy?
Lumps usually happen when the eggs were not tempered properly or the custard cooked too fast. Strain it through a sieve while it is still warm to smooth it out.
Can I make it without cornstarch?
Yes, but the texture will be softer. Some versions use flour instead of cornstarch, though cornstarch gives a cleaner, silkier finish.
Can I use milk chocolate instead of dark chocolate?
You can, but the result will be sweeter and less intense. Dark chocolate gives the best balance and depth of flavor.
Is this the same as chocolate pudding?
Not exactly. Chocolate pastry cream is thicker, smoother, and more structured than pudding, which makes it much better for pastry fillings and layered desserts.
Note
The key to great Chocolate Pastry Cream is patience. Cook it long enough for the starch to fully thicken and bubble, but keep whisking the whole time so the bottom does not scorch. If you remove it too early, it may stay thin even after chilling.
Nutrition information
Approximate per 1/8 batch:
- Calories: 240 kcal.
- Carbohydrates: 24 g.
- Fat: 14 g.
- Protein: 4 g.
- Sugar: 18 g.
Tips and Tricks
- Chop the chocolate finely so it melts quickly and evenly.
- Use whole milk for the richest texture.
- Whisk constantly once the custard goes back on the stove.
- Strain through a sieve for an ultra-smooth finish.
- Press plastic wrap directly on the surface while chilling to prevent a skin.
- If you want a lighter texture, fold in a little whipped cream after the pastry cream is chilled.
- For chocolate lovers, this filling pairs beautifully with Chocolate Sponge Base, Chocolate Cupcakes, and Chocolate Cream Cake.



