This cotton candy cake brings the whimsical flavors of classic cotton candy into a stunning layered dessert. Two fluffy sponge layers, one tinted pink and the other blue, are filled and frosted with silky cotton candy-flavored buttercream in matching colors.
The batter comes together with standard cake ingredients enhanced with cotton candy flavoring, available at specialty baking shops or online. Gel food coloring delivers vibrant hues without altering the texture.
Decorated with fresh cotton candy and sprinkles just before serving, this showstopper is ideal for birthdays, parties, and any celebration that calls for something playful and eye-catching.
My niece turned seven last spring and asked for a cotton candy birthday cake, which sent me down a rabbit hole of testing recipes until my kitchen looked like a carnival exploded in pastel hues. The moment I pulled those swirled pink and blue layers from the oven, I knew this cake was something special. It tastes like childhood spun sugar with a surprisingly sophisticated crumb. Every birthday since, it is the first thing she asks for.
I brought this cake to a neighborhood potluck and watched three adults skip the entire savory spread just to get a slice before it disappeared. One friend stood over the table scraping cotton candy garnish off the serving platter with her finger.
Ingredients
- 2 1/2 cups (315 g) all purpose flour: Provides the sturdy backbone for those tall fluffy layers so measure carefully with the spoon and level method.
- 1 tbsp baking powder: Gives the cake its signature lift so make sure yours is fresh and not lingering in the back of the pantry.
- 1/2 tsp salt: Balances the sweetness beautifully and you will notice the flatness without it.
- 1 1/2 cups (300 g) granulated sugar: Sweetens the crumb while helping create that tender texture we want.
- 3/4 cup (170 g) unsalted butter, softened: The foundation of richness here so let it come to room temperature naturally rather than microwaving.
- 4 large eggs: Adds structure and moisture and they should be at room temperature for the smoothest batter.
- 1 cup (240 ml) whole milk: Creates a velvety batter that bakes into a soft tender crumb.
- 1 tbsp vanilla extract: Rounds out the cotton candy flavor and keeps it from tasting purely artificial.
- 1/4 tsp cotton candy flavoring: A little goes a long way and you can find it online or at specialty baking shops.
- Pink and blue gel food coloring: Gel is essential because liquid coloring will thin out the batter and muddy the shades.
- 1 cup (226 g) unsalted butter for buttercream, softened: Beat this until genuinely pale and creamy before adding sugar for the silkiest frosting.
- 4 cups (480 g) powdered sugar, sifted: Sifting is nonnegotiable here unless you enjoy lumpy buttercream.
- 3 to 4 tbsp whole milk or heavy cream: Adjust the amount to reach your ideal spreading consistency.
- Cotton candy for garnish: Add this at the very last second because it dissolves into sticky nothingness if left out too long.
- Sprinkles (optional): A handful of rainbow sprinkles makes everything more festive.
Instructions
- Prep your pans and oven:
- Heat the oven to 350 degrees F and grease two 8 inch round pans or line them with parchment rounds for foolproof release.
- Whisk the dry team:
- In a medium bowl combine the flour, baking powder, and salt then set it aside while you work on the wet ingredients.
- Cream butter and sugar:
- Beat the softened butter and sugar together in a large bowl until the mixture looks pale, fluffy, and almost cloudlike which takes about three minutes.
- Add eggs and flavor:
- Drop in the eggs one at a time, beating well after each, then stir in the vanilla and cotton candy flavoring until everything smells like a carnival.
- Combine wet and dry:
- Add the flour mixture in three additions alternating with the milk in two, starting and ending with flour, and mix only until each streak disappears.
- Color the batter:
- Split the batter evenly between two bowls, fold pink gel into one and blue into the other, and stop mixing the moment the color looks uniform.
- Bake the layers:
- Pour each colored batter into its own pan, smooth the tops, and bake for 28 to 32 minutes until a toothpick slides out clean from the center.
- Cool completely:
- Let the cakes rest in their pans for ten minutes, then flip them onto wire racks and wait until they are entirely cool to the touch.
- Make the buttercream:
- Beat the butter until creamy, add the sifted powdered sugar in batches, then pour in the milk and cotton candy flavoring and whip until silky smooth.
- Tint and frost:
- Divide the buttercream into two bowls and color one pink and one blue, then level your cake layers and stack them with one color of frosting between before covering the outside with alternating swoops of pink and blue.
- Garnish and serve:
- Tear off fluffy pieces of cotton candy and arrange them on top with sprinkles right before presenting the cake to your guests.
The morning after my niece's party I found her sitting crosslegged on the kitchen floor with a fork and the remaining cake slice, telling her stuffed rabbit that it was the best day of her entire life.
Keeping Those Colors Bright
Use gel food coloring rather than liquid drops because liquid dilutes the batter and produces washed out, disappointing layers. A toothpick dab of gel gives you concentrated pigment that holds up beautifully through baking.
What If You Cannot Find Cotton Candy Flavoring
Substitute with a blend of vanilla and a drop of raspberry extract for a fruity sweetness that approximates the cotton candy experience surprisingly well.
Making It Look Like You Hired a Bakery
The swirl frosting technique is wonderfully forgiving and hides any uneven layers underneath. Use an offset spatula to make long swooping motions around the cake, alternating between pink and blue buttercream as you go.
- Chill the frosted cake for twenty minutes before adding cotton candy to give the buttercream a firm surface to hold onto.
- A turntable makes the swooping decoration about ten times easier and is worth the small investment.
- Take a photo quickly because cotton candy garnish begins weeping within fifteen minutes on a chilled cake.
This cake turns ordinary gatherings into celebrations and reminds everyone at the table that dessert can still be pure, unapologetic fun. Serve it with napkins nearby and watch the smiles spread.
Recipe Q&A Section
- → Where can I find cotton candy flavoring?
-
Cotton candy flavoring is available online through retailers like Amazon, at specialty baking supply stores, and in the baking aisle of some well-stocked grocery stores. Look for brands like LorAnn or Watkins.
- → Can I make this cake ahead of time?
-
You can bake the cake layers a day in advance and store them tightly wrapped at room temperature. The buttercream can also be made ahead and refrigerated. However, add the cotton candy garnish right before serving, as it melts quickly when exposed to air.
- → Why does my cotton candy garnish melt on the cake?
-
Cotton candy is highly sensitive to moisture and will dissolve when it contacts frosting or humid air. Always place it on the cake just before serving, and keep the cake in a cool, dry environment until then.
- → Can I use liquid food coloring instead of gel?
-
Gel food coloring is strongly recommended because it delivers vibrant color without adding extra liquid to the batter or buttercream. Liquid food coloring may require more drops and can thin out the frosting, affecting the final texture.
- → How should I store leftover cake?
-
Store leftover cake in an airtight container in the refrigerator for up to three days. Remove any cotton candy garnish before storing. Let the cake sit at room temperature for about 30 minutes before serving to soften the buttercream.
- → Can I make this cake in different pan sizes?
-
You can adapt the batter for different pan sizes. For a 9-inch pan, baking time will be slightly shorter. For cupcakes, fill liners two-thirds full and bake for 18 to 22 minutes. Always check doneness with a toothpick inserted in the center.