Cinnamon and Cream

Boston Cream Pie Cake with Silky Pastry Cream and Dark Chocolate Glaze

28 min read

↓ Jump to Recipe

There is something quietly spectacular about a Boston Cream Pie. It arrives at the table looking almost restrained, dressed in nothing but dark chocolate and a few stray drips, and then you cut into it and that pale, cloud-soft pastry cream comes spilling forward and suddenly the whole room leans in. It is a cake that has been charming people since the 1850s, when it was first served at Boston’s Parker House Hotel, and nearly 175 years later it still has the power to make a dinner table go completely silent after the first bite.

What sets this version apart is the pastry cream, which is made the proper French way with egg yolks, whole milk, a generous amount of real vanilla, and just enough cornstarch to give it body without turning it gluey or stiff. It is cooked low and slow, strained for absolute smoothness, and then chilled with plastic wrap pressed directly against the surface so it stays perfectly silky. The cake layers themselves are a classic American butter cake made with both butter and a touch of sour cream for tenderness, and the chocolate glaze is a simple ganache-style pour made with heavy cream and good-quality dark chocolate. Every component is achievable on its own, and together they are genuinely extraordinary.

This recipe sits comfortably at a medium difficulty level. None of the techniques are advanced, but there are three components to prepare, so a little planning goes a long way. It is ideal for a home baker who is comfortable with basic cake baking and wants to try their first pastry cream, or anyone who loves a classic American dessert and wants to make the best possible version of it from scratch.

Prep: 55 minutesTotal: 4 hours (includes pastry cream chilling time)Yield: one 9-inch two-layer cakeDifficulty: ★★☆ IntermediateOccasion: Special Occasion
✓ Vegetarian
Servings:

12

servings

Ingredients

  • PASTRY CREAM (make first, needs 2 to 3 hours to chill)
  • 480 mlwhole milk (2 cups)
  • 100 ggranulated sugar, divided (1/2 cup), split into two portions
  • 5 Nonelarge egg yolks
  • 35 gcornstarch (1/4 cup)
  • 28 gunsalted butter, cut into cubes (2 tablespoons)
  • 2 tsppure vanilla extract
  • VANILLA BUTTER CAKE LAYERS
  • 280 gall-purpose flour (2 1/4 cups, spooned and leveled)
  • 2 tspbaking powder
  • 0.5 tspfine sea salt
  • 170 gunsalted butter, at room temperature (3/4 cup, 1.5 sticks)
  • 250 ggranulated sugar (1 1/4 cups)
  • 3 Nonelarge eggs, at room temperature
  • 2 tsppure vanilla extract
  • 120 gfull-fat sour cream, at room temperature (1/2 cup)
  • 120 mlwhole milk, at room temperature (1/2 cup)
  • DARK CHOCOLATE GLAZE
  • 170 ggood-quality dark chocolate, 60 to 70% cacao, finely chopped (6 oz)
  • 180 mlheavy cream (3/4 cup)
  • 14 gunsalted butter (1 tablespoon)
  • 1 tbsplight corn syrup (for shine and flexibility, optional but recommended)

Ingredient Substitutions

whole milk (in pastry cream)

  • Full-fat oat milk or canned coconut milk work well and produce a similarly rich cream, though coconut milk will add a faint coconut flavor.
  • 2% milk can be used but the pastry cream will be slightly less rich and may be a touch looser.
sour cream (in cake layers)

  • Full-fat plain Greek yogurt in an equal 1:1 swap works beautifully and produces nearly identical results.
  • Creme fraiche is an excellent substitute that adds a slight tang and extra richness.
whole milk (in cake layers)

  • Buttermilk can be used for a slightly more tender crumb with a gentle tang, which complements the pastry cream nicely.
  • Any plant-based milk (oat, almond, soy) works in a 1:1 swap, though the crumb will be very slightly less rich.
dark chocolate (in glaze)

  • Semi-sweet chocolate chips (60%) can be used in a pinch, though the glaze will be slightly sweeter and may not set quite as glossy.
  • Milk chocolate can be used for a sweeter, milder glaze, but reduce the cream slightly to 2/3 cup (160ml) so it sets firmly enough to pour.
corn syrup (in glaze)

  • Golden syrup or honey can be used in equal measure. Honey adds a faint floral note but works well.
  • Simply omit it if preferred. The glaze will still taste wonderful but may be slightly less glossy and will crack more easily when sliced.
