Cotton Candy Cake

A pastel pink and blue cotton candy cake adorned with fluffy spun sugar clouds Save to Pinterest
A pastel pink and blue cotton candy cake adorned with fluffy spun sugar clouds | cookedstories.com

This cotton candy cake brings the magic of a carnival right to your dessert table. Soft, fluffy layers of vanilla sponge are tinted in dreamy shades of pink and blue, then stacked with a silky cotton candy-flavored buttercream that tastes just like the fairground treat.

The batter comes together simply—cream butter and sugar, add eggs, then fold in dry ingredients with milk. Split the batter, color each half, and bake until perfectly risen. The buttercream is equally straightforward: whip butter with powdered sugar, cotton candy flavoring, and a splash of cream.

Frost with alternating swirls of pink and blue, then crown with fresh cotton candy and sprinkles just before serving. A showstopper for birthdays, parties, or any celebration that calls for something extra fun.

My niece declared she wanted a circus birthday party and I panicked because my decorating skills are questionable at best. The one thing I knew I could nail was the cake, so I went hunting for something that screamed carnival without requiring artistic talent. That is how this cotton candy cake made its debut in my kitchen, and now it shows up at every family celebration whether there is a theme or not.

I will never forget carrying this cake into the party room and watching six children simultaneously gasp like I had produced a live unicorn. My sister in law pulled me aside and asked which bakery I ordered from, which remains one of the proudest moments of my amateur baking career.

Ingredients

  • All-purpose flour (2 and a half cups): The backbone of a tender crumb, and you really should spoon it into the measuring cup rather than scooping directly from the bag.
  • Baking powder (1 tbsp): Do not skip checking the expiration date because flat layers will break your heart.
  • Salt (half a tsp): Just enough to balance the sweetness and make the flavors pop.
  • Granulated sugar (1 and a half cups): Creaming this with butter is where the magic begins, so do not rush it.
  • Unsalted butter (three-quarters cup, softened): Leave it out for about an hour before baking because cold butter will not cream properly.
  • Large eggs (4): Add them one at a time so the batter stays smooth and does not curdle.
  • Whole milk (1 cup): The fat content matters here, so avoid substituting skim milk if you can help it.
  • Vanilla extract (1 tbsp): A good quality vanilla rounds out the cotton candy flavor beautifully.
  • Cotton candy flavoring (quarter tsp): 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 far better than liquid because it gives vivid color without thinning the batter.
  • Unsalted butter for frosting (1 cup, softened): This is the base of your buttercream, so use the good stuff.
  • Powdered sugar (4 cups, sifted): Sifting is not optional here unless you enjoy lumpy frosting.
  • Whole milk or heavy cream (3 to 4 tbsp): Add gradually until the buttercream reaches a spreadable consistency.
  • Cotton candy flavoring for frosting (half tsp): This doubles down on the carnival flavor in every bite.
  • Cotton candy and sprinkles for garnish: Apply the cotton candy at the very last second because humidity is its sworn enemy.

Instructions

