Boston Cream Pie (Sponge Cake, Thick Pastry Cream, Chocolate Glaze)

My little brother asked every single time why Boston cream pie was called a pie, because it is a cake. Nobody ever gave him a good answer, but nobody ever turned down a slice either.

Jump to recipe
Prep40 min
Cook30 min
Total4 hrs 10 min
Yield10 slices
CuisineAmerican
Boston Cream Pie (Sponge Cake, Thick Pastry Cream, Chocolate Glaze)
In this article
  1. Why this Boston cream pie works
  2. Ingredients
  3. How to make Boston cream pie
  4. Tips that make the difference
  5. Variations
  6. Storage and make-ahead
  7. Frequently asked questions

My little brother asked my mother why Boston cream pie was called a pie every single time she made it, because it is a cake, and he was right about that. She told him to eat it and stop asking questions, and he always did both. Hers was two layers of light, golden sponge cake with a thick vanilla pastry cream between them, so thick it stood up on its own when she cut it, and a shiny chocolate glaze poured over the top and left to run down the sides. Nobody really knows why it is called a pie. My mother said cakes used to be baked in pie tins long ago, and the name just stayed.

The cake and the glaze are simple. The pastry cream is the part that decides whether it works. If the pastry cream is too thin, it squeezes out the sides when you cut it and the top layer slides off. The secret is to let it come to a real boil and keep it bubbling for a full minute while you whisk, because the cornstarch only thickens properly once it boils, and then to chill it until it is completely cold and set. Here is how to get the pastry cream thick enough to hold between the layers.

Why this Boston cream pie works

  • Pastry cream boiled a full minute. Boiling activates the cornstarch so the cream sets firm and does not thin out later.
  • Chilled completely. Cold pastry cream is thick enough to spread and stays put between the layers.
  • A light hot milk sponge. Warm milk and butter make a tender, springy cake that does not get soggy under the filling.
  • Paper pressed on the cream. Plastic wrap touching the surface stops a skin from forming.
  • Glaze poured at the right warmth. Slightly cooled ganache is thick enough to drip down the sides without running off completely.

Ingredients

Makes one 9 inch two-layer cake, about 10 slices. The measurements are in US cups with grams in brackets.

For the pastry cream

  • 2 cups whole milk (480ml)
  • 5 large egg yolks
  • 1/2 cup granulated sugar (100g)
  • 1/4 cup cornstarch (30g)
  • 1/4 teaspoon fine salt
  • 2 tablespoons unsalted butter (30g)
  • 2 teaspoons vanilla extract

For the cake

  • 1 1/2 cups all-purpose flour (190g)
  • 1 1/2 teaspoons baking powder
  • 1/4 teaspoon fine salt
  • 3 large eggs, at room temperature
  • 1 cup granulated sugar (200g)
  • 1 teaspoon vanilla extract
  • 3/4 cup whole milk (180ml)
  • 4 tablespoons unsalted butter (55g)

For the chocolate glaze

  • 4 ounces semisweet chocolate, finely chopped (115g)
  • 1/2 cup heavy cream (120ml)
  • 1 tablespoon light corn syrup or honey, for shine

Make the pastry cream first, even the day before, so it has time to chill completely before you fill the cake.

How to make Boston cream pie

Make the pastry cream

  1. Heat the milk in a saucepan over medium heat until it steams and small bubbles form at the edge.
  2. In a bowl, whisk the egg yolks, sugar, cornstarch and salt until thick and pale. Pour in the hot milk in a thin stream, whisking all the time.
  3. Pour everything back into the saucepan. Cook over medium heat, whisking constantly and reaching into the corners, until it thickens and large bubbles break the surface. Keep whisking and let it boil for a full minute.
  4. Take it off the heat and whisk in the butter and vanilla. Scrape it into a bowl, press plastic wrap right onto the surface, and refrigerate for at least 3 hours, until cold and firm.

Thick vanilla pastry cream in the pan

Make the cake

  1. Heat the oven to 350 degrees (175°C). Butter two 9 inch round cake pans and line the bottoms with parchment.
  1. Whisk the flour, baking powder and salt in a bowl.
  2. In a large bowl, beat the eggs and sugar with a mixer on high speed for 5 minutes, until thick, pale and doubled. Beat in the vanilla.
  3. Heat the milk and butter together until the butter melts and the milk is hot. With the mixer on low, add the flour mixture to the eggs, then pour in the hot milk and mix just until smooth.
  4. Divide between the pans and bake for 18 to 22 minutes, until golden and springy and a toothpick comes out clean. Cool 10 minutes in the pans, then turn out onto a rack and cool completely.

Assemble and glaze

  1. Set one cake layer on a plate. Whisk the cold pastry cream briefly to loosen it, then spread it thick over the layer, stopping 1/2 inch from the edge. Set the second layer on top and press gently.
  2. Put the chopped chocolate in a bowl. Heat the cream and corn syrup until just simmering, pour over the chocolate, wait 2 minutes, then stir until smooth and shiny. Let it cool for 10 minutes.
  3. Pour the glaze onto the center of the cake and nudge it to the edges with a spatula, letting it drip down the sides.
  4. Refrigerate for at least 1 hour to set before slicing.

Pastry cream spread over the first cake layer

