The most common way chocolate eclair cake goes wrong is a soggy, runny crust or a pudding that never sets. The method that avoids both is to fully bake the choux pastry until crisp and dry, then let it cool completely before adding the filling. This recipe builds the classic eclair cake as a single large sheet, so you get the same flavors as individual eclairs without piping or shaping each one.
Before You Start: Check Your Ingredients and Tools
Chocolate eclair cake has three parts: a crisp choux pastry base, a vanilla pastry cream filling, and a chocolate glaze on top. The choux pastry needs eggs, butter, flour, and water; the filling needs milk, egg yolks, sugar, cornstarch, and vanilla; the glaze needs chocolate and cream. You will also need a 9x13-inch (23x33 cm) baking pan, a medium saucepan, a whisk, a rubber spatula, and a food thermometer for the pastry cream.
Read through the whole recipe before starting because the pastry cream must chill for at least 2 hours, and the assembled cake needs another 2 hours to set. Plan for about 4 hours total, with most of that time inactive chilling.
Make the Choux Pastry Base First
The choux pastry is what makes this cake different from a no-bake version: it bakes into a crisp, hollow shell that holds the filling without turning mushy. The key is to cook the flour mixture until it forms a ball, then beat in the eggs one at a time until the dough is smooth and shiny.
- Preheat your oven to 400°F (200°C). Grease a 9x13-inch (23x33 cm) baking pan or line it with parchment paper.
- In a medium saucepan, combine 1 cup (240 ml) water, 1/2 cup (115 g) unsalted butter, cut into pieces, and 1/4 teaspoon salt. Bring to a boil over medium heat, stirring until the butter melts.
- Add 1 cup (125 g) all-purpose flour all at once. Stir vigorously with a wooden spoon until the mixture forms a smooth ball and pulls away from the sides of the pan, about 1-2 minutes. The dough should be slightly shiny and leave a thin film on the bottom of the pan.
- Remove the pan from heat and let it cool for 5 minutes. Then beat in 4 large eggs, one at a time, mixing until each egg is fully incorporated before adding the next. The dough will look curdled at first, then come together into a smooth, thick paste that holds soft peaks when you lift the spoon.
- Spread the dough evenly into the prepared pan. Use an offset spatula or your fingers to smooth the top. It will be a thin layer, about 1/2 inch (1.3 cm) thick.
- Bake for 20 minutes, then reduce the oven temperature to 350°F (175°C) and bake for another 15-20 minutes, until the pastry is puffed, deep golden brown, and feels dry to the touch. The center should not look wet or doughy. Insert a toothpick into the thickest part; it should come out clean.
- Let the choux pastry cool completely in the pan on a wire rack. Do not add the filling while it is warm, or the pastry cream will melt and make the base soggy.
If the pastry puffs up unevenly, press it down gently with the back of a spatula while it is still warm. This helps create a flat surface for the filling.
Make the Vanilla Pastry Cream Filling
This filling is a classic French pastry cream, thickened with egg yolks and cornstarch. It must reach 160°F (71°C) to be safe, because it contains eggs. Use a food thermometer to check the temperature in the center of the cream.
- In a medium bowl, whisk together 4 large egg yolks, 1/2 cup (100 g) granulated sugar, and 1/4 cup (30 g) cornstarch until pale and thick, about 2 minutes.
- In a saucepan, heat 2 cups (480 ml) whole milk and 1/4 teaspoon salt over medium heat until steaming and small bubbles form around the edges. Do not boil.
- Slowly pour about 1/2 cup (120 ml) of the hot milk into the egg yolk mixture, whisking constantly. This tempers the yolks so they don't scramble.
- Pour the yolk mixture back into the saucepan with the remaining milk. Cook over medium heat, whisking constantly, until the mixture thickens and comes to a gentle boil. It should be thick enough to coat the back of a spoon, about 5-7 minutes.
- Once it boils, cook for 1 minute more, then remove from heat. The pastry cream should reach at least 160°F (71°C) on a food thermometer. If it hasn't, return to heat and cook, stirring, until it does.
- Stir in 2 teaspoons vanilla extract and 2 tablespoons (30 g) unsalted butter, cut into pieces, until the butter melts and the cream is smooth.
- Pour the pastry cream through a fine-mesh strainer into a clean bowl to remove any lumps. Press a piece of plastic wrap directly onto the surface of the cream to prevent a skin from forming. Refrigerate for at least 2 hours, until completely cold and set.
If the pastry cream is too thick after chilling, whisk it briefly to loosen it. If it is too thin, it may not have cooked long enough; return it to the saucepan and cook over medium heat, whisking, until it thickens and reaches 160°F (71°C).
Assemble the Cake and Add the Chocolate Glaze
Assembling is simple: spread the cold pastry cream over the cooled choux base, then pour the glaze on top. The cake needs to chill for at least 2 hours so the glaze sets and the layers firm up enough to cut clean squares.
- Make the glaze: In a small saucepan, heat 1 cup (240 ml) heavy cream over medium heat until steaming. Remove from heat and add 8 oz (225 g) semi-sweet or bittersweet chocolate, chopped. Let it sit for 2 minutes, then stir until smooth. Stir in 1 teaspoon vanilla extract.
- Let the glaze cool for 10-15 minutes, until it is still pourable but not hot. If it is too hot, it will melt the pastry cream.
- Spread the chilled pastry cream evenly over the cooled choux pastry in the pan. Smooth the top with a spatula.
- Pour the glaze over the pastry cream and spread it evenly to the edges. Cover the pan with plastic wrap or foil and refrigerate for at least 2 hours, until the glaze is firm and the cake is fully chilled.
To serve, cut the cake into squares with a sharp knife, wiping the blade between cuts for clean edges. The cake is best served cold, straight from the fridge.
How to Tell It Worked, and What to Fix If It Didn't
When it works, the choux base is crisp on the outside and slightly hollow inside, the pastry cream is thick and sliceable, and the glaze is shiny but not runny. The cake holds its shape when cut, and the layers stay distinct.
| Symptom | Cause | Fix |
|---|---|---|
| Soggy, doughy base | Choux not baked long enough, or filling added while warm | Bake until deep golden and dry; cool completely before filling |
| Pastry cream too thin | Not cooked to 160°F (71°C) or undercooked cornstarch | Cook until it boils and thickens; check temperature with thermometer |
| Glaze runs off the cake | Glaze too warm when poured | Let glaze cool to room temperature, about 10-15 minutes, before pouring |
| Choux pastry doesn't puff | Oven not hot enough, or eggs added too quickly | Preheat to 400°F (200°C); add eggs one at a time, mixing well after each |
If the cake is too sweet, use bittersweet chocolate with at least 70% cacao for the glaze. If you prefer a lighter filling, fold 1/2 cup (120 ml) whipped cream into the chilled pastry cream just before spreading, but note that this makes the filling softer and the cake should be served within 24 hours.
Storing and Serving Leftovers
Chocolate eclair cake must stay refrigerated because it contains dairy and eggs. Cover the pan with plastic wrap or store individual squares in an airtight container. It will keep for 3-4 days in the fridge. Do not leave it at room temperature for more than 2 hours total.
This cake does not freeze well because the pastry cream and glaze separate when thawed. If you have leftovers, eat them cold; the texture is best within the first 2 days.
For a cleaner cut, use a knife dipped in hot water and wiped dry before each slice. Serve with a fork, as the cake is soft and creamy.