This cotton candy cake brings a carnival-inspired whimsy straight to your dessert table. Three layers of soft, fluffy sponge are infused with cotton candy flavoring and tinted in dreamy shades of pink and blue for a gorgeous marbled effect.
The buttercream follows suit — divided, colored, and swirled together to mimic the look of spun sugar. A crown of fresh cotton candy placed just before serving adds an unforgettable finishing touch that will delight guests of all ages.
Perfect for birthdays, celebrations, or any occasion that calls for something playful and eye-catching, this cake is as fun to make as it is to eat.
The smell of cotton candy always throws me back to county fairs, sticky fingers and all, so when my niece asked for a carnival themed birthday cake I knew exactly what to attempt.
I baked this at midnight the night before the party, shirt dusted in pink flour, convinced the swirl effect would be a disaster.
Ingredients
- All-purpose flour (2 1/2 cups, 310 g): The backbone of a tender crumb, measure by spooning into the cup and leveling off for accuracy.
- Baking powder (2 1/2 tsp): Fresh powder is nonnegotiable here, test it in hot water first to make sure it bubbles.
- Salt (1/2 tsp): Just enough to sharpen all that sweetness and keep the cake from tasting flat.
- Unsalted butter, softened (3/4 cup, 170 g): Room temperature butter creams better and traps more air for a fluffier cake.
- Granulated sugar (2 cups, 400 g): This cake is sweet by nature, trust the process and do not reduce it.
- Large eggs, room temperature (4): Cold eggs can make the batter seize, so set them out while you prep dry ingredients.
- Cotton candy flavoring (1 tbsp for cake, 1 1/2 tsp for buttercream): Track this down online or at a baking supply shop, it is the soul of the whole recipe.
- Vanilla extract (1 tsp): Rounds out the cotton candy flavor so it does not taste purely artificial.
- Whole milk, room temperature (1 1/4 cups, 300 ml, plus 2 to 3 tbsp for buttercream): Whole milk gives richness that water or low fat milk simply cannot match.
- Pink and blue food coloring: Gel colors work best because they are vivid without thinning the batter.
- Powdered sugar, sifted (4 cups, 480 g): Sifting removes lumps and makes the buttercream silky smooth.
- Fresh cotton candy, to garnish: Buy it the day you serve the cake because humidity is its sworn enemy.
Instructions
- Prep your pans and oven:
- Heat the oven to 350 degrees F (175 degrees C), grease three 8 inch round pans, and line the bottoms with parchment rounds so nothing sticks.
- Whisk the dry team:
- In a medium bowl, combine the flour, baking powder, and salt with a whisk until evenly distributed, then set it aside.
- Cream butter and sugar:
- Beat the softened butter and granulated sugar in a large bowl on medium high speed until the mixture looks pale, fluffy, and almost cloudlike, about 3 to 4 minutes.
- Add eggs and flavor:
- Drop in one egg at a time, beating well after each, then pour in the cotton candy flavoring and vanilla until the batter smells like a midway booth.
- Combine wet and dry:
- With the mixer on low, add the flour mixture in three additions, alternating with the milk, starting and ending with flour, and mix only until the last streak of white disappears.
- Color and swirl:
- Split the batter evenly into two bowls, tint one pink and one blue, then drop alternating spoonfuls into each pan and drag a skewer through for that dreamy marble look.
- Bake and cool:
- Bake 25 to 28 minutes until a toothpick slides out clean from the center, let the cakes rest in their pans for 10 minutes, then invert onto a wire rack to cool completely.
- Whip the buttercream:
- Beat the butter until creamy, gradually add sifted powdered sugar on low speed, then stream in the cotton candy flavoring and just enough milk to reach a fluffy, spreadable consistency.
- Assemble the cake:
- Stack the cooled layers with buttercream between each one, then frost the outside, swirling pink and blue frosting together for a cotton candy gradient effect.
- Crown with cotton candy:
- Tear off fluffy tufts of fresh cotton candy and pile them on top right before serving, because even a little humidity will make them vanish.
When my niece saw the cake, she screamed loud enough to rattle the windows, and every kid at that party tried to steal the cotton candy off the top before the candles were even lit.
Making It Look Stunning
The swirl technique is more forgiving than you think, just resist the urge to overwork the batter once those colors meet. Edible glitter or rainbow sprinkles scattered between the layers add a surprise sparkle when the cake is sliced. Keep a damp paper towel nearby to wipe your spatula between swipes for cleaner edges on the outside frosting.
Handling the Flavoring
Cotton candy flavoring is concentrated, so measure carefully because a little extra can taste medicinal fast. Store it in a cool, dark cupboard and it will last for months, which is great because you will probably want to make this again. If you cannot find it anywhere, a mix of vanilla and a touch of raspberry extract can approximate something similarly sweet and fruity.
Storage and Make Ahead
Baked, unfrosted layers freeze beautifully for up to a month if wrapped tightly in plastic, so you can spread the work over two days. The frosted cake holds well in the fridge for up to three days, but bring it to room temperature before serving for the best texture.
- Always cover the cut sides with plastic wrap to keep the cake from drying out.
- Pull the cake from the fridge an hour before serving so the buttercream softens properly.
- Remember that leftover cotton candy cannot be saved, so only garnish what you plan to eat right away.
Some cakes are just dessert, but this one is a whole mood, part baking project and part party trick. Serve it to someone you love and watch the room light up.
Common Questions
- → Where can I find cotton candy flavoring?
-
Cotton candy flavoring is available online through retailers like Amazon, at specialty baking supply shops, and in the baking aisle of some well-stocked grocery stores. Look for it in small bottles alongside other extracts and emulsions.
- → Can I make this cake ahead of time?
-
Yes, the cake layers and buttercream can be prepared a day in advance. Store the frosted cake in the refrigerator, but hold off on adding the fresh cotton candy topping until right before serving, as it dissolves quickly with moisture.
- → How do I achieve the marbled effect in the batter?
-
Divide your batter into two bowls and tint one pink and the other blue. Drop alternating spoonfuls of each color into your prepared pans, then gently swirl with a skewer or knife. Avoid over-mixing to keep the distinct color ribbons visible.
- → Can I make a vegan version of this cake?
-
Absolutely. Substitute the butter with a plant-based alternative, use dairy-free milk such as almond or oat milk, and replace the eggs with a commercial egg replacer or a flax egg mixture. Verify that your cotton candy flavoring is also vegan-friendly.
- → Why does the cotton candy topping need to be added at the last minute?
-
Fresh cotton candy is extremely sensitive to moisture and humidity. Once placed on the frosted cake, it begins to dissolve and lose its fluffy texture within minutes. For the best visual impact and texture, arrange the cotton candy on top right before presenting and serving.
- → What if I can't find cotton candy flavoring?
-
If cotton candy flavoring is unavailable, you can substitute with a combination of vanilla extract and a touch of strawberry or raspberry flavoring to approximate the sweet, fruity profile. The visual impact of the pink and blue colors will still carry the cotton candy theme beautifully.