egg yolks (in pastry cream)

  • There is no perfect substitute for egg yolks in pastry cream as they provide both emulsification and richness. For a dairy-free version, a custard made with 60g (1/3 cup) full-fat coconut cream, 35g cornstarch, and 60ml plant milk whisked in can approximate the texture, though the flavor will differ.

Instructions

🔧 Equipment

🟫two 9-inch round cake pans
📄parchment paper
stand mixer or hand mixer
🥣medium heavy-bottomed saucepan
🥣small saucepan
🔵fine-mesh sieve
🥣heatproof mixing bowls
🍴flexible rubber spatula
🍴offset spatula
🔵wire cooling rack
🔪long serrated bread knife
🌡️instant-read or oven thermometer
🐢6-quart slow cooker (for slow cooker method)
📡large microwave-safe mug (for microwave method)
⚖️kitchen scale (strongly recommended)
🧁plastic wrap



Prep: 55 minutes
Bake: 28 to 32 minutes at 350°F (175°C)
Total: 4 hours (includes chilling)
  1. MAKE THE PASTRY CREAM FIRST: In a medium heavy-bottomed saucepan, combine the milk and half the sugar (50g). Heat over medium heat, stirring occasionally, until steaming and just beginning to simmer around the edges. Do not boil.
  2. Meanwhile, whisk the egg yolks, remaining 50g of sugar, and cornstarch together in a medium heatproof bowl until pale and smooth, about 1 minute. This mixture should have no lumps.
  3. Temper the yolks by slowly pouring about one-third of the hot milk into the yolk mixture while whisking constantly. Pour this tempered mixture back into the saucepan with the remaining milk. Cook over medium heat, whisking constantly and making sure to reach into the corners of the pan, until the cream thickens, large bubbles begin to pop on the surface, and it holds a visible trail from the whisk. This takes about 3 to 4 minutes. Cook for 1 full minute after the first large bubble appears to cook out the raw cornstarch flavor.
  4. Remove from heat and immediately whisk in the butter and vanilla extract until completely melted and incorporated. Strain through a fine-mesh sieve into a clean bowl to remove any lumps or overcooked egg bits. Press plastic wrap directly onto the surface of the pastry cream (this prevents a skin from forming) and refrigerate for at least 2 to 3 hours, or until fully cold and set. The cream will firm up considerably as it chills.
  5. MAKE THE CAKE LAYERS: Preheat your oven to 350°F (175°C). Grease two 9-inch round cake pans, line the bottoms with parchment paper circles, then grease and flour the parchment and sides.
  6. Whisk together the flour, baking powder, and salt in a medium bowl. Set aside.
  7. In the bowl of a stand mixer fitted with the paddle attachment (or using a hand mixer), beat the room-temperature butter on medium-high speed for 2 minutes until pale and creamy. Add the granulated sugar and beat for a further 3 to 4 minutes until the mixture is very light, fluffy, and almost white in color. Scrape down the sides of the bowl.
  8. Add the eggs one at a time, beating for 30 seconds after each addition and scraping down the bowl. Add the vanilla extract with the last egg. If the mixture looks slightly curdled, do not worry; it will come together when the flour is added.
  9. Combine the sour cream and milk in a small measuring jug and stir briefly. With the mixer on low speed, add the flour mixture in three additions, alternating with the sour cream and milk mixture in two additions (flour, liquid, flour, liquid, flour). Begin and end with the flour. Mix each addition only until just combined. Do not overmix once the flour is added or the cake will be tough.
  10. Divide the batter evenly between the two prepared pans (about 520g per pan if you have a scale, which gives level layers). Smooth the tops gently. Bake for 28 to 32 minutes, until the tops are golden, the edges have pulled away slightly from the pan, and a toothpick inserted in the center comes out with just a few moist crumbs. Rotate the pans once at the halfway point.
  11. Cool the layers in the pans for 15 minutes, then turn out onto wire racks, peel off the parchment, and cool completely. The layers must be completely cool before filling.
  12. MAKE THE CHOCOLATE GLAZE: Once the layers are cool and you are ready to assemble, heat the heavy cream in a small saucepan over medium heat until it just begins to simmer. Pour it over the finely chopped chocolate and butter in a heatproof bowl. Let sit undisturbed for 2 minutes, then whisk gently from the center outward until completely smooth and glossy. Stir in the corn syrup if using. Let the glaze cool at room temperature, stirring occasionally, until it thickens to a pourable but not runny consistency, about 20 to 30 minutes. It should coat the back of a spoon and flow slowly when you tilt the bowl.
  13. ASSEMBLE: Place the first cake layer on a cake board or serving plate. If the pastry cream has become very firm in the fridge, whisk it briefly until smooth and spreadable. Spoon all of the pastry cream onto the center of the first layer and spread it evenly to within about 1/2 inch of the edge (the weight of the top layer will push it slightly outward). Place the second cake layer on top, pressing down very gently and evenly.
  14. Pour the chocolate glaze into the center of the top layer. Use an offset spatula or the back of a spoon to gently nudge it toward the edges, encouraging a few dramatic drips to fall down the sides. Do not frost the sides fully; the exposed layers and cream are part of the classic look. Let the glaze set for at least 20 minutes before slicing. For the cleanest slices, refrigerate the assembled cake for 30 minutes before cutting with a warm, sharp knife.
