Home » Desserts & Baking » Classic Boston Cream Pie


Classic Boston Cream Pie

Classic Boston Cream Pie

As the pastry cream starts to bubble, it changes from loose and pale to thick enough to hold the whisk’s tracks. That quick transformation is what gives Classic Boston Cream…

Ava
By Ava
•

•
Reading time: 10 min

Tip: save now, make later.

As the pastry cream starts to bubble, it changes from loose and pale to thick enough to hold the whisk’s tracks. That quick transformation is what gives Classic Boston Cream Pie its steady custard center instead of a filling that runs when you slice it. The cake layers are tender and lightly vanilla-scented, so they let the smooth filling and chocolate glaze take the lead.

I like the balance here: soft cake, cool pastry cream, and a glossy semisweet chocolate finish. The name says pie, but what you’re building is a beautiful layer cake with a creamy middle. Give each part time to cool before putting it together, and the layers stay distinct instead of melting into one another. A slice should show all three clearly, with enough chocolate to finish each bite without burying the custard.

Classic Boston Cream Pie with glossy chocolate glaze
“

Kitchen Note

Room-temperature eggs blend into creamed butter more smoothly than cold ones. If the mixture looks a little curdled after you add an egg, keep mixing until it comes together before adding the next.

Save Classic Boston Cream Pie for a special bake: tender cake, a cool custard center, and a glossy chocolate top.

Save to Pinterest

Why Boston Cream Pie Needs a Light Chocolate Cap

This dessert depends on contrast, not a thick layer of frosting. The cake is soft and mild, the pastry cream is cool and smooth, and the chocolate brings a deeper, slightly bittersweet finish. A heavy frosting would take over that balance and make the middle feel less like the star.

The glaze here is meant to sit over the cake as a thin cap. It gives each slice a clear chocolate finish while still letting the custard show at the cut edge. That distinction also makes serving easier: a soft glaze yields more readily than a thick, firm frosting, so the top layer is less likely to drag against the filling when you cut through it.

Think of the chocolate as the last note, not the main event. When the cake, pastry cream, and glaze each keep their own texture, you get the familiar Boston cream combination in every forkful instead of a dessert that tastes mostly of chocolate.

What Gives the Cake, Custard, and Glaze Their Texture

Classic Boston Cream Pie with creamy pastry cream
  • Whole milk — It brings richness to the pastry cream and tenderness to the cake, and one carton works for both parts. If you only have 2% milk, use it measure-for-measure in both; the filling will be a little less rich, but the yolks and cornstarch still thicken it. A regular grocery-store brand is fine.
  • Egg yolks and cornstarch — Yolks give the custard its creamy body, while cornstarch helps it hold between the cake layers. There isn’t a reliable one-ingredient swap for both; keep the pair together for a smooth filling that sets properly. Fresh, standard eggs work well here.
  • All-purpose flour and baking powder — All-purpose flour gives the cake enough structure to carry the filling without making the layers heavy. A basic store-brand flour is suitable; accurate measuring matters more than buying a premium brand. For a gluten-free adaptation, use a baking blend designed as a one-to-one replacement, as described below.
  • Unsalted butter and eggs — Butter provides the cake’s rich, tender crumb, and the whole eggs help bind it. Standard unsalted butter is a good choice because the salt in the batter stays controlled. The eggs don’t need to be an expensive specialty product.
  • Semisweet chocolate and heavy cream — Finely chopped chocolate melts more evenly when the hot cream is poured over it. A good-quality chocolate bar is nice, but a standard semisweet bar works; the cream’s fat helps the glaze turn smooth and pourable. Bittersweet chocolate is a useful swap if you prefer a darker, less-sweet finish.

Three Stages for Keeping the Layers Neat

Thicken and Chill the Pastry Cream

Warm the milk with part of the sugar until it’s steaming, and whisk the yolks with the remaining pastry-cream sugar and cornstarch until smooth. Slowly whisk about a cup of the hot milk into the yolks, then return everything to the saucepan. Whisk constantly over medium heat until the cream is thick and bubbling, continue whisking for one minute, then stir in the vanilla. Transfer it to a bowl, press plastic wrap directly onto the surface, and refrigerate for at least two hours, until cold.

Mix and Bake the Cake Layers

Heat the oven to 350°F, coat two 8-inch round pans with nonstick spray, and line their bottoms with parchment rounds. Whisk the flour, baking powder, and salt together; in a separate large bowl, beat the butter and sugar until light and fluffy, about two minutes. Add the eggs one at a time, mix in the vanilla, then add the flour mixture in three additions, alternating with the milk in two additions and beginning and ending with flour. Divide the batter between the pans and bake for 22 to 26 minutes; the tops should spring back when lightly pressed, and a toothpick in the center should come out clean. Cool the cakes in their pans for 10 minutes, turn them onto wire racks, remove the parchment, and let them cool completely.

Stack, Glaze, and Let the Top Set

Set one cake layer on a serving plate and spread the cold pastry cream evenly over it, then place the second layer on top and refrigerate the stack for 20 minutes. Put the chopped chocolate in a heatproof bowl, heat the cream until steaming with small bubbles at the edges, and pour it over the chocolate. Let it stand for three minutes before stirring until smooth, then cool the glaze for five to 10 minutes, until thickened but still pourable. Pour it over the center of the cake, spread it to the edges, and refrigerate for 30 minutes, until set.

Two Easy Ways to Adapt the Chocolate and Cake

Use a Gluten-Free Baking Blend

Replace the all-purpose flour with a one-to-one gluten-free flour blend made for baking. The cake layers may be a little more delicate, so handle them gently when turning them out and stacking them.

