Unicorn sugar cookies are whimsical, pastel-colored treats that bring a touch of magic to any occasion. These buttery, crisp-edged cookies are made with a simple sugar cookie dough, then decorated with a swirled royal icing in rainbow hues and topped with edible glitter or sprinkles. They’re perfect for birthday parties, baby showers, or just a fun baking project with kids, and they taste as good as they look.
Ingredients
- 2 ¾ cups (350 g) all-purpose flour, plus more for rolling
- ½ teaspoon baking powder
- ¼ teaspoon salt
- 1 cup (226 g) unsalted butter, softened
- 1 cup (200 g) granulated sugar
- 1 large egg
- 2 teaspoons vanilla extract
- ½ teaspoon almond extract (optional)
- For the royal icing:
- 4 cups (480 g) powdered sugar
- 3 tablespoons (45 ml) meringue powder
- 6 tablespoons (90 ml) water, plus more as needed
- Gel food coloring: pink, purple, blue, yellow, green
- Edible glitter or rainbow sprinkles for decoration
Instructions
- In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
- In a large bowl, beat the softened butter and sugar with an electric mixer on medium speed until light and fluffy, about 2 minutes. Add the egg, vanilla, and almond extract (if using), and beat until combined.
- Gradually add the dry ingredients to the wet mixture, mixing on low until just combined. The dough will be crumbly; press it together with your hands to form a ball.
- Divide the dough into two discs, wrap in plastic wrap, and refrigerate for at least 1 hour (or up to 2 days). This chilling step is essential for easy rolling and prevents spreading.
- Preheat your oven to 375°F (190°C). Line baking sheets with parchment paper.
- On a lightly floured surface, roll one disc of dough to ¼-inch (6 mm) thickness. Use unicorn-shaped or round cookie cutters to cut out shapes. Transfer to prepared baking sheets, spacing them about 1 inch apart.
- Bake for 8-10 minutes, until the edges are just lightly golden. The centers should look set but not browned. Let cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely before icing.
- While cookies cool, make the royal icing: In a large bowl, combine powdered sugar and meringue powder. Add water and beat on low speed until combined, then increase to medium-high and beat for 5-7 minutes, until the icing is glossy and holds a stiff peak when you lift the beater. Add more water a teaspoon at a time if too thick, or more powdered sugar if too thin.
- Divide the icing into five small bowls. Color each with gel food coloring: pink, purple, blue, yellow, and green. Keep bowls covered with a damp cloth to prevent drying.
- Transfer each colored icing to a separate piping bag fitted with a small round tip (or use a zip-top bag with a tiny corner snipped off). Outline and fill each cookie, using a toothpick to spread the icing evenly. While the icing is still wet, sprinkle with edible glitter or rainbow sprinkles.
- Let the icing set at room temperature for 2-3 hours, until completely dry and hard to the touch. Store in an airtight container.
Tips
- Chill the dough well: Don’t skip the chilling step. It keeps the cookies from spreading and makes the dough easier to handle. If the dough gets too soft while rolling, pop it back in the fridge for 10 minutes.
- Use gel food coloring: Liquid food coloring can thin the icing and make colors less vibrant. Gel colors give you bright pastels without altering the consistency.
- Consistency is key for icing: For flooding (filling the cookie), the icing should be thin enough that a spoonful drips back into the bowl and smooths out within 10 seconds. If it’s too thick, it won’t spread; if too thin, it will run off the edges.
- Keep icing covered: Royal icing dries quickly. Always keep bowls and piping bags covered with a damp cloth or plastic wrap when not in use.
Serving Suggestions
Serve these unicorn cookies at a magical-themed birthday party, a baby shower, or as a whimsical dessert for a tea party. They pair beautifully with a glass of cold milk, a cup of herbal tea, or a scoop of vanilla ice cream for an extra-special treat. Arrange them on a pastel platter with a few extra sprinkles scattered around for a dreamy presentation.
Variations
- Lemon Unicorn Cookies: Add 1 tablespoon of lemon zest to the dough for a citrusy twist, and use lemon juice instead of water in the royal icing.
- Chocolate Unicorn Cookies: Replace ¼ cup (30 g) of the flour with unsweetened cocoa powder for a chocolate base that contrasts beautifully with the pastel icing.
- Vegan Version: Use vegan butter and a flax egg (1 tablespoon ground flaxseed mixed with 3 tablespoons water) for the dough. For the icing, use aquafaba (chickpea brine) instead of meringue powder and water—beat 3 tablespoons of aquafaba with the powdered sugar until stiff peaks form.
- Gluten-Free: Substitute a 1:1 gluten-free baking flour blend for the all-purpose flour. The dough may be slightly more delicate, so chill it longer.
Storage and Reheating
Store undecorated cookies in an airtight container at room temperature for up to 1 week. Once decorated, they keep for about 2 weeks at room temperature in a single layer (or with parchment between layers). You can also freeze undecorated baked cookies for up to 3 months—just thaw at room temperature before icing. Do not refrigerate decorated cookies, as condensation can make the icing sticky. These cookies are meant to be eaten at room temperature; no reheating needed. If you prefer a slightly softer texture, add a slice of bread to the container for a day.
Frequently Asked Questions
Can I use a different icing? Yes, you can use a simple glaze made from powdered sugar and milk, but royal icing dries hard and is best for detailed decorations. Buttercream is softer and won’t set as firmly, making it harder to stack.
Why did my cookies spread too much? The dough was likely too warm when it went into the oven. Make sure to chill it thoroughly, and don’t overbeat the butter and sugar—overbeating incorporates too much air, which can cause spreading.
Can I use liquid food coloring? You can, but it may thin the icing. Add a little extra powdered sugar to compensate. Gel colors are preferred for vibrant, concentrated color.
How do I get the unicorn swirl effect? To create a marbled look, paint thin stripes of different colored icing inside a piping bag before filling it with white or a base color. When you pipe, the colors will come out swirled.
Can I make the dough ahead? Absolutely. The dough can be refrigerated for up to 3 days or frozen for up to 3 months. Thaw frozen dough in the fridge overnight before rolling.
Are these cookies safe for kids? Yes, they are egg-free in the icing (meringue powder is pasteurized) and the cookie contains a cooked egg, making them safe for children. If you have concerns about raw flour in the dough, note that the dough is not meant to be eaten raw—bake it fully.
Related
- Sugar Glass Cookies: Easy Edible Window Recipe
- Sugar Swan Cookie: How to Make a Beautiful Edible Swan
- Sugar Glass Cookie Crk Recipe: How to Make It
More recipes to cook
Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes
Spotted an error? Tell us and we will correct it (corrections policy).