Go Back
A unicorn bar turned on its side on a plate with more bars.

Unicorn Bars

These adorable unicorn bars are perfect for a kid's birthday party! A buttermilk funfetti sheet cake is topped with blue icing and plenty of sprinkles.
Prep Time 15 minutes
Cook Time 45 minutes
Total Time 1 hour
Servings: 24 servings
Course: Dessert
Cuisine: American
Calories: 340

Ingredients
  

  • 1 cup unsalted butter , at room temperature
  • 2 cups granulated sugar
  • 4 large eggs
  • 1 tablespoon pure vanilla extract
  • 3 cups all purpose flour
  • 1 tablespoon baking powder
  • ¼ teaspoon fine sea salt
  • 1 ⅓ cups buttermilk , well-shaken
  • ¼ cup rainbow sprinkles
Frosting
  • ¾ cup unsalted butter , at room temperature
  • 4 cups powdered sugar , sifted
  • 1 teaspoon blue food coloring
  • 1-2 tablespoons milk , as needed
  • decorative sprinkles

Method
 

Make the Cake
  1. Preheat the oven to 350℉ and grease a 9x13-inch baking pan. Line it with parchment paper for easy removal.
  2. In a large bowl, beat the 1 cup unsalted butter and 2 cups granulated sugar together using an electric mixer until light and fluffy, about 5 minutes. Beat in the 4 large eggs one at a time, then add the 1 tablespoon pure vanilla extract.
  3. In another large bowl, whisk together the 3 cups all purpose flour, 1 tablespoon baking powder, and ¼ teaspoon fine sea salt. With the mixer on low, add half the flour mixture to the butter and egg mixture and beat until just combined. Add the 1 ⅓ cups buttermilk and mix well to combine. Add the remaining flour mixture and beat until just combined, scraping down the bowl as necessary. Fold in the ¼ cup rainbow sprinkles.
  4. Pour batter into the prepared pan, place in the oven, and bake for about 45 minutes, until a tester inserted in the middle of the cake comes out clean. Remove from oven and place on a rack to cool completely in the pan.
Make the Frosting
  1. In a large bowl, cream the room temperature ¾ cup unsalted butter until fluffy. Beat in the 4 cups powdered sugar, then add the 1 teaspoon blue food coloring, beating until well incorporated. If the frosting seems a little dry, add 1-2 tablespoons milk, and beat until fluffy.
  2. Assembly: You may leave the cake in the pan or gently remove it (I kept it easy and left it in the pan). Frost the top of the cooled cake with the frosting, then liberally cover the top with decorative sprinkles. Cut the cake into squares to serve.

Notes

Tips
    • Shake the buttermilk. Buttermilk, like yogurt, needs a good shake or stir before using it. So, exercise those muscles and shake up the buttermilk before adding it to the batter.
    • Use room-temperature ingredients. Especially important in the frosting, but also for the cake: Room temperature ingredients, particularly the butter, will easily blend with the other ingredients.
    • For the best texture: If you've kept the cake in the fridge, bring it to room temperature on the counter before serving. I try to allow about 15-30 minutes for the cake to "warm up" after it's been in the fridge. You will not regret it!
    • Make it a chocolate chip cake. You can use the cake base to make chocolate chip unicorn bars! Instead of (or in addition to?) sprinkles, add mini chocolate chips to the cake batter
    • Different frosting colors. I love blue frosting but you really could use any color you like! Pink would be very pretty, or you could do a rainbow combination of different-colored buttercream.
How to Store
  • Counter - Cover the cake with foil and keep it on the counter for up to 3 days.
  • Fridge - The cake, covered or in an airtight container, will keep well in the fridge for up to 1 week. Let it sit on the counter for about 30 minutes before serving if it's been in the fridge.
  • Freezer - Store the unfrosted cake by wrapping it tightly in a layer of plastic then a layer of foil, and placing it in the freezer for up to 2 months. Thaw the cake in the fridge before frosting. Or place the assembled cake or pieces of cake in a freezer-safe container and store it in the freezer for up to 2 months. The texture of the frosting will not be as fluffy when it's thawed, but it will still taste good. Defrost the cake in the fridge before serving.