Boston Cream Pie

Allow us to present to you with Boston cream pie! This airy sponge cake is filled with rich pastry cream and topped with a shiny chocolate ganache glaze. Itโ€™s supremely decadent, satisfying, and melt-in-your-mouth delicious.

Boston cream pie on a wood and marble cake stand

Our bookshelves are full of cookbooks, but we can say with 100% honesty that our go-tos are generally authored by Americaโ€™s Test Kitchen. After all, Americaโ€™s Test Kitchen and its knowledgeable test cooks, editors, and cookware specialists put the time and effort into perfecting recipes, a practice we value and respect.

Their cookbook The Perfect Cake boasts more than 240 kitchen-tested cake and cupcakes recipes ranging from a yellow sheet cake and tres leches cake to rainbow cake and bananas Foster cake. Itโ€™s the kind of cookbook that compels you to jump out of your seat, run to the kitchen, and grab the flour. So if you enjoy baking cakes, you need this cookbook.

One recipe in particular stole our hearts: Boston cream pie. We knew that if anyone could do this classic recipe justiceโ€”completely from-scratchโ€”itโ€™s ATK.

The Perfect Cake cookbook from America's Test Kitchen

What is Boston Cream Pie?

The โ€œpieโ€ in Boston Cream Pie is a bit of a misnomer. This show-stopping dessert was originally dreamed up in the 1800s, back in the day when pies and cakes were both baked in pie plates, and names were used interchangeably. The cake features custard or pastry cream sandwiched between two rounds of buttery cake and is finished with chocolate glaze. Itโ€™s incredible.


Boston Cream Pie Recipe Details

  • Texture: The sponge cake itself is light and springy, nicely offsetting the rich pastry cream and silky chocolate glaze.
  • Flavor: We have buttery sponge cake, vanilla pastry cream, and deep chocolate flavors to satisfy taste buds. These classic flavors work wonderfully togetherโ€”what a trio!
  • Ease: This Boston cream pie may seem intimidating if youโ€™re unprepared, but donโ€™t be discouraged! Weโ€™ve provided some helpful tips, careful directions, step-by-step photos, and a video tutorial to guide you through the process. Turns out, Boston cream pie isnโ€™t terribly difficult if you break the recipe down into 3 parts: 1) pastry cream 2) sponge cake 3) chocolate glaze
  • Time: Set aside 6 hours to complete this recipe, which includes a lot of waiting as the components bake, cool, etc. This dessert definitely requires some time to make, but you just canโ€™t rush perfection.
Boston cream pie on a wood and marble cake stand
slice of Boston cream pie on a white plate with a fork

Recipe Testing: What Works & What Doesn’t

Considerations when making the pastry cream. The recipe begins with a version of my homemade pastry cream. Made with lifeโ€™s best ingredients (butter, egg yolks, vanilla extract, and sugar), this buttery sweet cake filling is everything you might imagine it to be.ย We often use it instead of peanut butter mousse when making these homemade eclairs, and we use a variation of it in mille-feuille.

The egg yolks must be gently cooked and tempered with warm half-and-half. And remember: youโ€™ll need to whisk the pastry cream constantly as it cooks and thickens. Then, allow the vanilla pastry cream to cool completely before spreading it on the cake. 

Here are a few key points to remember:

  • Pastry cream will be thick right off the stove.
  • For a smooth cream, strain to rid any lumps.
  • Place plastic wrap on the surface when cooling.

If you want to save time on the day of serving, the pastry cream can be made in advance. You can watch us prepare the pastry cream in the recipe video below, which is helpful if youโ€™ve never tempered eggs before. 

2 images of Boston cream pie pastry cream in a saucepan and in a sieve
pastry cream in a glass bowl covered with plastic wrap

How to make sponge cake. Sponge cakes are known for their delicate and airy texture, thanks to (1) a high egg-to-flour ratio and (2) the air beaten into the eggs. Americaโ€™s Test Kitchen employs the โ€œhot milk sponge cakeโ€ method, which skips the egg separation and the meticulous folding. Instead, you whisk a warm butter + milk mixture into whipped eggs + sugar, then whisk in the cakeโ€™s dry ingredients. The warm milk keeps the butter melted, thus allowing it to mix seamlessly into the batter. And since weโ€™re whisking together just 3 bowls of ingredients, this is an excellent recipe for sponge-cake beginners. We truly appreciate this simplified method, since this recipe does have a number of steps.