Tips that make the difference

  • Whisk the whole time the pastry cream cooks. It can catch and scorch on the bottom in seconds.
  • If the pastry cream turns lumpy, push it through a fine sieve while it is still hot.
  • Fill the cake only when both the cake and the pastry cream are completely cold.
  • Cut with a long sharp knife dipped in hot water and wiped between slices.

Variations

  • One layer. Bake one cake in a 9 inch pan for 30 minutes and split it in half crosswise.
  • Chocolate pastry cream. Whisk 2 ounces chopped chocolate (55g) into the hot pastry cream.
  • Cupcakes. Bake the batter in 18 cupcake liners, fill each with pastry cream from a piping bag and dip the tops in the glaze.
  • Shortcut. Use a cooked vanilla pudding thickened with an extra tablespoon of cornstarch for the filling.

Storage and make-ahead

Keep the cake covered in the refrigerator, because of the pastry cream, for up to 3 days.

Take it out 20 minutes before serving so the cake softens a little.

Do not freeze the assembled cake; the pastry cream weeps when thawed. The plain cake layers freeze well for 2 months.

Frequently asked questions

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

Nobody knows for sure. The most common story is that cakes were once baked in pie tins, and the name stayed.

Why is my pastry cream runny?

It did not boil long enough. Cornstarch must boil for about a minute to thicken fully and stay thick after chilling.

Can I make it a day ahead?

Yes. It is even better the next day, once the pastry cream has settled into the cake.

Can I use milk chocolate for the glaze?

Yes, but use a little less cream so it sets firm enough.

Cut it into tall wedges, let the chocolate drip, and when somebody asks why it is called a pie, hand them a fork instead of an answer.

Boston Cream Pie (Sponge Cake, Thick Pastry Cream, Chocolate Glaze)
Recipe

Boston Cream Pie (Sponge Cake, Thick Pastry Cream, Chocolate Glaze)

Classic Boston cream pie, which is really a cake: two layers of light yellow sponge cake filled with a thick homemade vanilla pastry cream and topped with a shiny chocolate glaze poured over so it runs down the sides.

Be the first to rate this
Prep40 min
Cook30 min
Total4 hrs 10 min
Yield10 slices
CuisineAmerican

Ingredients

  • 2 cups whole milk
  • 5 large egg yolks
  • 1/2 cup granulated sugar
  • 1/4 cup cornstarch
  • 1/4 teaspoon fine salt
  • 2 tablespoons unsalted butter
  • 2 teaspoons vanilla extract
  • 1 1/2 cups all-purpose flour
  • 1 1/2 teaspoons baking powder
  • 1/4 teaspoon fine salt
  • 3 large eggs, at room temperature
  • 1 cup granulated sugar
  • 1 teaspoon vanilla extract
  • 3/4 cup whole milk
  • 4 tablespoons unsalted butter
  • 4 ounces semisweet chocolate, finely chopped
  • 1/2 cup heavy cream
  • 1 tablespoon light corn syrup or honey, for shine

Instructions

  1. Heat the milk in a saucepan over medium heat until it steams and small bubbles form at the edge.
  2. In a bowl, whisk the egg yolks, sugar, cornstarch and salt until thick and pale. Pour in the hot milk in a thin stream, whisking all the time.
  3. Pour everything back into the saucepan. Cook over medium heat, whisking constantly and reaching into the corners, until it thickens and large bubbles break the surface. Keep whisking and let it boil for a full minute.
  4. Take it off the heat and whisk in the butter and vanilla. Scrape it into a bowl, press plastic wrap right onto the surface, and refrigerate for at least 3 hours, until cold and firm.
  5. Heat the oven to 350 degrees (175°C). Butter two 9 inch round cake pans and line the bottoms with parchment.
  6. Whisk the flour, baking powder and salt in a bowl.
  7. In a large bowl, beat the eggs and sugar with a mixer on high speed for 5 minutes, until thick, pale and doubled. Beat in the vanilla.
  8. Heat the milk and butter together until the butter melts and the milk is hot. With the mixer on low, add the flour mixture to the eggs, then pour in the hot milk and mix just until smooth.
  9. Divide between the pans and bake for 18 to 22 minutes, until golden and springy and a toothpick comes out clean. Cool 10 minutes in the pans, then turn out onto a rack and cool completely.
  10. Set one cake layer on a plate. Whisk the cold pastry cream briefly to loosen it, then spread it thick over the layer, stopping 1/2 inch from the edge. Set the second layer on top and press gently.
  11. Put the chopped chocolate in a bowl. Heat the cream and corn syrup until just simmering, pour over the chocolate, wait 2 minutes, then stir until smooth and shiny. Let it cool for 10 minutes.
  12. Pour the glaze onto the center of the cake and nudge it to the edges with a spatula, letting it drip down the sides.
  13. Refrigerate for at least 1 hour to set before slicing.
Did you make this recipe? Share a photo and tag us — we can't wait to see what you've made!
Hamza
Written by

Hamza

The cook behind Flavor Nest — easy, flavorful recipes made with fresh ingredients and a lot of love. More about me →

Newsletter

Get new recipes in your inbox

Fresh from the nest, a few times a month. No spam, ever.

Jump to recipe Pin