Boston Cream Pie Cupcakes
These Boston Cream Pie Cupcakes are my go-to when I want the nostalgia of a classic dessert in single-serving form. They’re soft vanilla cupcakes filled with rich pastry cream and finished with a shiny chocolate ganache. No complicated techniques — just straightforward steps and predictable results.
The batter is lightened with sour cream and egg whites, which makes the crumb tender and able to hold a creamy filling without collapsing. The pastry cream is cooked on the stovetop and chilled until thick; the ganache is quick and glossy. Assemble them when everything has cooled and you’ll have a dessert that looks fancy but is perfectly doable on a weeknight or for guests.
What Goes In

Ingredients
- 6 tablespoons butter, at room temperature — provides richness and tenderness in the cupcake batter.
- ¾ cup sugar — sweetens the cupcakes and helps with structure when creamed with butter.
- ¼ cup plus 2 tablespoons sour cream — adds moisture and slight tang to keep the crumb tender.
- 2 teaspoons vanilla — flavoring for both batter and pastry cream (use part in batter and reserve for cream).
- 3 egg whites, (reserve 2 yolks for pastry cream) — whites lighten the cupcake batter; two yolks are used to enrich the pastry cream.
- 1¼ cup flour — the cupcake’s structure; use all-purpose flour at room temperature.
- 2 tsp. baking powder — the leavening that lifts the cupcakes.
- ¼ teaspoon salt — balances sweetness and enhances flavor.
- ¼ cup plus 2 tablespoons milk — hydrates the dry ingredients and thins the batter to the right consistency.
- 2 tablespoons water — combined with milk to reach the proper liquid amount for the batter.
Cook Boston Cream Pie Cupcakes Like This
Cupcakes
- Preheat the oven to 350°F and line a 12-cup cupcake pan with liners.
- In a stand mixer fitted with the paddle (or using a large bowl and hand mixer), cream the 6 tablespoons butter and ¾ cup sugar together for about 4 minutes, until light and fluffy.
- Add the ¼ cup plus 2 tablespoons sour cream and 1 teaspoon vanilla to the creamed butter and sugar; mix until combined and smooth.
- Add the 3 egg whites to the mixer and beat until well incorporated.
- In a separate bowl, whisk together 1¼ cup flour, 2 tsp. baking powder, and ¼ teaspoon salt.
- In a measuring cup, combine ¼ cup plus 2 tablespoons milk with the 2 tablespoons water.
- Add half of the dry ingredients to the mixer and mix on low until just combined.
- Pour in the milk/water mixture and mix briefly to incorporate.
- Add the remaining dry ingredients and mix until combined, scraping the bottom and sides of the bowl a couple of times to ensure there are no pockets of flour.
- Fill each cupcake liner ½ to ⅔ full with batter.
- Bake for 15–18 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs. Cool cupcakes completely on a wire rack before filling.
Pastry Cream
- Separate eggs and reserve 2 egg yolks for the pastry cream (the recipe already used 3 egg whites in the cupcakes).
- In a bowl, whisk the 2 egg yolks until smooth and slightly pale.
- In a medium saucepan, combine sugar (use ¾ cup sugar total was used in cupcakes — if any of that was already used, this recipe assumes separate sugar for cream; follow source directions) with the cornstarch and milk, then place over medium heat. Whisk constantly as the mixture heats and begins to thicken.
- When the mixture starts to thicken, lower the heat and simmer for 2 minutes while continuing to whisk to fully cook the starch.
- Remove the pan from the heat. Temper the yolks by adding a small amount of the hot milk mixture to the yolks while whisking continuously so the yolks don’t scramble.
- Pour the tempered yolks back into the saucepan and return to medium-low heat. Bring to a gentle boil and cook, stirring constantly, for 2 minutes to ensure the pastry cream is thick and smooth.
- Remove from heat and stir in a bit of butter and the remaining 1 teaspoon vanilla (use the second teaspoon from the ingredient list) until incorporated. Cover the surface of the pastry cream with plastic wrap to prevent a skin from forming and cool completely in the refrigerator.
Ganache
- Place chopped chocolate in a heatproof bowl and add a small amount of corn syrup if available (source directions mention corn syrup; use what you have). Heat the cream until it just reaches a boil.
- Pour the hot cream over the chocolate and corn syrup. Cover the bowl and let it sit for a few minutes to soften the chocolate.
- Whisk until smooth and glossy. Let the ganache cool until it thickens slightly so it can be piped or spooned onto cupcakes without running off.
Assembly
- Using a small paring knife or cupcake corer, cut out the center of each cooled cupcake to create a cavity for the filling. Reserve the cut-out pieces.
- Spoon or pipe chilled pastry cream into each cavity until nearly full.
- Replace the top of each cupcake with the small piece of cake you cut out to seal the filling.
- When the ganache has thickened slightly, pipe or spoon it over each cupcake to frost. Allow the ganache to set briefly before serving.
- Store assembled cupcakes in the refrigerator.
The Upside of Boston Cream Pie Cupcakes