The sponge cakeโ€™s ingredients are pretty similar to the pastry creamโ€™s ingredients. This is what we LOVE MOST about baking. Itโ€™s the same ingredients, just beaten, mixed, and cooked in different ways. Magic.

  • Donโ€™t make our mistake! By skipping over a few words in the recipe, we managed to ruin our sponge cakesโ€ฆ twice! Thatโ€™s four 9-inch cakes completely destroyed. Line the cake pans with parchment paper. While youโ€™re at it, grease the pans before and after theyโ€™ve been lined with parchment paper. Donโ€™t even think about the shortcuts! If it’s helpful, see this parchment paper rounds for cakes video & post. You may be tempted to grease the pans and skip the parchment paper, but the cakes WILL stick. See this Recipe Testing blog post for proof!

By the way, if you love sponge cakes, youโ€™ll enjoy this impressive Vertical Cake.

Making the chocolate glaze. Rounding out our Boston cream pie is a veil of chocolate glaze, an extra glossy version of chocolate ganache. Made with 3 ingredients, this chocolate glaze is velvety and smoothโ€”and if you set it aside for a few minutes before stirring, itโ€™s also thick enough to cling to the sides of the cake. Youโ€™ll heat heavy cream and a bit of corn syrup together on the stove before pouring the mixture over finely chopped chocolate. Any dark, bittersweet, or semisweet chocolate can be used. The corn syrup adds sweetness, so avoid anything very sweet. The corn syrup also provides shine and sticking power to the glaze, and I highly recommend its addition. Honey should make a nice substitution, though I havenโ€™t tried it myself.

2 images of cake batter and prepared cake pans

Believe us, this cake is worth the effort.

Overview: How to Make Boston Cream Pie

You can find the full printable recipe towards the end of this post. We include the following summary so you can prepare yourself for all of the involved steps.

  1. Read the recipe and watch the video first. Many of the little steps are either time-sensitive or require cooling.
  2. Make the pastry cream. Heat half-and-half over medium heat. Meanwhile, whisk the egg yolks, sugar, and salt in a bowl until smooth. Whisk in flour until combined and thick. Whisk 1/2 cup warm half-and-half into the yolk mixture, then slowly whisk the tempered yolk mixture into the half-and-half in the saucepan. Cook until the mixture thickens. Remove from heat and whisk in butter and vanilla. Strain through a fine mesh strainer set over a bowl. Cover with plastic wrap and refrigerate until set.
  3. Preheat the oven. Grease 2 9-inch cake pans, line with parchment paper, then grease the parchment paper. You must use parchment! See the recipe note.
  4. Make the cake. Whisk flour, baking powder, and salt in a small bowl. Heat milk and butter over the stovetop or in the microwave, then stir in the vanilla. Whisk eggs and sugar together, add the hot milk mixture, and mix until combined. Whisk in the dry ingredients. 
  5. Bake the cakes. Divide batter evenly between the pans. Bake until light brown and a toothpick inserted into the center comes out clean. Set aside to cool.
  6. Assemble the cake. Remove the pastry cream from the refrigerator 20 minutes before assembling the cake. Place a bottom cake layer on your cake stand or serving plate. Spread pastry cream evenly on top. Place the second cake layer on top and gently press down. Refrigerate until needed.
  7. Make the glaze. Heat heavy cream and corn syrup in a small saucepan. Place chocolate in a heatproof glass bowl. Pour the hot cream over the chocolate and set aside for 5 minutes to soften the chocolate. Whisk until smooth.
  8. Pour glaze into the center of the cake. Spread glaze to the edges of the cake. Refrigerate the cake, uncovered, for at least 2 hours before slicing and serving.
heavy cream, corn syrup, and chocolate in a glass measuring cup
spreading chocolate ganache topping onto Boston cream pie
overhead image of Boston cream pie on a marble cake stand cut into slices

More Classic Recipes We Love

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
Boston cream pie on a wood and marble cake stand

Boston Cream Pie

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.6 from 80 reviews
  • Author: Sally
  • Prep Time: 4 hours
  • Cook Time: 30 minutes
  • Total Time: 6 hours
  • Yield: serves 10-12
  • Category: Cake
  • Method: Baking
  • Cuisine: American
Save Recipe

Description

Completely from-scratch with homemade pastry cream, buttery sponge cake, and shiny chocolate glaze, this classic Boston cream pie recipe is supremely decadent and satisfying.


