• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Pretty. Simple. Sweet.
  • Home
  • Recipes
  • Baking Course
  • About Me
  • Newsletter
menu icon
go to homepage
  • Home
  • Recipes
  • Baking Course
  • About Me
  • Newsletter
    • Facebook
    • Instagram
    • Pinterest
    • RSS
    • YouTube
  • search icon
    Homepage link
    • Home
    • Recipes
    • Baking Course
    • About Me
    • Newsletter
    • Facebook
    • Instagram
    • Pinterest
    • RSS
    • YouTube
  • ร—
    Home ยป Recipes ยป Cakes

    Boston Cream Pie

    Published: Jul 12, 2018 ยท Modified: Oct 24, 2023 by Shiran ยท This post may contain affiliate links ยท 20 Comments

    Jump to Recipe

    The best Boston cream pie recipe is here! And we’re making it from scratch. It has two layers of buttery vanilla sponge cake sandwiched together with a creamy pastry cream filling, and topped with chocolate ganache. Every bite will melt in your mouth!

    Boston Cream Pie

    Boston cream pie is a simple delicious cake, usually a sponge cake or butter cake, filled with a thick layer of vanilla pastry cream and glazed with a shiny chocolate ganache. It’s called Boston cream pie rather than Boston cream cake because when it was invented way back, the common pans that were used to make cakes were pie pans.

    As an Amazon Associate, I earn from qualifying purchases. I endorse products that I love and use daily.

    How to make Boston cream pie

    Boston cream pie consists of 3 components:

    1. Sponge cake. This is my favorite sponge cake recipe (but you can use any sponge cake or butter cake that you like). It’s enriched with butter and milk, therefore super flavorful, and is different than other sponge cakes that are only based on eggs and sugar. The cake is made by whisking eggs and sugar first, which gives the cake its airy texture, then gently mixing in warm milk and melted butter, and lastly mixing in flour, salt, and baking powder for an extra rise. This is a delicate and moist cake, the kind that melts in your mouth, yet the texture is stronger than most sponge cakes so it stands up well to almost any filling or frosting.
    2. Boston cream pie filling – Pastry cream or creme patissiere is a thick creamy custard with a mild vanilla flavor. Read my pastry cream post to learn more about how to make it. The recipe I’m using for this cake is a bit different than my other recipe mainly because I’m using cream instead of just milk for a richer flavor. Some recipes use only flour or only cornstarch as a thickener. I like to use both because in my opinion it gives the best texture, without having a starchy aftertaste from the cornstarch, and it thickens wonderfully. This pastry cream is thick and quite firm, especially after refrigeration, but still very creamy and tender, so it’s great as cake filling.
    3. Chocolate ganache. Ganache is the final touch to this cake, and adds beauty, shine, and awesome flavor, because chocolate makes everything better. always. Read my chocolate ganache post for more info.

    Boston Cream Pie

    Would you like to save this recipe?

    We'll email this recipe link to you, so you can come back to it later!

    Make ahead tips

    You can make the pastry cream a day or two ahead and keep it in the fridge. Whisk it before using to remove any lumps. It won’t keep well in the freezer. The cakes can be made ahead of time and kept, covered in plastic wrap, in the freezer for up to 2 months, and thawed overnight in the fridge. I recommend making the chocolate ganache just before assembling the cake. It’s quick and easy to make, and it’ll have the best texture if making it right before. After making the ganache, let it sit at room temperature for a few minutes until it thickens slightly, then pour over the cake. The cake is best the day it’s made or the day after so you can assemble it a day ahead if you have room for it in the fridge. Leftovers can be kept for another 2-3 days in the fridge. Allow it to come to room temperature before serving.

    Boston Cream Pie
    Boston Cream Pie

    As an Amazon Associate, I earn from qualifying purchases. I endorse products that I love and use daily.

    More Classic Layer Cakes:

    • Incredibly Moist Carrot Cake
    • Black Forest Cake
    • Ultimate Chocolate Layer Cake
    • Strawberry Cream Cake
    • My Favorite Red Velvet Cake
    4.5 from 2 votes
    Print

    Boston Cream Pie

    When making the pastry cream, instead of using 1 cup heavy cream and 1 cup milk, you can use 2 cups of half and half. I don’t recommend freezing this cake because the pastry cream can break. To make the ganache shiny for longer, you can add 1-2 tablespoons of light corn syrup if you have it, heating it along with the cream.

    YIELD 12 servings

    Ingredients

    Cake:

    • 1 and โ…“ cups (185 g) all-purpose flour
    • 2 teaspoons baking powder
    • ยผ teaspoon salt
    • ยฝ cup (120 ml) whole milk
    • ยฝ cup (1 stick/115 g) unsalted butter
    • 1 and ยฝ teaspoons pure vanilla extract
    • 3 large eggs , at room temperature
    • 1 and ยฝ cups (300 g) granulated sugar

    Pastry Cream:

    • 5 large egg yolks
    • ยฝ cup (100 g) granulated sugar
    • 2 tablespoons (18 g) cornstarch
    • 2 tablespoons (18 g) flour
    • 1 cup (240 ml) heavy cream
    • 1 cup (240 ml) whole milk
    • 1 and ยฝ teaspoons pure vanilla extract
    • ยผ cup (55 g) unsalted butter , softened to room temperature

    Chocolate Ganache:

    • 115 g/4 oz. semisweet or bittersweet chocolate , finely chopped
    • ยฝ cup (120 ml) heavy cream

    Instructions

    1. Cake: Preheat oven to 325ยฐF/160ยฐC. Butter two 9-inch pans (8-inch pans work, too) and line the bottoms with parchment paper. Don’t skip this step or the cakes will stick to the bottom.
    2. In a medium bowl, sift together flour, baking powder, and salt. Set aside.
    3. In a small saucepan or in the microwave, heat butter and milk just until butter is melted. Do not let it boil. Set aside.

    4. In a mixer bowl fitted with the whisk attachment, whisk eggs and sugar on high speed for 5 minutes. Beat in vanilla extract. Reduce speed to medium-low and add warm milk-butter mixture into the egg mixture in a slow, steady stream. Add flour mixture in 3 additions and fold by hand using a rubber spatula just until combined.

    5. Pour batter into prepared cake pans and smooth the top. Bake for 20-25 minutes, until the cake springs back when slightly touched and a skewer inserted into the center comes out clean. Allow cakes to cool on a wire rack for 20 minutes, then run a knife around the edges and invert the pan onto the rack. Let cool completely. Refrigerate cakes for at least 1 hour before assembly to ensure the interiors are completely cooled and not too soft. 

    6. Pastry cream: In a medium bowl, whisk together egg yolks and sugar until combined, then whisk in cornstarch and flour. Set aside.
    7. In a medium saucepan, heat heavy cream and milk on medium heat just to a boil. Remove from heat and gradually pour the hot milk into the egg mixture while simultaneously whisking constantly until smooth (this will prevent the eggs from being cooked by the heat). Transfer mixture back into saucepan. Cook over medium-low heat, whisking constantly and vigorously so that the eggs wonโ€™t curdle, until mixture thickens and bubbles burst on the surface. Remove from heat and whisk in vanilla and butter. Strain through a fine-mesh strainer set over a bowl. Press a piece of plastic wrap directly onto the surface of the cream to prevent it from creating a skin. Let cool to room temperature, then refrigerate until chilled.

    8. Chocolate ganache: Place chocolate in a medium heat-proof bowl. Set aside. In a small saucepan over medium heat, bring cream just to a boil. Immediately pour cream over chocolate and let sit without stirring for 2 minutes. Then, whisk mixture gently until completely melted and smooth.
    9. Assembly: Place one cake layer on a plate or cake stand. Spread pastry cream evenly on top. Place second cake layer on top and gently press down to adhere to the pastry cream. Pour glaze into the center of cake, then gently spread it to the edges, allowing it to drip down the sides. 

    10. Keep cake in the fridge, covered, for up to 4-5 days. Allow it to come to room temperature before serving. I don’t recommend freezing the cake because the pastry cream can break if frozen.

    More Cakes

    • Cherry garcia cake is made with chocolate chips, fresh cherries, and a creamy frosting.
      Chocolate Cherry Garcia Cake
    • 9 pie and cheesecake toppings you need
      Pie & Cheesecake Topping Ideas
    • Flourless chocolate torte made with pumpkin puree.
      Chocolate Pumpkin Torte (gluten-free)
    • White chocolate cheesecake bars with lemon zest and juice.
      Lemon White Chocolate Cheesecake Bars

    Reader Interactions

    Comments

      Leave a Reply Cancel reply

      Your email address will not be published. Required fields are marked *

      Recipe Rating




    1. Junaida says

      July 13, 2018 at 7:01 am

      Hi Shiran,

      It’s difficult to get heavy cream here in malaysia. Can I replace it with whipping cream and get the same texture for the pastry cream?

      Reply
      • Shiran says

        July 16, 2018 at 12:58 pm

        I Junaida, usually heavy cream and whipping cream are the same thing, so I guess it’s ok. It should have a high fat content, the kind that you can make whipped cream with.

        Reply
    2. Diana D. says

      August 12, 2018 at 3:09 pm

      Hi Shiran,
      I so badly want to make this cake, and failed at my first attempt. My cakes sunk when baking!?What do you think I may have done wrong? I live in Colorado and was wondering maybe the altitude? Or just folding too much? Please help!

      Reply
      • Shiran says

        August 16, 2018 at 7:57 am

        Hi Diana. Several things can cause that. From my experience itโ€™s either that the cake wasnโ€™t cooked enough (even if it looked like it did), or that too much air was incorporated into the batter during the mixing process, causing the cake to rise quickly, and then collapse in the center. You can read this guide.

        Reply
    3. Kristina says

      April 07, 2019 at 6:33 am

      Hi! I only have one 9 inch round pan, is it okay to put all of the cake batter at once and then cut in half when its baked? Will the baking time change?

      Reply
      • Shiran says

        April 11, 2019 at 4:22 am

        Yes, just be careful not to overfill the pan with batter. The baking time will be longer.

        Reply
    4. Cassandra says

      April 22, 2019 at 12:49 pm

      Hi! Can I serve the cake immediately or do I need to wait 4-5 days

      Reply
      • Shiran says

        May 17, 2019 at 10:00 am

        You can use it immediately, or up to 5 days.

        Reply
    5. Karishma says

      July 19, 2020 at 12:05 pm

      Hello.when we whip the pastry cream on the stove, do u use a manual whip or the electric one?

      Thanks

      Reply
      • Shiran says

        July 20, 2020 at 11:47 am

        Manual!

        Reply
    6. Fatma says

      December 20, 2020 at 1:28 pm

      Great recipe! Thank you ๐Ÿ™‚ Love from Turkey โค๏ธ

      Reply
    7. BK - Gerry says

      January 12, 2021 at 12:30 pm

      Lovely recipe Shrian. The cake is devine. I made the cake and pastry cream yesterday. Today, I assembled the cake and made the ganache. Thanks so much for sharing this delicious recipe. The cake melts in your mouth, the cream is rich, thick and flavorful. I used dairy milk chocolate for the ganache it was the only chocolate left in the house. Happy to say that my husband is over the moon. This is his favorite cake. It was easy to make with lots of steps, but definitely worth the extra effort. BK

      Reply
    8. Vicky Clark says

      July 11, 2021 at 11:21 am

      Hi Shiran. I love all your recipes and really looking forward to tasting the one I made this afternoon, but I found the cakes much slower to rise/ cook through than I expected. I reduced the temperature because I have a fan oven so Iโ€™m wondering if I shouldnโ€™t have, and the temperature you gave was already fan adjusted. Many thanks.

      Reply
      • Talia @ Pretty. Simple. Sweet. says

        July 16, 2021 at 3:42 am

        Hi Vicky, thanks for the feedback! While I can’t tell you exactly what happened, it can be challenging with baking times and temperatures because everyone has a different oven. Next time, I recommend not reducing the oven temperature and seeing if it makes a difference ๐Ÿ™‚

        Reply
    9. Sherrie says

      October 18, 2021 at 2:41 pm

      Cake ingredients call for 3 large eggs , directions say whip the egg whites. Does this cake only use egg whites?

      Reply
      • Talia @ Pretty. Simple. Sweet. says

        October 19, 2021 at 4:11 am

        Hi Sherrie, the recipe says to whip the whole eggs for the cake in step 4, not just the whites ๐Ÿ™‚
        “In a mixer bowl fitted with the whisk attachment, whisk eggs and sugar on high speed for 5 minutes.”

        Reply
    10. Regan Roman says

      January 25, 2025 at 11:48 pm

      Can you use sub cornstarch for arrowroot?

      Reply
      • Stephanie @ Pretty.Simple.Sweet. says

        January 28, 2025 at 12:10 pm

        Hi Regan, I’m sure you can. I haven’t tried that swap in this specific recipe, but its a swap I do make frequently with other baked goods.

        Reply
    11. Linda says

      September 09, 2025 at 12:24 pm

      This Boston Cream Pie recipe was phenomenal. I have never been a fan of this dessert, but my husband loves it. So I used your recipe to bake the first one in our 40 year marriage. I think he’ll keep me for 40 more after this. Thank you.

      Reply
      • Stephanie @ Pretty.Simple.Sweet. says

        September 10, 2025 at 3:43 pm

        I’m so glad your husband loved this, Linda! I’ll sleep better tonight knowing your marriage will continue to survive! ๐Ÿ™‚

        Reply

    Primary Sidebar

    Hi, I'm Stephanie! Join me in my kitchen, where weโ€™ll be making simple and classic desserts and learning the science of baking along the way.

    More about me โ†’

    Find A Recipe

    Recent Popular Recipes

    • Minnesota cookie scandinavian inspired with white chocolate and flower sprinkles.
      Minnesota Love Cookies
    • Apple cinnamon pancakes topped with buttery, tender apple pieces | prettysimplesweet.com
      Caramelized Apple Cinnamon Pancakes
    • Salted Caramel Apple Scones
      Salted Caramel Apple Scones
    • 5-Ingredient Individual Apple Crumble
      Quick & Easy Individual Apple Crumble
    Shop King Arthur Baking for all your baking needs!

    Footer

    โ†‘ back to top

    Website Policies

    • Privacy Policy
    • Terms of Use
    • Testimonial Disclaimer

    Newsletter

    • Sign Up! for emails and updates

    Contact

    • Contact
    • About Me

    As an Amazon Associate I earn from qualifying purchases.

    Copyright © 2025 Pretty. Simple. Sweet.