They deliver the classic flavor combo—vanilla cake, pastry cream, chocolate glaze—in tidy, shareable portions. Because the filling is chilled and the cake is sturdy, they travel better than a filled layer cake. They also look impressive without demanding advanced pastry skills.
Texture-Safe Substitutions

- Butter — use an equal amount of margarine in a pinch, but expect a slight flavor difference.
- Sour cream — plain yogurt (full-fat) works for moisture and tang; avoid thin yogurts that make batter runny.
- Egg whites — do not substitute whole eggs without adjusting the recipe; the whites keep the batter light.
- Milk — any cow’s milk or a neutral plant milk (like oat) is fine; avoid very thin almond milk which can weaken structure.
What’s in the Gear List
- Stand mixer or hand mixer — for creaming butter and sugar and combining batter.
- Cupcake pan and liners — standard 12-cup pan recommended.
- Measuring cups and spoons — accurate measuring keeps cupcakes consistent.
- Small saucepan — for cooking the pastry cream.
- Heatproof bowl — for making ganache.
- Whisk and spatula — for stirring and scraping batter and cream.
- Paring knife or cupcake corer — to remove centers for filling.
- Wire rack — for cooling cupcakes evenly.
Mistakes That Ruin Boston Cream Pie Cupcakes
- Overmixing the batter — creates a tough crumb. Mix just until combined after adding dry ingredients.
- Filling cupcakes while warm — warm cake collapses and pastry cream warms up. Cool cupcakes completely before filling.
- Not tempering the yolks — pouring the hot milk mixture straight into yolks will scramble them. Add hot liquid slowly while whisking.
- Pouring hot ganache onto cupcakes — it will melt the cake and run off. Let ganache cool until slightly thickened.
- Skipping the plastic wrap on the cream — pastry cream will form an unpleasant skin if uncovered while cooling.
Holiday & Seasonal Touches
For a festive touch, top the ganache with a dusting of edible gold dust or a few toasted hazelnuts. In summer, add fresh berries on the side to cut the richness. For fall, stir a pinch of cinnamon into the pastry cream for warmth without changing the structure.
Behind-the-Scenes Notes
These cupcakes are a scaled-down interpretation of Boston cream pie. The recipe uses egg whites in the cupcakes to keep the texture light while reserving yolks for the pastry cream—an efficient use of ingredients. Pastry cream benefits from full chilling so it holds shape when piped; plan ahead so each component can cool properly.
Shelf Life & Storage
Store assembled cupcakes in an airtight container in the refrigerator for up to 3 days. Because they contain pastry cream, they should remain refrigerated. If unfilled, cupcakes freeze well for up to 1 month; thaw in the refrigerator before filling and glazing.
Quick Questions
- Can I make the components ahead? — Yes. Bake cupcakes a day ahead and freeze or refrigerate. Make pastry cream and ganache a day ahead; keep chilled and rewhisk before using.
- Can I use whole eggs in the cupcakes? — The recipe specifies 3 egg whites; using whole eggs will change the texture. Stick to the given eggs for best results.
- What chocolate is best for ganache? — Use good-quality semi-sweet chocolate for a balanced glaze. Chop it finely so it melts evenly.
Before You Go
If you try these, start with the cupcakes and pastry cream earlier in the day so everything cools properly. The assembly is the fun part—cutting, filling and glazing—and the result rewards a little patience. Post a photo and tell me how you filled them: classic pastry cream or a flavored twist? I love hearing what readers do differently.