Ingredients

Pastry Cream

  • 2 cups (480ml) half-and-half
  • 6 large egg yolks, at room temperature
  • 1/2 cup (100g) granulated sugar
  • 1/8 teaspoon salt
  • 1/4 cup (31g) all-purpose flourย (spooned & leveled)
  • 1/4 cup (4 Tablespoons; 56g) unsalted butter, cut into 4 pieces
  • 1 and 1/2 teaspoons pure vanilla extract

Sponge Cake

  • 1 and 1/2 cups (188g) all-purpose flourย (spooned & leveled)
  • 1 and 1/2 teaspoons baking powder
  • 3/4 teaspoon salt
  • 3/4 cup (180ml) whole milk
  • 6 Tablespoons (85g) unsalted butter
  • 1 and 1/2 teaspoons pure vanilla extract
  • 3 large eggs, at room temperature
  • 1 and 1/2 cups (300g) granulated sugar

Chocolate Glaze

  • 1/2 cup (120ml) heavy cream
  • 2 Tablespoons light corn syrup
  • 4 ounces (113g) bittersweet chocolate, finely chopped


Instructions

  1. Read the recipe and watch the helpful video above before beginning as there are many little steps that are time sensitive or require cooling.
  2. Make the pastry cream: Heat half-and-half in a medium saucepan over medium heat until simmering. Meanwhile, whisk egg yolks, granulated sugar, and salt together in a bowl until smooth. Add flour and whisk until combined. Mixture will be thick. Whisk about 1/2 cup half-and-half into yolk mixture to temper, then slowly whisk tempered yolk mixture into half-and-half in the saucepan. Reduce heat to medium-low and continue to cook, whisking constantly, for 5 minutes as the mixture thickens. (America’s Test Kitchen instructs for 7-8 minutes, but mine began thickening quickly.)
  3. Increase heat to medium and cook, whisking vigorously, until bubbles burst on the surface, about 1 minute. Remove from heat and whisk in the butter and vanilla extract until combined. Pastry cream will be thick. Strain through a fine-mesh strainer set over a bowl. Press plastic wrap directly on surface of pastry cream and refrigerate until set, at least 2 hours and up to 24 hours.
  4. Preheat the oven to 325ยฐF (163ยฐC). Grease two round 9-inch cake pans, line with parchment paper rounds, then grease the parchment paper. Parchment paper helps the cakes seamlessly release from the pans. (If it’s helpful, see this parchment paper rounds for cakes video & post.)
  5. Make the cake: Whisk flour, baking powder, and salt together in a small bowl. In the microwave or on the stove, heat milk and butter together until butter has melted. Stir in the vanilla extract. Cover loosely to keep warm.ย In a large bowl using a hand mixer or a stand mixer fitted with a whisk attachment, whip the eggs and granulated sugar together on high speed until light and creamy, about 4 minutes. Add hot milk mixture and whisk by hand until combined, then whisk in the dry ingredients. Batter will bubbly on top and somewhat thick, similar to pancake batter.
  6. Divide batter evenly between 2 pans. Bake until the tops of cakes are light brown and a toothpick inserted in the center comes out clean, about 20-22 minutes.
  7. Remove cakes from the oven and set on a wire rack.ย Allow to cool completely in the pan. As the cakes cool, check the pastry cream in the refrigerator. If it’s too thick, it won’t easily spread and could tear the cake. I remove pastry cream from the refrigerator about 20 minutes before assembling the cake.
  8. Assemble the cake:ย  Once cakes are cool, run a thin knife around the edges to release them from the pans. Place bottom cake layer on your cake stand or serving plate. Spread pastry cream evenly on top. Place second cake layer on top and gently press down to adhere to the pastry cream. Refrigerate cake while preparing the chocolate glaze.
  9. Make the glaze: Heat heavy cream and corn syrup in a small saucepan over medium heat until just simmering. As it heats up, place chocolate in a heat-proof glass bowl with a pouring spout (I use this 2-cup liquid measuring cup). Once simmering, remove cream from heat and pour over chocolate. Let sit, covered, for 5 minutes. Gently whisk until smooth.
  10. Pour glaze into the center of cake. Spread glaze to the edges of cake allowing it to gently drip down the sides. Refrigerate cake, uncovered, for at least 2 hours (and up to 24 hours) before slicing and serving. If chilling for longer than 2 hours, allow cake to come to room temperature before slicing and serving.
  11. Cover leftover cakeย tightly and store in the refrigerator for 5 days.

