Cotton Candy Cake Recipe

About the author: Susan Updated on Fri, 26 Jun 2026 17:20:02 GMT Desserts

Tags: #cake #cotton-candy #birthday #party-dessert #layer-cake

A woman with red hair and a black shirt.
Susan

Home cook, recipe developer and founder of My Home Made Recipe, sharing the tested dishes my family loves.

Updated on Fri, 26 Jun 2026 17:20:02 GMT

View Recipe →
Pastel cotton candy layer cake with pink and blue buttercream Pin it
Pastel cotton candy layer cake with pink and blue buttercream

This cotton candy cake recipe is bright, sweet, and made for birthdays or summer parties. The cake itself is soft and vanilla-forward, with just enough cotton candy flavoring to taste playful instead of perfumey.

The biggest trick is balance. Cotton candy melts the second it meets moisture, so the fluffy garnish goes on at the very end. The pastel layers and buttercream do the heavy lifting before that final fairground finish.

Pastel Cake Building Blocks

Use cake flour if you can get it. It keeps the crumb fine and soft, which matters in a tall party cake. Cotton candy flavoring is strong, so start with the measured amount and do not free-pour.

  • Cake flour. Gives the layers a tender, bakery-style crumb.
  • Unsalted butter. Adds flavor and keeps the cake rich without tasting greasy.
  • Granulated sugar. Sweetens the batter and helps the layers bake up light.
  • Egg whites. Keep the cake pale so the pink and blue colors show clearly.
  • Whole milk and sour cream. Add moisture and a soft, plush texture.
  • Cotton candy flavoring. Brings the fairground flavor without relying on candy alone.
  • Gel food coloring. Creates clean pastel swirls without watering down the batter.
  • Powdered sugar. Makes a fluffy buttercream that pipes and spreads smoothly.
  • Cotton candy. The final garnish, added only at serving time so it stays airy.

Bake The Carnival Layers

  1. Prep the pans. Grease and line two 8-inch round pans so the soft layers release cleanly.
  2. Mix the dry ingredients. Whisk the cake flour, baking powder, and salt so the rise is even.
  3. Cream the butter. Beat butter and sugar until pale and fluffy, then mix in egg whites, vanilla, and cotton candy flavoring.
  4. Finish the batter. Add the flour mixture with milk and sour cream, mixing only until the batter looks smooth.
  5. Tint and swirl. Divide the batter into three bowls. Tint one pink, one blue, and leave one plain, then spoon them into the pans and gently swirl.
  6. Bake and cool. Bake until the centers spring back and a tester comes out clean. Cool fully before frosting.
  7. Frost and decorate. Fill and cover the cake with cotton candy buttercream, then add cotton candy right before serving.

Cotton Candy Cake Recipe Notes

The flavoring is where this cake can go too far. Cotton candy extract often has a strong candy-shop smell in the bottle, but it softens once baked and mixed into buttercream. Measure it with a real spoon, then taste the frosting before adding more. If you want a birthday-party spread, pair slices with a cold glass of the non-alcoholic cotton candy drink. The colors should stay gentle. Deep pink and dark blue can make the cake look harsh, and too much coloring may tint mouths at the table.

Getting Clean Pastel Swirls

Do not overwork the batter after coloring it. Spoon the colors into the pans in small alternating piles, then drag a butter knife through once or twice. If you stir until it looks marbled in the bowl, it will bake up muddy. For a simpler celebration cake, the same batter can be baked plain and frosted with two-tone buttercream like a softer version of a classic vanilla birthday cake. For food coloring, use products labeled for food use and follow the package directions. The FDA has a plain overview of approved color additives.

Buttercream That Holds Shape

This frosting needs to be fluffy but sturdy. Beat the butter first until it looks pale, then add powdered sugar in stages so it does not turn grainy. Heavy cream loosens the texture, but add it slowly. A thick buttercream keeps the layers from sliding and gives the cotton candy garnish a dry base for a few minutes. If the frosting gets too soft while you work, chill the bowl for 10 minutes and beat it again. For another playful pastel dessert, the cotton candy cheesecake leans colder and creamier.

Decorating Without Sticky Cotton Candy

Cotton candy is dramatic, but it is not patient. Do not refrigerate the finished cake with cotton candy on top. The cold moisture will make it shrink and bead up. Frost the cake, chill it uncovered for a short set if needed, then store it in a cake box. Add small tufts of cotton candy, sprinkles, and a few pastel buttercream swirls right before the candles. For a candy-table feeling, serve it near chewy sweets like Kentucky cream pull candy, but keep the cotton candy sealed until the last moment.

Storage And Make-Ahead Timing

The unfrosted layers keep well for one day in the fridge or up to two months in the freezer when wrapped tightly. Frosted cake keeps for about three days in the refrigerator, without the cotton candy topping. Let slices sit at room temperature for 20-30 minutes before serving so the buttercream softens. Cake texture depends on mixing, pan prep, and cooling, and King Arthur Baking has a helpful general cake baking guide if you want to troubleshoot sinking or dry layers.