Boston Cream Pie Cupcakes
Ingredients
- 6 tablespoons butter at room temperature
- 3/4 cup sugar
- 1/4 cup sour cream plus 2 tablespoons
- 2 teaspoons vanilla extract
- 3 egg whites reserve 2 yolks for pastry cream
- 1 1/4 cup all-purpose flour
- 2 teaspoons baking powder
- 1/4 teaspoon salt
- 1/4 cup milk plus 2 tablespoons
- 2 tablespoons water
- 2 egg yolks for pastry cream (reserved from eggs)
- sugar (for pastry cream) amount per original directions (use same sugar as listed above if desired)
- cornstarch amount per original directions
- milk (for pastry cream) amount per original directions
- butter (for pastry cream) small amount to finish pastry cream
- vanilla (for pastry cream) to taste
- heavy cream for ganache, amount per original directions
- chocolate for ganache, amount per original directions
- corn syrup for ganache, small amount per original directions
Instructions
- Preheat the oven to 350°F (175°C) and line a cupcake pan with liners.
- In a mixer, cream 6 tablespoons room-temperature butter with 3/4 cup sugar for about 4 minutes until light and fluffy.
- Add 1/4 cup plus 2 tablespoons sour cream and 2 teaspoons vanilla; mix until combined.
- Add 3 egg whites and mix until incorporated.
- Whisk together 1 1/4 cups flour, 2 teaspoons baking powder, and 1/4 teaspoon salt in a separate bowl.
- Combine 1/4 cup plus 2 tablespoons milk with 2 tablespoons water in a measuring cup.
- Add half the dry ingredients to the mixer, then pour in the milk mixture, then add the remaining dry ingredients; mix until just combined, scraping the bowl as needed.
- Fill each cupcake liner 1/2 to 2/3 full and bake for 15–18 minutes, until a toothpick comes out clean; cool completely.
- Make the pastry cream: whisk the reserved 2 egg yolks in a bowl.
- In a saucepan, combine sugar, cornstarch, and the milk for the pastry cream; cook over medium heat while whisking constantly until it begins to thicken.
- Lower the heat and simmer 2 minutes, then remove from heat. Whisk a small amount of the hot mixture into the yolks to temper them, then return the yolk mixture to the saucepan.
- Bring the mixture to a gentle boil and cook 2 minutes while stirring; remove from heat and stir in a little butter and vanilla. Cover the surface with plastic wrap and cool.
- Make the ganache: bring cream to a boil, pour over chopped chocolate and corn syrup in a heatproof bowl, let sit a few minutes, then whisk until smooth and slightly thickened.
- To assemble, cut a small cone or circle from the center of each cupcake, fill with pastry cream, and replace the top piece.
- Pipe or spoon ganache on top of each cupcake once it has thickened to a spreadable consistency.
- Refrigerate the finished cupcakes until set.
Equipment
- mixer
- Mixing bowls
- Measuring cups and spoons
- Cupcake Pan
- cupcake liners
- Saucepan
- heatproof bowl
- Whisk
Notes
- Use room-temperature butter for best creaming results.
- Temper the yolks to prevent scrambling when adding hot milk.
- Cover pastry cream with plastic directly on the surface to avoid a skin.
- Let ganache cool slightly before frosting so it thickens enough to pipe.