Prep: 55 minutes
Bake: 2 to 2.5 hours on High
Total: 5 hours (includes chilling and slow cooker cooling)
This method bakes the cake as a single layer in the slow cooker insert, then it is split horizontally and filled. It produces a denser, more moist crumb than the oven version. The pastry cream and chocolate glaze are made exactly as in the oven method. Ideal if your oven is unavailable or running hot for other dishes.
  1. Make the pastry cream and refrigerate it as described in steps 1 through 4 of the oven method. This must be done ahead and the cream must be fully chilled before assembly.
  2. Grease the insert of a 6-quart slow cooker generously with butter or non-stick spray. Line the bottom with a circle of parchment paper cut to fit, then grease the parchment. This step is important: the full batter will go into the single insert as one thick layer.
  3. Make the cake batter exactly as described in steps 6 through 9 of the oven method. Pour the entire batter into the prepared slow cooker insert and smooth the top. Place a double layer of paper towels across the top of the slow cooker insert before putting on the lid. This absorbs condensation and prevents water from dripping onto the cake, which would leave wet, gummy patches on the surface.
  4. Cook on High for 2 to 2.5 hours. Do not lift the lid for the first 2 hours. The cake is done when the edges are set and pulling away from the sides, the top looks matte and dry (not shiny or wet), and a toothpick inserted in the center comes out with just a few moist crumbs. The center will remain lighter in color than the edges, which is normal.
  5. Turn off the slow cooker and let the cake rest with the lid slightly ajar for 15 minutes. Then carefully lift the insert out (use oven mitts as it will be very hot), run a thin spatula around the edges, and invert the cake onto a wire rack. Peel off the parchment and let cool completely, at least 1.5 hours. The cake will not have a browned crust but will be tender and moist throughout.
  6. Once completely cool, use a long serrated bread knife to split the cake horizontally into two even layers. Make a small notch on the side with a toothpick first so you can realign the layers after filling. Fill with all of the chilled pastry cream, replace the top layer, and finish with the chocolate glaze exactly as described in the oven method steps 12 and 13.
Prep: 55 minutes
Bake: 90 seconds
Total: 25 minutes
This is a scaled-down, single-serving version of the Boston Cream Pie concept for when you want the flavors without baking a full cake. The pastry cream is made in a small batch on the stovetop, the cake is made in a mug, and the glaze is melted in 30 seconds. Quick, satisfying, and surprisingly close to the real thing.
  1. SMALL-BATCH PASTRY CREAM: In a small saucepan, whisk together 80ml (1/3 cup) whole milk, 1 egg yolk, 2 teaspoons sugar, and 1 teaspoon cornstarch until smooth. Cook over medium-low heat, whisking constantly, until the mixture thickens and begins to bubble, about 3 to 4 minutes. Remove from heat, whisk in 1/2 teaspoon vanilla extract and a small knob of butter (about 5g). Transfer to a small bowl, press plastic wrap to the surface, and refrigerate while you make the mug cake. It will be ready in about 15 minutes.
  2. MUG CAKE: Grease a large microwave-safe mug (at least 350ml capacity) lightly with butter. In a small bowl, whisk together 3 tablespoons (25g) all-purpose flour, 2 tablespoons (25g) granulated sugar, 1/4 teaspoon baking powder, and a tiny pinch of salt. Add 2 tablespoons (30ml) whole milk, 2 tablespoons (28g) melted butter, 1 small egg, and 1/4 teaspoon vanilla extract. Whisk until smooth. Pour into the greased mug.
  3. Microwave on full power (1000W) for 85 to 90 seconds. The cake is done when it looks set on top, slightly moist at the very center is acceptable, and a toothpick comes out with just a few moist crumbs. Every microwave is different, so check at 75 seconds. Let the mug rest for 2 minutes as it will continue cooking slightly from residual heat.
  4. MICROWAVE GLAZE: Place 2 tablespoons (28g) finely chopped dark chocolate and 1.5 tablespoons (22ml) heavy cream in a small microwave-safe bowl. Microwave on 50% power for 30 seconds, then stir until completely smooth and glossy. If not fully melted, microwave in further 10-second bursts at 50% power, stirring between each.
  5. ASSEMBLE: Let the mug cake cool for 5 minutes. If you prefer, run a knife around the edges and invert the cake onto a small plate. Spoon the chilled pastry cream over the top, then pour the chocolate glaze over the cream. Serve immediately. Alternatively, leave the cake in the mug, spoon pastry cream into the center, and pour the glaze directly in for a more casual, rustic presentation.

