Pin it
These cookies always get the same reaction. Someone peeks into the kitchen, sees the rainbow coils on the baking sheet, and laughs out loud. Then they take a bite and realize the joke is only half the story. The dough is soft and buttery, the colors stay bright after baking, and the sprinkle situation is completely out of control in the best way.
I make these whenever a birthday party needs a centerpiece or a gray Tuesday needs a little chaos. The shaping part is genuinely fun, and kids treat it like play dough that turns into dessert. You do not need piping bags, cookie cutters, or any real decorating skill. Just a few bowls of colored dough and a willingness to coil.
The rainbow dough lineup
Good gel food coloring is the difference between neon and muddy. I use gel rather than liquid because it does not throw off the dough consistency. You will also want a solid sugar cookie base that holds its shape without turning into a rock. Cream cheese in the dough keeps the crumb tender and adds a slight tang that balances all the sugar.
- All-purpose flour. The structure of the cookie. Measure it by spooning into the cup and leveling off so the dough stays soft.
- Butter and cream cheese. Together they create a rich, tender dough that bakes up plush and holds the twist shape.
- Granulated sugar. Sweetens the dough and helps the edges turn a very light gold.
- Egg and vanilla. Binds the dough and gives it that classic sugar cookie flavor.
- Baking powder. Just enough lift so the cookies are not dense, but not so much that they puff out of shape.
- Gel food coloring. Pink, purple, blue, and yellow are my usual squad. Gel keeps colors vivid and does not water down the dough.
- Sprinkles and edible glitter. The magic dust. Use jimmies or nonpareils that can handle oven heat without bleeding.
Twist and coil the ropes
- Mix the dough. Cream the butter, cream cheese, and sugar together until light and fluffy. Beat in the egg and vanilla, then stir in the flour, baking powder, and salt until a soft dough forms.
- Divide and tint. Split the dough into four or five portions and knead a different gel color into each one. Wear disposable gloves or your hands will look like art class for days.
- Chill briefly. Wrap each color separately and refrigerate for about thirty minutes. Cold dough is much easier to roll into smooth ropes without tearing.
- Roll into snakes. On a lightly floured surface, roll each color into a rope about half an inch thick and six inches long. Press the ropes together gently so they stick.
- Twist and coil. Twist the multicolored rope gently, then coil it into a loose poop shape on a parchment-lined sheet. Do not pack it too tight or the center will stay raw.
- Add sparkle. Press sprinkles into the tops before baking so they set into the dough rather than falling off later.
- Bake until set. Bake at 350°F (175°C) for ten to twelve minutes until the bottoms are barely golden and the tops look matte, not wet. Cool on the sheet for five minutes before moving to a rack.
Why gel beats liquid dye
Liquid food coloring can make sugar cookie dough sticky and pale. Gel paste is concentrated, so you need only a tiny dot to reach saturated pastels or bold neons. If the dough feels tacky after kneading in color, pop it back in the fridge for ten minutes before rolling. For more rainbow fun, our tie-dye sugar cookies use the same gel trick with a marbled cut-out style.
Swaps for dietary needs
You can use a one-to-one gluten-free flour blend if you need to, though the texture will be slightly more fragile. For dairy-free, replace the butter with a firm vegan stick and swap the cream cheese for a thick vegan cream cheese or simply omit it and add an extra two tablespoons of butter. The color and fun stay the same. If you are looking for another allergy-friendly option, try our hidden rainbow cookies which use a classic shortbread base.
Storing the magic
Layer the cooled cookies between sheets of parchment in an airtight container. They keep well at room temperature for three days, or in the fridge for up to a week. The colors stay bright and the sprinkle coating stays crunchy if you keep them away from humidity. You can also freeze the shaped but unbaked dough coils on a tray, then transfer to a freezer bag for up to two months. Bake straight from frozen, adding two to three extra minutes.
Serve them with flair
These cookies are basically a party decoration you can eat. Pile them on a cake stand with cotton candy clouds around the base, or tuck them into cellophane bags as take-home favors. They pair surprisingly well with a tart lemonade or a berry smoothie because the sugar cookie richness benefits from something acidic. For a simpler sprinkle-packed cookie, try our unicorn cookies with rainbow sprinkles. If you want a fruity twist, our rainbow Jello sugar cookies bring the same bright colors with a chewy texture. The U.S. Food and Drug Administration reminds consumers to verify that decorative glitters and dusts are labeled edible before using them on food. Check their guide to edible glitter to make sure your sparkle is safe to eat.
FAQs
- Can I use liquid food coloring instead of gel?
You can, but you will need more of it to reach bright colors, and the extra liquid can make the dough sticky. If you only have liquid, reduce it to a few drops and chill the dough longer before rolling.
- How do I keep the colors from bleeding while twisting?
Work quickly with cold dough and use only a light dusting of flour on your surface. Warm dough smears together into a muddy brown, so if the ropes get soft, refrigerate them for ten minutes before continuing.
- Can I make the dough ahead of time?
Yes. Wrap each colored portion tightly in plastic and refrigerate for up to two days. Let the dough sit at room temperature for five to ten minutes before rolling so it is pliable but still cool.
- Are all sprinkles and edible glitters safe to eat?
Not every glitter or dust is food-safe. Only use products explicitly labeled edible. The FDA maintains a consumer update on edible glitter that explains what to look for on the label.
- Why did my cookies spread and lose their shape?
Soft butter and a warm kitchen are the usual culprits. Chill the shaped cookies on the tray for fifteen minutes before baking, and make sure your butter was only slightly softened, not melted.
- Can I freeze these cookies?
Both the baked cookies and the unbaked dough freeze well. Store baked cookies in a freezer bag for up to two months. Freeze unbaked coils on a tray first, then bag them and bake from frozen with a couple extra minutes.
- What is the best way to serve unicorn poop cookies?
Pile them high on a platter so the colors show, or package them individually for party favors. They are a hit at unicorn-themed birthdays, bake sales, and any event that needs a conversation starter.