• Facebook
  • Instagram
  • Pinterest
Most Recent
Contact
About Us
Easy Dessert Recipes
Recipe Index
  • Dessert Type
    • Baking BasicsLearn the basics of baking with these easy recipes. Find homemade how-to recipes for all the basics. If you’re a beginner baker, you can still make these easy recipes!
      • FrostingLearn how to make the perfect frosting or icing for your desserts. Whether you’re making cakes, cupcakes, or cookies, these frosting recipes will be the finishing touch. Find tips for making different types of frosting, including powdered sugar icing, cream cheese frosting, buttercream, and chocolate or vanilla icings.
    • BreakfastDeliciously easy breakfast and brunch ideas. Make the first meal of the day more like dessert with these sweet breakfast recipes, like breads, pancakes, and more.
      • BreadsLearn how to make homemade bread with these easy bread recipes. Explore different types, from sweet dessert breads to more savory or classic options.
      • Donuts
      • MuffinsMuffins are one of those baked goods you can eat any time. Make healthier muffin recipes for breakfast, or make more decadent muffins for dessert! Find all types of muffins, including blueberry, bananas, chocolate, and more.
    • Brownies & BarsMake the best brownies with these easy homemade brownie recipes! Or try delicious dessert bars, like blondies, cookie bars, & other treats.
    • CakesThese easy cake recipes are perfect for holidays or any occasion. Find recipes for chocolate, birthday, and bundt cakes, or cheesecake, cake pops and bars.
    • CandyLearn how to make different types of candy with these recipes, like chocolates, truffles, hard candies, and caramels. Or make delicious desserts featuring your favorites candies.
      • TrufflesLearn how to make homemade chocolate truffles with these easy recipes. Find a variety of flavors and fillings. They make a great dessert or treat for holidays or any day!
    • CheesecakeThese easy cheesecake recipes are some of the best out there. Make classic cheesecake, or try strawberry, chocolate, no bake, mini cheesecakes and more.
    • CookiesEveryone loves a good cookie! Whether you need them for Christmas, another holiday, or for weeknight dessert cravings, there are so many types of cookies to choose from here. Find the best recipes for chocolate chip cookies, sugar cookies, peanut butter cookies, and so much more.
    • CupcakesCupcakes make a great dessert for birthdays, holidays, or just because. These homemade cupcake recipes are fun, easy, and delicious! Find chocolate, vanilla, red velvet, and more.
    • Dessert DipDessert Dips are easy, delicious, and great for parties. These sweet dips can be paired with fruit, graham crackers, and other fun dippers. Try cookie dough dip, batter dips, cheesecake dip, and plenty of chocolate or cream cheese based dips too.
    • DrinksFind the perfect dessert drink for an after-dinner treat or holiday gathering. Try dessert cocktails or find non-alcoholic options too (like hot cocoa!). We’ve got drink recipes with chocolate, ice cream, and lots of things to satisfy that sweet tooth.
    • FrozenFrozen desserts are the perfect summer treat! Find easy recipes for ice cream and sorbet, freezer pies, popsicles, and all your favorite cold treats.
      • Ice CreamLearn how to make ice cream with these easy homemade ice cream recipes! Find fun flavors and unique ice cream desserts, plus lots of extras to take your ice cream up a notch. These are perfect for summertime but just as good any time.
    • HealthyThere are plenty of healthy desserts to satisfy your sweet tooth or any cravings! These easy recipes make dessert time extra delicious.
    • Pies & CobblersThese easy pie recipes are perfect for any season. Learn how to make homemade pies for holidays or everyday desserts. Find all types of pies, from the ever popular apple and pumpkin, to blueberry, cherry, sweet potato, or cream pies.
    • SnacksWhen it’s not quite dessert time, but you’re still craving something sweet, make one of these easy sweet snacks. Find healthier options, quick recipes, and some delicious sweet and salty snacks that you can make any time.
    • Web Stories
  • Flavor
    • Apple
    • CaramelEasy dessert recipes featuring caramel. Everyone loves this sweet candy, so add it to chocolates, cookies, and cakes, or learn how to make the perfect caramel sauce.
    • ChocolateEveryone loves chocolate! These are the best chocolate dessert recipes, including chocolate cake, fudge, truffles and more. Try these easy chocolate recipes any time.
    • LemonThese easy lemon dessert recipes are delicious and decadent. Lemon is the perfect flavor for spring and summer, Easter and other holidays. Find lemon cakes, cookies, tarts, pies, bars, and more!
    • Peanut ButterThese peanut butter desserts are easy and delicious. Whether it’s cookies, brownies and bars, cakes, no bake desserts, or anything else, peanut butter makes every recipe a little bit tastier.
    • Pumpkin
    • StrawberryThese strawberry desserts are easy, delicious, and perfect for any occasion. Find fresh strawberry desserts, healthy options, cakes, no bake desserts, shortcake, and all kinds of unique recipes with strawberries.
    • Vanilla
  • Holiday
    • BirthdayFind the best and most popular birthday dessert recipes for adults, kids, him or her. Get easy cake and cupcake ideas, or try fun birthday desserts other than cake.
    • ChristmasThese easy Christmas desserts are the perfect way to celebrate the holidays. Find recipes for classic desserts, make ahead recipes, and more. Try these pies, cookies, cakes, chocolates, and more this Christmas!
    • EasterEasy Easter dessert ideas to prepare for the holiday. Find traditional Easter desserts along with other Spring dessert recipes. Try cakes, cookies, tarts, lemon desserts, baked goods, and more.
    • HalloweenMake Halloween extra fun with these easy Halloween dessert recipes! Find all kinds of spooky treats, from cookies and brownies, to candy and cupcakes. These Halloween recipes are perfect for parties and post-trick-or-treating.
    • St. Patrick’s DayThese St. Patrick’s Day desserts are easy and fun! Celebrate the holiday with festive treats and snacks made with mint, Lucky Charms, Irish Liqueur, chocolate, and all the ingredients you’d want for St. Paddy’s Day. And of course you’ll find a few green desserts too!
    • ThanksgivingYour Thanksgiving feast isn’t complete without dessert! These easy Thanksgiving dessert recipes are some of the best for the holiday celebration. Find lots of pies, cakes, tarts, and more.
    • Valentine’s DayThese easy Valentine’s Day Desserts are the perfect way to celebrate the holiday. Find all your favorite chocolate, strawberry, and red velvet desserts to keep things festive, or try something more classic for a romantic dessert for two.
