Desserts
Homemade Cotton Candy Recipe (Flavored Sugar, With or Without a Machine)
By Trevor Farias · Updated · 1 hour total · About 10 cones
Loading ratings…
In a nutshell
The easiest way to make cotton candy at home is with a small cotton candy machine and homemade floss sugar: rub a few drops of gel food coloring and flavoring extract into granulated sugar until evenly tinted, let it dry completely, then spin it in the preheated machine and gather the floss on a paper cone. Without a machine, boil sugar, corn syrup and water to 320°F, cool slightly, and flick thin threads from a cut-off whisk over two parallel spoon handles, then gather the strands into a nest.

Cotton candy is pure nostalgia: the county fair, the circus, a paper cone taller than your head. It is also just sugar and air, which means it is easy and remarkably cheap to make at home, especially for birthday parties, where it disappears in minutes.
If you have a home cotton candy machine, you do not need to buy the expensive flavored floss sugar. Ordinary granulated sugar tinted with a drop of gel coloring and a little extract works just as well, and you can make any color and flavor you like.
No machine? You can still make beautiful spun sugar by hand. It is coarser and crunchier than fairground floss, more like the golden sugar nests pastry chefs use, but it is fun to make and just as magical to eat.
Why this recipe works
- Rubbing gel coloring and extract into sugar coats every crystal evenly without dissolving it.
- Letting the colored sugar dry completely keeps it free-flowing, so it melts evenly in the machine instead of clumping and burning.
- A cotton candy machine melts sugar and flings it through tiny holes, where it cools instantly into glassy threads finer than hair.
- For hand-spun sugar, corn syrup prevents crystallization, and cooling the syrup slightly thickens it enough to form long threads.
Using a cotton candy machine
Preheat the machine for 5 to 10 minutes as the manufacturer directs. Add sugar only to the center spinner head, using the scoop that comes with the machine; overfilling makes smoke and burnt clumps. Once threads start forming, hold a paper cone or a clean skewer horizontally, turn it as you sweep it around the bowl, and slowly rotate it upright as the floss builds. Clean the spinner with hot water once the machine has cooled.
Use plain granulated sugar or your homemade floss sugar. Never put hard candy, powdered sugar or brown sugar in a machine unless it specifically says it can handle them.
Hand-spun sugar safety
Sugar syrup at 320°F causes serious burns. Keep children well away while it is hot, wear long sleeves, and have a bowl of ice water nearby in case of splashes. Cover the floor and counter with newspaper or parchment first; the threads fly everywhere, though they wash away easily with warm water.
Flavor and color combinations
- Blue raspberry: blue gel coloring and raspberry extract.
- Classic pink: pink coloring and vanilla or strawberry extract.
- Purple grape: purple coloring and grape flavoring.
- Green apple: green coloring and apple flavoring.
- Lemonade: yellow coloring and lemon extract with a pinch of citric acid.
How to store cotton candy
- Colored floss sugar keeps indefinitely in an airtight jar.
- Spun cotton candy is best eaten right away. To store for a few hours, seal it in an airtight container or bag with the air squeezed out, away from humidity.
Variations to try
- Rainbow cotton candy: add half a scoop each of two colors to the machine at once.
- Sparkle cones: roll finished cotton candy lightly in edible glitter or rainbow sprinkles.
- Cotton candy topping: perch a small cloud on cupcakes, milkshakes or drinks just before serving.
- Maple floss: spin granulated maple sugar in the machine for a naturally flavored floss.
Frequently asked questions
- Can you make cotton candy without a machine?
- Yes, you can hand-spin sugar syrup cooked to 320°F using a cut-off whisk. It makes coarser, crunchier threads than a machine, similar to a pastry chef's spun sugar nest.
- Can I use regular sugar in a cotton candy machine?
- Yes. Plain granulated sugar works well in most home machines. Adding coloring and extract simply makes it more colorful and flavorful.
- Why is my cotton candy machine smoking?
- Too much sugar was added, the sugar was damp and clumped, or residue is burning on the spinner head. Use one scoop of dry sugar at a time and clean the head regularly.
- Why does cotton candy shrink?
- Sugar absorbs moisture from the air, which dissolves the fine threads. Serve it immediately, especially on humid days, and store it airtight.
Recipe card
Homemade Cotton Candy Recipe (Flavored Sugar, With or Without a Machine)
How to make cotton candy at home: an easy homemade flavored and colored floss sugar for any cotton candy machine, plus a no-machine spun sugar method using a whisk. Blue raspberry, pink vanilla and more.
By Trevor Farias · Updated

