Unicorn Bars

Rainbows! Sprinkles! Unicorn Bars! Let’s all smile together now.

If ever there was a recipe designed to make you happy, this is it. These are Unicorn Bars and they are buttery, sprinkle filled joy.

Unicorn Bars are buttery, sugar cookie bars loaded with rainbow sprinkles and topped with clouds of blue buttercream!

It’s the middle of January and I need a little magic. The days right now are gray and cold and I’m craving a rainbow and some sunshine. In a major way.

Cold weather makes we want to cozy up, watch Netflix, top foods with excess cheese and of course, bake. I see that people on Instagram are still drinking their green resolution juices and cleansing themselves and I just think it’s precious. I’m sure they think it’s equally as precious that I only fit into my sweatpants right now.

I feel like I have maybe 3 1/2 more weeks of disorderly eating before I really need to start thinking about fitting into my shorts once again. I am basically an expert in diet-procrastination math.

Anyhow, last week I needed a little extra happy to go with my day so I decided to pull out my giant jar of sprinkles.

My rainbow sprinkle jar!

All the dreary January vibes don’t stand a chance against this many sprinkles.

The inspo for these bars is one of my most favorite cupcakes in all the land, the Unicorn and Rainbows cupcake from Baked and Wired in Washington DC. Those cupcakes are so everything, and if you’re in DC you have to stop and get one. But since I’m sitting here in New Jersey in my sweats I took a little artistic liberty and created these buttery, sprinkle filled bars in their honor.

They come together in a pinch…no mixer required.

unicorn bar dough

I used melted butter in the dough, so all you need is a bowl and a spoon!

And LOTS of sprinkles.

Mixing rainbow sprinkles into Unicorn Cookie Batter!

Just spread the magic into a 9×13…

Unicorn Cookie Bar dough!

And they bake up pretty perfect.

unicorn barsbaked

There is no baking soda or powder in this recipe, so the bars don’t rise too much…but that also means they bake perfectly even.

Once they’re cooked you can totally eat them on their own. They’re soft and chewy sugar cookie bars that everyone will love.

BUT let’s all pretend buttercream has no calories and top it with beautiful blue clouds of frosting.

Unicorn Bars are buttery, sugar cookie bars loaded with rainbow sprinkles and topped with clouds of blue buttercream!

And more sprinkles too. I recommend using a heavy hand.

Unicorn Bars are buttery, sugar cookie bars loaded with rainbow sprinkles and topped with clouds of blue buttercream!

They slice up like a dream and will be gone in a flash.

Your January suddenly got more magical.

5.0 from 2 reviews
Unicorn Bars
Serves: 36 bars
  • 1 cup butter, melted
  • 1½ cups granulated sugar
  • 2 teaspoons vanilla
  • 3 eggs
  • ½ teaspoon kosher salt
  • 2 cups all purpose flour
  • ½ cup sprinkles
  • 1 cup butter, room temperature
  • 4 cups powdered sugar
  • 2-3 tablespoons milk
  • blue food coloring
  • sprinkles for garnish
  1. Preheat the oven to 350°F. Line a 9x13 pan with foil and coat with nonstick spray. Set aside.
  2. In a large bowl whisk together the butter and sugar. Add in 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 seen underdone, but allow them to cool completely.
  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 in 2 tablespoons of milk and mix on medium speed until it's creamy, scraping 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 fool 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.
If you pipe on the frosting as shown in the pictures you will need to double the amount of frosting. It always uses more frosting when you pipe versus spreading it on.


Leave a Reply

45 Comments on "Unicorn Bars"

Sort by:   newest | oldest | most voted
kearin @ the winsome baker

I am totally with you about the green juice – seeing it all over my twitter makes me want cookies…

Love these bars – been going through a sprinkles phase lately!

Jessica @ Sweetest Menu

I can’t even! These are gorgeous! Those sprinkles are just beautiful. Pinned!

Tina Tompkins

Sometimes I really worry about myself,when I seen this on my Facebook feed and after reading what the recipe was called…… Please don’t take this as a insult, Please!!!!!! First thing that can to my sick and demented mind was…… “oh look,Shelly did the frosting so it looks like unicorn poop”!!!! WHAT’S WRONG WITH ME? Sorry! I really think they look cute and delicious! Please send help! I don’t blame you if you just delete this and pretend like it never happened,really I won’t tell!