Recipe Index
No Bake
No Mixer
Boxed Mix
Healthy
Cookies
Breakfast
Cakes
Chocolate
Home / Cakes
cotton candy cake on cake stand

Cotton Candy Cake

Becky Hardin

|

Updated: March 16, 2026
4.42 from 29 votes

Jump to Recipe Pin for Later Add me as a Trusted Google Source
cotton candy cake pin.
cotton candy cake pin.
cotton candy cake pin.
cotton candy cake on cake stand
cotton candy cake pin.

My cotton candy cake is way more fun than your average birthday cake! I stacked layers of sweet cotton candy-flavored cake with delicious swirled cotton candy buttercream frosting to create this beautiful technicolor, unicorn-inspired cake. While it may be pretty picturesque, fear not! This oh-so-sweet cake is very easy to decorate and make from scratch.

Decorated cotton candy cake on cake stand.

Top Reader Review

I can’t believe the comments here- I followed the exact directions and my cake came out perfectly! I used gel food coloring.

–

Dana Pryor

Cotton Candy Birthday Cake

This colorful cotton candy cake feels as magical as childhood! That nostalgic cotton candy flavor permeates every aspect of the cake, and the colors are super fun and festive too. This cake is great for whimsical birthdays or baby showers.

Trust me, this bright and colorful layered cake is well worth the effort of decorating when you want to make a splash. I use blue and pink food coloring to get a swirled look, plus cotton candy flavoring for that perfectly sweet taste. I also like to finish off the cake with real puffs of cotton candy. It’s such a showstopper dessert, and it will make anyone feel extra special on their special day!

