These Boston cream pie cupcakes feature soft and buttery white cupcakes filled with vanilla pastry cream and topped with rich chocolate ganache.

As if the classic donut and cake couldn’t get any better….just wait until you try it in cupcake form!
These cupcakes really have it all going on in the dessert department. From the buttery white cake to the vanilla pastry cream to all that incredible chocolate ganache drizzled into every corner, it’s pretty easy to see why these cupcakes are a dessert staple around here.

If you’re up for a bit of a moderate cupcake challenge, these cupcakes will definitely do it for you! They’re not complicated to make, but they do require a bit of extra effort since we’re making the cake from scratch, a homemade pastry cream, and chocolate ganache topping.
Well worth the effort in the end though, trust me.
These Cupcakes feature…
- A soft and light white cake cupcake base
- A silky vanilla pastry cream filling
- Rich chocolate ganache draped over top

Making the Cupcakes
(scroll down to the bottom of the post for the full recipe)
Ingredients You Will Need
- Unsalted butter
- Granulated sugar
- Vanilla extract
- Egg whites
- All-purpose flour
- Cornstarch
- Baking powder
- Kosher salt
- Milk
- Egg yolk
- Semisweet chocolate
- Heavy whipping cream

Tips for Perfect Cupcakes
- Measure flour correctly – we use the spoon-and-level technique for measuring flour as this will prevent over-measuring your flour. Use a spoon to scoop flour into the measuring cup, then level with the back of a knife.
- Whip room temperature egg whites for batter – this gives the cupcakes a light and fluffy texture.
- Bring milk to room temperature – this will help the milk mix more cohesively into the butter.
- Gently fold batter – use a light hand when mixing batter and gently fold so as not to overmix and deflate the egg whites.
- Chill pastry cream – the pastry cream will set up nicely in about an hour.
- Use good chocolate for ganache – high-quality chocolate will melt better in the ganache.
- Allow cupcakes to cool before frosting – the ganache will melt off if you try to frost them while the cupcakes are still warm.
Recipe Variations
Try these ideas for a different twist on these cupcakes.
- Flavor pastry cream – try using almond extract or add 1 tablespoon cocoa powder to the pastry cream.
- Use another frosting – try a vanilla buttercream, whipped chocolate ganache, or chocolate frosting.
- Add nuts – top cupcakes with toasted almonds, pecans, or walnuts.
Storing Cupcakes
Due to the pastry cream filling, these cupcakes must be stored in the refrigerator long-term. Once cupcakes are frosted they store well in an airtight container in refrigerator up to 4 days. Allow the cupcakes to come to room temperature for 30 minutes before serving.

That first bite takes you into the soft, melt-in-your-mouth white cake. Then that second bite takes you into the creamy, vanilla cream and OMG all that rich chocolate ganache…lord have mercy.
Donuts are taking a backseat for awhile and it’s all eyes on these cupcakes!
Save this recipe using the ‘save to recipe box’ button below. If you make it, please let us know! Leave a comment + star rating below, or take a photo and tag it on with #wholeandheavenlyoven.

