• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Scientifically Sweet
  • ABOUT
  • RECIPES
  • CONTACT
  • COOKBOOKS
  • SHOP
  • Follow me on Social

    • Instagram
    • Pinterest
  • Christina's Cookbooks
  • Order a book!
menu icon
go to homepage
  • ABOUT
  • RECIPES
  • CONTACT
  • COOKBOOKS
  • SHOP
    • Instagram
    • Pinterest
  • subscribe
    search icon
    Homepage link
    • ABOUT
    • RECIPES
    • CONTACT
    • COOKBOOKS
    • SHOP
    • Instagram
    • Pinterest
  • ×
    Home » Cakes

    Hostess Cake

    author bio
    Updated: May 1, 2026 by christina.marsigliese · 12 Comments
    Jump to Recipe

    Get ready to re-live your childhood with this nostalgic cake that is better-tasting version of those iconic packaged Hostess cupcakes in cake form. This homemade Hostess Cake is so much fun to make and even more fun to eat with fluffy marshmallow cream filling sandwiched between rich, moist chocolate cake layers. It is complete with chocolate icing and those signature marshmallow icing loops on top! This is certainly an elevated version with so much chocolate flavor and pure chocolate ganache instead of that plastic-y icing. Your kids will have so much fun making it and it is very easy to serve. You also don't need marshmallow fluff to make the filling because I make this quick version using whole marshmallows and whipped cream. You are going to love it!

    hostess cake slice on cutting board

    WHY THIS RECIPE WORKS

    • Simple ingredients - this cake is very easy to make. Although there are 3 components, they are all very simple and the cake batter is a one-bowl recipe.
    • Pure chocolate flavor - if you love chocolate, then this cake will be a true pleasure. The ganache icing is rich and smooth.
    • Moist chocolate cake - this simple recipe produces a very moist rich chocolate cake that bakes evenly with a flat top so it is easy to slice into two even layers.
    • Smooth chocolate icing - I use a quick chocolate ganache to cover the cake it is so silky and fudgy.
    • Homemade marshmallow cream - marshmallow fluff isn't available everywhere, so I make this easy version. You just need 3 simple ingredients and 3 minutes to make the filling! No need to whip any egg whites or make it from scratch if you have a bag of marshmallows.
    sliced hostess cake on cutting board showing cross section

    WHAT IS HOSTESS CAKE?

    This Hostess Cake is a riff on the iconic American packaged snack cakes sold in most grocery stores. They consist of moist chocolate cake, a creamy filling, chocolate icing and a signature white icing squiggle on top. These little treats are individually wrapped and sold in a carton. They're often included in school lunchboxes as a treat, similar to Twinkies and Donettes (powdered mini donuts). My homemade version is way better with rich chocolate flavor, simple ingredients and a dreamy chocolate ganache icing.

    sliced hostess cake on cutting board

    INGREDIENTS FOR HOSTESS CAKE

    Here are some notes about the ingredients. For a full list of ingredients, check out the recipe card at the bottom of the page.

    • All purpose flour - you do not need specialty cake flour to make a wonderful chocolate cake. Just be sure to measure your flour correctly. Adding too much flour is the most common mistake and leads to tough and dry cake. The most accurate way to measure flour is using a scale. If you don't have one then fluff your flour with a spoon, spoon it into your measuring cup and use a knife to level it off. This batter is meant to be thin so refrain from adding more flour to make it thicker.
    • Granulated sugar - simple white sugar will keep this cake moist and tender.
    • Pure vanilla extract - vanilla is important to enhance the flavor of chocolate.
    • Cocoa powder - I recommend getting some good quality cocoa powder. It's the main flavor and you want it to shine so use the best you can find. I love to use this Dutch Process cocoa powder for this recipe. Make sure you use unsweetened cocoa powder and not cocoa mix.
    • Eggs - one whole egg will set the structure of this cake and help emulsify the batter.
    hostess cake ingredients
    sliced hostess cake on cutting board
    • Oil - this is an oil-based cake because oil is liquid at room temperature (it's an unsaturated fat) which means that the cake will still be soft when it's cold.
    • Milk - I typically bake with whole milk or 2% milk and it works great.
    • Hot coffee - you'll need to brew hot coffee (or make instant coffee) or simply use hot water and keep it hot to make the batter. Itis the main source of moisture in this cake and the coffee helps enhance the roasted cocoa notes. The cake does not taste like coffee.
    • Dark chocolate - you'll need pure dark chocolate to make the glaze. Anything between 50 and 60% cocoa solids will work. You can use my favorite semisweet chocolate callets which means you don't need to chop them.
    • Marshmallows - I prefer large marshmallows as they melt better. Use a fresh bag of marshmallows for the best results as older marshmallows can dry out and resist melting.
    • Butter - some salted butter makes the filling taste so creamy and also helps it melt smoothly.
    • Whipping cream - look for whipping cream or "heavy" cream with 35% milkfat to make the filling and the ganache glaze.
    hostess cake slice on cutting board

    STEP BY STEP INSTRUCTIONS: HOW TO MAKE HOSTESS CAKE

    • STEP 1). Make the cake. Combine dry ingredients. Sift flour, cocoa powder, baking powder and baking soda into a medium bowl. Add sugar and salt, then whisk to blend evenly.
    • STEP 2). Add liquid ingredients. Make a well in the center of the dry ingredients, then add oil, beaten egg, milk and vanilla extract and slowly whisk it in until combined and the batter starts to come together, but it will still look dry. Then, add the hot coffee or water and whisk until smooth.
    • STEP 3). Bake. Spread batter evenly into prepared pan using a small offset spatula and bake for 20-25 minutes until a skewer inserted into the center comes out clean. Transfer to a wire rack and let cool completely in the pan. Trim the top of the cake to level it out and make it flat if necessary, but I never need to because it always bakes up nice and flat.
    • STEP 4). Make the marshmallow cream filling. Place marshmallows in large heat-safe mixing bowl. Pour melted butter over them and place the bowl and microwave for 2 minutes on high power stirring after every 30 seconds. Near the end, the marshmallows will puff up a lot. Remove the bowl and stir stir vigorously with a spatula until it becomes smooth and flowing. Set it aside and let cool completely. It must be completely cool or it will melt the whipped cream.
    • STEP 5). Whip cream. Pour heavy cream into a mixing bowl and whip until it holds stiff peaks using an electric hand mixer. Add about ½ cup of whipped cream to the bowl with the cooled marshmallow mixture and mix it in with the electric hand mixer to loosen it up. Then, switch to a spatula and fold in the remaining whipped cream in 3 separate additions to ensure it stays fluffy. Place it in the fridge and chill for 15 minutes.
    • STEP 6). Assemble the cake. Use a serrated knife to slice the cooled chocolate cake in half horizontally. You will have two thin layers. Reserve about 3 tablespoons of the marshmallow cream filling and then spread the rest evenly over the bottom cake layer using an offset spatula. Place the second cake layer on top and refrigerate while you make the ganache topping.
    • STEP 7). Make the ganache icing. Place chopped chocolate in a heatproof bowl. Heat cream with honey or corn syrup in a small saucepan or in the microwave until it comes to a gentle boil. Immediately pour the hot cream over the chocolate, cover the bowl and let stand for 2 minutes. Whisk gently until smooth and glossy.
    • STEP 8). Cover with icing. Remove the cake from the fridge and pour the ganache over top, spreading it out cover the surface and letting it drip down the sides a bit. Work quickly as the ganache will set fast over the chilled cake.
    • STEP 9). Pipe on the squiggle. Once the ganache sets, fill a small piping bag or zip-top bag with the reserved marshmallow cream. Fit the bag with a small round nozzle or cut off the tip, then pipe a string of loops across the cake in three rows as demonstrated in the video. Slice and enjoy!
    sliced hostess cake on cutting board

    EXPERT BAKING TIPS

    • Use a neutral tasting oil like pure sunflower oil for the cleanest flavor to let the chocolate taste stand out.
    • Use fresh marshmallows. A pack of marshmallows that has been sitting in your cupboard for a year has likely lost moisture. These dried out marshmallows may look fine, but their lower moisture content will make them resist melting so they won't melt down smoothly to a creamy consistency. You can tell when they are stale by their color as well - older marshmallows will have look off-white instead of white.
    • Do not reduce the sugar. The right amount of sugar will make cake moist because it binds water so that it stays tightly in the batter and doesn't evaporate excessively during baking. The right amount of sugar keeps the cake tender even when served cold.
    • Keep an eye on the baking time. Set a timer for the first time stated in the recipe and check with a skewer - it should come out clean.
    • Cool the marshmallow mixture completely. The marshmallow/butter mixture should be cool before you fold in the whipped cream otherwise the cream will collapse and the filling won't have that fluff and volume.
    • Whisk the ganache gently to bring it together. Ganache requires gentle stirring to come together to a silky smooth consistency. You can use a whisk to help it emulsify, but just a gentle stirring motion and avoid "whipping" it.
    hostess cake slice on cutting board

    RECIPE FAQ

    What type of oil is best for chocolate cake?

    Firstly - use a fresh oil! Do not use anything that's been opened for a long time and when you store oil, it should be in a cool dark place. Light and heat accelerate oxidation reactions that can make the flavor turn rancid. My oil of choice for baking is sunflower oil for its clean and neutral taste, but any other oil such as canola or safflower will do. You can even use olive oil, but keep in mind that it will add the taste of olive oil to the cake.

    Which cocoa powder is best for Hostess cake?

    This recipe works with both Dutch process and natural cocoa powder. For a darker color like in this photo, I use high fat Dutch cocoa powder. My absolute preference is this one and this one. The first one is rich with a deep color while still having some nice complex fruity notes which some Dutch cocoa powders can lack. Natural cocoa has a wonderful fruity flavor and I like to use it as well. You can use Hershey's natural cocoa or this one that I love.

    What is the secret to super moist cake and how do I make my cake more moist?

    It's not more fat! Moisture comes from liquid, not fat. So you can add more butter and more oil, but it will really just make the cake more dense and more tender by shortening the texture. Fat will not make a cake moist as only liquids can add moisture. This cake is moist because of the amount of liquid in the batter.

    How do you add moisture to a chocolate cake?

    The hot coffee adds so much moisture to this recipe. Oil makes the texture very soft and in turn gives the perception of "moistness". That's because oil is made up of mostly unsaturated fats that are liquid at room temperature. Butter contains more saturated fats that are solid at room temperature, therefore the texture of a butter cake will be more crumbly and firm. 

    Can I make this chocolate cake recipe with a round pan?

    Yes, you can make this cake in a 9-inch round pan. If you use an 8-inch round pan the cake and filling layers will be taller and the cake will take longer to bake. If you use a 9x9-inch square pan, the layers will be thinner.

    What type of marshmallows can I use for the filling?

    I recommend large marshmallows instead of mini ones since they tend to melt more smoothly. Mini marshmallows have a larger surface area and hold their shape a little better to resist melting compared to larger ones. Also, quality matters here and different brands have different melting qualities, so choose a brand you trust.

    Why didn't my marshmallows melt smoothly?

    If your marshmallows don't melt down smoothly with the butter, it is likely that they have dried out a bit. To help this along, add 1-2 teaspoons of boiling water and keep mixing until it comes together.

    Can I freeze Hostess cake?

    I would not recommend freezing this whole cake as the filling will have a very different texture once thawed. However, you can freeze the cooled cake base. Just wrap it well in plastic and then store in a freezer bag in the freezer for up to 3 months.

    If you love cake, check out these recipes!

    Ultimate Moist Chocolate Fudge Cake
    Lemon Pistachio Cake
    Sticky Toffee Date Cake
    Moist Lemon Blueberry Bread
    Olive Oil Chocolate Bundt Cake
    Best Vanilla Cupcake Recipe with Chocolate Fudge Frosting
    Chocolate Chip Banana Cake with Creamy Milk Chocolate Frosting
    Blueberry Peach Upside Down Cake

    For the love of chocolate

    Looking for more decadent chocolate recipes? Try these:

    • best moist chocolate cake
      The BEST Moist Chocolate Cake Recipe
    • brown butter chocolate chip cookies
      The BEST Chewy Brown Butter Chocolate Chip Cookies
    • bakery style chocolate chip cookies
      THE BEST Chocolate Chip Cookies (Bakery-Style)
    • salted pistachio chocolate chunk cookies
      Salted Pistachio Chocolate Chunk Cookies

    More chocolate cake

    Here are more delicious chocolate cake recipes:

    • tuxedo cake
      Tuxedo Cake
    • chocolate texas sheet cake
      Chocolate Texas Sheet Cake
    • milk chocolate cake with milk chocolate fudge frosting
      Moist Milk Chocolate Cake
    • molten chocolate lava cakes
      Molten Chocolate Lava Cakes

    Video

    Hostess Cake

    Christina Marsigliese, Food Scientist MSc.
    hostess cake
    This Hostess Cake is so much fun to make and even more fun to eat with fluffy marshmallow cream filling sandwiched between rich, moist chocolate cake layers. It is complete with chocolate icing and those signature marshmallow icing loops on top! I guarantee it tastes so much better than the packaged Hostess snack cakes you buy at the supermarket.
    5 from 3 votes
    Print Recipe Pin Recipe
    Prep Time 30 minutes mins
    Cook Time 25 minutes mins
    Servings 9 servings

    Ingredients
      

    Chocolate Fudge Cake batter:

    • 1 cup plus 1 tbsp (150g) all-purpose flour
    • ⅓ cup (28g) cocoa powder (I prefer this Dutch cocoa or this one)
    • ½ teaspoon baking powder
    • ½ teaspoon baking soda
    • ¾ cup (150g) granulated sugar
    • ¼ teaspoon salt
    • 1 large egg
    • ¼ cup (60ml) oil (such as canola, olive, sunflower or vegetable oil)
    • ⅓ cup (80ml) whole milk
    • 1 teaspoon (5ml) pure vanilla extract
    • ½ cup (120ml) hot coffee

    Marshmallow Cream Filling:

    • 5 oz (142g) marshmallows (about 3 cups mini marshmallows or 24 large ones*)
    • 3 tablespoon (42g) unsalted butter
    • 1 cup (237ml) 35% heavy whipping cream

    Ganache Icing:

    • 5 oz (142g) semisweet dark chocolate* (I love these couverture chocolate chips)
    • ⅓ cup plus 1 tbsp (95ml) 35% heavy whipping cream, cold from the fridge
    • 1 teaspoon (7ml) honey or corn syrup

    *I find the larger marshmallows melt more smoothly and have a better consistency. Quality matters here.

    Instructions
     

    • Preheat the oven to 325°F. Line an 8x8-inch square metal baking pan with parchment paper leaving a 2-inch overhang at each side so you can easily remove the cake afterwards. Secure the sides down on the edge of the pan with ¾-inch binder clips if desired.
    • Make the cake. Sift flour, cocoa powder, baking powder and baking soda into a medium bowl. Add sugar and salt, then whisk to blend evenly.
    • Make a well in the center of the dry ingredients, then add oil, beaten egg, milk and vanilla extract and slowly whisk it in until combined and the batter starts to come together, but it will still look dry. Then, add the hot coffee or water and whisk until smooth. The batter will be thin.
    • Spread batter evenly into prepared pan using a small offset spatula and bake for 20-25 minutes until a skewer inserted into the center comes out clean. Transfer to a wire rack and let cool completely in the pan. Trim the top of the cake to level it out and make it flat if necessary, but I never need to because it always bakes up nice and flat.
    • Meanwhile, make the marshmallow cream filling. Place marshmallows in large heat-safe mixing bowl. Pour melted butter over them and place the bowl in the microwave for 2-3 minutes on medium power stirring after every 30 seconds. Near the end, the marshmallows will puff up a lot, but be careful not to over-heat them or the sugar will burn. Remove the bowl and stir stir vigorously with a spatula until it becomes smooth and flowing. Set it aside and let cool for 5-10 minutes until it comes close to room temperature. It must be cool or it will melt the whipped cream, but if it cools to much it will harden.
      NOTE: if your marshmallow mixture is not melting down smoothly, see the FAQ section above for troubleshooting.
    • While it is cooling, pour cold cream into a mixing bowl and whip until it holds stiff peaks using an electric hand mixer. Add about ½ cup of whipped cream to the bowl with the cooled marshmallow mixture and mix it in with the electric hand mixer to loosen it up. Then, switch to a spatula and fold in the remaining whipped cream in 3 separate additions to ensure it stays fluffy. Place it in the fridge and chill for 15 minutes.
    • Use a serrated knife to slice the cooled chocolate cake in half horizontally. You will have two thin layers. Reserve about 3 tablespoons of the marshmallow cream filling and then spread the rest evenly over the bottom cake layer using an offset spatula. Place the second cake layer on top and refrigerate while you make the ganache topping.
    • Make the ganache icing. Place chopped chocolate in a heatproof bowl. Heat cream with honey or corn syrup in a small saucepan or in the microwave until it comes to a gentle boil. Immediately pour the hot cream over the chocolate, cover the bowl and let stand for 2 minutes. Whisk gently until smooth and glossy.
    • Remove the cake from the fridge and pour the ganache over top, spreading it out cover the surface and letting it drip down the sides a bit. Work quickly as the ganache will set fast over the chilled cake.
    • Once the ganache sets, fill a small piping bag or zip-top bag with the reserved marshmallow cream. Fit the bag with a small round nozzle or cut off the tip, then pipe a string of loops across the cake in three rows as demonstrated in the video. Slice and enjoy!

    More Cakes

    • strawberry sheet cake
      Fresh Strawberry Sheet Cake
    • chocolate chip banana bread coffee cake
      Chocolate Chip Banana Bread Coffee Cake
    • carrot cake coffee cake
      Carrot Cake Coffee Cake
    • praline crunch carrot cake layer cake
      Praline Crunch Carrot Cake Layer Cake

    Reader Interactions

    Comments

      Leave a Comment and Rating Cancel reply

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

      Recipe Rating




    1. Caroline

      April 27, 2026 at 3:08 pm

      5 stars
      I made this on the weekend and it was so good. My kids when crazy over it and there is none left. They're already asking me to make it again.

      Reply
      • christina.marsigliese

        April 27, 2026 at 3:09 pm

        Thank you Caroline! Glad you and your kids enjoyed the cake! 🙂

        Reply
    2. Mary Lee

      April 24, 2026 at 6:05 pm

      I want to make this for a larger crowd. Would doubling it work in a 9 x 13 pan? Or would it be better to make two 8 x 8.

      Reply
      • christina.marsigliese

        April 25, 2026 at 2:42 am

        Hi Mary Lee! Yes, you can double the recipe for a 9x13.

        Reply
    3. Shaina B Cherniak

      April 20, 2026 at 6:14 pm

      Can you use use marshmallow fluff instead of marshmallows. If so how much?

      Reply
      • christina.marsigliese

        April 23, 2026 at 1:19 am

        Hi Shaina, yes I think that could work. Use an amount equal to the weight of marshmallows + butter specified in the recipe.

        Reply
    4. Polly Goto

      April 20, 2026 at 12:38 pm

      5 stars
      I love all your recipes and I could not wait to make this one! Hostess was my gateway to becoming a pastry chef & this recipe is truly an elevated version of my favorite childhood treat! Thank you so much!

      Reply
      • christina.marsigliese

        April 21, 2026 at 2:10 am

        You are welcome Polly! Thanks for the feedback! I'm so glad you enjoyed the recipe 🙂

        Reply
    5. Eileen

      April 19, 2026 at 11:28 pm

      5 stars
      Wow! This looks incredible! You must have read my mind bc I’ve been looking for a quality hostess cake recipe! Thank you! 2 questions:
      1. Is this recipe for an 8x8 square pan? I thought I saw that in the video.
      2. Do you know if the marshmallow filling will hold up on day 2 (overnight) or more? For example, I wanted to make this for work but would prob make this the day before.

      Thanks so much!

      Reply
      • christina.marsigliese

        April 20, 2026 at 2:11 am

        Hi Eileen! Yes, it is for an 8x8 pan and it should hold up fine if you make it the day before.

        Reply
    6. Linda

      April 18, 2026 at 12:09 pm

      Hi Christina, I’m having a lot of trouble with the marshmallows. I’ve done it twice, waited for the marshmallows to cool completely and all I managed to accomplish was an epic mess😝
      The melted marshmallows become very elastic once it cools down and the mixer is no match!

      Reply
      • christina.marsigliese

        April 19, 2026 at 2:38 am

        Hi Linda! Sorry to hear that. It could be that the marshmallows were over heated. I also recommend large marshmallows instead of mini ones since they tend to melt more smoothly. Also, quality matters here and different brands have different melting qualities, so choose a brand you trust.

        Reply

    Primary Sidebar

    Hi, I'm Christina!

    Hi, I'm Christina! I have a Master's Degree in Food! Welcome to my world of sweet science where I share all of my professional baking recipes and tips backed by Food Science.

    More About Me

    Popular Recipes

    • best cinnamon rolls
      The BEST Classic Cinnamon Rolls
    • vanilla whipped ganache frosting
      Vanilla Whipped Ganache Frosting
    • lemon pistachio cake
      Lemon Pistachio Cake
    • best carrot cake
      The BEST Carrot Cake with Fluffy Cream Cheese Frosting
    • moist chocolate fudge cake
      ULTIMATE Moist Chocolate Fudge Cake
    • small batch brownies
      Fudgy Small Batch Brownies
    • The BEST Chocolate Chip Banana Bread
    • best chocolate frosting
      The BEST Chocolate Frosting

    Footer

    ↑ back to top

    Cookbooks

    • About Christina's cookbooks
    • Order a copy
    • Privacy Policy

    Subscribe

    • Sign Up! for brand new recipes directly to your inbox!

    Contact

    • Contact
    • Services
    • About Christina

    As an Amazon Associate I may earn from qualifying purchases.

    Copyright © 2025 Scientifically Sweet Inc.