Boston Cream Pie Layer Cake Recipe – Simple Steps
In this article
- What ingredients are needed for Boston cream pie layer cake?
- How do I bake the vanilla sponge layers?
- How do I make the pastry cream filling?
- How do I prepare the chocolate glaze and assemble the cake?
- Why might the cake turn out dry, runny, or dense, and how can I fix each problem?
- How long does the Boston cream pie layer cake keep and how should it be stored?
- What are good serving ideas and possible ingredient swaps for this cake?
The defining element of a Boston cream pie layer cake is the silky pastry cream that fills the vanilla sponge and the glossy chocolate glaze that crowns it. This combination gives a balanced sweet‑cream flavor with a light, airy crumb.
Serves 12 · Prep 30 min · Cook 30 min · Total 3 hr 30 min
What ingredients are needed for Boston cream pie layer cake?
- 2 1/2 cups (312 g) all‑purpose flour
- 1 3/4 cups (350 g) granulated sugar
- 1 cup (226 g) unsalted butter, softened
- 4 large eggs, room temperature
- 1 cup (240 ml) whole milk, room temperature
- 2 tsp (10 ml) vanilla extract
- 2 1/2 tsp (12 g) baking powder
- 1/2 tsp (2.5 g) salt
- 2 cups (480 ml) whole milk for pastry cream
- 1/2 cup (120 ml) heavy cream for pastry cream
- 1/2 cup (100 g) granulated sugar for pastry cream
- 1/4 cup (30 g) cornstarch
- 4 large egg yolks
- 2 tbsp (30 g) unsalted butter for pastry cream
- 2 tsp (10 ml) vanilla extract for pastry cream
- 8 oz (225 g) semisweet chocolate, chopped
- 1/2 cup (120 ml) heavy cream for glaze
- 2 tbsp (30 g) unsalted butter for glaze
- Pinch of salt for glaze
How do I bake the vanilla sponge layers?
- Preheat the oven to 350°F (177°C). Grease two 9‑inch (23 cm) round cake pans and line the bottoms with parchment paper.
- In a large bowl whisk together flour, baking powder, and salt. Set aside.
- Using a handheld mixer, cream the softened butter with 1 ½ cups (300 g) of the sugar until light and fluffy, about 3–4 minutes.
- Add the eggs one at a time, beating well after each addition. Mix in the vanilla extract.
- Alternate adding the dry flour mixture and the milk, beginning and ending with the flour. Mix just until incorporated; over‑mixing will make the crumb tough.
- Divide the batter evenly between the prepared pans, smoothing the tops with a spatula.
- Bake for 25–30 minutes, or until a toothpick inserted in the center comes out clean and the tops are lightly golden.
- Allow the cakes to cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely. Trim the tops level if they have domed.
How do I make the pastry cream filling?
- In a medium saucepan combine 2 cups (480 ml) whole milk, 1/2 cup (120 ml) heavy cream, 1/2 cup (100 g) sugar, and the cornstarch. Whisk until the cornstarch is dissolved.
- Place the saucepan over medium heat and bring the mixture to a gentle boil, stirring constantly. Once it boils, continue cooking for 1–2 minutes until thickened.
- In a separate bowl whisk the 4 egg yolks. Temper the yolks by slowly adding about 1/2 cup of the hot milk mixture while whisking vigorously.
- Return the tempered yolks to the saucepan, whisking continuously. Cook for another 2–3 minutes until the cream reaches a thick, pudding‑like consistency and registers at least 160°F (71°C), the USDA FSIS safe minimum for egg dishes.
- Remove the pan from the heat and stir in 2 tbsp (30 g) butter and 2 tsp (10 ml) vanilla extract until smooth.
- Transfer the pastry cream to a shallow bowl, cover the surface directly with plastic wrap to prevent a skin from forming, and chill in the refrigerator for at least 2 hours before using.
How do I prepare the chocolate glaze and assemble the cake?
- While the pastry cream chills, make the glaze. In a small saucepan heat 1/2 cup (120 ml) heavy cream just until it begins to simmer.
- Place the chopped chocolate in a heat‑proof bowl. Pour the hot cream over the chocolate and let sit for 30 seconds, then whisk until smooth.
- Stir in 2 tbsp (30 g) butter and a pinch of salt. Let the glaze cool to a pourable but not runny temperature (about 90°F/32°C).
- Place one cooled cake layer on a serving plate. Spread a generous layer of the chilled pastry cream over the top, smoothing the edges.
- Place the second cake layer on top, pressing gently to adhere.
- Using an offset spatula, drizzle the chocolate glaze over the top, allowing it to flow down the sides. Smooth with a bench scraper if a clean edge is desired.
- Refrigerate the assembled cake for 30 minutes to set the glaze before slicing.
Why might the cake turn out dry, runny, or dense, and how can I fix each problem?
Dry sponge: Over‑baking or over‑mixing the batter can dry the crumb. Reduce bake time by checking a toothpick at 22 minutes and mix only until ingredients are just combined.
Runny pastry cream: Insufficient thickening or not reaching the safe 160°F (71°C) temperature leads to a soupy filling. Make sure the cornstarch is fully dissolved before heating and continue cooking until the mixture thickens and registers the proper temperature.
Dense or gummy glaze: Using low‑fat chocolate or cooling the glaze too quickly can cause it to set before spreading. Use semisweet chocolate with at least 35% cocoa butter and let the glaze cool to the recommended pourable temperature before drizzling.
If the assembled cake collapses, it usually means the layers were not completely cooled before adding the cream. Allow each sponge to cool on a rack for at least 20 minutes.
How long does the Boston cream pie layer cake keep and how should it be stored?
Refrigerate the whole cake, covered loosely with plastic wrap, within 2 hours of assembly. The cake stays fresh for 3–4 days. For longer storage, wrap each slice tightly in foil or freezer‑safe wrap and freeze for up to 2 months. Thaw frozen slices in the refrigerator overnight before serving.
What are good serving ideas and possible ingredient swaps for this cake?
Serve each slice with a dollop of lightly sweetened whipped cream and a handful of fresh berries such as strawberries or raspberries. A cup of brewed coffee or black tea balances the sweetness.
Ingredient swaps:
- Milk: Use 2 % milk, almond milk, or oat milk in the sponge and pastry cream. Non‑dairy milks may produce a slightly softer crumb; increase the flour by 1‑2 Tbsp to compensate.
- Butter: Substitute an equal weight of a neutral‑flavored plant‑based margarine for a dairy‑free version. The texture will be similar, but the flavor may be less rich.
- Cornstarch: Replace with double the amount of all‑purpose flour (1 Tbsp cornstarch = 2 Tbsp flour). The cream will be slightly less glossy.
- Chocolate: Use dark chocolate (70 % cacao) for a more bitter glaze, or milk chocolate for extra sweetness. Adjust sugar in the glaze by reducing 1‑2 Tbsp if using very sweet milk chocolate.
- Eggs: For a vegan version, replace the egg yolks with 1 Tbsp silken tofu blended with 1 tsp soy‑based lecithin per yolk, and use a commercial egg‑replacer in the sponge. Expect a modest change in texture.
All swaps maintain the overall structure of the cake; only flavor and mouthfeel shift slightly.