Cotton candy cake cut to show the pink and blue layers.

Email this Recipe

Enter your email and we’ll send the recipe directly to you!

Please enable JavaScript in your browser to complete this form.
Loading

By submitting this form, you consent to receive emails from Easy Dessert Recipes.

Check below the recipe card for instructions on how to make this cake with a boxed mix, plus some fixes for common mistakes.

featured cotton candy cake
4.42 from 29 votes

Cotton Candy Cake Recipe

Fun and colorful cotton candy cake is perfect for birthdays and showers. This cotton candy flavored cake will be the star of any celebration!
Prep Time: 30 minutes mins
Cook Time: 20 minutes mins
Total Time: 50 minutes mins
Print Pin

Equipment

  • Kitchen Scale (optional)
  • 3 8-inch Round Cake Pan
  • Stand Mixer
  • Piping Tip Set (optional)
Serves 12 slices

Ingredients

For the Cake

  • 4 cups cake flour
  • 1 tablespoon baking powder
  • 1¼ teaspoons kosher salt
  • 1 teaspoon baking soda
  • 1 cup unsalted butter room temperature (2 sticks)
  • 3 cups granulated sugar
  • 5 large eggs room temperature
  • 1¾ cups milk room temperature*
  • 1½ teaspoons cotton candy flavoring (2 drams LorAnn)**
  • Blue and pink food coloring optional***

For the Buttercream

  • 2 cups unsalted butter room temperature (4 sticks)
  • 7 cups powdered sugar
  • ⅛ teaspoon kosher salt
  • ¾ teaspoon cotton candy flavoring (1 dram LorAnn)
  • Pink and blue food coloring optional
US Customary | Metric

Instructions

Bake the Cakes:

  • Preheat oven to 350°F. Line 3 8-inch cake pans with parchment paper and spray them with nonstick spray. Set aside.
  • In a large mixing bowl, combine the flour, baking powder, salt, and baking soda. Set aside.
    4 cups cake flour, 1 tablespoon baking powder, 1¼ teaspoons kosher salt, 1 teaspoon baking soda
    dry ingredients for a cake in a white bowl.
  • In the bowl of a stand mixer fitted with a paddle or whisk attachment, beat the butter and sugar together on medium-high for about 1 minute.
    1 cup unsalted butter, 3 cups granulated sugar
    butter and sugar in the bowl of a stand mixer.
  • Add in the eggs, milk, and cotton candy flavoring. Beat on high for another 1 minute.
    5 large eggs, 1¾ cups milk, 1½ teaspoons cotton candy flavoring
    eggs and milk added to cake batter in a stainless bowl.
  • Add in the flour mixture and stir just until the flour has been incorporated. Divide evenly into 2 smaller bowls and color with blue and pink food coloring if desired.
    Blue and pink food coloring
    pink and blue cake batter in separate bowls.
  • Alternately spoon blue and pink batter into the cake pans and gently swirl them together. Don’t swirl too much or the batter will turn purple and bake into a brown color. Place into the oven to bake for 20-23 minutes, or until a toothpick inserted comes out clean, or with moist crumbs. Once baked, remove from the oven, place onto a cooling rack, and let cool to room temperature.
    swirled pink and blue cake batter in a round cake pan.

Make the Buttercream:

  • While the cakes are cooling, make the buttercream. In the bowl of a stand mixer fitted with the paddle attachment, beat the butter, powdered sugar, salt, and cotton candy flavoring together. Beat first on low for about 2 minutes, or until the powdered sugar is almost completely incorporated, to avoid it from flying out of the bowl. Increase speed to high and let it whip for 4 minutes to create a smooth buttercream.
    2 cups unsalted butter, 7 cups powdered sugar, ⅛ teaspoon kosher salt, ¾ teaspoon cotton candy flavoring
    fluffy frosting in a stand mixer bowl.
  • Separate the frosting evenly into 3 bowls. Color 1 bowl pink, 1 bowl blue, and leave the last bowl uncolored.
    Pink and blue food coloring
    pink, blue, and white buttercream in bowls.

