If you’re on the hunt for a dessert that’s as elegant as it is comforting, I can’t recommend this Boston Cream Pie Recipe enough. Despite its name, this dessert is not a pie but a luscious cake that brings together tender vanilla sponge layers, creamy custard filling, and a glossy chocolate ganache topping. Every bite offers a delightful balance of fluffy cake, smooth pastry cream, and rich chocolate, making it a timeless classic that never fails to impress whether it’s for a special occasion or a cozy evening at home.

Ingredients You’ll Need
The magic of this Boston Cream Pie Recipe lies in its simple yet essential ingredients, each one playing a distinct role to create the perfect harmony of flavors and textures. From the velvety custard to the moist cake layers and shiny ganache, these components come together beautifully.
- ½ cup granulated sugar: Sweetens and balances the custard without overpowering.
- ¼ cup cornstarch: Thickens the pastry cream to a silky, firm consistency.
- 2 cups whole milk: Provides richness and creaminess to the custard and cake.
- 4 large egg yolks: Boosts the custard’s luxurious texture and flavor.
- 3 tablespoons unsalted butter, sliced: Adds smoothness to the custard filling.
- 2 teaspoons pure vanilla extract: Enhances all elements with a warm, fragrant note.
- 2 cups all-purpose flour, spooned and leveled: Forms the tender crumb of the cake layers.
- 2 teaspoons baking powder: Helps the cake rise perfectly light and fluffy.
- ½ teaspoon salt: Balances sweetness and intensifies flavors throughout.
- ½ cup unsalted butter, room temperature: Essential for a rich, moist cake texture.
- 1 cup whole milk: Moistens and enriches the cake batter.
- 4 large eggs, room temperature: Contributes to the cake’s structure and tenderness.
- 2 cups granulated sugar: Sweetens the cake layers and gives them a fine crumb.
- 2 tablespoons vegetable or canola oil: Keeps the cake moist and soft.
- 4 ounces semi-sweet chocolate, chopped: Creates the luscious chocolate ganache topping.
- 1 tablespoon light corn syrup (optional): Adds shine and smoothness to the ganache glaze.
- ½ cup heavy whipping cream: Whipped into the ganache for a rich, satiny finish.
How to Make Boston Cream Pie Recipe
Step 1: Prepare the Custard Filling
Start by whisking together granulated sugar, cornstarch, and a pinch of salt in a saucepan. Slowly add the whole milk, mixing until smooth, then cook over medium heat until the mixture thickens. Temper the egg yolks by gradually whisking in some of the hot milk mixture, then return everything to the pot. Stir constantly until the custard coats the back of a spoon. Remove from heat and stir in butter and vanilla extract for that extra creamy, aromatic finish. Chill it while you bake the cake layers.
Step 2: Make the Cake Batter
In a large bowl, sift together flour, baking powder, and salt. In another bowl, cream the butter with granulated sugar until light and fluffy, then beat in the eggs one at a time. Add oil and vanilla extract next, then alternate adding the dry ingredients with whole milk, starting and ending with the dry. This method ensures a tender yet stable batter perfect for yielding soft, moist cake layers.
Step 3: Bake the Cake Layers
Divide the batter evenly between two greased and lined 9-inch round cake pans. Smooth the tops and bake in a preheated 350°F (175°C) oven for about 25–30 minutes, or until a toothpick inserted in the center comes out clean. Let the cakes cool completely on wire racks before assembling.
Step 4: Prepare the Chocolate Ganache
Heat the heavy whipping cream in a small saucepan until just about to boil, then pour over the chopped semi-sweet chocolate in a heatproof bowl. Let it sit for a minute to melt, then stir gently until smooth and glossy. If desired, add light corn syrup to boost shine and achieve that perfect glassy finish for your ganache.
Step 5: Assemble the Boston Cream Pie
Place one cake layer on your serving plate and spread the chilled custard generously on top, smoothing it evenly. Layer the second cake on top, then pour the warm ganache over the top, letting it gently drip down the sides. Chill in the refrigerator for at least an hour to set everything beautifully before serving.
How to Serve Boston Cream Pie Recipe

