Who knew fudge could be so playful? If you want a whimsical, colorful treat, this cotton candy fudge delivers both nostalgia and rich flavor. A creamy white chocolate base carries the light, airy cotton candy note, while the pastel pink and purple swirls make each bite feel like a tiny celebration. It’s ideal for kids’ parties, baby showers, or any moment you want a cheerful dessert that’s easy to make.
The first time I tried this recipe I was unsure about the cotton candy flavoring, but one bite changed my mind. The sweetness is pure fun—reminding you of summer fairs, sticky fingers, and laughter in the sun—without being overpowering. If you’re looking for a dessert that’s a little different but simple to prepare, give this fudge a try.

A sweet walk down memory lane 🌈
I still remember my first taste of cotton candy at the county fair: a pink cloud on a stick that melted instantly on my tongue. That fleeting, magical sweetness stuck with me. Turning that flavor into a cozy, homemade fudge felt like the perfect way to capture that memory—only now it’s creamy and sliceable. When I first cut into the marbled pink-and-purple squares, it was pure joy.
The origin of fudge: A sweet little history
Fudge dates back to the late 19th century and, according to legend, began as a happy accident while someone attempted to make caramels. Since then it has become a versatile confection, evolving into many flavors from classic chocolate to creative variations like this cotton candy version. Fudge’s appeal lies in its simplicity: a handful of ingredients, a little heat and stirring, and you have a delightful bite-sized treat.
What makes cotton candy fudge so special?
This fudge combines a silky white chocolate base with cotton candy flavoring for a nostalgic taste. The pastel pink and purple swirls turn it into an edible little work of art. It balances visual fun with an indulgently smooth texture, making it a crowd-pleaser for both kids and adults.
Let’s talk ingredients: The stars of the show
- White chocolate chips: The foundation of the fudge, creating a creamy texture and mild sweetness that lets the cotton candy flavor shine. Use a good-quality brand for the best melt and texture.
- Sweetened condensed milk: Adds the dense, fudgy body and richness. There’s no exact substitute, so it’s worth using the real thing.
- Cotton candy flavoring: The defining note of this recipe. A concentrated flavoring works best—use sparingly and taste as you go since a little can go a long way.
- Gel food coloring: For vibrant pastel pink and purple swirls. Gel color is preferable to liquid because it provides brighter hues without thinning the fudge.

Tools you’ll need (and what you can skip)
- Medium saucepan: For gently melting the chocolate, butter, and condensed milk together. A heavy-bottomed pan helps prevent scorching.
- Mixing bowls: Two bowls make it easy to color and flavor separate portions for the swirls.
- Parchment paper: Essential for lining the pan so the fudge lifts out cleanly once set.
- Butter knife or offset spatula: For swirling the colored mixtures into a marbled design. An offset spatula gives better control, but a knife works fine.
Step-by-step: Making your cotton candy fudge
- Line your pan: Line an 8×8-inch baking pan with parchment paper, leaving an overhang to lift the fudge out later.
- Melt the chocolate: In a medium saucepan, combine white chocolate chips, sweetened condensed milk, and butter. Heat over medium, stirring constantly until melted and silky—about 6–7 minutes. If the mixture looks grainy, lower the heat and stir until smooth.
- Divide and conquer: Pour half the melted mixture into each of two bowls.
- Add flavor and color: Stir 1 teaspoon of cotton candy flavoring into each bowl, adding pink gel color to one and purple to the other. Mix until uniform.
- Create the swirls: Spoon alternating dollops of pink and purple mixture into the prepared pan until all the fudge is used.
- Swirl it up: Gently swirl the colors with a butter knife or offset spatula to create a marbled effect—don’t overmix.
- Set and chill: Cover with parchment and press gently to level. Chill in the refrigerator for about 2 hours, or leave at room temperature for up to 4 hours to set.
- Slice and enjoy: Lift the set fudge using the parchment overhang and cut into squares. Serve at room temperature for the best texture.