Warm up the oven:
Preheat to 350 degrees Fahrenheit and grease two 8-inch round pans or line them with parchment paper for easy release later.
Whisk the dry team:
In a medium bowl, whisk the flour, baking powder, and salt together until evenly blended, then set it aside.
Cream butter and sugar:
Beat the softened butter and sugar in a large bowl until the mixture turns pale, light, and dreamy, about three minutes of faithful mixing.
Welcome the eggs:
Add eggs one at a time, beating well after each one so everything emulsifies into a silky base.
Add the fun flavors:
Stir in the vanilla extract and cotton candy flavoring, and take a quick sniff because it will already smell like a fairground.
Bring it all together:
Add the dry ingredients in three batches, alternating with the milk in two batches, starting and ending with the flour mixture. Mix until just combined and stop before you overdo it.
Paint the batter:
Divide the batter evenly between two bowls, tint one pink and one blue with gel coloring, and fold gently until the color is uniform throughout.
Bake and trust the process:
Pour each colored batter into its own prepared pan and bake for 28 to 32 minutes until a toothpick poked into the center comes out clean.
Cool with patience:
Let the cakes rest in their pans for 10 minutes, then turn them out onto wire racks and wait until they are completely cool before even thinking about frosting.
Whip up the buttercream:
Beat the butter until creamy, then add the powdered sugar in batches, mixing well each time before adding the cotton candy flavoring and enough milk to reach a luscious spreadable texture.
Color the frosting:
Split the buttercream in half and tint one portion pink and the other blue, matching the cake layers for a coordinated look.
Assemble your masterpiece:
Level the cake layers if they domed, place one on a serving plate, spread it with one color of buttercream, top with the second layer, and frost the whole cake with alternating swirls of pink and blue buttercream.
The grand finale:
Pile on cotton candy and sprinkles just before serving and watch everyone grab their cameras before their forks.
Save to Pinterest
| cookedstories.com

The cotton candy garnish turned into a game at that birthday party because every kid wanted to be the one who pulled the biggest wispy chunk off the top. Somehow the cake itself lasted about ten minutes before disappearing entirely, which told me everything I needed to know.

Getting the Colors Right

Gel food coloring is truly the only way to achieve those vivid pink and blue hues without turning your batter into soup. I learned this the hard way after a failed attempt with liquid coloring produced a cake that looked vaguely gray and deeply unappetizing. A tiny dab of gel on the end of a toothpick gives you more color than you expect, so build up gradually and stir gently to keep the batter airy.

Serving and Storing This Cake

This cake is best enjoyed the day it is assembled because the sponge stays perfectly moist and the buttercream holds its swirl. If you need to make it ahead, bake the layers a day early and wrap them tightly in plastic wrap at room temperature. The frosted cake can sit in the fridge for up to two days, but always bring it back to room temperature before serving so the buttercream softens and the flavors wake up.

Making It Your Own

Part of the charm of this cake is how easily it adapts to whatever occasion you are celebrating. You could swap the cotton candy flavoring for strawberry or raspberry extract and keep the same pink and blue color scheme for a fruitier twist. The decorations are where you can really let loose and have fun with it.

  • Try edible glitter on the frosting edges for an extra sparkly party look.
  • Use a star tip to pipe rosettes around the border instead of smooth swirls.
  • Always remember that imperfections just mean it was made with love and nobody is grading you.
A slice of cotton candy cake showing swirled pink and blue buttercream layers on a plate Save to Pinterest
A slice of cotton candy cake showing swirled pink and blue buttercream layers on a plate | cookedstories.com

Every time I make this cake the whole kitchen smells like a summer fair and I am transported right back to being eight years old with sticky fingers and zero worries. That is the real magic of baking something playful: it feeds more than just appetite.

Recipe Questions & Answers

Cotton candy flavoring is available online through retailers like Amazon, at specialty baking supply stores, and in the baking aisle of some well-stocked supermarkets. Look for brands like LorAnn or Watkins.

Yes, you can substitute with vanilla bean extract or a combination of vanilla and a touch of strawberry extract. The cake will still be visually stunning with the pink and blue layers, even without the specific cotton candy taste.

Cotton candy dissolves quickly when exposed to moisture, including the buttercream frosting. Adding it at the very last minute ensures it stays fluffy and holds its shape for presentation.

Store leftover cake in an airtight container at room temperature for up to two days, or refrigerate for up to four days. Bring to room temperature before serving for the best texture and flavor. Remove any remaining cotton candy garnish before storing.

Absolutely. Gel food coloring works best for vibrant results—you can use any two or even three colors you like. Pastel shades also look beautiful for a softer, more elegant presentation.

Gel food coloring is strongly recommended over liquid coloring. Gels provide intense, vivid color without altering the batter's consistency, which is especially important for achieving those signature bright pink and blue hues.

