How to Make Chocolate Eclairs With Chocolate Filling
In this article
Pipe 12 éclairs about 4 inches (10 cm) long from a choux dough made with 240 g water, 115 g butter, 150 g flour and 4 eggs, bake them at 400°F (200°C) for 15 minutes then at 350°F (175°C) for 20–25 minutes, and fill each cooled shell with about 30 g chocolate pastry cream through a hole in the bottom.
Chocolate filling means one of two things: chocolate pastry cream (crème pâtissière au chocolat) or a whipped chocolate ganache. Pastry cream gives the classic custard texture; ganache pipes lighter and holds better in warm rooms. The steps below use pastry cream because it is the standard éclair filling and the one that survives a few hours at room temperature.
- Make the chocolate pastry cream first. Whisk 100 g sugar, 30 g cornstarch and 4 egg yolks in a bowl until pale. Heat 480 ml whole milk with 60 g chopped dark chocolate (60–70% cocoa) in a saucepan over medium heat until the chocolate melts and the milk steams but does not boil. Pour a third of the hot milk into the yolk mixture while whisking, return everything to the pan, and cook over medium-low heat, whisking constantly, for 2–3 minutes until it thickens and one large bubble breaks on the surface. Off heat, stir in 30 g butter and 1 tsp vanilla. Scrape into a shallow dish, press plastic wrap onto the surface, and chill at least 2 hours or up to 3 days.
- Heat the oven to 400°F (200°C) and line two sheet pans with parchment. Fit a pastry bag with a ½-inch (1.3 cm) open star tip.
- Make the choux. Bring 240 g water, 115 g butter, 1 tsp sugar and ½ tsp salt to a full boil in a saucepan. Add 150 g bread flour all at once and stir hard with a wooden spoon for 1–2 minutes until the dough pulls away from the sides and a thin film forms on the pan bottom. Scrape into a bowl and cool 5 minutes, stirring occasionally.
- Beat in 4 large eggs one at a time with a wooden spoon or mixer. Stop when the dough falls from the spoon in a V-shaped ribbon about 2 inches (5 cm) long; you may need slightly less or more than 4 eggs depending on flour and humidity.
- Pipe 12 éclairs 4 inches (10 cm) long and 1 inch (2.5 cm) wide, spaced 2 inches (5 cm) apart. Smooth the ridges with a wet fingertip.
- Bake at 400°F (200°C) for 15 minutes, then lower to 350°F (175°C) and bake 20–25 minutes more until deep golden brown and rigid when lifted. Do not open the oven before the 15-minute mark. Prick each éclair on the side with a skewer and return to the oven for 3 minutes to dry the interior.
- Cool completely on a rack, about 30 minutes. Warm shells steam and collapse when filled.
- Fill. Poke two holes in the bottom of each shell with a ¼-inch (6 mm) skewer, insert the pastry bag fitted with a small round tip, and pipe about 30 g chilled pastry cream into each until the shell feels heavy and the top barely bulges.
- Glaze. Melt 120 g dark chocolate with 60 ml heavy cream and 15 g butter over low heat, cool to 90°F (32°C), and dip the top of each éclair. Let set 20 minutes at room temperature.
Chocolate Pastry Cream Ratios That Set Firmly
The filling firms because cornstarch gelatinizes and the yolks coagulate. For every 480 ml of milk, use 30 g cornstarch and 4 yolks; dropping the cornstarch below 25 g leaves a filling that oozes out of the éclair within an hour. For a thicker, sliceable filling, use 35 g cornstarch and cook 3 minutes after the first bubble. Chocolate counts as part of the liquid: 60 g of 70% chocolate adds fat and solids, so if you use 100 g, add 10 g extra cornstarch.
| Filling | Texture | Best for | Holds at room temp |
|---|---|---|---|
| Chocolate pastry cream | Dense custard | Classic éclairs, same-day serving | About 2 hours |
| Whipped chocolate ganache (1:1 cream to chocolate, chilled and whipped) | Light, airy | Warm rooms, make-ahead | About 4 hours |
| Chocolate diplomat (pastry cream + 100 ml whipped cream per 480 ml base) | Fluffy custard | Party platters | About 1 hour |
How to Tell the Choux Dough Is the Right Consistency
The dough is correct when a spoon lifted from it leaves a ribbon that folds over itself and disappears back into the mass in about 5 seconds. Too stiff and the éclairs crack and stay hollow; too loose and they spread into flat ovals. If it is stiff after 4 eggs, beat in 1 tbsp milk. If it is runny, beat in 1 tbsp flour. The dough should still be warm when piped, around 100°F (38°C); cold dough pipes in lumps.
Why Éclairs Collapse and How to Prevent It
Collapse almost always means underbaking. A shell needs to lose enough moisture that the walls set hard; at 350°F (175°C) that takes 20–25 minutes after the initial blast. Test by lifting one éclair with a spatula: if it flexes, return the pan for 5 more minutes. Opening the oven in the first 15 minutes drops the temperature and lets steam escape before the structure sets, so keep the door shut. Pricking the sides after baking releases trapped steam and keeps the interior crisp for filling.
Filling Without a Pastry Bag
Use a squeeze bottle with a narrow nozzle, or a zip-top bag with a corner snipped to ¼ inch (6 mm). Poke the hole with a chopstick, insert the tip halfway into the shell, and squeeze slowly until the shell feels heavy, about 2 seconds per hole. Filling from the top through a slit works but leaves a visible seam under the glaze.
How Long Filled Éclairs Keep and How to Store Them
Fill éclairs no more than 2 hours before serving; after that the shell softens. Refrigerate filled éclairs in a single layer, loosely covered, for up to 24 hours, and let them sit 15 minutes at room temperature before eating. Unfilled shells keep 2 days in an airtight tin at room temperature or 1 month frozen, rewarmed at 300°F (150°C) for 5 minutes. Pastry cream keeps 3 days refrigerated; discard any that has been out above 40°F (4°C) for more than 2 hours. Glaze sets best between 68°F and 75°F (20–24°C); in a hotter kitchen, chill the glazed éclairs 10 minutes before serving.
Scaling the Recipe and Timing the Day
The base recipe makes 12 éclairs at 4 inches. For 24, double every ingredient and pipe onto four sheet pans, baking one pan at a time so the oven stays at temperature. Make pastry cream the day before; make and bake shells the morning of serving; fill and glaze within 2 hours of eating. Chocolate pastry cream needs 2 hours to chill, so start it before the choux. If you want a darker glaze, use 70% chocolate and add 1 tsp corn syrup to the cream for shine.