Decorate the Cake:

  • Once the cakes are cooled, place 1 layer onto a cake stand or plate. Top with about ¼ cup of buttercream and spread to the edges.
  • Place a second layer of cake on top and frost. Place the last layer of cake on top.
  • Frost the top and sides of the cake with buttercream. Alternate between white, blue, and pink frosting for a cotton candy, rainbow effect.
  • For neat multi-colored frosting swirls, alternately spread some pink and blue buttercream onto the sides of a piping bag fitted with your choice of tip. Once you are happy with the mix of colors, fill the remainder of the bag with white buttercream. Pipe in a clock formating, piping 1 swirl each at 12:00, 6:00, 3:00, and 9:00. Continue in that fashion around the perimeter of the cake.
  • If desired, top with clouds or pieces of cotton candy.
  • Once the cake is frosted, slice and serve!

Notes

*I recommend whole milk, but any kind of milk will work here.
**If you can’t find it locally, I recommend ordering some from LorAnn.
***While totally optional, I used pink and blue food colorings to make both the cake and the frosting super vibrant! I added a little bit of yellow in mine, too, but doing just pink and blue is the easiest!
Tips:
  • If you want to make this recipe with cake mix, swap the cake ingredients for 2 boxes of white or yellow cake mix (check below for further instructions).
  • Make sure the cake is fully cooled before frosting, or the frosting will melt off.
  • I like to bake the cakes a day ahead of time, then assemble and decorate it the next day.
  • Be sure to use active baking powder–check the expiration date!
  • Measure dry ingredients using the spoon-and-level-method; or use a kitchen scale.
  • Make sure your dairy ingredients are room temperature. Adding them cold straight from the fridge can lead to a lumpy batter and improper mixing.
  • If you plan to top your cake with cotton candy, wait until just before serving. The moisture from the buttercream will start to melt the cotton candy pretty quickly.
Storage: Store cotton candy cake in an airtight container at room temperature for up to 2 days or in the refrigerator for up to 4 days.
Nutrition Facts
Cotton Candy Cake Recipe
Amount Per Serving (1 slice)
Calories 1072 Calories from Fat 450
% Daily Value*
Fat 50g77%
Saturated Fat 30g188%
Trans Fat 2g
Polyunsaturated Fat 2g
Monounsaturated Fat 13g
Cholesterol 194mg65%
Sodium 512mg22%
Potassium 138mg4%
Carbohydrates 152g51%
Fiber 1g4%
Sugar 120g133%
Protein 9g18%
Vitamin A 1576IU32%
Calcium 134mg13%
Iron 1mg6%
* Percent Daily Values are based on a 2000 calorie diet.
Author: Becky Hardin
Course: Cake, Dessert
Cuisine: American
Did you make this?We love seeing what you’ve made! Tag us on social media at @easychickenrecipes for a chance to be featured.

How to Fix Common Mistakes

  • A Flat Cake: This could be due to the leavening agent–I used both baking powder and baking soda to achieve a fluffy result. Be sure to add both in the amounts listed, and be sure they aren’t expired. The other potential cause is under-baking. If the center isn’t fully baked through, it will collapse as it cools.
  • A Dry Cake: Over-mixing the batter is the most common reason for a dry or dense cake. Mix ingredients just until combined. Get rid of big dry clumps, but don’t go overboard.
  • Buttercream Consistency: If your buttercream frosting is too thin, chill it for 10-20 minutes, then whip again. If it is still too thin, add powdered sugar, 1 tablespoon at a time, until it reaches the desired consistency. If your buttercream is too thick, add milk, 1 tablespoon at a time, until it reaches the desired consistency.
overhead image of decorated cotton candy cake

How to Make Cotton Candy Cake with Cake Mix