Notes

  1. Make Ahead Instructions:ย You can prepare pastry cream up to 24 hours in advance. See step 3. Baked and cooled cakes can also be prepared 24 hours in advance. Cover and store at roomย temperature, then continue with step 8. In order to maintain the proper consistency of the chocolate glaze, I recommend preparing right before pouring over cake. However, the entire assembled cake with chocolate glaze on top can be stored for up to 24 hours. See step 10. Pastry cream can weep and break if frozen, so I do not suggest freezing this cake. You can, however, freeze the baked and cooled cake layers for up to 3 months. Thaw overnight before using.
  2. Special Tools (affiliate links): Glass Mixing Bowls | Whisk | Fine-Mesh Strainer | 9-inch Round Cake Pans | Electric Mixer (Handheld or Stand) | 2-cup Liquid Measuring Cup | Icing Spatula | Cake Carrier (for storage)
  3. Substitutions: Each ingredient is crucial to the finished cake. I do not recommend substitutions, though you can get away with using the same amount of whole milk instead of half-and-half in the pastry cream. This may be more convenient since whole milk is used for the sponge cake.
  4. Egg Whites: Lots of leftover egg whites! Make a scramble or use some in any of these recipes.
  5. Corn Syrup: Feel free to leave out the corn syrup, though it’s what adds shine and sticking power to the glaze. You can try substituting with honey.
  6. Chocolate: Any dark, bittersweet, or semi-sweet chocolate is a wonderful choice for the chocolate glaze. The corn syrup adds sweetness, so avoid anything very sweet.
  7. Parchment Paper: Parchment paper is a MUST for lining the cake pans. I failed this recipe 2x before discovering how crucial the parchment paper is. All cakes were ruined until I lined the cake pans with parchment paper on the 3rd try. Parchment paper guarantees the cakes will seamlessly release from the pans. If it’s helpful, see this parchment paper rounds for cakes video & post.
  8. Recipe reprinted in partnership with America’s Test Kitchen from The Perfect Cake
Boston cream pie on a wood and marble cake stand

sally mckenney headshot purple shirt.
About the Author

Sally McKenney

Sally McKenney is a baker, food photographer, and New York Times best-selling author. Her kitchen-tested recipes and step-by-step tutorials have given millions of readers the knowledge and confidence to bake from scratch. Sallyโ€™s work has been featured on TODAY, Good Morning America, Taste of Home, People, and more.

Read More

Leave a Comment

