Unicorn Bars

These colorful unicorn bars are soft, buttery funfetti sugar cookie bars loaded with sprinkles and topped with swirls of creamy homemade frosting. All you need is one bowl and a spoon.

Unicorn bars topped with creamy blue frosting and sprinkles.

Colder weather is my excuse to comfort bake: Fun, easy baking recipes that are guaranteed to brighten my day. And if there was ever a dessert designed for happiness and parties, it’s these buttery, sprinkle-filled unicorn bars. The base is my sugar cookie bars crossed with confetti cake. They’re decorated with fluffy blue clouds of creamy frosting and more sprinkles (I recommend a heavy hand).

Why unicorns? The Unicorn and Rainbows cupcake from Baked and Wired in Washington, DC inspired this recipe. It’s their version of confetti cupcakes, and one of my favorites ever. Definitely get one if you find yourself in DC! In the meantime, I’ll show you how to recreate the funfetti flavors in these homemade unicorn cookie bars.

These would be perfect for a unicorn-themed party or birthday dessert. And let’s be honest. There’s no better treat to enjoy with a mug of unicorn hot chocolate!

What Makes These Unicorn Cookie Bars a Must-Bake

  • Melted butter in the dough makes it easy to bring together with or without a mixer.
  • No baking soda keeps the cookie bars dense and chewy. They bake nice and even.
  • Enjoy them frosted or unfrosted. Everyone loves these soft and chewy funfetti cookie bars, and they’re delicious on their own. But, as always, everything is better with frosting!
  • They slice like a dream and will be gone in a flash. And if you do have leftovers, these frosted unicorn bars store well for days.
A jar of rainbow sprinkles.

Ingredients You’ll Need

Here are the ingredients needed to make these magical unicorn bars from scratch. See the recipe card for the exact measurements and recipe details.

  • Butter – I use salted butter, but you can use unsalted if you’d like. This recipe will also work with shortening to make the bars dairy-free.
  • Sugar – Granulated sugar is best, or light brown sugar.
  • Vanilla – These funfetti unicorn bars are one of my only exceptions to using pure vanilla extract. While the flavor is always better with real vanilla, these turn out great with artificial vanilla for that old-fashioned “birthday cake” flavor, too.
  • Eggs – Bringing these to room temperature makes them easier to combine with the dough.
  • Flour – I recommend all-purpose as I haven’t tested this recipe with alternative flours. Spoon and level the flour or measure using a kitchen scale. If you scoop directly from the bag, you’ll end up with too much.
  • Sprinkles – The best sprinkles for baking are rainbow jimmies (rods) or quins (small flat shapes). Non-pareils, the tiny round balls, tend to bleed their color into the dough.
  • Frosting – You can use your favorite homemade or store-bought frosting here. I use an adaptation of my vanilla frosting made with room-temperature butter, powdered sugar, and milk (or heavy cream). I skip the vanilla in this version and leave the sweet flavor as-is.
  • Food Coloring – I opted to color my frosting light blue, but any color goes! Gel food colors offer the best, brightest colors without watering down the frosting like liquid food dyes tend to do. A little goes a long way. Top your unicorn bars with additional sprinkles, too. I include more decorating ideas below.

How to Make Unicorn Bars

Whenever I find myself craving sunshine and rainbows, I pull the giant jar of sprinkles from my pantry and make unicorn bars. (Doesn’t everyone have an emergency sprinkle stash in their cupboard?) It’s a huge bonus that the steps to make these are very easy:

  • Mix the dough. Start by creaming the butter and sugar together, then add the vanilla, eggs, and salt. Mix until smooth. Next, fold in the flour, followed by the sprinkles. Try not to overmix.
  • Bake. Spread the dough into a greased and lined 9×13 pan. Then, bake the bars at 350ºF for 25-30 minutes, until they’re just set at the edges. The bars will look underdone when they come out of the oven, but don’t worry. They set up as they cool.

Frosting the Bars

  • Make the frosting. Meanwhile, beat the butter, then slowly add the powdered sugar and milk to make the frosting. Once the frosting is smooth and creamy, mix in 1-2 drops of your choice of food coloring.
  • Decorate the bars. Lastly, pipe or spread the frosting evenly over your cooled funfetti bars. Decorate with extra sprinkles if you’d like, and enjoy!
Side by side images of unicorn bars topped with creamy blue frosting and sprinkles.