Nutrition Per Serving

Per 1 serving (makes one 9-inch two-layer cake)

485Calories
52gCarbs
34gSugar
27gFat
7gProtein

Why This Recipe Works

The sour cream in the cake batter does two important things: it adds fat, which coats gluten strands and keeps the crumb tender, and its acidity reacts with the baking powder to give a slightly more vigorous rise. Creaming the butter and sugar for a full 4 minutes is not just convention. It physically incorporates millions of tiny air bubbles into the fat, and those bubbles expand in the oven heat to give the cake its light, even crumb. Cutting that step short means a denser, flatter cake. The alternating addition of flour and liquid prevents gluten from developing too aggressively: adding all the flour at once would cause the gluten to tighten up under the strain of mixing, resulting in a tough, chewy texture rather than a tender one.

Pastry cream is a starch-thickened custard, and the science of making it well comes down to two key moments. First, tempering: pouring hot milk into cold egg yolks gradually raises their temperature slowly enough that they do not scramble. Pouring hot milk directly onto cold yolks without tempering would cook them into sweet scrambled eggs. Second, the full minute of boiling after the cream thickens is essential. Cornstarch contains an enzyme called amylase that, if left active, will break down the starch and cause the pastry cream to thin out and weep liquid within hours. Boiling deactivates this enzyme and ensures the cream stays thick and stable even after 3 days in the refrigerator. Pressing plastic wrap directly onto the surface prevents oxidation and the formation of a leathery skin that would create lumps.

The chocolate glaze works on the principle of a simple ganache. Pouring hot cream over finely chopped chocolate melts the chocolate gently and evenly, and the fat from the cream emulsifies with the cocoa butter in the chocolate to form a smooth, glossy, pourable sauce. Butter adds additional richness and a satin sheen. Corn syrup interferes with sugar crystallization in the chocolate, keeping the set glaze flexible and glossy rather than dull and crackly. Allowing the glaze to cool and thicken before pouring is critical: too hot and it will run straight off the cake and pool on the plate; at the right consistency it will flow slowly and stay put at the edges, creating those signature drips.

Baker’s Tips

  • Bring all refrigerated ingredients for the cake layers (butter, eggs, sour cream, milk) to room temperature at least 45 minutes before starting. Cold butter will not cream properly and cold eggs can cause the batter to break and curdle.
  • Make the pastry cream first, even the night before. It must be completely cold and set before you can fill the cake. A warm or runny pastry cream will soak into the cake layers and cause the top layer to slide.
  • Weigh your flour rather than scooping it from the bag. Scooping compacts flour and can add 20 to 30% more than intended, leading to a dry, dense cake. If you do not have a scale, spoon flour into the measuring cup and level it off with a straight edge.
  • Chop the chocolate for the glaze finely and evenly so it all melts at the same rate from the heat of the cream. Large chunks may remain unmelted and can leave a lumpy, streaky glaze.
  • For the cleanest, most dramatic slices, refrigerate the assembled cake for at least 30 minutes before cutting. Run your knife under hot water, wipe it dry, and make each cut in a single downward motion without sawing. Wipe the blade clean between each slice.
  • If your pastry cream has lumps or looks slightly curdled after chilling, whisk it vigorously for 30 to 60 seconds before spreading. It will smooth out. If it remains very lumpy, pass it through a fine-mesh sieve while pressing with a flexible spatula.

