Last updated: August 28, 2026
Boston cream pie is not actually a pie at all, and this version proves the confusion is worth it every single time.
You will find the full recipe card just below, so let’s walk through everything that makes this dessert work.
What Is Boston Cream Pie
Boston cream pie is a two-layer vanilla sponge cake filled with rich pastry cream and topped with a shiny chocolate ganache.

The name dates back to a time before cake pans were common, when bakers used the same tins for pies and cakes and simply kept the old label.
You get the structure of a cake with the custardy interior of a cream pie, which is exactly why the name stuck around Boston kitchens for over a century.
Why This Recipe Works
The sponge stays light because you whip the eggs and sugar until pale and thick before folding in the dry ingredients.
That whipping step traps air in the batter, so the cake rises properly without needing much baking powder, which keeps the crumb tender rather than dense.

The pastry cream sets firm enough to hold its layer, and the ganache pours smooth because you let it cool for a few minutes before glazing.
Ingredients You Will Need
The cake layers call for cake flour, granulated sugar, eggs, whole milk, unsalted butter, baking powder, salt, and vanilla extract.
Cake flour matters here because its lower protein content keeps the crumb soft, closer to a chiffon than a dense yellow cake.
For the pastry cream, gather whole milk, egg yolks, granulated sugar, cornstarch, unsalted butter, and vanilla bean paste or extract.
Egg yolks alone, rather than whole eggs, give the custard its silky texture and deep golden color once it sets in the refrigerator.
The ganache needs just two ingredients: semisweet chocolate and heavy cream, warmed together until glossy.
Choose a chocolate you would eat on its own, since a two-ingredient ganache has nowhere to hide a weak one.
How to Make the Vanilla Sponge Cake
Start by creaming softened butter with sugar until the mixture turns pale and fluffy, about three to four minutes on medium speed.

Add eggs one at a time, letting each one fully incorporate before the next, then stir in the vanilla extract.

Sift the cake flour, baking powder, and salt together in a separate bowl so the leavening distributes evenly through the batter.
Alternate adding the dry ingredients and milk to the butter mixture in three additions, starting and ending with the flour, mixing just until combined.
Overmixing at this stage develops gluten in the flour and toughens the cake, so stop as soon as you no longer see streaks of flour.
Divide the batter evenly between two greased and parchment-lined 8-inch round cake pans, then smooth the tops with a spatula.

Bake at 350°F for 22 to 25 minutes, until a toothpick inserted in the center comes out clean and the cake springs back when touched.
Cool the layers in their pans for 10 minutes before turning them out onto a wire rack to cool completely.

A cake that is even slightly warm will melt the pastry cream when you assemble it, so give the layers a full hour before filling.
Making the Pastry Cream
Whisk egg yolks, sugar, and cornstarch together in a bowl until the mixture lightens in color and no lumps of cornstarch remain.
Heat the milk in a saucepan just until it steams, then slowly pour it into the egg mixture while whisking constantly to temper the yolks.
Return the combined mixture to the saucepan and cook over medium heat, whisking continuously, until it thickens into a pudding-like custard, about three minutes.

The custard is ready once it holds a ribbon shape briefly when the whisk is lifted and coats the back of a spoon.
Remove the pan from heat and whisk in the butter and vanilla until the butter fully melts into the custard.
Press plastic wrap directly onto the surface of the pastry cream to prevent a skin from forming, then refrigerate for at least two hours.
Building the Chocolate Ganache
Chop the chocolate finely and place it in a heatproof bowl.
Heat the heavy cream in a small saucepan until it just begins to simmer around the edges, then pour it over the chocolate.

Let the mixture sit undisturbed for two minutes so the heat can soften the chocolate before you stir.
Whisk gently from the center outward until the ganache turns smooth and glossy, then let it cool for 10 minutes so it thickens slightly before pouring.
Assembling the Boston Cream Pie
Place one cake layer on a serving plate and spread the chilled pastry cream evenly across the top, leaving a small border so the cream does not spill over the edges.

Set the second cake layer on top, flat side up, pressing gently so the layers align.
Pour the slightly cooled ganache over the center of the top layer, using an offset spatula to guide it toward the edges until it drips down just slightly.

Refrigerate the assembled cake for at least 30 minutes before slicing so the pastry cream and ganache have time to set.
Tips for the Best Results
Room temperature eggs and butter incorporate more evenly, so pull them out of the refrigerator about an hour before you start.

If your ganache seizes or looks grainy, whisk in a tablespoon of warm cream at a time until it smooths back out.
A serrated knife dipped in hot water and wiped dry between cuts gives the cleanest slices through the custard layer.
Variations and Substitutions
Swap the vanilla pastry cream for a coffee-infused version by steeping a tablespoon of instant espresso powder in the hot milk before tempering the eggs.
If cake flour is not available, substitute all-purpose flour and remove two tablespoons per cup, replacing them with cornstarch.
For a rum-spiked version, brush each cake layer with a light rum syrup before spreading the pastry cream.
Storage
Store the assembled cake covered in the refrigerator for up to three days, since the pastry cream is a dairy-based custard that needs to stay cold.
The unfrosted cake layers freeze well on their own for up to two months when wrapped tightly in plastic and foil.
Thaw frozen layers overnight in the refrigerator before filling and glazing so condensation does not soften the crumb.
Serving Suggestions
Serve chilled or at cool room temperature, since the ganache slices more cleanly straight from the refrigerator.