- Prep
- 15 minutes
- Cook
- 15 minutes
- Total
- 1 hour
- Makes
- About 10 cones
Includes 30 minutes for the colored sugar to dry
Ingredients
For machine floss sugar (per color)
For hand-spun sugar (no machine)
For serving
Equipment
- Home cotton candy machine (for true floss)
- Paper cones or skewers
- Heavy saucepan and candy thermometer (for hand-spun sugar)
- Wire whisk with ends cut off, or two forks
- Two long wooden spoons and parchment or newspaper
Instructions
Color and flavor the sugar
For machine floss sugar, put the sugar in a bowl or zip-top bag. Add the gel coloring and extract and rub or shake until every crystal is evenly tinted, about 2 minutes. Break up any clumps.
Dry the sugar
Spread the sugar on a parchment-lined tray and let it dry completely, about 30 minutes, stirring once. It must be dry and free-flowing before using. Store it in an airtight jar.
Spin with a machine
Preheat the cotton candy machine for 5 to 10 minutes. Pour one scoop of sugar into the center of the spinner head. When floss begins to form, sweep a paper cone around the bowl, twirling it as the cotton candy gathers. Serve immediately.
Tip: Twirl the cone in the opposite direction to the spinner for tighter, neater floss.
No machine: set up
For hand-spun sugar, cover the counter and floor with newspaper. Tape two long wooden spoons to the edge of the counter so the handles stick out about 12 inches, parallel and 12 inches apart. Cut the looped ends off an old wire whisk with wire cutters to make a spinning tool, or use two forks held back to back.
No machine: cook the syrup
Combine the sugar, corn syrup, water and salt in a heavy saucepan. Stir over medium heat until the sugar dissolves, then stop stirring and boil to 320°F (160°C) on a candy thermometer. Remove from the heat, stir in the extract and coloring, and let cool for 2 to 3 minutes until the syrup forms long threads when lifted.
No machine: spin the sugar
Dip the cut whisk into the syrup and flick it rapidly back and forth over the spoon handles, letting the thin threads drape across them. Keep going until a thick web builds up, then gently gather it into a nest or wrap it around a cone. Reheat the syrup gently if it becomes too thick.
Notes
- Colored sugar must be completely dry before it goes in a machine.
- Add only one scoop of sugar to the machine at a time.
- Serve cotton candy immediately; humidity makes it collapse.
Nutrition (per serving, estimated)
| Calories | 75 |
|---|---|
| Fat | 0 g |
| Saturated fat | 0 g |
| Carbohydrates | 20 g |
| Fiber | 0 g |
| Sugar | 20 g |
| Protein | 0 g |
| Sodium | 0 mg |
| Cholesterol | 0 mg |
Serving size: 1 of 10. Nutrition is calculated from standard ingredient data and will vary with brands and substitutions.
Recipe from Trevor's Kitchen · https://trevorfarias.com/recipes/cotton-candy
More recipes you might like

Desserts
Homemade Marshmallows Recipe (Fluffy, Easy, No Corn Syrup Option)
Soft, fluffy homemade marshmallows made with gelatin, sugar syrup and vanilla.
- Total:
- 4 hours 35 minutes
- Makes:
- 36 large marshmallows (9x9-inch pan)

Cookies
French Macarons Recipe (Step-by-Step for Beginners)
A reliable French macaron recipe for beginners: smooth shells with ruffled feet, crisp outside and chewy inside, filled with vanilla buttercream.
- Total:
- 2 hours 30 minutes
- Makes:
- About 24 filled macarons

Jams & Preserves
Simple Strawberry Jam Recipe (No Pectin, 3 Ingredients)
The best simple strawberry jam recipe: easy homemade strawberry jam with just strawberries, sugar and lemon juice, no pectin needed.
- Total:
- 1 hour 10 minutes
- Makes:
- About 3 cups (three 8-ounce jars, 48 tablespoons)