Go Back
Colorful Unicorn Bars with blue buttercream and rainbow sprinkles on a tray
Print

Unicorn Bars

A whimsical dessert loaded with buttery sugar cookie flavor, rainbow sprinkles, and fluffy blue buttercream clouds. Easy, vibrant, and unforgettable.
Course Dessert
Cuisine American
Keyword Unicorn Bars
Prep Time 20 minutes
Cook Time 22 minutes
Total Time 42 minutes
Servings 38 bars
Calories 205kcal
Author C. Sophie

Ingredients

For the Bars:

  • 1 cup 2 sticks unsalted butter, melted
  • cups granulated sugar
  • 2 teaspoons vanilla extract
  • 3 large eggs
  • ½ teaspoon kosher salt
  • 2 cups all-purpose flour
  • ½ cup rainbow sprinkles

For the Frosting:

  • 1 cup 2 sticks unsalted butter, room temperature
  • 4 cups powdered sugar
  • 2 –3 tablespoons milk
  • 1 –2 drops blue food coloring
  • Extra sprinkles for topping

Instructions

Prep your scene (and your pan)

  • Okay, first — oven to 350°F. That’s your warm-up.
  • Now grab a 9x13-inch pan and line it with foil. Let the edges hang off like handles — trust me, you'll thank yourself later when it's time to lift the whole thing out. Give it a solid coat of nonstick spray. No “just a mist” business. Corners too.

Stir up some magic

  • Melt your butter (microwave, stovetop, whatever works). Pour it into a big bowl and whisk in the sugar. It'll look glossy and a little like you're about to make candy — that’s good.
  • Now crack in the eggs, add the vanilla and salt, and whisk again until it’s all one big happy mixture.
  • Add your flour last, and stir gently — like you're folding in a secret. Don’t go overboard here. Overmixing is how bars turn into bricks.
  • Toss in the sprinkles. Stir just enough to spread the joy around. If the colors start to swirl or smear, pause — you’re stirring too much.

Bake (but don’t overthink it)

  • Spread that gorgeous, speckled batter into your pan. It's thick — that's normal. Use a spatula to nudge it into the corners.
  • Bake for 25 to 30 minutes. The edges should be golden, but the center might look like it’s not quite ready. Here’s the trick: trust the process. These bars keep cooking as they cool.
  • Let them sit in the pan until fully cooled. Walk away if you have to — temptation is real.

Whip up your frosting cloud

  • While the bars cool, beat your room-temp butter in a bowl until it looks creamy and soft, like a butter sculpture halfway through creation.
  • Slowly mix in powdered sugar. Go slow unless you want to sneeze sugar.
  • Add a couple tablespoons of milk. Mix again. Still too thick? Add a touch more. Then tint it with a drop or two of blue food coloring — stir until it looks like a pastel sky.
  • If you want those beautiful piped swirls like in the pics, double your frosting. No judgment.

Frost it like you mean it

  • Spread or pipe your buttercream over the cooled bars. Let it be thick. Fluffy. Slightly excessive.
  • Then — the finale — rain down more sprinkles. Don’t be shy.

Slice, serve, disappear

  • Use those foil edges to lift the whole thing out in one go. Then slice into as many bars as your heart (or event) desires.

Notes

Nutrition Information (Per Serving)
  • Calories: 205 kcal
  • Total Fat: 10.7 g
    • Saturated Fat: 6.5 g
  • Cholesterol: 42.6 mg
  • Sodium: 40.2 mg
  • Total Carbohydrates: 24.9 g
    • Sugars: 19.4 g
  • Protein: 1.4 g
  • Fiber: <1 g