Go Back
Boston cream pie with vanilla custard filling and glossy chocolate ganache topping

The Best Homemade Boston Cream Pie Recipe (Wicked Good!) - Classic, Creamy, and Easy

Prep Time 40 minutes
Cook Time 25 minutes
Chill Time 3 hours
Total Time 4 hours
Course Dessert
Cuisine American
Servings 10 Slices

Ingredients
  

  • For the Cake: 1 1/2 cups (180g) all-purpose flour
  • 1 cup (200g) granulated sugar
  • 1 1/2 tsp baking powder
  • 1/2 tsp fine salt
  • 1/2 cup (113g) unsalted butter, softened
  • 1/2 cup (120ml) whole milk, room temperature
  • 2 large eggs, room temperature
  • 1 tsp pure vanilla extract
  • For the Pastry Cream: 2 cups (480ml) whole milk
  • 1/2 cup (100g) granulated sugar
  • 4 large egg yolks
  • 3 tbsp cornstarch
  • 2 tbsp unsalted butter
  • 1 1/2 tsp pure vanilla extract
  • Pinch of salt
  • For the Chocolate Ganache: 6 oz (170g) semi-sweet chocolate, finely chopped
  • 3/4 cup (180ml) heavy cream
  • 1 tbsp unsalted butter (optional, for extra shine)
  • Pinch of salt
  • Equipment: Two 9-inch round cake pans (or bake one and slice it horizontally)
  • Mixing bowls, whisk, saucepan
  • Rubber spatula and offset spatula
  • Plastic wrap

Instructions
 

  • Make the pastry cream first. In a saucepan, heat the milk until steaming. In a bowl, whisk sugar, egg yolks, cornstarch, and a pinch of salt until smooth. Slowly whisk in the hot milk to temper, then pour back into the saucepan. Cook over medium heat, whisking constantly, until thick bubbles form and it’s pudding-like, 1–3 minutes. Remove from heat and whisk in butter and vanilla.
  • Chill the pastry cream. Transfer to a shallow bowl, press plastic wrap directly on the surface, and chill at least 2 hours, or until firm and cold. This helps it slice cleanly.
  • Prep the pans and oven. Heat oven to 350°F (175°C). Grease and flour two 9-inch pans, or line bottoms with parchment. If using one pan, ensure it’s tall enough and line well for easy removal.
  • Mix the cake batter. In a large bowl, whisk flour, baking powder, and salt. In another bowl, beat butter and sugar until fluffy, 2–3 minutes. Add eggs one at a time, then vanilla. Add dry ingredients alternately with milk, beginning and ending with dry, mixing just until combined.
  • Bake the cakes. Divide batter between pans and smooth the tops. Bake 20–25 minutes, until a toothpick comes out clean and tops spring back. Cool 10 minutes, then turn out onto a rack to cool completely. If you baked one cake, cool fully and carefully slice horizontally to make two layers.
  • Make the ganache. Place chopped chocolate in a heatproof bowl. Heat cream until just simmering, then pour it over the chocolate. Let sit 2 minutes, then stir from the center outward until smooth. Add butter and a pinch of salt for shine and balance. Let cool 10–15 minutes until thick but pourable.
  • Assemble. Place one cake layer on a serving plate. Stir the chilled pastry cream to loosen slightly, then spread it evenly, leaving a 1/2-inch border. Top with the second cake layer. Press gently to settle.
  • Glaze with ganache. Pour ganache over the top and nudge it toward the edges so it drips just slightly. You want a glossy cap, not a full coat. Let set at room temperature 20–30 minutes, or chill briefly to firm.
  • Rest before slicing. For the cleanest slices, chill 1 hour before cutting. Run a warm knife through each slice and wipe between cuts.