Homemade Chocolate Éclairs
Choux pastry has a reputation for being temperamental, but it’s really just a cooked dough with a clever trick: the water inside turns to steam in a hot oven and puffs each piped log into a hollow, crisp shell. Once you understand that, homemade eclairs stop being intimidating and start being one of the most satisfying things you can bake. Fill those shells with cool vanilla pastry cream, dip them in glossy chocolate ganache, and you have a classic of French bakery cases.
The process breaks neatly into three parts: pastry cream, choux and ganache. The cream needs at least 3 hours in the fridge, so we like to make it first (or the night before). Then the shells bake while you stir together a quick two-ingredient ganache, and assembly takes only minutes.
Why you’ll love it
Why You’ll Love This Recipe
- Bakery-quality results. Crisp, airy shells and a thick, silky filling taste like they came from a French pastry shop.
- Plan-ahead friendly. Pastry cream keeps up to 24 hours, and unfilled shells can be frozen for 3 months.
- Makes a crowd-sized batch. You’ll get 16 eclairs, enough for a party platter or a generous dessert spread.
- Real vanilla flavor. Vanilla extract plus vanilla bean seeds give the cream depth and those pretty specks.
What you need
Ingredients You’ll Need
Each of the three components relies on a few key players:
- Egg yolks and cornstarch: Together they thicken the pastry cream. Cornstarch keeps it sturdy enough to pipe.
- Whole milk: Gives the pastry cream a rich, creamy body. In the choux, milk paired with water creates a tender shell that browns well.
- Unsalted butter: Adds flavor and richness to the choux dough and a silky finish to the cream.
- All-purpose flour: Cooked with the hot liquid into a paste, it forms the structure that traps steam.
- Whole eggs: The 4 beaten eggs loosen the paste and provide the protein that sets the puffed shell.
- Semisweet chocolate and heavy cream: Melted together, 4 oz (113g) chocolate and ½ cup (120ml) cream make a dippable ganache that sets with a soft shine.
The method
How to Make Homemade Chocolate Éclairs
Step 1: Cook the pastry cream
Mix the egg yolks and cornstarch into a thick paste. Heat the milk and sugar until the sugar dissolves and the milk just simmers. Slowly whisk the hot milk into the yolks to temper them, then strain the mixture back into the pan. Whisk over medium heat until it’s thick and bubbling, and let it bubble for about 20 seconds (185–190°F / 85–88°C). That brief boil cooks out the starchy taste. Off the heat, whisk in the butter, vanilla, vanilla seeds and salt, then refrigerate for at least 3 hours, or up to 24.
Step 2: Make the choux dough
Heat the butter, water, milk, salt and sugar until the butter melts and the mixture simmers. Lower the heat, add the flour all at once and stir until it forms a ball. Keep stirring for 1 minute to dry the dough slightly, which helps it absorb more egg and puff higher.
Step 3: Beat in the eggs
Transfer the dough to a mixer bowl and let it cool for a few minutes so the eggs don’t scramble. On low speed, add the beaten eggs in 3–4 additions, mixing well after each. Stop when the dough is thick, shiny and pipeable. It should fall slowly from a spoon and leave a V-shaped ribbon.
Step 4: Pipe and bake
Heat the oven to 400°F (204°C). Line two baking sheets with parchment and brush the paper lightly with water; the moisture creates a little extra steam. Using a large tip, pipe 4-inch logs 3 inches apart. Smooth the ends with a wet finger and brush with egg wash. Bake for 20 minutes, then lower the oven to 350°F (177°C) and bake 8–12 minutes more, until deep golden. Do not open the door during baking, or the shells may collapse. Cool them completely.
Step 5: Make the ganache
Pour simmering cream over the finely chopped chocolate, wait 2–3 minutes, then stir until smooth. Let it cool for 15 minutes so it thickens enough to cling to the shells.
Step 6: Fill and dip
Poke a small hole in one end of each shell and pipe in the pastry cream with a small round tip until full and heavy. Dip the tops in the ganache and let them set, about 1 hour at room temperature or 30 minutes in the fridge.
Tips & common mistakes
Expert Baking Tips
- Underbaked shells deflate. Pale eclairs often collapse as they cool. Bake until deeply golden and firm to the touch.
- Weigh the flour. Using 125g keeps the dough consistency accurate.
- Pipe with confidence. Steady pressure gives even logs that bake uniformly.
- Whisk the cream constantly. Pastry cream can scorch or lump on the bottom of the pan in seconds.
- Check the inside. If a shell looks damp inside, return it to a turned-off oven for a few minutes to dry.
Make it your way
Variations and Substitutions
- Chocolate pastry cream: Whisk chopped chocolate into the hot cream for a double-chocolate eclair. The filling will be slightly firmer.
- Coffee eclairs: Dissolve a little instant espresso in the hot milk for a mocha twist.
- Whipped cream filling: Faster and lighter, but it softens the shells more quickly, so fill right before serving.
- Darker ganache: Bittersweet chocolate gives a less sweet glaze. See our guide to chocolate ganache ratios and variations for adjustments.
Serving
Serving Suggestions
Eclairs are best served chilled, the day they are filled, when the shells are still crisp. Pair them with strong coffee for an afternoon treat. For a French bakery-style brunch, serve them with flaky homemade croissants.
Storage
Storage, Freezing and Reheating
Unfilled shells keep for 1 day at room temperature, 5 days refrigerated or 3 months frozen. Re-crisp chilled or thawed shells in a warm oven for a few minutes and cool before filling. Filled eclairs keep for 3 days in the refrigerator, though the shells soften over time. We don’t recommend freezing filled eclairs, since pastry cream turns watery when thawed.
Questions
Frequently Asked Questions
Why did my eclairs deflate?
Usually they were underbaked or the oven door was opened too early. The shells need to be deep golden and set before they come out, or the steam escapes and they collapse.
What is the difference between eclairs and cream puffs?
Both use the same choux pastry. Eclairs are piped into long logs and usually topped with glaze, while cream puffs are round and often dusted with powdered sugar.
Can I make eclairs ahead of time?
Yes. Make the pastry cream up to 24 hours ahead and freeze unfilled shells for up to 3 months. Fill and dip them on the day you serve.
Why is my choux dough too runny?
Too much egg was added. Add the eggs gradually and stop once the dough is shiny and holds a V-shape; you may not need all of them.
Do I need special piping tips?
A large round tip for the shells and a small round tip for filling work best.
Recipe Card
The full recipe for the pastry cream, choux and ganache is below.
Homemade Chocolate Éclairs
Ingredients
Equipment
Method
- Mix the yolks and cornstarch into a thick paste. Heat the milk and sugar until the sugar dissolves and it just simmers.
- Slowly whisk the hot milk into the yolks, then strain back into the pan. Whisk over medium heat until thick and bubbling, letting it bubble about 20 seconds (185–190°F / 85–88°C).
- Off the heat, whisk in the butter, vanilla, vanilla seeds and salt. Refrigerate at least 3 hours (up to 24).
- Heat the butter, water, milk, salt and sugar until the butter melts and the mixture simmers. Lower the heat, add the flour all at once and stir into a ball, then keep stirring for 1 minute.
- Transfer to a mixer bowl and cool a few minutes. On low speed, add the eggs in 3–4 additions until the dough is thick, shiny and pipeable; you may not need every drop.
- Heat the oven to 400°F (204°C). Line two baking sheets with parchment and brush the paper lightly with water.
- Pipe 4-inch logs 3 inches apart with a large tip, smooth the ends with a wet finger and brush with egg wash.
- Bake 20 minutes, then lower to 350°F (177°C) and bake 8–12 minutes more, until golden, without opening the door. Cool completely.
- Pour simmering cream over the chocolate, wait 2–3 minutes, stir smooth and cool 15 minutes.
- Poke a small hole in one end of each shell and pipe in the pastry cream until full.
- Dip the tops in ganache and let set, about 1 hour at room temperature or 30 minutes in the fridge.