Boston Cream Pie (From Scratch)

Boston Cream Pie (From Scratch)

Despite the name, there’s no crust in sight. Boston cream pie is a cake: two layers of light sponge sandwiching a thick vanilla pastry cream, crowned with a pour of glossy chocolate glaze. The dessert is widely credited to Boston’s Parker House Hotel in the mid-1800s, and it was later named the official dessert of Massachusetts. The “pie” label likely dates to a time when cakes were often baked in pie tins.

Our from-scratch Boston cream pie uses a hot-milk sponge, which is tender and springy but sturdy enough to hold a generous layer of custard. It takes some time, mostly hands-off chilling, so it’s a satisfying weekend project. Each component is simple on its own, and we’ll explain why each step matters.

Advertisement

Why you’ll love it

Why You’ll Love This Recipe

  • Silky homemade pastry cream. Made with half-and-half and six yolks, it’s rich, smooth and pipeable.
  • Light, springy sponge. The hot-milk method produces a fine, moist crumb that doesn’t turn soggy under the filling.
  • Glossy, drippy glaze. A touch of corn syrup gives the chocolate a beautiful shine.
  • Make-ahead components. The pastry cream can chill for up to 24 hours before assembly.
  • A true classic. It’s a showpiece dessert for birthdays, holidays and New England-themed dinners.

What you need

Ingredients You’ll Need

There are three parts here: pastry cream, cake and glaze. The recipe card lists every amount; these are the ingredients that matter most.

  • Half-and-half: Richer than milk and lighter than cream, it gives the pastry cream body without heaviness.
  • Egg yolks: Six room-temperature yolks thicken the filling and give it a golden color.
  • Flour (in the pastry cream): Just ¼ cup (31g) helps the custard set firm enough to slice, and it makes the cream less likely to curdle.
  • Whole milk and butter: Heated together for the sponge, they add moisture and flavor and help the batter bake up tender.
  • Eggs and sugar: Whipped until light, they’re the main source of lift in the cake.
  • Heavy cream and corn syrup: The base of a pourable glaze that sets with a soft sheen.
  • Bittersweet chocolate: 4 oz (113g), finely chopped so it melts evenly.
Advertisement

The method

How to Make Boston Cream Pie

Step 1: Cook the Pastry Cream

Bring the half-and-half to a simmer. Meanwhile, whisk the yolks, sugar and salt until smooth, then whisk in the flour. Temper the yolks with about ½ cup of the hot half-and-half, whisking constantly, then whisk the mixture back into the pan. Tempering warms the yolks gradually so they don’t scramble.

Step 2: Thicken and Chill

Cook over medium-low, whisking constantly, for about 5 minutes as it thickens. Raise the heat to medium and whisk until bubbles burst on the surface, about 1 minute; this short boil cooks out the raw flour taste and fully activates the thickeners. Off the heat, whisk in the butter and vanilla. Strain into a bowl, press plastic wrap onto the surface to prevent a skin and refrigerate at least 2 hours, or up to 24.

Step 3: Mix the Sponge

Heat the oven to 325°F (163°C). Grease two 9-inch pans, line with parchment and grease the paper. Whisk the flour, baking powder and salt. Heat the milk and butter until the butter melts, stir in the vanilla and keep it warm. Whip the eggs and sugar on high for about 4 minutes until light, then whisk in the hot milk by hand, followed by the dry ingredients. Mixing by hand at this stage protects the air you just whipped in.

Step 4: Bake the Layers

Divide the batter between the pans and bake 20–22 minutes, until lightly browned and a toothpick comes out clean. The low oven temperature helps the thin layers bake evenly without doming. Cool completely in the pans.

Step 5: Fill the Cake

Let the pastry cream soften at room temperature for about 20 minutes so it spreads easily. Set one layer on a plate, spread it with the pastry cream and top with the second layer. Refrigerate while you make the glaze.

Step 6: Glaze and Chill

Bring the cream and corn syrup to a simmer, pour over the chopped chocolate, cover for 5 minutes, then whisk smooth. Pour the glaze onto the center of the cake and spread it so it drips down the sides. Chill at least 2 hours before slicing so the filling sets.

Advertisement

Tips & common mistakes

Expert Baking Tips

  • Whisk without stopping while the pastry cream cooks. The bottom of the pan scorches quickly.
  • Always strain the custard. It catches any bits of cooked egg for a perfectly smooth filling.
  • Leave a border. Stop the pastry cream just shy of the edge so it doesn’t squeeze out when you add the top layer.
  • Use a hot knife. Dip it in hot water and wipe between slices for clean layers.

Make it your way

Variations and Substitutions

  • Whole milk pastry cream: It works in place of half-and-half, but the filling will be a little less rich.
  • Semisweet glaze: Use semisweet chocolate for a sweeter, milder topping. For other options, see our chocolate ganache guide with ratios.
  • Cupcakes: Bake the sponge in a muffin tin, fill with pastry cream and dip the tops in glaze. You’ll need to shorten the bake time and test with a toothpick.
  • Butter cake base: Our perfect vanilla layer cake can stand in for the sponge, giving a denser, richer result.