I made this cotton candy cake recipe from scratch to get the perfect fluffy texture (using cake flour) and vibrant colors. To make it easier, swap the listed cake ingredients for 2 boxes of white or yellow cake mix (enough to fill 3 8-inch cake pans).

  1. Prepare the cake batter according to package instructions.
  2. Mix in 1½ teaspoons of cotton candy flavoring, as instructed above.
  3. Divide the batter into 2 bowls, and dye each with blue and pink food coloring. Then swirl the batter into the cake pans, as instructed above.
  4. Bake the cake layers according to package instructions; or about 20-23 minutes. Then let them cool before frosting and decorating as instructed in the recipe card.

How to Store

Store decorated cotton candy cake in a cloche or cake container; or store slices in airtight containers. Keep at room temperature for up to 2 days, or in the refrigerator for up to 4 days.

More Cake Recipes to Try!

Browse All Cakes
  • Cotton Candy Cupcakes

    Cotton Candy Cupcakes

  • Mango Cake

    Mango Cake

  • Doctored White Cake Mix (WASC Cake)

    Doctored White Cake Mix (WASC Cake)

  • Airplane Cake

    Airplane Cake

Becky Hardin Avatar

Meet

Becky Hardin
Becky Hardin has been blogging since 2012 and founded Easy Dessert Recipes in 2020. We love creating recipes that make putting desserts and sweets on the table faster and tastier for busy families. Becky has been featured in The Kitchn, People Magazine, Home and Family, The Today Show, and more.
Learn More
4.42 from 29 votes (27 ratings without comment)

Leave a Reply Cancel reply

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

Made this? Rate this recipe:




This site uses Akismet to reduce spam. Learn how your comment data is processed.

10 responses

  1. Debbi
    August 31, 2022

    I am a baker, use to work professionally baking cakes. This recipe didn’t seem right to me but I went ahead & made it. After all you have a website & pictures of the cake.

    The blue turned out green because of the yellow from the eggs. No way did it cook in the 30 minutes the recipe said. It took more like 35 minutes. When I put the eggs & milk in the butter immediately got cold & chunky. Overall it’s not a good cake recipe. Would not recommend it.

    The batter was good with the taste of cotton candy from the oil you recommended.1 star

    Reply
    1. Becky Hardin
      August 31, 2022

      Hi Debbi, I’m sorry this recipe didn’t work out for you! I’d love to help you troubleshoot.

      I’m surprised that the blue came out green! We haven’t had that happen before. Did you use gel or liquid? The gel is usually much stronger in color!

      As for the bake time, all ovens are different, so the bake time can vary! We recommend getting an oven thermometer to be sure that your oven is at the right temperature.

      Were your eggs and milk also at room temperature? Cold milk and eggs can cause the butter to clump, so make sure that all of your eggs and dairy products are at room temperature!

      Reply
    2. Rashida copper
      November 15, 2025

      This is my favorite decoration and birthday theme plus wit and fingerpolish for young women Rainbow ‚‚ I like milk shakes

      Reply
  2. Lori
    October 11, 2022

    Unfortunately, this one flopped. I put it in 8″ pans and it overflowed on one of them, Not as high on the sides. Upon removal, I thought 2 layers would work, but the cake flattened. 🙁 Did not work or cook according to directions either. Timing is off.

    Reply
    1. Becky Hardin
      October 11, 2022

      We’re sorry this recipe didn’t quite work out for you, Lori! Make sure to fill your cake pans only about halfway to avoid them overflowing in the future! Also, if the cake flattened when it came out of the oven, it probably needed a few minutes longer to bake. Make sure to test the cake with a toothpick to see if it is ready. It should come out clean or with a few moist crumbs!

      Reply
  3. Athena
    February 11, 2023

    I am not sure if you tried making this according to your recipe multiple times?just wondering if you had any issues. I unfortunately didn’t read the comments before making this. I like to use metric since it’s more accurate for Baking and the sugar seemed off so I put into a cup and it was off by about 60 grams too much in your metric conversion. I’m just a home baker so not a professional but once I added the milk it also felt like something was off. My batter curdled like I had added vinegar. I’m still trying to trust the process but I am about to start making a different cake recipe because I used spring cake pans and it’s leaking out the bottoms while baking. So I need a back up because it’s a birthday cake due in a few hrs .I’m following your recipe exactly but I do not have faith it will come out correctly so far. Seems like it will taste good but not really be a cake. Fingers crossed.

    Reply
    1. Becky Hardin
      February 13, 2023

      Hi Athena, this recipe has been tested many times! It sounds like your eggs or milk may have been added cold straight from the refrigerator. We recommend using room temperature ingredients, as they can solidify and curdle in the batter if they’re too cold. This can also cause the cake to bake more slowly due to the cold start. We use the standard calculation of 200 grams of sugar per cup, so we’re not sure where the discrepancy there is coming from.

      You can cover the cakes with foil if they start to brown too quickly, but it may be the pans used, as we don’t recommend springform pans for this recipe. They are designed for thicker batters like cheesecake. If the batter was leaking out of the bottom of the pans, that could be the cause of the burning smell. This is a thinner batter that benefits from a traditional cake pan.

      We’re sorry this recipe didn’t work out for you!

      Reply
  4. Athena
    February 11, 2023

    Ok got it out of the oven. Takes at least 45 min baking and filled pan halfway and it’s still raw in the middle. So the outside is really dark, can’t continue to cook because it already smells like it’s burning. Not sure whats happening but I can’t recommend this recipe. Wondering if it’s the milk added. The texture seemed more like cake without the milk, also for how much sugar is in it, it’s not very sweet which was shocking because I was worried it would be too sweet. Sadly wasted my ingredients and eggs are expensive these days and hard to find, so pretty disappointed1 star

    Reply
  5. Dana Pryor
    September 24, 2023

    I can’t believe the comments here- I followed the exact directions and my cake came out perfectly! I used gel food coloring.

    Reply
    1. Becky Hardin
      September 26, 2023

      We’re so happy to hear you had success, Dana!

      Reply