Me too! Don’t get me wrong, they look yummy and I’ll make them but I thought of the Squatty Potty commercial!

cookbook queen

Completely obsessing over these. So so cute. And that sprinkle jar!! I need!!

June @ How to Philosophize with Cake

What fun bars those look like! Love the sprinkles you used, such a cool blend of colors and shapes 🙂

Tina Tompkins

Thanks!!! I need it! I’m making these today! I’m sure they will not look not as cute as yours! Mine will look like p**p! Lol!!


Beautiful, nice desert to make with the young chefs in the family.


umm amazing!

Melanye Wrighton

So, where’d you get the tons o’ adorb sprinkles?!? and your wit, Shelly, is as funny as your recipes are beautiful! Makes me want your soon-to-be-published cookbook! You are a delight!

sally @ sallys baking addiction


Laura @ Laura

These are adorable!

Giselle @ The Busy Spatula

I’m head over heels in love with those sprinkles! You’re right, it’s absolutely freezing here in NJ. And I agree with your diet procrastination… let’s enjoy the heavy food while the weather is still chilly. The salads can come later 🙂

Sarah @ What Sarah Bakes

Oh my! How cute are these? I love that they use melted butter – easy and quick, no creaming method needed 🙂


I was in the middle of my daily routine and stopped to check for an email, opened yours, saw these bars….. Before I knew it, I dropped everything I was doing and went immediately into the kitchen to preheat the oven and then started whipping these bad boys up. Never done that before, but a bake break in my day was lovely, and I know my bars will be too? (In the oven now). Thanks for the amazing inspiration!


These bars look AMAZING! I can’t wait to make them! And thank you for the inspiring idea to create such a beautiful and unique sprinkle blend! I will most definitely be doing this!


Curious where you buy your sprinkles from? I never find a mix like this! The bars look great.

Trina and Tina

Love the name of these! They look so delish! A future Saturday sweet treat for sure! Thanks!


Should it be 1/2 cup butter for the frosting? Mine came out tasting like straight up butter-had to use 8 cups or so of powdered sugar to get it to taste sweet enough.


My daughter and I made these over the weekend. When I was mixing it up after adding the sprinkles, my batter started to turn a yucky color from the sprinkles. Also I did not add any frosting since I thought they were sweet enough and delicious without. These will be made again for sure!


These look delicious! And Baked and Wired is my FAVORITE! yummmmmmmm


I’m a Georgetown student home for the summer and desperately needing my baked and wired fix. These bars taste exactly like the Uniporns and Rainhoes!! They were so much fun to make, thanks!

Also — I was able to do the piping without needing to double the amount of frosting, and I still had extra. Definitely one of the best buttercream recipes I’ve come across though.


Thank you so much for this recipe! My entire office is raving about them 🙂

Jasi Lee

Found this recipe on Pinterest and made it instantly. Not only was this bar super easy to put together quickly, it came out perfectly. Everything tastes amazing and it was quick and zero trouble to do. Very pretty. Will become a go-to for festive get togethers


Thank you for inspiring me to make these lovly treats.


[…] You can find complete recipes of this UNICORN BARS in cookiesandcups.com […]


[…] unicorn ice cream from Bread, Booze, Bacon that is covered in sprinkles and glitter; and then some unicorn bars from Cookies and Cups, which have a shocking blue […]


[…] among the harder of these treats to make. So yet another way to keep it easy is to serve these Unicorn Bars at Cookies and Cups instead. They feel cake-y enough that the standard layer cake won’t be […]


[…] Cookie and Cups – Unicorn Bars […]


I can’t enjoy them because the base is just way too doughy, and I followed every single step!


[…] Unicorn Bars-You will not be able to stop yourself from smiling as you eat this dessert from Cookies & Cups.  […]


[…] Unicorn Bars […]


[…] Unicorn Bars […]


[…] Cookies and Cups – Unicorn Bars […]


[…] Unicorn Bars […]


[…] Unicorn Bars by Cookies and Cups […]


[…] you like buttery rich treats and you like soft and chewy, then you’ll love these Unicorn Bars by Cookies & Cups! The sprinkles really enhance the cookies and fluffy […]


These are BEAUTIFUL!! I’m going to make them with my daughter after school tomorrow, look amazing!! Thanks for posting them!