How to Make a Classic Boston Cream Pie
Written by MasterClass
Last updated: Nov 14, 2025 • 3 min read
It's not actually a pie, and it’s not a typical cake, either—but the Boston cream pie is a classic all-American dessert nonetheless.
Learn From the Best
What Is Boston Cream Pie?
Boston cream pie isn't a pie at all—it's a two-layer sponge cake with a vanilla custard or pastry cream filling and chocolate topping. The cake itself is light, complementing the richness of the cream filling. Instead of frosting, the topping is usually a simple, sophisticated ganache.
A Brief History of the Boston Cream Pie
The term “Boston cream pie” first appeared in print in 1855. During the nineteenth century, the terms "pie" and "cake" were used interchangeably, since the two desserts were usually baked in the same type of pans. Boston cream pie likely evolved from the Washington pie, a two-layer cake filled with jam and topped with powdered sugar. The Boston version simply swapped the jam for vanilla pudding. The chocolate glaze, now considered essential to the Boston cream pie, didn't appear until the 1930s, and it wasn't widely popular until Betty Crocker recommended the chocolate topping in 1945. The chocolate version of the dessert took off, and in 1996, Boston cream pie became the official dessert of the state of Massachusetts.
How to Store Boston Cream Pie
To store Boston cream pie, tightly wrap the cake in plastic wrap. Covered in plastic, Boston cream pie will last one day at room temperature or a week in the fridge. Allow it to come to room temperature before serving.
Classic Boston Cream Pie Recipe
makes
1 cakeprep time
30 mintotal time
1 hr 10 mincook time
40 minIngredients
For the cake:
For the chocolate ganache:
- 1
Make the vanilla custard. In a medium saucepan over medium heat, bring milk and ¼ cup sugar to a gentle boil. Stir to prevent the milk at the bottom of the pot from burning.
- 2
In a medium bowl, combine egg yolks with remaining sugar and whisk to combine. Add cornstarch, whisking until smooth. Continue whisking, slowly adding about one-quarter of the milk mixture to the egg mixture.
- 3
Continue whisking, adding the milk and egg mixture to the saucepan with the remaining milk mixture. Reduce heat to low and stir mixture constantly until thickened, about 5 minutes. Remove from the heat and allow to cool, whisking occasionally.
- 4
Add cubed butter to custard and whisk to combine. Strain custard through a fine mesh sieve to remove any lumps, if necessary. Transfer custard to a medium bowl and cover with plastic wrap, applying the plastic directly to the surface of the custard. Refrigerate until ready to assemble cake.
- 5
Make the cake. Preheat the oven to 350 degrees Fahrenheit. Lightly butter and flour a 9-inch round cake pan. In a medium bowl, whisk together flour, baking powder, and salt.
- 6
In a small saucepan over low heat, combine milk and butter. Slowly bring to a boil, stirring occasionally to prevent the bottom from burning.
- 7
Meanwhile, in a large bowl, beat eggs and sugar together using an electric mixer on high speed until light, thick, and trailing, about 5 minutes. Add flour mixture and whisk until just combined.
- 8
Add the hot milk mixture to the cake batter while beating on low speed. Continue to beat until the mixture is smooth. Add vanilla and continue mixing until incorporated.
- 9
Pour cake batter into the prepared pan and smooth the top with a rubber spatula. Bake until the cake is golden, the sides of the cake come away from the pan, and a toothpick inserted into the center of the cake comes out clean, about 40 minutes. Cool cake in pan, about 10 minutes.
- 10
Remove cake from pan and allow to cool completely on a wire rack, domed side up.
- 11
Meanwhile, make the chocolate ganache. In a small saucepan over medium heat, combine heavy cream, chocolate chips, and salt. As the chocolate begins to melt, stir with a wooden spoon. Remove from heat and continue stirring until chocolate has completely melted. Keep warm.
- 12
Use a serrated knife to cut the cake into two layers. Spread the bottom cake layer with the custard filling, then place the second cake layer on top of that.
- 13
Drizzle the chocolate ganache on top of the cake. Serve at room temperature.
Become a better chef with the MasterClass Annual Membership. Gain access to exclusive video lessons taught by culinary masters, including Dominique Ansel, Gabriela Cámara, Chef Thomas Keller, Massimo Bottura, Gordon Ramsay, Alice Waters, and more.
Banana Cream Pie Recipe: How to Make Banana Cream Pie
Dec 16, 2020
Ice Cream Pie Recipe: 5 Tips for Making Ice Cream Pie
Aug 5, 2021
How to Make Chef Dominique Ansel’s Pastry Cream
May 28, 2020
Banana Pudding Cake Recipe: How to Make Banana Pudding Cake
Jan 28, 2022
Simple Red Velvet Cake Recipe: How to Make Red Velvet Cake
Mar 21, 2022
Praline Pumpkin Pie Recipe: How to Make Praline Pumpkin Pie
Jun 8, 2022
Other articles
Quick and Easy Chocolate Pudding Pie Recipe
Oct 22, 2021
No-Bake Cheesecake Recipe: How to Make No-Bake Cheesecake
Nov 8, 2021
What's the Difference Between Pie and Cobbler?
Jun 10, 2019
Chess Pie Recipe: How to Make a Classic Chess Pie
Nov 17, 2021
Simple Sugar Pie Recipe: 3 Sugar Pie Variations
Aug 26, 2021
Croquembouche Recipe: How to Make French Croquembouche
Apr 22, 2021