Cotton Candy Cake

A whimsical pink and blue layer cake topped with cotton candy buttercream and garnished with fluffy cotton candy.

Prep 30m
Cook 30m
Total 60m
Servings 12
Difficulty Medium

Ingredients

Cake Layers

  • 2 ½ cups all-purpose flour (315 g)
  • 1 tbsp baking powder
  • ½ tsp salt
  • 1 ½ cups granulated sugar (300 g)
  • ¾ cup unsalted butter, softened (170 g)
  • 4 large eggs
  • 1 cup whole milk (240 ml)
  • 1 tbsp vanilla extract
  • ¼ tsp cotton candy flavoring (or to taste)
  • Pink and blue gel food coloring

Cotton Candy Buttercream

  • 1 cup unsalted butter, softened (226 g)
  • 4 cups powdered sugar, sifted (480 g)
  • 3–4 tbsp whole milk or heavy cream
  • ½ tsp cotton candy flavoring
  • Pink and blue gel food coloring

Decoration

  • Cotton candy for garnish
  • Sprinkles (optional)

Instructions

1
Preheat and Prepare Pans: Preheat the oven to 350°F. Grease and flour two 8-inch round cake pans, or line them with parchment paper.
2
Combine Dry Ingredients: In a medium bowl, whisk together the all-purpose flour, baking powder, and salt. Set aside.
3
Cream Butter and Sugar: In a large mixing bowl, beat the softened butter and granulated sugar together using an electric mixer until light and fluffy, approximately 3 to 4 minutes.
4
Add Eggs and Flavorings: Add the eggs one at a time, beating well after each addition. Stir in the vanilla extract and cotton candy flavoring until evenly incorporated.
5
Incorporate Dry and Wet Mixtures: Gradually add the dry ingredient mixture to the butter mixture, alternating with the whole milk. Begin and end with the dry ingredients, mixing until just combined. Do not overmix.
6
Tint the Batter: Divide the batter evenly into two separate bowls. Add pink gel food coloring to one bowl and blue gel food coloring to the other. Gently fold each until the color is uniform throughout.
7
Bake the Cake Layers: Pour each colored batter into the prepared cake pans. Bake for 28 to 32 minutes, or until a toothpick inserted into the center of each layer comes out clean.
8
Cool the Layers: Allow the cakes to cool in the pans for 10 minutes, then turn them out onto wire racks to cool completely before frosting.
9
Prepare the Buttercream: Beat the softened butter for the buttercream until creamy and smooth. Gradually add the sifted powdered sugar in batches, beating well after each addition. Mix in the cotton candy flavoring and 3 to 4 tablespoons of milk or heavy cream until the frosting reaches a silky, spreadable consistency.
10
Tint the Buttercream: Divide the buttercream evenly into two portions. Tint one portion pink and the other blue using gel food coloring, mixing each until the color is uniform.
11
Assemble and Frost the Cake: Level the cake layers with a serrated knife if necessary. Place the first layer on a serving plate and spread one color of buttercream evenly over the top. Place the second layer on top and frost the entire exterior of the cake with alternating swirls of pink and blue buttercream using an offset spatula.
12
Garnish and Serve: Decorate the frosted cake with tufts of fresh cotton candy and sprinkles just before serving to prevent the cotton candy from melting.
Additional Information

Equipment Needed

  • Two 8-inch round cake pans
  • Electric mixer
  • Mixing bowls
  • Measuring cups and spoons
  • Offset spatula
  • Wire cooling rack

Nutrition (Per Serving)

Calories 455
Protein 5g
Carbs 70g
Fat 18g

Allergy Information

  • Contains wheat (gluten)
  • Contains eggs
  • Contains dairy (milk, butter)
  • Check all flavorings and sprinkles for potential allergens
Veronica Mills

Home cook sharing easy, wholesome recipes and helpful kitchen tips for every food lover.