Tips for Decorating Your Unicorn Bars

  • Adjust the frosting consistency. If your frosting is too stiff, add more milk, one spoonful at a time, until you reach your desired consistency. If it’s too loose, you can add a little more powdered sugar.
  • Use piping tips. These unicorn bars are irresistible smothered with frosting, but piping the frosting creates a fancier finish. I use a large round 1A tip from Wilton.
  • Double the frosting. If you plan on piping frosting swirls as you see in the photos, you may need to increase or double the amount of frosting in the recipe. Piping always uses more frosting than if you were to simply spread it over the bars.
  • Funfetti frosting. For even more rainbow sprinkle magic, fold extra sprinkles into your frosting or make party frosting instead.
  • Different flavors. Top your bars with pretty pink strawberry frosting, meringue-style marshmallow frosting, or even chocolate frosting.
Three unicorn bars stacked with the top bar decorated with fluffy blue frosting and sprinkles.

Recipe FAQ

Why did my cookie bars turn out dense?

The number one cause of dense, tough sugar cookie bars is overmixing. Take care that you don’t mix too much after adding the flour.

Why are my bars crunchy?

Dry, crumbly cookie bars are likely the result of overbaking. These are meant to be soft-baked, so they should be just set at the edges. If your bars are brown all over, they’re overbaked.

Can I double or triple the recipe?

If you double the recipe, you can bake these bars in a 11×17½-inch cookie sheet.

Unicorn bars cut into squares, topped with creamy blue frosting and sprinkles.

Storage

  • Keep them airtight. I store these unicorn bars airtight at room temperature for up to 3 days, but you could store them in the fridge for up to 5 days. 
  • Freeze. I recommend freezing these bars without the icing whenever possible. Double-wrap the cooled, unfrosted cookie bars in plastic wrap and freeze them for up to 2 months. Thaw them fully to room temperature before you frost them.
Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
Three unicorn bars stacked with the top bar decorated with fluffy blue frosting and sprinkles.

Unicorn Bars

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.9 from 8 reviews
  • Author: Shelly
  • Prep Time: 20 minutes
  • Cook Time: 25 minutes
  • Total Time: 45 minutes
  • Yield: 36 bars 1x
  • Category: Dessert
  • Method: Oven
  • Cuisine: American

Description

Unicorn bars are such a fun, easy dessert! They’re buttery, soft-baked sugar cookie bars loaded with funfetti sprinkles and frosted with colorful, creamy icing. No mixer needed.


Ingredients

Scale
  • 1 cup butter, melted
  • 1 1/2 cups granulated sugar
  • 2 teaspoons vanilla
  • 3 eggs
  • 1/2 teaspoon kosher salt
  • 2 cups all-purpose flour
  • 1/2 cup sprinkles

Frosting

  • 1 cup butter, room temperature
  • 4 cups powdered sugar
  • 23 tablespoons milk
  • blue food coloring
  • sprinkles for garnish

Instructions

  1. Preheat the oven to 350°F. Line a 9×13 pan with foil and coat with nonstick spray. Set aside.
  2. In a large bowl, whisk together the butter and sugar. Add the vanilla, eggs, and salt and whisk until smooth. Using a rubber spatula, stir in the flour until just combined. Finally, stir in the sprinkles.
  3. Spread the batter into the prepared pan.
  4. Bake for 25-30 minutes until the edges are set. The bars might seem underdone, but allow them to cool completely.

Frosting

  1. In the bowl of the stand mixer, beat the butter for 1-2 minutes until it’s smooth. Turn the mixer to low and slowly add in the powdered sugar. Next, add 2 tablespoons of milk and mix on medium speed until creamy, scraping down the sides as necessary. If the frosting is too stiff, add in 1 more tablespoon of milk until the desired consistency is reached. Finally, add in 1-2 drops of blue food coloring and mix until a pale blue color is reached and evenly mixed.
  2. Pipe or spread the frosting on top of the bars.
  3. Garnish with more sprinkles if desired.

Notes

  • If you pipe on the frosting as shown in the pictures, you may need to double the amount of frosting. It always uses more frosting when you pipe versus spreading it on.

Nutrition

  • Serving Size:
  • Calories: 205
  • Sugar: 19.4 g
  • Sodium: 40.2 mg
  • Fat: 10.7 g
  • Carbohydrates: 24.9 g
  • Protein: 1.4 g
  • Cholesterol: 42.6 mg

Want To Save This Recipe?

Find more recipes like this:

 

Rate this recipe and share a comment

Your email address will not be published. Required fields are marked *

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

I accept the Privacy Policy

69 comments on “Unicorn Bars”

  1. These are so good. Even my friend who doesn’t really like to eat sweets can’t stay away from them. I saw here eat more of them than any other sweet ever.

  2. These were so yummy, I’ve been requested to make them again! I am wondering if I could bake these in a cookie sheet if I double or triple the recipe?

Scroll to Top