Your email address will not be published. Required fields are marked *

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Reader Comments and Reviews

  1. Diana says:
    November 23, 2025

    Great recipe. Did have to sift flour because first attempt had clumps of flour. But as always love your recipes for all the extras about making ahead, freezing etc. thamks

    Reply
  2. Diana says:
    November 23, 2025

    Great recipe. Did have to sift flour because first attempt had clumps of flour. But as always love your recipes for all the extras about making ahead, freezing etc. thamks

    Reply
  3. Raeesa says:
    November 15, 2025

    I want to make this for a friends birthday. I want to know if I could fully frost the cake with the chocolate glaze or if there was another frosting you would recommend. I am going to decorate the cake so I need the cake fully frosted in order to decorate. Also, if I want different colored frostings and decorations would I have to use vanilla frosting so itโ€™s able to take on color? Is there a way to color chocolate frosting? I love your website and use it for all my recipes!!! Thank you!

    Reply
    1. Lexi @ Sally's Baking says:
      November 17, 2025

      Hi Raeesa, you can fully cover the cake with the chocolate glaze, although if you’d like it to remain as a thick layer like in the photos, you will likely want to scale the recipe up a bit. For coloring frosting, vanilla buttercream is best. Hope this helps and that you enjoy the cake!

      Reply
  4. Lisa says:
    October 4, 2025

    Fantastic!
    I did double the chocolate but it ended up not being necessary. After I pour the chocolate on top, it just didnโ€™t seem to be enough, running down the sides or thick enough on topโ€ฆ it would have been perfect, but I decided to add the extra chocolate which just meant I had to have a smaller piece lol! It is a sweet dessert

    Reply
  5. Jasmine Thompson says:
    September 24, 2025

    This cake turned out fantastic! Knowing that this was in collaboration with ATK I went back and forth between their video and the one linked in this recipe to double check my methods were correct. I may have slightly over whipped my eggs and sugar or whisked too much adding the wet ingredients as my cakes did sink a bit in the middle, but texture was great even with this. My only modifications were using vanilla paste instead of extract and subbing some unsweetened chocolate (40g) to get the sweetness level closer to bittersweet as I had 63% chips. I had never had Boston Cream Pie and will definitely add it to my recipes to keep on hand for the future!

    Reply
  6. Lisa B says:
    September 2, 2025

    Hi Sally,

    Could this be made into cupcakes? Just fill the inside with the pastry cream and top with the chocolate? Thank you

    Reply
    1. Lexi @ Sally's Baking says:
      September 2, 2025

      Hi Lisa, We havenโ€™t tried making this cake as cupcakes yet but they would be wonderful with the pastry cream in center and the ganache on top. Fill liners 2/3 full and bake for about 19-22 minutes, but keep a close eye on them and use a toothpick to test for doneness. If you try it just be sure to use high quality grease proof cupcake liners โ€“ and of course let us know how they turn out!

      Reply
  7. Amy says:
    August 17, 2025

    The BEST cake! I’m making this for my father for the 3rd time in two years. It’s become his absolute favorite cake. He requests it for his birthday and Father’s Day. Thank you for another wonderful recipe! I look forward to meeting you at the September book signing in Manhattan and trying out the new recipes in your cookbook!

    Reply
  8. Hali Bel says:
    July 24, 2025

    Hi Sally
    Just wondering why you use this pastry cream recipe with flour and half and half vs the other recipe for pastry cream that you have on your site?

    Reply
    1. Trina @ Sally's Baking says:
      July 24, 2025

      Hi Hali! This recipe is from Americaโ€™s Test Kitchen cookbook. In my own testing, my recipe produces pretty much the same results in terms of thickness and stability, so itโ€™s great to use in layer cakes! Either works wonderfully.

      Reply
  9. Katie says:
    July 14, 2025

    Is there any way for me to scale this up a little bit for a larger crowd? Maybe make an extra sponge and double the pastry cream and add another layer?

    Reply
    1. Michelle @ Sally's Baking says:
      July 14, 2025

      Hi Katie, you could 1.5x the recipe for another layer. Here is everything you need to know about converting recipes to different Cake Pan Sizes.

      Reply
  10. Lindsay says:
    July 8, 2025

    I only have one 9-inch cake pan. If I make the batter and let half of it sit while the first cake cooks, will the second cake turn out okay?

    Reply
    1. Trina @ Sally's Baking says:
      July 8, 2025

      Hi Lindsay! Yes, we would cover it and let it sit at room temperature while you wait to use your pan again.

      Reply
  11. Kate says:
    June 10, 2025

    It was the most amazing cake I have ever eaten. I am making for myself for my birthday!

    Reply
  12. Josianne Grenier says:
    May 16, 2025

    Hi Sally! Can I put half the quantity for the Sugar on the cake or use gonna change something?

    Reply
    1. Lexi @ Sally's Baking says:
      May 16, 2025

      Hi Josianne, while you can try reducing the sugar, it plays an important role in the taste, texture, and structure of baked goods, so the intended outcome will be different.

      Reply
  13. Kelley says:
    April 15, 2025

    This recipe is phenomenal!! Every aspect was perfect and so delicious!! Thank you!!

    Reply
    1. Kate says:
      June 10, 2025

      I agree!!

      Reply
  14. Cara says:
    April 10, 2025

    I have two extra cake layers leftover from your Best Vanilla Cake in my freezer. Would they make a suitable replacement for the cake sponge cake layers or would the texture be too different?

    Reply
    1. Sally @ Sally's Baking says:
      April 10, 2025

      Hi Cara, you can certainly use them, but they are heavier than the sponge cake here. The texture will be different, yes.

      Reply
  15. Allison S. Zhao says:
    April 9, 2025

    I wonder why the cakes are baked at 325 degrees F on the middle rack?

    Reply
  16. Stephanie says:
    March 28, 2025

    I have made this cake many times and love it. Is there a way I could make it into a marble cake.

    Reply
    1. Lexi @ Sally's Baking says:
      March 28, 2025

      Hi Stephanie, here is our marble cake recipe instead. You could use that cake with the pastry cream and chocolate ganache topping from this Boston cream pie recipe. Let us know how you like it!

      Reply