Variations

  • Espresso Pastry Cream: Whisk 1.5 teaspoons of instant espresso powder into the hot milk before tempering the yolks. The coffee flavor amplifies the dark chocolate glaze beautifully.
  • Lemon Boston Cream: Replace the vanilla extract in the pastry cream with 2 teaspoons of finely grated lemon zest and 1 teaspoon of lemon juice. Use white chocolate in place of dark chocolate for the glaze for a bright, summery version.
  • Brown Butter Cake Layers: Brown the butter before using it in the cake. Cook the butter in a light-colored saucepan over medium heat until the milk solids turn golden and nutty-smelling, then cool to room temperature until solid again before creaming. This adds a remarkable depth of flavor to the cake.
  • Mini Boston Cream Cupcakes: Pour the cake batter into 24 lined cupcake wells and bake at 350°F (175°C) for 18 to 20 minutes. Once cool, use a small melon baller or apple corer to hollow out the center of each cupcake, fill with pastry cream, replace the plug, and spoon chocolate glaze over each top.

Troubleshooting & FAQ

My pastry cream turned out lumpy, with what looks like scrambled egg bits in it. What went wrong?
This happens when the hot milk is added too quickly to the cold egg yolks, cooking them faster than the whisk can incorporate them, or when the cream is cooked over too high a heat. The fix for a slightly lumpy cream is to strain it through a fine-mesh sieve immediately while it is still hot, pressing the lumps against the mesh with a spatula. For a smoother result next time, add the hot milk in a very slow, thin stream while whisking vigorously, and use medium rather than medium-high heat.
My pastry cream was thick when I made it but turned watery and thin overnight. Why?
This is almost always caused by not cooking the pastry cream long enough after it thickens. Cornstarch contains an enzyme called amylase that will literally digest the starch and thin the cream if it is not destroyed by heat. You need to bring the cream to a full, bubbling boil and hold it there for a full 60 seconds, whisking constantly, to deactivate this enzyme. Pull the cream off too early and it will seem fine but will weep and slacken within hours.
My cake layers domed significantly in the center. How do I get flat layers?
Doming happens when the edges of the pan heat up and set faster than the center, forcing the batter to rise upward through the middle. To get flatter layers, try lowering your oven temperature by 15 to 25 degrees and extending the bake time slightly. You can also use baking strips (wet fabric strips wrapped around the outside of the pan) which insulate the sides and help the cake bake more evenly. Alternatively, once the layers are completely cool, simply use a long serrated knife to level them.
My chocolate glaze looks dull and grainy instead of glossy. What happened?
Dullness usually means the chocolate seized (came into contact with a very small amount of water or steam) or the emulsion broke because the cream was too hot or too cold when it hit the chocolate. Make sure all bowls and utensils are completely dry. Let the cream come just to a simmer, not a rolling boil, before pouring. If the glaze looks split or grainy after stirring, add a tablespoon of warm cream and whisk gently from the center outward; this often brings the emulsion back together.
The top layer of my cake slid off when I tried to serve it. How do I prevent this?
This almost always means either the pastry cream was too warm when the cake was assembled, or the cream was spread all the way to the edges with no border. Make sure the pastry cream is fully chilled and thick before filling. Spread it to within half an inch of the edge of the bottom layer so the weight of the top layer does not push it over the sides. Refrigerating the assembled cake for at least 30 minutes before serving also allows everything to firm up and hold its shape when sliced.

Storage & Make-Ahead

  • Storage: Store the assembled cake covered in the refrigerator for up to 4 days. Because of the pastry cream filling, this cake must be refrigerated and should not be left at room temperature for more than 2 hours. The unassembled cake layers can be stored at room temperature, well wrapped, for up to 2 days. Freeze unfilled cake layers wrapped in plastic wrap and then foil for up to 2 months; thaw overnight in the refrigerator. Pastry cream does not freeze well as it separates when thawed.
  • Make-Ahead: The pastry cream can be made up to 3 days in advance and stored in the refrigerator with plastic wrap pressed to its surface. The cake layers can be baked up to 2 days ahead and stored tightly wrapped at room temperature, or frozen for up to 2 months. The chocolate glaze can be made up to 1 week ahead and refrigerated in a jar; reheat gently in a bowl set over hot water or in 15-second microwave bursts at 50% power until pourable. Assemble the cake on the day of serving, or no more than 24 hours ahead.


Leave a Comment