Advertisement

Serving

Serving Suggestions

Serve slices on their own, or with fresh raspberries or strawberries to cut the richness. A cup of strong coffee is the perfect companion. If you’re planning a cream-dessert spread, pair it with our easy coconut cream pie.

Storage

Storage, Freezing and Reheating

Because of the custard filling, Boston cream pie must be refrigerated. Keep leftovers covered for up to 5 days. If it’s been chilled for a long time, let slices sit at room temperature briefly before serving so the sponge softens. We don’t recommend freezing the assembled cake: pastry cream tends to weep and turn grainy after thawing. If you want to work ahead, the unfilled sponge layers can be wrapped well and frozen for up to 3 months.

Advertisement

Questions

Frequently Asked Questions

Why is it called a pie if it’s a cake?

In the 1800s, the line between pies and cakes was blurry, and many cakes were baked in pie pans. The name stuck even after the dessert became firmly cake-like.

Why is my pastry cream runny?

It probably wasn’t cooked long enough. After it thickens, it needs to bubble for about 1 minute to fully set. Chilling it for at least 2 hours also firms it up.

Can I make Boston cream pie a day ahead?

Yes, and it often slices better. The pastry cream can be made up to 24 hours in advance, and the assembled cake keeps in the refrigerator.

Why did my pastry cream turn lumpy?

Lumps usually come from eggs that cooked too fast or from not whisking constantly. Straining the cream through a fine-mesh strainer will smooth out most lumps.

Does Boston cream pie need to be refrigerated?

Yes. The filling is an egg-based custard, so the cake should stay chilled except for a brief rest before serving.

Advertisement

Recipe Card

All three components, with exact measurements, are in the card below.

Boston Cream Pie (From Scratch)

Boston cream pie made from scratch: two tender hot-milk sponge layers filled with vanilla pastry cream and topped with glossy chocolate glaze.
Prep Time 4 hours
Cook Time 30 minutes
Total Time 6 hours
Servings: 10 slices
Course: Dessert
Cuisine: American (New England)

Ingredients
  

Pastry cream
  • 2 cups half-and-half 480ml
  • 6 large egg yolks room temperature
  • ½ cup granulated sugar 100g
  • ⅛ teaspoon salt
  • ¼ cup all-purpose flour 31g
  • ¼ cup unsalted butter 56g, cut into 4 pieces
  • 1½ teaspoons vanilla extract
Cake
  • 1½ cups all-purpose flour 188g
  • 1½ teaspoons baking powder
  • ¾ teaspoon salt
  • ¾ cup whole milk 180ml
  • 6 tablespoons unsalted butter 85g
  • 1½ teaspoons vanilla extract
  • 3 large eggs room temperature
  • 1½ cups granulated sugar 300g
Chocolate glaze
  • ½ cup heavy cream 120ml
  • 2 tablespoons light corn syrup
  • 4 oz bittersweet chocolate 113g, finely chopped

Equipment

  • Two 9-inch round cake pans
  • Medium saucepan
  • Fine-mesh strainer
  • Stand or hand mixer
  • Parchment paper

Method
 

Pastry cream
  1. Bring the half-and-half to a simmer. Whisk the yolks, sugar and salt until smooth, then whisk in the flour.
  2. Temper the yolks with about ½ cup of the hot half-and-half, then whisk the mixture back into the pan. Cook over medium-low, whisking constantly, for about 5 minutes as it thickens.
  3. Raise the heat to medium and whisk until bubbles burst on the surface, about 1 minute. Off the heat, whisk in the butter and vanilla.
  4. Strain into a bowl, press plastic wrap onto the surface and refrigerate at least 2 hours (up to 24).
Cake
  1. Heat the oven to 325°F (163°C). Grease two 9-inch pans, line with parchment and grease the paper.
  2. Whisk the flour, baking powder and salt. Heat the milk and butter until the butter melts, stir in the vanilla and keep warm.
  3. Whip the eggs and sugar on high for about 4 minutes until light. Whisk in the hot milk by hand, then the dry ingredients.
  4. Divide between the pans and bake 20–22 minutes, until lightly browned and a toothpick comes out clean. Cool completely in the pans.
Assemble
  1. Set one layer on a plate, spread with the pastry cream (softened at room temperature for about 20 minutes) and top with the second layer. Refrigerate.
  2. Bring the cream and corn syrup to a simmer, pour over the chocolate, cover for 5 minutes, then whisk smooth.
  3. Pour the glaze onto the center of the cake and spread it so it drips down the sides. Chill at least 2 hours before slicing.

Notes

Refrigerate leftovers, covered, for up to 5 days. If chilled for long, let slices sit at room temperature briefly before serving.

Related Recipes