This birthday cake with marshmallow is a tender vanilla layer cake filled and frosted with a light, fluffy marshmallow buttercream. The cake is moist and sturdy enough to stack, while the frosting is soft, spreadable, and tastes like toasted marshmallows without needing a torch. It bakes in two 9-inch round pans and comes together with standard pantry ingredients.
Ingredients
- For the cake:
- 2 ½ cups (300 g) all-purpose flour
- 2 ½ teaspoons baking powder
- ½ teaspoon salt
- ¾ cup (170 g) unsalted butter, softened
- 1 ¾ cups (350 g) granulated sugar
- 3 large eggs, room temperature
- 1 tablespoon vanilla extract
- 1 cup (240 ml) whole milk, room temperature
- For the marshmallow frosting:
- 1 cup (226 g) unsalted butter, softened
- 1 ½ cups (180 g) powdered sugar
- 1 jar (7 oz / 198 g) marshmallow fluff (about 2 cups)
- 1 teaspoon vanilla extract
- Pinch of salt
- 2 tablespoons heavy cream, if needed
Instructions
- Preheat the oven to 350°F (175°C). Grease two 9×2-inch round pans, line the bottoms with parchment paper, and grease the paper.
- In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
- In a large bowl, beat the butter and sugar with an electric mixer on medium speed until light and fluffy, about 3 minutes. Scrape the bowl.
- Add the eggs one at a time, beating well after each. Beat in the vanilla.
- With the mixer on low, add the flour mixture in three additions, alternating with the milk in two additions, starting and ending with flour. Mix just until no streaks remain. Do not overmix.
- Divide the batter evenly between the prepared pans (about 3 cups each). Smooth the tops.
- Bake for 28–33 minutes, until a toothpick inserted in the center comes out with a few moist crumbs and the center springs back when lightly pressed. The internal temperature should read about 200°F (93°C).
- Cool in the pans on a wire rack for 15 minutes, then turn out onto the rack to cool completely. The cakes must be fully cool before frosting.
- For the frosting, beat the butter on medium speed until smooth, about 2 minutes. Add the powdered sugar and beat on low until combined, then increase to medium and beat for 2 minutes.
- Add the marshmallow fluff, vanilla, and salt. Beat on medium-high for 2–3 minutes until light and fluffy. If too stiff, beat in the heavy cream 1 tablespoon at a time.
- Place one cake layer on a serving plate. Spread about 1 cup of frosting over the top. Place the second layer on top.
- Frost the top and sides with the remaining frosting. Use a spatula for a smooth finish or leave swirls for a rustic look. Serve immediately or refrigerate until set.
Tips
- Use room-temperature eggs and milk. Cold ingredients make the batter curdle and the cake less tender. Let them sit on the counter for 30 minutes before starting.
- If you only have one 9-inch pan, bake the layers one at a time. Keep the second half of the batter covered at room temperature and bake it right after the first layer comes out.
- Do not overmix the batter after adding flour. Overmixing develops gluten and makes the cake tough. Stop as soon as the flour disappears.
- If the frosting seems too soft to hold its shape, chill it for 15–20 minutes before spreading. If it is too stiff, add cream a teaspoon at a time.
Serving Suggestions
Serve this cake at room temperature for the softest crumb and fluffiest frosting. Pair it with a tall glass of cold milk, coffee, or hot cocoa. For a birthday presentation, top with sprinkles, fresh berries, or a few mini marshmallows pressed around the base. Cut with a sharp knife dipped in hot water and wiped dry between slices for clean pieces.
Variations
- Chocolate marshmallow cake: Replace ⅓ cup (40 g) of the flour with unsweetened cocoa powder and add 2 tablespoons of milk to the batter. Use the same marshmallow frosting.
- Toasted marshmallow frosting: After frosting the cake, use a kitchen torch to lightly toast the outside of the frosting. Watch it closely—it browns fast. If you do not have a torch, skip this step; the frosting is already marshmallow-flavored.
- Strawberry marshmallow cake: Fold 1 cup of finely chopped fresh strawberries into the frosting after beating. Pat the berries dry first so they do not thin the frosting.
- Lemon marshmallow cake: Add 1 tablespoon of lemon zest to the cake batter and replace the vanilla in the frosting with 1 teaspoon of lemon extract.
Storage and Reheating
Store frosted cake in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 4 days. Bring refrigerated cake to room temperature for 1 hour before serving. Unfrosted cake layers can be wrapped tightly in plastic wrap and frozen for up to 3 months; thaw overnight in the refrigerator before frosting. The frosting alone keeps in the refrigerator for up to 1 week—let it soften at room temperature and rebeat for 1 minute before using. Do not microwave the cake to reheat; it will melt the frosting and dry the crumb.
Related
Frequently Asked Questions
Can I use homemade marshmallow instead of marshmallow fluff?
Yes, but it is trickier. Homemade marshmallow is sticky and sets firm, so it is hard to beat into buttercream smoothly. If you use it, make sure it is freshly made and still soft, and beat it in slowly. Store-bought fluff is more consistent for frosting.
Why did my cake sink in the middle?
The most common causes are opening the oven door too early, underbaking, or using expired baking powder. Check that your baking powder is less than 6 months old and keep the oven closed until the minimum bake time has passed.
Can I make this as a sheet cake instead of a layer cake?
Yes. Pour the batter into a greased 9x13x2-inch pan and bake at 350°F (175°C) for 30–35 minutes. The batter will be shallower, so start checking at 25 minutes. The frosting recipe stays the same; spread it over the top of the cooled cake.
Why is my frosting grainy?
That happens when the powdered sugar is not fully dissolved or when the butter is too cold. Beat the frosting for a full 3 minutes on medium-high. If it is still grainy, add 1 tablespoon of heavy cream and beat again.
How do I keep the cake from sticking to the pan?
Grease the pan thoroughly with butter or shortening, then line the bottom with parchment paper. Grease the paper too. Let the cake cool in the pan for 15 minutes before turning it out—cooling too long in the pan traps steam and makes it stick.
Can I use this frosting on a cupcake?
Absolutely. This frosting pipes well through a large star tip. It holds its shape for a few hours at room temperature, so it is fine for a party. If the room is very warm, chill the frosted cupcakes for 15 minutes before serving.