Make the Glaze More Bittersweet

Swap the semisweet chocolate for bittersweet chocolate, keeping the same amount. The glaze will taste darker and less sweet, which puts a little more emphasis on the vanilla cake and custard.

Make-Ahead and Storage

  • Make ahead: Prepare the pastry cream in advance and keep it refrigerated. Bake the cake layers ahead too, then assemble once they’re completely cool and the pastry cream is cold.
  • Refrigerator: Cover the assembled cake and refrigerate it for up to 3 days. The cake will gradually soften as it sits against the pastry cream.
  • Freezer: I don’t recommend freezing the assembled cake; the pastry cream can become watery or grainy after thawing.

Questions That Come Up Before Slicing Boston Cream Pie

Can I use salted butter instead of unsalted?+

Yes. Leave out the table salt in the cake batter when you use salted butter. The finished cake may taste slightly saltier depending on the butter brand, but the layers will still bake properly.

Can I bake all the batter in one pan?+

I wouldn’t bake it as one thick cake. The center would take longer to bake than the edges, so the stated baking time wouldn’t apply; use two 8-inch round pans for even layers.

How do I cut clean slices through the chocolate glaze?+

Use a long, sharp knife warmed under hot water, then wipe it dry before cutting. Clean and dry the blade between slices so chocolate and custard don’t smear across the cut edges.

Can I use a hand mixer for the cake batter?+

Yes, a hand mixer works for creaming the butter and sugar and beating in the eggs. Turn it to low when adding the flour and milk, and stop as soon as the batter is combined so the cake stays tender.

Classic Boston Cream Pie

Classic Boston cream pie layers tender vanilla cake with cold pastry cream and a smooth semisweet chocolate glaze. The cake chills before serving so the glaze sets over the center and edges.
Prep Time 30 minutes
Cook Time 26 minutes
Chilling and resting 3 hours 3 minutes
Total Time 3 hours 59 minutes
Servings: 10 servings
Course: Dessert
Cuisine: American
Calories: 455

Ingredients
  

For the pastry cream and cake
  • 2.67 cup whole milk divided: 2 cups for the pastry cream and 2/3 cup for the cake
  • 1.5 cup granulated sugar divided: 1/2 cup for the pastry cream and 1 cup for the cake
  • 4 egg yolks large
  • 3 tbsp cornstarch
  • 2 tsp vanilla extract divided: 1 teaspoon for the pastry cream and 1 teaspoon for the cake
  • 1.5 cup all-purpose flour
  • 1.5 tsp baking powder
  • 0.25 tsp table salt
  • 1 cooking spray nonstick; for the pans
  • 0.5 cup unsalted butter softened
  • 2 eggs large; at room temperature
For the chocolate glaze
  • 4 oz semisweet chocolate finely chopped
  • 0.5 cup heavy cream

Equipment

  • 2 8-inch round cake pans
  • 1 electric mixer

Method
 

Make the pastry cream
  1. In a medium saucepan, heat 2 cups of the milk with 1/4 cup of the sugar over medium heat until steaming, stirring occasionally.
  2. In a medium bowl, whisk the egg yolks, 1/4 cup of the sugar, and the cornstarch until smooth.
  3. Slowly whisk about 1 cup of the hot milk mixture into the yolk mixture.
  4. Pour the yolk mixture back into the saucepan and cook over medium heat, whisking constantly, until thick and bubbling.
  5. Keep whisking for 1 minute, then remove from the heat.
  6. Whisk in 1 teaspoon of the vanilla.
  7. Transfer the pastry cream to a bowl, press plastic wrap directly onto its surface, and refrigerate for at least 2 hours, until cold.
Bake the cake
  1. Heat the oven to 350°F, spray two 8-inch round cake pans with nonstick cooking spray, and line their bottoms with parchment rounds.
  2. In a medium bowl, whisk together the flour, baking powder, and salt.
  3. In a large bowl, beat the butter and 1 cup of the sugar until light and fluffy, about 2 minutes.
  4. Beat in the eggs one at a time.
  5. Mix in the remaining 1 teaspoon of vanilla.
  6. With the mixer on low, add the flour mixture in three additions, alternating with the remaining 2/3 cup of milk in two additions, beginning and ending with the flour mixture; mix just until combined.
  7. Divide the batter evenly between the pans and bake for 22 to 26 minutes, until the tops spring back when lightly pressed and a toothpick inserted in the centers comes out clean.
  8. Cool the cakes in their pans for 10 minutes.
  9. Turn the cakes out onto wire racks, remove the parchment, and cool completely.
Assemble and glaze
  1. Place one cake layer on a serving plate and spread the cold pastry cream evenly over it.
  2. Set the second layer on top and refrigerate for 20 minutes.
  3. Put the chopped chocolate in a heatproof bowl.
  4. Heat the heavy cream in a small saucepan until steaming with small bubbles at the edges.
  5. Pour the cream over the chocolate and let stand for 3 minutes.
  6. Stir the chocolate mixture until smooth and let it cool for 5 to 10 minutes, until thickened but still pourable.
  7. Pour the chocolate over the center of the cake and spread it to the edges.
  8. Refrigerate the cake for 30 minutes, until the glaze is set, before serving.

Notes

For smooth pastry cream, press the plastic wrap directly against its surface before chilling. Refrigerate covered for up to 3 days; freezing is not recommended because the pastry cream can change texture. For a gluten-free variation, use a 1:1 gluten-free baking flour blend.

Join our weekly recipe email

Fresh dinners, soups, and bakes—straight to your inbox. Free & easy.

Unsubscribe anytime. We respect your inbox.

Leave a Comment

Recipe Rating