The classic Boston cream pie consists of moist vanilla sponge cake layers filled with pastry cream and topped with a rich chocolate ganache. This indulgent cake recipe is definitely worth the additional effort!

Soft Vanilla Cake with Cream Filling and Chocolate Glaze
What is Boston Cream Pie?
Boston Cream Pie is the official dessert of Massachusetts, and it’s so delicious that it could make you want to live there just for this dessert! According to the history, it was first made at the Parker House Hotel in Boston in the late 1800s. While sponge cakes with custard fillings already existed, what set Boston Cream Pie apart was the addition of a chocolate frosting, which was unusual for cakes at the time. Originally, it was called Chocolate Cream Pie, then Parker Cream Pie, before finally being named Boston Cream Pie. If you’ve never tried Boston Cream Pie, you’re in for a treat – it might become your new favorite dessert!

Soft Vanilla Cake with Cream Filling and Chocolate Glaze
When you take your very first bite, something magical happens. The cake’s gentle, fluffy texture gives way to the luxurious pastry cream inside, and the chocolate ganache adds a perfect balance to the sweetness. Boston Cream Pie is not just a dessert; it’s like a work of art where flavors come together in a beautiful dance, celebrating the delight of simplicity done right.
With every single bite, you’ll understand why Boston Cream Pie is a legendary treat, cherished by dessert lovers all over the world. It’s a dessert that captures the very essence of deliciousness, leaving you utterly satisfied and craving another slice.
Boston Cream Pie Ingredients:
I’ve included a detailed list of ingredients in the recipe below, but here’s a quick summary of some of the key ones.
- Whole Milk: It’s used in both the pastry cream and sponge cake batter. I recommend using whole milk rather than 2% or skim to ensure the pastry cream sets properly and the cake stays moist.
- Eggs: The pastry cream calls for egg yolks, while the cake batter uses whole eggs. Make sure you don’t mix them up when following the recipe.
- Cornstarch: This ingredient is essential for thickening the pastry cream. Don’t skip it, as the pastry cream won’t set properly without it.
- Flour: Be sure to measure the flour by spooning and leveling it, as using too much can affect the recipe.

Soft Vanilla Cake with Cream Filling and Chocolate Glaze
Do You Refrigerate Boston Cream Pie?
Yes, it should be refrigerated because it contains pastry cream. If left out for too long, the pastry cream can spoil. You can refrigerate the cake for up to 4 days in an airtight container.
Can This Recipe Be Made in Advance?
Yes, the cake layers can be made up to two days in advance. Wrap them tightly in plastic wrap and refrigerate them until you’re ready to use them. The pastry cream can also be prepared for up to three days before assembling the cake. Simply place a piece of plastic wrap directly onto the pastry cream to prevent it from forming a skin.