a woman in a plaid shirt is smiling in front of a vase of flowers.

Welcome!

Hi, I’m Becky! If you love sweets, you’re in the right place! We are all about the easy dessert recipes for every occasion. Meet the Team…

easy dessert recipes ebook transparent

Join The Dessert Club

Receive new Recipes + FREE Recipe eBook

Please enable JavaScript in your browser to complete this form.
Loading

Popular Desserts

  • Chocolate Cake Pops

    Chocolate Cake Pops

  • Stabilized Whipped Cream Frosting

    Stabilized Whipped Cream Frosting

  • Dirt Cake Cups

    Dirt Cake Cups

  • Chocolate Chip Cupcakes

    Chocolate Chip Cupcakes

  • Chocolate Rice Krispie Treats

    Chocolate Rice Krispie Treats

  • Island Green Tropical Smoothie

    Island Green Tropical Smoothie

  • How to Make Flan

    How to Make Flan

  • Homemade Puppy Chow

    Homemade Puppy Chow

Trending Recipes

  • Peanut Butter Chocolate Chip Mug Cake

    Peanut Butter Chocolate Chip Mug Cake

  • French Cruller (Dunkin Donuts Copycat Recipe)

    French Cruller (Dunkin Donuts Copycat Recipe)

  • Chocolate Mug Cake

    Chocolate Mug Cake

  • Boston Cream Pie Donuts

    Boston Cream Pie Donuts

  • Skillet Pineapple Upside Down Cake

    Skillet Pineapple Upside Down Cake

  • Doctored White Cake Mix (WASC Cake)

    Doctored White Cake Mix (WASC Cake)

  • Ambrosia Fruit Salad

    Ambrosia Fruit Salad

  • Simple White Wedding Cake

    Simple White Wedding Cake

As Featured On

better homes gardens
real simple
cooking light
huffington post
buzzfeed
taste of home

Free Top 10 Desserts eBook

Download Now
  • Facebook
  • Instagram
  • Pinterest
Recipes
About
Contact

©

Easy Dessert Recipes

·

Disclosure & Privacy Policy

·

Brand by MRD. Theme by OC.

Rate This Recipe

Your vote:




A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.