Variations and adaptations
- Vegan option: Use dairy-free white chocolate chips and a plant-based butter substitute to make a vegan version.
- Gluten-free: This recipe is naturally gluten-free as written.
- Holiday twist: Add edible glitter or themed sprinkles before the fudge sets, or switch colors to suit holidays (red/green, orange/black, etc.).
- Different flavors: Replace the cotton candy flavoring with peppermint, strawberry, bubblegum, or another extract to change the profile.
How to serve your cotton candy fudge
Serve the fudge on a pretty platter for parties or pack squares in small treat bags as favors. For extra flair, garnish with a small tuft of cotton candy or a sprinkle of nonpareils when presenting.
Drink pairings? Yes, please!
A cold glass of milk pairs perfectly with the sweetness. For something richer, a vanilla milkshake complements the flavors well. For an adult pairing, a light, fruity rosé can provide a pleasant contrast to the fudge’s richness.
Storing and reheating (though I doubt there’ll be leftovers)
Store any leftover fudge in an airtight container in the refrigerator for up to two weeks, separating layers with parchment to prevent sticking. For a softer texture, let pieces sit at room temperature for 10 minutes before serving. You can also freeze tightly wrapped squares for up to three months.
Scaling the recipe for more (or less!)
To serve a crowd, double the recipe and use a 9×13-inch pan. For a smaller batch, halve the quantities and use a loaf pan. Larger pans may require longer chilling time to set fully.
Potential pitfalls (and how to avoid them)
The most common issue is chocolate seizing from excessive heat. Melt the mixture gently over medium heat and stir constantly. If the mix becomes grainy, try stirring in a tablespoon of warm milk or water to smooth it out.
Time to whip up some magic in the kitchen!
This cotton candy fudge is a charming, colorful treat that’s simple to make and sure to brighten any dessert table. Play with colors and flavors to personalize it—fudge is forgiving, and the result is always delightful.

FAQs
1. Can I use regular food coloring instead of gel?
Yes—regular liquid coloring will work, but gel provides more vibrant shades without changing the texture.
2. My fudge is grainy—what happened?
That usually means the chocolate got too hot. Melt slowly over medium heat and stir constantly to prevent seizing.
3. Can I freeze this fudge?
Yes. Wrap pieces tightly and store in an airtight container for up to three months.
4. Can I use a different flavoring?
Absolutely—try vanilla, peppermint, strawberry, or bubblegum for a different twist.
5. How long does this fudge last?
Stored in an airtight container in the fridge, it will stay fresh for up to two weeks.
Cotton Candy Fudge Recipe
Ingredients
- 22 oz (2 11-oz. bags) white chocolate chips (use a good-quality brand)
- 14 oz can sweetened condensed milk
- 1/4 cup unsalted butter, room temperature
- 2 tsp cotton candy flavoring, divided
- 1/2–3/4 tsp pink gel food coloring
- 1/2–3/4 tsp purple gel food coloring
Instructions
- Line your pan: Line an 8×8-inch pan with parchment paper, leaving an overhang.
- Melt the chocolate: In a medium saucepan, combine white chocolate chips, sweetened condensed milk, and butter. Heat over medium, stirring constantly until smooth (about 6–7 minutes). If it looks grainy, reduce heat and stir until smooth.
- Divide and conquer: Transfer half the mixture to two separate bowls.
- Add flavor and color: Stir 1 teaspoon of cotton candy flavoring into each bowl. Tint one bowl pink and the other purple with gel coloring.
- Create the swirls: Spoon alternating dollops of each color into the prepared pan.
- Swirl it up: Gently swirl with a knife or offset spatula to marble—don’t overmix.
- Set and chill: Cover and press gently to level. Chill in the fridge for about 2 hours or leave at room temperature for up to 4 hours.
- Slice and enjoy: Lift the set fudge with the parchment overhang and cut into squares.
Notes
How to serve your cotton candy fudge
Serve on a decorative plate or package squares in treat bags for party favors. Garnish with a small tuft of cotton candy or sprinkles for extra whimsy.
- Author: Jessica
- Prep Time: 15 minutes
- Cook Time: 7 minutes
- Yield: 16–20 pieces