This post may contain affiliate sales links. Please read my disclosure policy.
This classic Boston cream pie is made with two layers of light vanilla sponge cake filled with rich vanilla pastry cream and topped with glossy, rich chocolate ganache. Contrary to the name, it’s a cake and not a pie! Easy to make and completely delicious, you are going to love it!
Why You’ll Love This Boston Cream Pie Recipe
Fluffy cake, pastry cream, and chocolate!? What’s not to love? This dessert is both light in texture and rich. The perfected combination. Let me fill you in on some of the things that make this Boston cream pie one of the best.
- Texture. I love the textural contrast of the layers of light, fluffy cake next to the smooth, luscious pastry cream. Who could say no to that?
- Taste. This is a vanilla and chocolate combination that is classic, simple and so perfect together. The light vanilla cake, rich vanilla pastry cream and chocolatey glaze marry together beautifully.
- Presentation. Elegant yet approachable, there’s no doubt that Boston cream pie is nice to look at. The way the glossy chocolate ganache drapes over the fluffy yellow cake layers and pastry cream makes for one inviting edible art piece.
- Surprisingly easy. It might seem intimidating to make pastry cream, cake, and chocolate ganache but, honestly, each of these components is actually super simple to throw together. You can do it!
What Is Boston Cream Pie?
Less of a pie and more of a cake, this classic American dessert originated in the 1800s in – you guessed it – Boston! It’s comprised of layers of vanilla sponge cake divided by a simple vanilla pastry cream. The dessert is topped with a luscious chocolate ganache and served cold. Why is it called a “pie”? Because long ago, cakes were actually baked in pie tins.
Recipe Ingredients
Here’s what you’ll need to make this easy Boston cream pie recipe and few notable tips. Be sure to scroll to the recipe card below for precise measurements.
- Egg yolks – Start with room-temperature eggs. Cold eggs will have a hard time mixing smoothly and easily into the other ingredients. Be sure to use large eggs, not medium or extra large.
- Cornstarch – This helps to thicken the pastry cream, along with the eggs.
- Milk – Milk forms the base of the pastry cream. A higher fat content will give you the creamiest texture. I recommend whole milk.
- Vanilla extract – For flavor. I recommend a good quality extract, since a lot of the flavor of your cream and overall cake comes from the vanilla.
- All-purpose flour – Be sure to measure it properly. Too much flour will give you a dry cake. I recommend a food scale, but you can also use the spoon and level method.
- Semi-sweet chocolate chips – Milk or dark chocolate chips would also work, but will change the consistency of your glaze. Milk chocolate will make it a little thinner and dark chocolate will make it a little thicker
- Corn syrup – This lends a prettier glossy finish to the chocolate glaze, but you can leave it out, if you want.
- Heavy whipping cream – Don’t replace this in the glaze with something else, like milk. It will thin out your glaze.
How to Make Boston Cream Pie
Here’s a quick overview of how to make Boston cream pie. Don’t forget to scroll to the recipe card below for more detailed instructions.
To make the pastry cream
- Beat. Beat the egg yolks together gently.
- Cook. Whisk together the sugar and cornstarch in a large saucepan and then whisk in the milk. Cook over medium heat until the mixture begins to thicken and simmer.
- Temper. Whisk a little bit of the milk mixture into the egg yolks. Add the egg mixture to milk mixture.
- Cook. Bring the pastry cream to a light boil and cook for 1 minute, stirring continuously.
- Finish it off. Remove the saucepan from the heat and stir in the butter and vanilla extract.
- Chill. Pour the pastry cream into a bowl, cover with clear wrap pressed against the top, and chill in the fridge for 1-2 hours.
To make the cake layers
- Prep. Line the bottoms of two 9-inch cake pans with parchment paper, grease the sides, and preheat the oven to 350°F.
- Combine the dry ingredients. Whisk together the flour, baking powder, and salt.
- Whip. Whip the eggs, sugar, and vanilla extract on high speed until pale and fluffy.
- Heat. Heat the milk and butter until the butter is melted and the mixture is very hot.
- Add dry ingredients. Fold half of the dry ingredients into the whipped egg mixture and then fold in the remaining dry ingredients.
- Add hot milk. Gently whisk in the hot milk mixture.
- Bake. Divide the batter between the cake pans and bake for 20-23 minutes.
- Cool. Allow the cakes to cool in their pans for 2-3 minutes before turning them out onto cooling racks to cool completely.
To finish off the cake
- Make the chocolate glaze. Combine the chocolate chips and corn syrup in a bowl. Heat the heavy cream until just boiling and pour it over the chocolate chip mixture. Allow to sit for 1-2 minutes, then whisk until smooth.
- Smooth. Give the pastry cream a stir to smooth it out.
- Assemble. Remove the domes from the tops of the cakes and place one cake on a serving platter. Spread the pastry cream over the cake layer and top it with the second cake layer. Pour the chocolate over the top of the cake, then spread out towards the edges.
- Chill. Refrigerate the cake until ready to serve.
Making the Pastry Cream
Pastry cream isn’t hard to make, but it must be thickened properly to have success. The eggs must be tempered properly so that you don’t get scramble eggs and a lumpy cream. It also needs to be thickened enough, but not so much that the cornstarch and eggs break down. Keep these tips in mind for the best results.
- Careful with heat. Resist the temptation to turn up the heat in order to cook the pastry cream more quickly. Bring it to a boil slowly so that it gets a chance to thicken properly.
- Get the timing right. You want to cook the pastry cream long enough for the egg yolks to cook and work their thickening magic but not so long that the cornstarch starts to break down. Don’t boil it for too long.
- Temper. Pour a bit of the hot milk mixture into the egg yolks while whisking them together before folding the egg mixture into the bulk of the hot milk. This will keep the eggs from scrambling.
- Strain it. If you find your cream looks a little lumpy, you can strain it to remove the lumps prior to chilling it.
- Chill. The pastry cream will thicken while cooking, but still may seem a bit thin and not yet thick enough for the cake. It will firm up in the fridge. Let it chill for at least an hour or two, or until it develops an almost gelatin-like, thick texture.
Tips for Success
This easy recipe for Boston cream pie is pretty foolproof but you’ll want to pay close attention to these simple tips and tricks if your goal is to get it right the first time.
- Room temperature eggs. When making the pastry cream and the cake, you will want to start with room-temperature eggs. Cold eggs will not mix smoothly and easily into the pastry cream, making it more difficult to achieve the desired, smooth result. When it comes to the cake batter, room-temperature eggs will hold volume better than cold ones, allowing you to achieve a lighter, fluffier cake.
- Whip whip whip. When whipping together the eggs, sugar, and vanilla for the cake batter, do so until the mixture has significantly lightened in color and has become fluffy. This process incorporates air into the mixture, giving you a wonderfully light and fluffy cake.
- Don’t over-mix. When combing the wet and dry ingredients for the cake batter, be careful not to over-mix. This can cause the glutens in the flour to overdevelop resulting in a dense, tough cake.
- Hot milk. It might seem superfluous to heat the milk and butter before adding them to the cake batter but don’t skip this step. It will help prevent the glutens from overdeveloping and you will, as a result, find yourself with a much more tender, fluffy cake.
- Cool. Allow the cakes to cool completely before assembling. Otherwise, the pastry cream and the ganache will melt.
- Stir. Before filling the cake, give the pastry cream a thorough stirring to smooth it out.
How to Store Boston Cream Pie
- Refrigerator. Seal the cake in an airtight cake carrier or something similar. If you don’t have one, pop the cake in the fridge for a few hours to firm up before wrapping it in a double layer of plastic wrap. You can also arrange slices of Boston cream in a single layer in an airtight container. However you choose to do it, you can store your leftovers in the fridge for up to 4 days.
- Freezer/Prepping ahead. I do not recommend freezing a full Boston Cream Pie. The pastry cream can split when it thaws, leaving you with a mess. If you’d like to freeze things for prepping ahead, you can make the cake layers ahead and freeze those, then thaw them in the fridge before using. You can also make the pastry cream a day or so ahead and then layer everything together prior to serving it.
More Boston Cream Desserts
If you like this classic Boston cream pie, you are going to love some of my other variations. Here they are.
Watch How to Make Boston Cream Pie
This recipe was updated 11/27/2023. For the original recipe from 2018, download this PDF.
PrintBoston Cream Pie
- Prep Time: 45 minutes
- Chill Time: 1 hour
- Cook Time: 35 minutes
- Total Time: 2 hours 20 minutes
- Yield: 12-14 servings
- Category: Dessert
- Method: Oven
- Cuisine: American
Description
This classic Boston cream pie is made with two layers of light vanilla sponge cake filled with rich vanilla pastry cream and topped with glossy, rich chocolate ganache. Contrary to the name, it’s a cake and not a pie! Easy to make and completely delicious, you are going to love it!
Ingredients
Pastry Cream
- 4 large egg yolks, room temperature
- 3/4 cup (155g) sugar
- 4 tbsp (32g) cornstarch
- 2 cups (480ml) whole milk, room temperature
- 2 tbsp (28g) unsalted butter
- 2 tsp vanilla extract
Sponge Cake
- 1 3/4 cups (228g) all-purpose flour (measured properly)
- 2 tsp baking powder
- 1/2 tsp salt
- 3 large eggs, room temperature
- 1 1/2 cups (310g) sugar
- 1 tbsp vanilla extract
- 3/4 cup (180ml) whole milk
- 1/2 cup (112g) unsalted butter
Chocolate Glaze
- 6 oz (1 cup) semi-sweet chocolate chips
- 2 tbsp corn syrup
- 1/2 cup (120ml) heavy whipping cream
Instructions
To make the pastry cream:
- Put the egg yolks in a medium sized bowl and gently beat them together. Set aside.
- Add the sugar and cornstarch to a large saucepan and whisk together until no more lumps of cornstarch remain, then add the milk.
- Cook, stirring continuously, over medium heat until mixture just begins to thicken and simmer. Be careful not to boil it.
- Add a little bit of the milk mixture to the egg yolks and quickly whisk together, then add the egg mixture to milk mixture, putting it all back in the pan. This process ensures that you don’t cook the egg yolks too quickly and get scrambled eggs.
- Place the pan back on the heat and bring to a light boil. You should see large bubbles popping on top. Allow to boil for 1 minute, stirring continuously. Don’t boil for too long, or you can overcook it and it’ll actually break down, rather than get thicker.
- Remove from heat and add the butter and vanilla extract. Stir until smooth, then pour into a bowl and cover with clear wrap pressed against the top so that it doesn’t get a film on top. If you find your cream is lump, you can strain it. Set in the fridge to cool completely, 1-2 hours.
To make the cake layers:
- Prepare two 9-inch cake pans with parchment paper circles in the bottom and grease the sides. Preheat oven to 350°F (176°C).
- Combine flour, baking powder and salt in a medium sized bowl. Set aside.
- Add the eggs, sugar and vanilla extract to a large mixer bowl and whip on high speed until pale, fluffy and thickened, about 4 minutes.
- While the eggs are whipping, heat the milk and butter until the butter is melted and the mixture is very hot. It doesn’t have to be boiling, but it should be very hot.
- Add half of the dry ingredients to the whipped egg mixture and gently fold together until mostly combined. Add the remaining dry ingredients to the egg mixture and gently fold together until just well combined.
- Add the hot milk mixture to the batter and gently whisk together until well combined.
- Divide the batter evenly between the prepared cake pans and bake for 20-23 minutes, or until a toothpick inserted in the middle of the cakes comes out clean.
- Remove the cakes from the oven and allow to cool for 2-3 minutes, then remove to a cooling rack to finish cooling.
To finish off the cake:
- When the pastry cream and cakes have cooled completely, make the chocolate glaze. Add the chocolate chips and corn syrup to a medium size bowl.
- Heat the heavy whipping cream just until it begins to boil, then pour over the chocolate chips and corn syrup. Allow to sit for 1-2 minutes, then whisk until smooth.
- Pour the chocolate over the top of the cake, then spread out towards the edges, letting some of the chocolate drip down the sides.
- Refrigerate cake until ready to serve. Store in an air-tight carrier, if possible. The cake is best if eaten within 3-4 days.
Notes
- Refrigerator storage. Seal the cake in an airtight cake carrier or something similar. If you don’t have one, pop the cake in the fridge for a few hours to firm up before wrapping it in a double layer of plastic wrap. You can also arrange slices of Boston cream in a single layer in an airtight container. However you choose to do it, you can store your leftovers in the fridge for up to 4 days.
- Freezing/Prepping ahead. I do not recommend freezing a full Boston Cream Pie. The pastry cream can split when it thaws, leaving you with a mess. If you’d like to freeze things for prepping ahead, you can make the cake layers ahead and freeze those, then thaw them in the fridge before using. You can also make the pastry cream a day or so ahead and then layer everything together prior to serving it
Nutrition
- Serving Size: 1 Slice
- Calories: 479
- Sugar: 39.1 g
- Sodium: 132 mg
- Fat: 23.8 g
- Carbohydrates: 57.7 g
- Protein: 10.6 g
- Cholesterol: 135.2 mg
I made this cake for our birthday celebration at work. It was a big hit! Everyone said it was delicious. I think I must have done something wrong with the ganache though. It soaked into the cake. Wasn’t shiny and pretty like yours. It still tasted great, but what should I have done differently to keep the ganache from soaking in.
Hard to say from a distance but it sounds like it could have been a little thin. Maybe too much cream was added? Or are you sure you used semi-sweet chocolate? Other chocolates, like milk chocolate, would make a thinner ganache.
I’m glad everyone enjoyed it!
Can I make this a few days before a party and just keep it in the fridge? I’m making it for a friend’s birthday but i’m going to be out of town the day of the party
Technically, you could make it ahead. Because this cake is not frosted though, it’s going to dry out more quickly in the fridge. If it were me, I would probably only make it a day ahead, but you could stretch it to two if you really had to.
Could you please tell me the size of the pans dor this recipe?
Thank you ao much 😂
Made the pastry cream and refrigerated it for a few hours. Went to put it in the cake and it’s VERY solid and gelatinous. Any advice or should I just chuck it and try again?
It’s hard for me to know without being there to see it, but I would try giving it a good stir to loosen it up and smooth it out and see what it’s like then. I’m guessing it would be fine.
Great recipe, easy to follow the many steps. The cake, filling and ganache came out perfectly and assembled easily. However, when cutting the cake the filling squeezed out the sides and the top layer of cake started to slide off. Any tips on how to cut and serve this beautiful cake would be greatly appreciated.
That’s kind of a tough one. You could try thickening up your pastry cream a little bit more so that it stays in place a little bit better. You could also try a very sharp knife and just cutting it very gently and slowly. That is one of the tricky things about this kind of cake.
Loved making this cake for the first time! Cream and ganache came out wonderfully. Would need tips on how to make the cake more moist and less dry though, please!
I’m glad you enjoyed it! Maybe try baking the cake layers for a few minutes less next time.
This cake was probably the best yellow cake I have ever made! The taste and texture were perfect. The whole thing was delicious.
I’m so glad you enjoyed it!
Made this for my husband’s birthday! It was delicious and easy! I was worried if the top layer cake is too heavy for the pastry cream but it held well and the consistency was perfect! Everyone at the party loved it and I will definitely make it again. Thank you for the great recipe.
Wonderful! I’m so glad everyone enjoyed it!
Loved this recipe! And everyone loved the results!!
Wonderful! So glad to hear that!
I just finished eating the last piece of this pie. It was so good. I’ve never had this pie before and of course it’s the first time I’ve ever made it. I didn’t use your pastry cream recipe (I already had a bowl of it made for something else that didn’t work out) but I did use the rest of the recipe. Before I go to make anything I always read the reviews. So glad I did. Someone (sorry I don’t remember your name) wrote that they made a well in the cake to put the pastry cream in. I did the same. Even after putting all of that cream in the well and also putting about an half an inch over the entire bottom layer, I still had maybe a cup, cup and a half of it left over. Not only that, just having that well of pastry cream in the middle of the pie made every bite that much more yummy!! Thanks for the recipe. I now have it bookmarked…. 😉
I’m so glad you enjoyed it!
Hi Lindsey. I have a question that I don’t see written in your notes. Can I freeze the cake layers only? If yes, for how long would you suggest? I have some ingredients I need to use up before they go bad and would love to make this again. I plan to make them today so I hope to hear from you as soon as possible. Thanks…
Yes freezing the cake layers should be fine. Just wrap them well and thaw them in the fridge when you’re ready. I would probably suggest not freezing them for longer than a month.
Delicious recipe! Thank you!! Made it for my wife’s Birthday today and we loved it. I used Baileys flavored semi sweet morsels for the ganache instead of regular semi sweet.
I’m so glad to hear that! The Bailey’s chocolate chips sound delicious!
It sounds so wonderful & has been requested by a friend for a birthday next Saturday the 22nd. Do you have any idea of the amounts of carbs and fats per serving?
I don’t, but there are quite a few nutrition calculators available online. I hope you enjoy!
Do you think apples would be a great addition or any dried fruit.
I really like chocolate and fruit.
Btw I loved the cake
I’m glad you enjoyed the cake! I’m not sure about dried fruit. Not something I’ve tried before.
This is a wonderful cake for this recipe! i stuck with my pudding recipe and chocolate glaze recipe. i recommend this cake recipe. it is perfect for a boston creme pie.
Thanks for sharing! i now have a new cake recipe!
I’m glad you enjoyed it!
Can I use almond milk instead of whole milk? We have a lactose issue in our home. Thanks
I haven’t ever tried it, so I’m not sure. Sorry!
If you allow all of your cake ingredients to come to room temperature your cake will come out much better. I was a pastry chef for many years. Butter based cakes require this step for perfection.
I made this cake today. It took two attempts at making the pastry cream. The first attempt, I followed the recipe exactly and ended up with a runny cream. The problem with the recipe is the cornstarch loses its thickening properties if 1. It’s over stirred and 2. If it’s heated for too long. Simple solution to the recipe on my second attempt : mix the cornstarch in with the egg yolks and add into the warm milk. Perfect pastry cream second time around!
In all the times I’ve made this pastry cream (and it’s a lot), I haven’t had issues with the cornstarch breaking down. But I’m glad you found a solution that worked for you! 🙂