A dusting of cocoa powder or a few fresh raspberries on the plate rounds out the presentation for a dinner party.
The History Behind Boston Cream Pie
Boston cream pie traces back to the Parker House Hotel in Boston, where a French chef named Sanzian is credited with developing the dessert in the 1850s.
It became so associated with the city that Massachusetts named it the official state dessert in 1996, beating out other contenders like the Toll House cookie.
The “pie” name persisted from an era when cake pans were scarce and bakers repurposed pie tins for cake batter, so the label stuck even after cake pans became standard kitchen equipment.
Ready to bring this bakery classic home? The full ingredient list and step-by-step recipe card are right below.
Boston Cream Pie
A tender vanilla sponge cake filled with silky pastry cream and topped with glossy chocolate ganache, Massachusetts' official state dessert made easy at home.
Ingredients
- 1 3/4 cups cake flour
- 1 cup granulated sugar
- 1/2 cup unsalted butter, softened
- 3 large eggs
- 2 teaspoons baking powder
- 1/4 teaspoon salt
- 2/3 cup whole milk
- 2 teaspoons vanilla extract
- 2 cups whole milk (for pastry cream)
- 5 large egg yolks
- 1/2 cup granulated sugar (for pastry cream)
- 1/4 cup cornstarch
- 2 tablespoons unsalted butter (for pastry cream)
- 1 teaspoon vanilla extract (for pastry cream)
- 6 ounces semisweet chocolate, chopped
- 2/3 cup heavy cream
Instructions
- Preheat oven to 350°F and grease and line two 8-inch round cake pans with parchment paper.
- Cream softened butter and sugar together until pale and fluffy, about 3 to 4 minutes.
- Add eggs one at a time, beating well after each addition, then mix in vanilla extract.
- Sift together cake flour, baking powder, and salt in a separate bowl.
- Alternate adding the dry ingredients and milk to the butter mixture in three additions, beginning and ending with the flour.
- Divide batter evenly between the prepared pans and smooth the tops.
- Bake for 22 to 25 minutes, until a toothpick inserted in the center comes out clean.
- Cool cakes in pans for 10 minutes, then turn out onto a wire rack to cool completely.
- For the pastry cream, whisk egg yolks, sugar, and cornstarch together until smooth.
- Heat milk in a saucepan until steaming, then slowly whisk it into the egg mixture to temper.
- Return the mixture to the saucepan and cook over medium heat, whisking constantly, until thickened, about 3 minutes.
- Remove from heat and whisk in butter and vanilla until smooth.
- Press plastic wrap directly onto the surface of the pastry cream and refrigerate at least 2 hours.
- For the ganache, pour hot heavy cream over chopped chocolate and let sit for 2 minutes.
- Whisk until smooth and glossy, then let cool for 10 minutes.
- Place one cake layer on a serving plate and spread the chilled pastry cream evenly on top.
- Top with the second cake layer, flat side up.
- Pour the ganache over the top, spreading gently toward the edges.
- Refrigerate assembled cake at least 30 minutes before slicing.
Notes
Use room temperature eggs and butter for the smoothest batter. Refrigerate leftovers covered for up to 3 days. Unfilled cake layers freeze well for up to 2 months.
Nutrition Information:
Yield:
10Serving Size:
1 sliceAmount Per Serving: Calories: 410Total Fat: 22gSaturated Fat: 13gSodium: 190mgCarbohydrates: 46gFiber: 1gSugar: 31gProtein: 7g
Frequently Asked Questions
Can I make Boston cream pie ahead of time?
Yes, you can make the cake layers and pastry cream up to two days ahead and store them separately in the refrigerator.
Assemble the cake with the ganache no more than a day before serving so the topping stays glossy rather than dull.
Why did my pastry cream turn out lumpy?
Lumpy pastry cream usually means the eggs cooked too quickly during tempering, so pour the hot milk in slowly while whisking constantly.
If lumps do form, straining the finished custard through a fine mesh sieve will smooth it back out.
Can I use a boxed cake mix instead of making the sponge from scratch?
You can substitute a white or yellow boxed cake mix baked in two 8-inch rounds if you are short on time.
The texture will be slightly denser than the homemade sponge, but the pastry cream and ganache will still taste just as rich.
What is the difference between Boston cream pie and Boston cream donuts?
Boston cream donuts use the same pastry cream and chocolate glaze combination but apply it to a yeasted donut instead of a layered cake.
Both desserts share the same flavor profile, just built on different bases.
How do I keep the ganache from sliding off the sides?
Let the ganache cool for a full 10 minutes before pouring so it has thickened enough to sit on top rather than run down the sides.
Pouring it while still hot is the most common reason the glaze ends up on the plate instead of the cake.
Can I freeze the fully assembled cake?
Freezing is not recommended once the pastry cream and ganache are in place, since the custard can weep and turn watery upon thawing.
Freeze the unfilled cake layers instead and assemble fresh pastry cream and ganache closer to serving day.
Final Thoughts
This Boston cream pie brings together a tender sponge, silky custard, and glossy ganache in a dessert that has earned its place as a true American classic.
Once you taste how well the layers work together, you will understand why Boston cream pie has stayed a favorite for well over a century.