Garnishes
For a classic touch, sprinkle a few fresh berries or delicate chocolate shavings on top. You can also dust the edges lightly with powdered sugar for a pretty, professional finish. These simple garnishes elevate the presentation and add a little sparkle to each slice.
Side Dishes
Boston Cream Pie pairs wonderfully with a dollop of lightly whipped cream or a scoop of vanilla ice cream to complement its creamy texture. For a refreshing contrast, you might serve it alongside a cup of freshly brewed coffee or a bright citrus sorbet to balance the richness.
Creative Ways to Present
Try assembling this Boston Cream Pie Recipe as cupcakes for a fun twist, layering the custard and ganache in individual glass jars for an elegant dessert parfait, or even cutting it into bite-sized petit fours for a party platter. The versatility of this classic makes it perfect for any occasion.
Make Ahead and Storage
Storing Leftovers
Cover any leftovers tightly and store in the refrigerator for up to 3 days. The custard and ganache keep the cake moist, but be sure to always keep it chilled to maintain freshness and prevent spoilage.
Freezing
While freezing Boston Cream Pie isn’t ideal due to its delicate custard, you can freeze the cake layers separately for up to 2 months. Thaw them completely before assembling the dessert for optimal texture and flavor.
Reheating
Boston Cream Pie is best enjoyed chilled, so reheating is not recommended. Instead, simply let slices sit at room temperature for 10 to 15 minutes to soften slightly if the refrigerator chill makes it too firm.
FAQs
Is Boston Cream Pie actually a pie?
Despite its name, Boston Cream Pie is actually a layered cake with custard filling and chocolate glaze. The name stuck historically, but it’s truly a cake that captures pie-like elements in a cake form.
Can I use a different type of chocolate for the ganache?
Absolutely! While semi-sweet chocolate is traditional, you can experiment with dark or milk chocolate depending on your sweetness preference, adjusting the balance of cream accordingly.
How long should I chill the custard before assembling?
Chilling the custard for at least 2 hours or until completely set is ideal. This helps it firm up, making it easier to spread and preventing it from oozing out when you slice the cake.
Can I make Boston Cream Pie Recipe gluten-free?
Yes, substitute the all-purpose flour with a gluten-free flour blend that measures cup-for-cup. Just be mindful that texture might slightly differ but the flavors remain wonderful.
What’s the best way to get clean slices when serving?
Use a sharp knife wiped clean between cuts, and for an extra smooth finish, dip the knife blade in hot water to warm it before slicing. This helps you get those beautiful clean edges every time.
Final Thoughts
Trust me, once you try this Boston Cream Pie Recipe, it’ll become one of your go-to desserts for celebrations or anytime you want a little slice of classic indulgence. The blend of fluffy cake, creamy custard, and rich chocolate glaze is simply irresistible and sure to delight everyone lucky enough to taste it. So go ahead, dive into this baking adventure—you’ll be so glad you did!
Print
Boston Cream Pie Recipe
- Prep Time: 1 hr
- Cook Time: 30 min
- Total Time: 1 hr 30 min
- Yield: 8 servings
- Category: Dessert
- Method: Baking
- Cuisine: American
Description
Boston Cream Pie is a classic American dessert featuring a tender yellow cake filled with creamy vanilla custard and topped with a smooth chocolate ganache. This recipe yields 8 generous slices of this timeless treat, perfect for any special occasion or indulgent dessert craving.
Ingredients
Pastry Cream
- ½ cup granulated sugar
- ¼ cup cornstarch
- 2 cups whole milk
- 4 large egg yolks
- 3 tablespoons unsalted butter, sliced
- 2 teaspoons pure vanilla extract
Yellow Cake
- 2 cups all-purpose flour, spooned and leveled
- 2 teaspoons baking powder
- ½ teaspoon salt
- ½ cup unsalted butter, sliced and at room temperature
- 1 cup whole milk
- 4 large eggs, at room temperature
- 2 cups granulated sugar
- 2 tablespoons vegetable or canola oil
- 2 teaspoons pure vanilla extract
Chocolate Ganache
- 4 ounces semi-sweet chocolate, chopped
- 1 tablespoon light corn syrup (optional, for shine)
- ½ cup heavy whipping cream
Instructions
- Make the Pastry Cream: In a medium saucepan, combine granulated sugar and cornstarch. Slowly whisk in the whole milk and egg yolks until smooth. Cook over medium heat, whisking constantly, until the mixture thickens and comes to a boil. Remove from heat and stir in sliced butter and vanilla extract until melted and smooth. Transfer to a bowl, cover with plastic wrap touching the surface, and chill until set.
- Prepare the Cake Batter: In a medium bowl, whisk together flour, baking powder, and salt. In a large bowl, cream together room temperature butter and granulated sugar until light and fluffy. Add eggs one at a time, beating well after each addition. Mix in vegetable oil and vanilla extract. Alternately add dry ingredients and milk to the butter mixture, beginning and ending with dry ingredients, mixing just until combined.
- Bake the Cake: Preheat oven to 350°F (175°C). Grease and flour two 9-inch round cake pans. Divide the batter evenly between the pans and smooth tops. Bake for 25 to 30 minutes or until a toothpick inserted into the center comes out clean. Cool cakes in pans for 10 minutes, then remove and cool completely on wire racks.
- Make the Chocolate Ganache: In a small saucepan, heat heavy cream over medium heat just until it begins to simmer. Remove from heat and pour over chopped semi-sweet chocolate and corn syrup if using. Let sit for 2 minutes, then stir until smooth and glossy.
- Assemble the Boston Cream Pie: Place one cake layer on a serving plate. Spread the chilled pastry cream evenly over the top. Carefully place the second cake layer on top. Pour the chocolate ganache over the cake, spreading it evenly to cover the top and sides if desired. Refrigerate for at least 1 hour before serving to set the ganache and filling.
Notes
- Ensure eggs and milk are at room temperature for the best cake texture.
- Cover pastry cream with plastic wrap directly on the surface to prevent a skin from forming.
- Optional corn syrup in ganache adds shine but can be omitted.
- Store leftover Boston Cream Pie refrigerated and consume within 3 days.
- For easier slicing, let the cake sit at room temperature for 10 minutes before cutting.

