Chocolate eclairs are long choux pastry shells filled with cold vanilla pastry cream and topped with a shiny chocolate glaze. This recipe makes 12 eclairs about 4 inches long and takes about 1 hour 15 minutes of work, plus time for the pastry cream to chill.
Everything comes down to the choux dough. Cook the flour paste until it pulls away from the pan, beat in the eggs until the dough is glossy and soft enough to fall from a spoon, and bake the shells until they are deep golden and firm. Then they stay crisp and hollow instead of sinking.

- Makes: 12 eclairs, piped as 4 inch lines
- Oven: 425°F for 10 minutes, then 375°F for 20 to 25 minutes
- Time: 30 minutes prep and 45 minutes cooking, plus chilling the pastry cream
- Tools: a piping bag with a large round tip, parchment, a serrated knife
The Three Parts of an Eclair and Their Ingredients

Every eclair has a shell, a filling and a topping, and each one uses a short list.
- Choux shells: ½ cup (1 stick) unsalted butter, 1 cup water, ¼ teaspoon salt, 1 cup all-purpose flour, 4 large eggs.
- Vanilla pastry cream: 2 cups whole milk, ½ cup sugar, ¼ cup cornstarch, 4 egg yolks, 2 teaspoons vanilla, 2 tablespoons butter.
- Chocolate glaze: ½ cup heavy cream, 4 ounces semisweet chocolate finely chopped, 1 tablespoon butter.
Whole milk matters for the filling; low fat milk gives a thinner, less creamy cream. The 4 leftover egg whites from the pastry cream keep in the fridge for a few days.
Cooking the Choux Dough Until It Pulls From the Pan
Heat the oven to 425°F and line a baking sheet with parchment. Bring the butter, water and salt to a boil over medium high heat, so the butter is fully melted by the time the water boils. Lower the heat, tip in all the flour at once, and stir hard with a wooden spoon.

Within a minute it turns into a smooth ball that pulls away from the sides. Keep stirring for 1 to 2 minutes more. A thin film forms on the bottom of the pan, and that tells you the dough has dried out. Drier dough can take more egg, and the egg is what makes the shells puff.
How Soft Should Eclair Dough Be?
Move the dough to a bowl and let it cool for 5 minutes, so the eggs do not cook when they go in. Beat in the eggs one at a time with a wooden spoon or mixer. The dough looks broken and slippery after each egg, then pulls back together. Beat the fourth egg in a fork first and add it a little at a time.
It is ready when it is smooth and shiny and falls from the spoon in a thick V shape, and a line drawn through it in the bowl slowly closes up. Too stiff and the shells crack and stay small. Too loose and they spread flat, so stop adding egg once you see the V.
Piping and Baking Eclair Shells That Stay Hollow
Spoon the dough into a piping bag with a large round tip. Hold the bag at an angle and pipe 4 inch lines with steady pressure, about 2 inches apart. Smooth any pointed tails with a wet fingertip. If the dough feels too soft to hold a line, chill it in the bag for a few minutes.
Bake for 10 minutes at 425°F, then lower the oven to 375°F and bake 20 to 25 minutes more, until puffed, deep golden and firm on the sides. Do not open the door during the first 20 minutes; the steam inside the shells is what lifts them, and a rush of cool air makes them collapse. Cool them completely on a wire rack.
Vanilla Pastry Cream for Filling Eclairs
Make this before the shells if you can, so it chills while they bake and cool. Heat the milk until it steams, without boiling. Whisk the sugar, cornstarch and egg yolks until smooth and pale yellow.

Pour the hot milk into the yolks slowly, whisking the whole time, then pour everything back into the pan. Whisk over medium heat for 3 to 5 minutes. It thickens suddenly; keep whisking until a few thick bubbles pop in the center, then 1 more minute. That last minute fully cooks the cornstarch, so the cream stays thick in the fridge instead of loosening.
Off the heat, stir in the vanilla and butter. Press plastic wrap right on the surface so no skin forms and chill until cold, about 2 hours. If it has a few lumps, push it through a sieve. For more on this filling, the full vanilla pastry cream recipe covers flavors and storage.
Chocolate Topping for Eclairs: A Glossy Glaze
Heat ½ cup heavy cream until it just starts to simmer and pour it over 4 ounces finely chopped semisweet chocolate. Leave it alone for 2 minutes, then stir from the center out until smooth. Stir in 1 tablespoon butter, which gives the shine.

Let the glaze sit for a few minutes before using it. Hot glaze runs straight down the sides; once it has cooled enough to coat a spoon thickly, it stays on top. Drizzle it over the eclairs with a spoon, or dip the top halves for a full coat as in the photo. The glaze is a small batch of chocolate ganache, so the same tricks apply.
Slicing and Filling the Eclairs
Slice each cooled shell in half lengthwise with a serrated knife. If the inside has damp, eggy strands, pull them out with your fingers so the shell stays crisp. Spoon the cold pastry cream into a piping bag with a round or star tip, pipe generous swirls onto the bottom halves, and set the tops back on. Spoon the glaze over and let it set for a few minutes before serving.