FAQs

What does cotton candy cake taste like?

It tastes like a soft vanilla birthday cake with a light cotton candy note. The flavor is sweet and nostalgic, but it should not taste like straight sugar if you measure the flavoring carefully.

Can I make this without cotton candy flavoring?

You can, but it will taste more like a pastel vanilla cake. For a softer substitute, use vanilla extract plus a tiny drop of raspberry or strawberry extract in the frosting.

How do I keep cotton candy from melting on the cake?

Add it right before serving. Cotton candy collapses when it touches frosting, humidity, or fridge moisture, so keep it sealed in its bag until the cake is ready to go out.

Can I bake the cake layers ahead?

Yes. Bake the layers one day ahead, cool them fully, then wrap them tightly and refrigerate. Frost the chilled layers the next day for cleaner stacking.

Can this cake be made as cupcakes?

Yes. Divide the batter into lined muffin cups and bake at 350°F for about 17-20 minutes. Swirl a small amount of pink and blue batter into each cup for the same pastel look.

What food coloring works best?

Gel food coloring works better than liquid because it gives stronger color without thinning the batter or frosting. Use a light hand so the finished cake stays soft pink and blue.

References

Sources cited in this recipe.
4.30 from 8 votes

Cotton Candy Cake Recipe

Prep time:
35 min
Cook time:
30 min
Total time:
65 min
Servings:
12
Pastel cotton candy layer cake with pink and blue buttercream

A soft pastel layer cake with cotton candy flavor, fluffy buttercream, and a carnival-style garnish added just before serving.

Ingredients

  • For the cake layers

  • 2 1/2 cups (285 g) cake flour
  • 2 1/2 teaspoons baking powder
  • 1/2 teaspoon fine salt
  • 3/4 cup (170 g) unsalted butter, softened
  • 1 3/4 cups (350 g) granulated sugar
  • 5 large egg whites, room temperature
  • 2 teaspoons vanilla extract
  • 1 teaspoon cotton candy flavoring
  • 3/4 cup (180 ml) whole milk, room temperature
  • 1/2 cup (120 g) sour cream, room temperature
  • Pink gel food coloring, as needed
  • Blue gel food coloring, as needed
  • For the cotton candy buttercream

  • 1 1/2 cups (340 g) unsalted butter, softened
  • 5 cups (600 g) powdered sugar, sifted
  • 3-5 tablespoons (45-75 ml) heavy cream
  • 1 1/2 teaspoons vanilla extract
  • 1/2 teaspoon cotton candy flavoring, plus more to taste
  • Pinch of fine salt
  • Pink and blue gel food coloring, as needed
  • For decorating

  • 1 cup cotton candy, added just before serving
  • 2 tablespoons pastel sprinkles, optional

Instructions

1.

1. Prepare the pans: Heat the oven to 350°F (175°C). Grease two 8-inch round cake pans, line the bottoms with parchment, and lightly flour the sides.

2.

2. Whisk the dry mix: In a medium bowl, whisk together the cake flour, baking powder, and salt until evenly combined.

3.

3. Cream the butter and sugar: Beat the butter and sugar on medium-high speed for 3-4 minutes, until pale and fluffy. Beat in the egg whites in 3 additions, then mix in the vanilla and cotton candy flavoring.

4.

4. Make the batter: On low speed, add the flour mixture in three additions, alternating with the milk and sour cream. Mix only until smooth and scrape the bowl once.

5.

5. Tint and bake: Divide the batter into three bowls. Tint one pink, one blue, and leave one plain. Spoon alternating colors into the pans, swirl lightly with a knife, and bake for 26-30 minutes, until a tester comes out clean.

6.

6. Cool the layers: Cool the cakes in the pans for 15 minutes, then turn them onto racks. Let them cool completely before frosting.

7.

7. Make the frosting: Beat the butter until creamy and pale. Add powdered sugar gradually, then beat in 3 tablespoons cream, vanilla, cotton candy flavoring, and salt. Add more cream only if needed for a spreadable texture.

8.

8. Assemble and finish: Fill, stack, and frost the cooled layers. Tint some frosting pink and blue for swirls if desired. Add sprinkles and cotton candy right before serving, not before chilling.

Good to know

  1. Cotton candy garnish melts quickly, especially in humid rooms.
  2. Cake layers can be baked one day ahead and chilled before frosting.
  3. For neat slices, chill the frosted cake for 20 minutes, then use a warm knife.

Equipment

  • Two 8-inch round cake pans
  • Parchment paper
  • Stand mixer or hand mixer
  • Mixing bowls
  • Offset spatula
  • Wire cooling rack

Allergens

Always check labels if you have allergies.
  • Dairy
  • Eggs
  • Gluten

Nutrition facts

Values are estimates per serving.
  • Calories: 620
  • Fat: 27 g
  • Carbs: 92 g
  • Protein: 5 g