Soft Vanilla Cake with Cream Filling and Chocolate Glaze
Tips:
- The pastry cream recipe will give you a bit more than two cups. While I like to use it all when assembling the cake, you can use less if you prefer a lighter filling.
- The corn syrup in the chocolate ganache is optional, but it’s highly recommended because it makes the ganache shinier.
- For the best results, use full-fat heavy cream and milk in this recipe. The extra fat content helps the ganache and pastry cream set up properly.
Love Pies? Be sure to check out these other great pie recipes!
BOSTON CREAM PIE
A traditional Boston Cream Pie is a delicious dessert made of soft layers of vanilla sponge cake. These layers are filled with creamy pastry and finished off with a glossy layer of chocolate ganache on top.
prep time: 1hour
cook time: 30 minutes
chilling time: 4 hours
total time: 5 hours 30 minutes
SERVINGS: 8 SLICES
INGREDIENTS
For Pastry Cream:
- 1/2 cup of granulated sugar (100 grams)
- 1/4 cup of cornstarch or cornflour (32 grams)
- 2 cups of whole milk (480 ml)
- 4 large egg yolks
- 3 tablespoons of unsalted butter, sliced into tablespoon-sized pieces (45 grams)
- 2 teaspoons of pure vanilla extract
For Sponge Cake:
- 2 cups of all-purpose flour, spooned and leveled (250 grams)
- 2 teaspoons of baking powder
- 1/2 teaspoon of salt
- 1/2 cup of unsalted butter, sliced and at room temperature (115 grams)
- 1 cup of whole milk (240 ml)
- 4 large eggs at room temperature
- 2 cups of granulated sugar (400 grams)
- 2 tablespoons of vegetable or canola oil (30 ml)
- 2 teaspoons of pure vanilla extract
For Chocolate Ganache:
- 4 ounces of semi-sweet chocolate, chopped (113 grams)
- 1 tablespoon of light corn syrup (20 grams)
- 1/2 cup of heavy whipping cream (120 ml)
INSTRUCTIONS
To make the pastry cream:
- Get a big saucepan and mix together the sugar and cornstarch until they’re all mixed up. Put this aside.
- In another big bowl, take the milk and egg yolks and whisk them until they’re all blended together. Slowly pour this mixture into the saucepan with the sugar and cornstarch. Keep whisking until everything is mixed well.
- Put the saucepan on the stove over medium heat and let it heat up. Stir it often and use a rubber spatula to scrape the sides and bottom a few times. You want it to boil for about a minute until it gets thicker.
- Now, take the saucepan off the heat and add the butter. Do this one tablespoon at a time, and then add the vanilla extract.
- To make sure everything is smooth, strain the mixture through a fine-mesh strainer into a heat-proof bowl. Cover the custard with plastic wrap, but make sure the wrap touches the surface of the custard. Then, put it in the fridge for around 2 hours until it’s nice and cold.
To make the sponge cake:
- Preheat your oven to 350°F (180°C). Take two 9-inch cake pans, grease them with nonstick cooking spray, place parchment paper at the bottom, and set them aside.
- In a big mixing bowl, sift together the flour, baking powder, and salt. Put this aside for now.
- Now, in a large saucepan, mix the sliced butter and milk. Heat it up on the stove over medium heat. Stir it now and then. Once it starts to simmer, take it off the heat and let it cool a bit.
- In another large bowl, use a handheld mixer or a stand mixer with the whisk attachment to beat the eggs and sugar together. Keep at it until the mixture gets thick and turns light in color, which takes about 5 minutes.
- Add the oil and vanilla extract and mix them in well.
- Carefully add the dry ingredients and mix until they are just combined.
- Pour the hot milk and butter mixture into the batter, and gently fold or mix it in at a low speed until everything is just combined.
- Now, pour the cake batter into the prepared pans, spreading it out evenly.
- Bake for 25 to 30 minutes, or until a toothpick you stick into the center of the cake comes out clean.
- Let the cakes cool on a wire rack for at least 20 to 30 minutes before taking them out of the pans. Allow the cake layers to cool completely.
To assemble the cake:
- When your pastry cream is nice and cold and you’re ready to use it, give it a good whisk until it’s smooth. If it’s too chilly, leave it at room temperature for 15 to 20 minutes.
- If your cake layers have uneven tops, make them flat using a cake leveler or a knife. Put one of the cake layers on a cake stand or a big plate.
- Now, create a border of pastry cream around the outer edge of the cake layer, but leave about an inch around the edge without any cream. After that, spread the rest of the pastry cream in the center, making it nice and even.
- Take the second cake layer and place it gently upside-down on top of the pastry cream. Give it a little press to help the pastry cream filling spread to the edges.
- Put the whole thing in the fridge while you get the ganache ready.
To make the chocolate ganache:
- Take the chopped chocolate and corn syrup and put them in a big heatproof bowl. Leave it there for now.
- Get some heavy whipping cream in a glass measuring cup and warm it up in the microwave for about 45 seconds to a minute.
- Pour the warm cream over the chocolate in the bowl. Let it sit for 2 minutes. Start stirring slowly in the middle of the bowl, and keep stirring in one direction until everything is smooth and mixed well.
- Give it a little time to cool down, about 15 to 20 minutes, until the ganache thickens up but can still be poured.
- Take the cake out of the fridge. Pour the ganache right in the center of the cake top and gently spread it around.
- Stick the cake back in the fridge for 1 to 2 hours, so the ganache can get firm. After that, cut it into slices and enjoy your delicious Boston Cream Pie!
Notes:
- Storage: Put your cake in an airtight container and keep it in the fridge. It will stay fresh for up to 4 days.
- Make-Ahead: You can prepare some parts ahead of time. Make the cake layers up to 2 days in advance, wrap them well, and store them in the fridge. The pastry cream can also be made and kept in the fridge for 2 to 3 days before you put the cake together.
- If you really want to get ahead, bake the cake layers even further in advance, wrap them tightly, and freeze them. They’ll stay good in the freezer for up to 3 months. This is a great way to save time and plan ahead.

Soft Vanilla Cake with Cream Filling and Chocolate Glaze