You can also fill them whole: poke a small hole in each end with a chopstick and pipe the cream in from both sides until the eclair feels heavy. It looks neater, but slicing shows the cream and makes it easy to fill each one evenly.
Eclair Filling Ideas Beyond Vanilla
- Chocolate filling: stir 2 to 3 ounces chopped semisweet chocolate into the hot pastry cream with the butter, for chocolate eclairs with chocolate filling.
- Coffee: dissolve 1 to 2 teaspoons instant espresso in the hot milk.
- Lighter cream: fold whipped cream into the cold pastry cream to make diplomat cream; it pipes well and tastes less rich.
- Plain whipped cream: fast, but fill just before serving because it softens the shells sooner.
Flat, Soggy or Cracked Shells: What Went Wrong
- Flat shells: the dough was too loose, usually from adding all of the last egg. Next time hold some back until you see the V.
- Shells collapsed after baking: they came out pale or the oven was opened early. Bake until deep golden and firm when you press the sides.
- Cracked tops: the dough was a little stiff. A touch more egg makes it smoother.
- Soggy shells: they were filled too far ahead or stored in the fridge unfilled. Fill closer to serving.
- Runny pastry cream: the cornstarch did not cook long enough. Return it to the pan and whisk until it bubbles for a full minute.
Eclairs vs Cream Puffs and Profiteroles
All three use the same choux dough. Eclairs are piped into long lines and usually filled with pastry cream and glazed. Cream puffs, sometimes searched as eclair balls, are piped into round mounds, like these lemon cream puffs. Profiteroles are small puffs, often filled with ice cream or cream and served under chocolate sauce, as in these chocolate orange profiteroles.
Round shells bake a few minutes faster than long ones, so check them early. If you want the flavor without piping at all, the no-bake chocolate eclair cake layers the same vanilla cream and chocolate in a pan, and Boston cream pie pairs them with sponge cake.
Keeping Eclair Shells Crisp a Day Ahead
Unfilled shells keep in an airtight container at room temperature for 1 day, or frozen for up to a month. Do not keep them in the fridge before filling; the cold, damp air softens them. Warm them at 350°F for about 5 minutes to crisp them again, then cool before filling.
The pastry cream keeps, covered, in the fridge for up to 2 days. For the crispest eclairs, assemble shortly before serving. Filled and glazed eclairs keep in the fridge for up to 2 days; the shells soften a little more each day but still taste good cold.
Chocolate Éclairs Recipe
Made it? Tap the stars to rate it.
These chocolate eclairs are crisp choux pastry shells filled with vanilla pastry cream and topped with a shiny chocolate glaze made from cream, semisweet chocolate and butter. The recipe makes 12 eclairs piped as 4 inch lines and takes about 1 hour 15 minutes, plus time to chill the pastry cream. The flour paste is cooked until it pulls away from the pan and the shells bake at 425°F, then 375°F, until deep golden, so they puff high and stay hollow. Serve this eclair recipe for birthdays, showers, holiday dessert tables, or with coffee, and use the same choux pastry for cream puffs. For chocolate filling, stir chopped chocolate into the hot cream. Keep filled eclairs in the fridge up to 2 days.
Ingredients
- FOR THE CHOUX PASTRY:
- 1/2 cup unsalted butter (1 stick)
- 1 cup water
- 1/4 tsp salt
- 1 cup all-purpose flour
- 4 large eggs
- FOR THE VANILLA PASTRY CREAM FILLING:
- 2 cups whole milk
- 1/2 cup granulated sugar
- 1/4 cup cornstarch
- 4 large egg yolks
- 2 tsp vanilla extract
- 2 tbsp unsalted butter
- FOR THE CHOCOLATE GLAZE:
- 1/2 cup heavy cream
- 4 oz semisweet chocolate, finely chopped
- 1 tbsp unsalted butter
Instructions
Notes
Cook the flour paste for 1 to 2 minutes after it pulls away from the pan so the dough dries out and can take the eggs.
Ensure the choux pastry dough cools for 5 minutes before adding eggs to prevent cooking them prematurely.
Add the last egg a little at a time and stop when the dough falls from the spoon in a thick V; dough that is too loose bakes flat.
Do not open the oven during the first 20 minutes of baking, and bake until the shells are deep golden and firm, or they may collapse.
When tempering the eggs for the pastry cream, pour the hot milk slowly and whisk continuously. Cook until thick bubbles pop in the center, then 1 minute more so it stays thick.
Make the pastry cream first so it is cold when the shells are ready.
For a smooth chocolate glaze, chop the chocolate finely. Let it cool a few minutes until it coats a spoon before topping the eclairs.
Store unfilled shells airtight at room temperature for 1 day or freeze them; re-crisp at 350°F for about 5 minutes.
Store assembled éclairs in the refrigerator for up to 2 days. For the best texture, assemble just before serving.
If piping the choux dough feels too soft, chill it briefly in the refrigerator for easier handling.
Nutrition Information
Yield
12Serving Size
1Amount Per Serving Calories 359Total Fat 23gSaturated Fat 13gTrans Fat 0gUnsaturated Fat 8gCholesterol 196mgSodium 168mgCarbohydrates 32gFiber 1gSugar 19gProtein 8g

Made it? Tap the stars to rate it