Try these other keeper cupcake recipes next!
Boston Cream Pie Cupcakes
This recipe may included paid links. As an Amazon Associate, I earn a commission from qualifying purchases.
Ingredients
White Cupcakes
- 3 large egg whites, room temperature
- 1/2 cup unsalted butter, softened
- 1 cup granulated sugar
- 2 teaspoons vanilla extract
- 2 cups all-purpose flour (spooned and leveled)
- 1 tablespoon cornstarch
- 2 teaspoons baking powder
- 1/4 teaspoon kosher salt
- 1 cup 2% or skim milk, room temperature
Pastry Cream Filling
- 1 large egg yolk
- 2 tablespoons cornstarch, mixed with 2 tablespoons water
- 1 cup 2% or skim milk
- 1/3 cup granulated sugar
- 1/2 tablespoon unsalted butter, softened
- 1 teaspoon vanilla extract
Chocolate Ganache
- 1 (4 oz) semisweet chocolate bar, finely chopped
- 1/2 cup heavy whipping cream
- 1/4 teaspoon vanilla extract
- Pinch salt
Instructions
White Cupcakes
- Preheat oven to 350F and line a 12-cup muffin tin with paper wrappers. Set aside.
- Place egg whites in a large bowl and beat to soft peaks with an electric mixer (or a stand mixer fitted with whip attachment). Set aside.
- Place butter and sugar in a large bowl (or a stand mixer fitted with paddle attachment) and use an electric mixer to beat on medium speed 2-3 minutes until smooth and creamy. Add vanilla and beat until combined.
- In a medium bowl, combine flour, cornstarch, baking powder, and salt. Working in increments, fold 1/3 flour mixture and 1/3 of milk into butter-sugar mixture until smooth and repeat 2 more times until all flour and milk has been added.
- Add whipped egg whites to batter and very gently fold until batter is just combined.
- Fill muffin cups 3/4 full of batter and smooth tops. Bake cupcakes at 350F 20-25 minutes until a toothpick inserted in center of cupcake comes out clean. Cool cupcakes completely on a wire cooling rack.
Pastry Cream
- Place egg yolk and cornstarch-water mixture in a small bowl and lightly beat until smooth. Set aside.
- Combine sugar and milk in a medium saucepan and heat over medium heat until steaming. Slowly drizzle in 1/2 cup warm milk mixture into egg yolk mixture, beating constantly until smooth.
- Add egg yolk mixture to saucepan and cook over medium heat, whisking occasionally until bubbly and thickened.
- Remove pudding from heat and whisk in butter and vanilla. Pour pudding into a bowl, press plastic wrap directly to surface of pudding, and chill 1 hour.
- Carve a small circle out of the top of each cooled cupcake using a paring knife and set aside. Hollow out a little bit of the cupcake interior, pipe cooled pastry cream into center and replace circle top for each cupcake.
Chocolate Ganache
- Place chopped chocolate in a large bowl. Pour heavy cream into a small saucepan and heat over medium heat until steaming. Pour heavy cream over chocolate and whisk until chocolate is melted and evenly incorporated into cream. Whisk in vanilla and salt.
- Allow ganache to cool 20 minutes then spoon a little over each cupcake. Allow to set for 10 minutes before serving cupcakes.
Notes
Nutrition
This post was updated with new recipe adjustments and photos on 8/21/25.


Rachel @the dessert chronicles says
I love boston creme pie! I have been working on a cupcake version as well so I will have to try yours soon!
Sarah says
I love how we are both on the same cupcake wavelength. — Awesome! You will have to let me know how yours turn out, Rachel!
Kloe's Kitchen says
Yum! I have had the donut Boston Cream Pie, but these look amazing and a lot easier to do from scratch! My family would just love to have these. (not to mention me!) I might give these a whirl sometime soon….
-Kloe ♥
Sarah says
Please LMK if you make these cupcakes and how your family and you like them! 🙂
Pam says
They look AMAZING!
Sarah says
Thank you, Pam!
Natalie @ Tastes Lovely says
That’s so cute you call your sister cupcake! What a perfect little term of endearment. These cupcakes look amazing! The first time I had boston cream pie was from my college cafeteria. I saw it was like “what’s they yummy looking cake?” It was so good! And I’m sure it was a yucky cafeteria version. I bet these cupcakes are even better!
Sarah says
Haha! Like I said, sometimes she takes it as a compliment and other times it’s an insult. — really depends on her mood. LOL. And I thought of you when I was writing this post: I was like “hmmm I’ll bet Natalie would love these cupcakes—it’s so up her alley.” 😉
Chris @ Shared Appetite says
Yes! My mom has made and continues to make boston cream pie for pretty much every get together since I was a little kid. These cupcakes make me SO happy! They look great! Pinned 🙂
Sarah says
That’s so cool that your mom has made Boston cream pie for so many years! I’ll bet she’s definitely an expert in that department. Thanks for the pin, Chris! 🙂
Tina @ Tina's Chic Corner says
Bostom cream pie is my favorite donut so these cupcakes are totally calling out to me!!! Do you have any leftovers to send me asap? 😉 Gosh, these look delicious. 🙂
Sarah says
Thanks so much, Tina! and oh, I would so love to send you my leftovers, but sadly there are never any leftovers in this house. 🙁 LOL
Allie | Baking a Moment says
Boston Cream Pie Cupcakes? Girl you are a genius. What an awesome idea! Love that shiny ganache on top, and those pics where you’re breaking the cupcake open and that creamy pudding is oozing out- gah! I’m dying 😉
Sarah says
Haha! Thank you so much, Allie! And ikr? That creamy pudding filling gets me every time. So good. 😀