• Gluten-Free Recipes
  • Cookbook
menu icon
go to homepage
  • About
  • Recipe Index
  • Spring Recipes
  • Cookbook
  • Subscribe
    • Facebook
    • Instagram
    • Pinterest
  • subscribe
    search icon
    Homepage link
    • About
    • Recipe Index
    • Spring Recipes
    • Cookbook
    • Subscribe
    • Facebook
    • Instagram
    • Pinterest
  • ×
    Home » Recipes » Classic Baking Recipes

    Unicorn Bars (Great for Birthdays!)

    Modified: Feb 7, 2026 · Published: Apr 7, 2025 by Nicole Spiridakis

    Jump to Recipe Print Recipe

    The cutest sprinkle-adorned unicorn bars will make your little one's birthday extra special. A tender buttermilk funfetti cake is topped with a creamy BLUE buttercream that's topped with more sprinkles. Perfect for parties!

    A plate of unicorn bars next to a bowl of sprinkles and more bars,

    Looking for an adorable way to celebrate your little one's birthday? Make unicorn bars! If you're a fan of funfetti, you will love this soft, sweet, and sprinkle-laden cake.

    These bars are perfect for any occasion, from a backyard birthday to an end-of-school picnic. Grab a package of pretty sprinkles and pick up a package of festive plates, and you'll be on your way to creating the best party ever.

    For more kid-friendly birthday cakes, try a gluten free birthday cake, gluten free vanilla buttermilk cake, or gluten free funfetti cupcakes!

    Jump to:
    • Kids LOVE These Bars!
    • Why Are They Called Unicorn Bars?
    • What You'll Need
    • Make It Gluten-Free
    • How to Make Unicorn Bars
    • Tips & Variation Suggestions
    • Proper Storage
    • Recipe

    Kids LOVE These Bars!

    My kids seriously cannot get enough of these bars, and there's so much to love about them: A sweet vanilla cake packed with pretty sprinkles that's topped with a vibrant blue buttercream icing and even more sprinkles. They're also fun to eat because they're cut into handheld squares, making them easy for smaller hands to hold. When you want to do something a bit more than a traditional cake, turn to unicorn bars; your kids will be thrilled.

    • They're cute. What kid doesn't love sprinkles, right? You can also decorate them with mini unicorns or get sprinkles that contain unicorn shapes (yes, they exist!).
    • Whimsical and fun. From sprinkles to colored frosting, these bars are packed with all the glittery goodness little hearts adore.
    • Kid-friendly. Not only are kids enchanted by unicorn bars, but the recipe is easy enough that they can get involved in making them!
    • Customizable. Choose your own adventure and play around with the color of food coloring, and add sprinkles to your heart's content.

    Why Are They Called Unicorn Bars?

    I call these treats unicorn bars because they are sparkly and fun, just like a unicorn! There's a touch of magic in the soft and fluffy cake that's topped with equally soft and fluffy buttercream. They are guaranteed to bring a little joy in every bite and will lend even the gloomiest afternoon a burst of sunshine.

    Ingredients for unicorn bars are text-labeled.

    What You'll Need

    You'll find easy ingredients on this list-nothing fancy, but they come together to create something truly special. Make sure to scroll down to my recipe card at the bottom of this post for the full ingredient amounts and instructions.

    • Butter - Unsalted butter, softened to room temperature first, is best.
    • Granulated sugar
    • Eggs - I used large eggs for this cake.
    • Vanilla - You can add pure vanilla extract or vanilla bean paste for a little vanilla-y kick.
    • Dry ingredients - All-purpose flour, baking powder, and fine salt.
    • Buttermilk - I recommend using real buttermilk if you can get it. Otherwise, you can make a buttermilk substitute by adding 1 tablespoon of white vinegar to 1 cup of milk.
    • Frosting - Butter, powdered sugar, (blue) food coloring, and milk if needed.
    • Sprinkles - I use rainbow sprinkles in the cake batter and pretty, shaped sprinkles for the top of the cake. You can use any sprinkles you prefer.

    Make It Gluten-Free

    Need to make gluten-free unicorn bars for your gluten-free little one? Substitute 3 ½ cups (420 grams) of gluten-free flour blend, like my homemade gluten free flour blend, for the all-purpose flour. Let the batter rest in the pan for about 20 minutes before baking to fully hydrate the flour.

    A unicorn stands on a plate of unicorn bars.

    How to Make Unicorn Bars

    Follow along with my photos below so you'll get a general idea of how to make these bars. Let the cake cool fully before adding the frosting, and you can frost it right in the pan if you prefer. Then, cut the bars out of the pan and place them on a serving plate.

    Butter and sugar are creamed in a bowl.
    cream butter and sugar
    Eggs are added to butter and sugar.
    add eggs
    • Prep: Preheat the oven to 350℉ and grease a 9x13-inch baking pan and line it with parchment paper.
    • Cream butter: In a large bowl, cream the butter and sugar until fluffy.
    • Add eggs: Beat in the eggs one at a time, then beat in the vanilla.
    Dry mix for unicorn bars in a bowl.
    Whisk dry ingredients.
    Flour is added to butter, sugar, and eggs.
    Add to butter.
    • Make dry mix: Whisk together the dry ingredients.
    • Add to butter: On low, mix the dry mix into the butter mixture.
    Final flour addition to unicorn bars batter.
    Add buttermilk.
    Sprinkles are stirred into a bowl of unicorn bars batter.
    Add sprinkles.
    • Add buttermilk: Mix in the buttermilk until combined.
    • Stir in sprinkles: Fold in the rainbow sprinkles.
    Unicorn bars batter in a baking pan.
    Add batter to pan.
    A pan of unicorn bars cools on a rack.
    Bake and cool.
    • Place in pan. Pour the batter into the prepared pan.
    • Bake. Bake the cake for about 45 minutes, then cool it completely.
    Butter and powdered sugar creamed in a bowl.
    Cream butter and powdered sugar.
    Blue food coloring is added to buttercream.
    Add food coloring.
    • Make frosting: Cream the butter and add the powdered sugar.
    • Color: Beat in the food coloring.
    Frosting is added to a pan of unicorn bars.
    Frost cake.
    Sprinkles are added to a pan of unicorn bars.
    Decorate.
    • Assemble: Frost the cake and decorate it with sprinkles!
    A unicorn bar turned on its side on a plate with more bars.

    Tips & Variation Suggestions

    • 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 for 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.
    Plates of unicorn bars and a cup of milk.

    Proper Storage

    • 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.

    Happy baking! If you make these unicorn bars, I'd love to know. Please leave a comment below, reach out with any questions, and tag me on Instagram @Cucina Nicolina  ❤️

    Recipe

    A unicorn bar turned on its side on a plate with more bars.
    Prevent your screen from going dark

    Unicorn Bars

    Nicole Spiridakis
    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.
    No ratings yet
    Print Recipe Pin Recipe
    Prep Time 15 minutes mins
    Cook Time 45 minutes mins
    Total Time 1 hour hr
    Course Dessert
    Cuisine American
    Servings 24 servings
    Calories 340 kcal

    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

    Instructions
     

    Make the Cake

    • Preheat the oven to 350℉ and grease a 9x13-inch baking pan. Line it with parchment paper for easy removal.
    • 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.
    • 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.
    • 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

    • 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.
    • 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.

    Nutrition

    Calories: 340kcalCarbohydrates: 49gProtein: 3gFat: 15gSaturated Fat: 9gPolyunsaturated Fat: 1gMonounsaturated Fat: 4gTrans Fat: 1gCholesterol: 68mgSodium: 106mgPotassium: 53mgFiber: 0.4gSugar: 37gVitamin A: 482IUCalcium: 57mgIron: 1mg
    Disclaimer: Nutrition information is automatically calculated and is an estimate (I'm not a nutritionist and can't guarantee accuracy!). Even when not specified, be sure to check that all the ingredients you use are gluten free if you need them to be by reading labels on all packaging and/or confirming with the manufacturer.
    Did you make this recipe?Let me know in the comments how it went!

    More Classic Baking Recipes

    • A cup of coffee next to plates of sticky buns.
      My Family's Favorite Homemade Sticky Buns Recipe
    • A fork cuts into a slice of chocolate chip cookie cake, with the pan of cake and a napkin next to it.
      Chocolate Chip Cookie Cake (made with whole grain flour!)
    • A loaf of porridge bread with a slice of bread.
      Leftover Porridge Bread
    • A cute bunny bread decorated with raisins.
      Homemade Bunny Bread Recipe (with Gluten Free Tips)

    I'd love to hear from you! Please leave me a note. Cancel reply

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

    Recipe Rating





    A photo of Nicole Spiridakis

    Welcome!

    I'm Nicole, a writer, recipe developer, and cookbook author. I share carefully tested gluten-free baking recipes as well as the occasional vegetarian and vegan dish, all made with simple, wholesome ingredients. I believe in real food, lots of vegetables, and balance, too -- because I dearly love cake. Welcome! Learn more about me.


    The cover of the cookbook Flourless: Recipes for Naturally Gluten-Free Desserts by Nicole Spiridakis shows an opera cake.

    My cookbook, Flourless, was published by Chronicle Books and is full of naturally gluten-free desserts to tempt everyone! Learn more.

    My Popular Recipes

    • A bunch oat flour blueberry muffins on a white napkin.
      One Bowl Oat Flour Blueberry Muffins
    • A decorative plate with oat flour pancakes next to a cup of coffee.
      Oat Flour Pancakes
    • Slices of oat flour cake on plates with the cake in the background.
      Oat Flour Cake
    • Banana ice cream is served in a bowl.
      One-Ingredient Banana Ice Cream

    Spring Fling

    • A blue napkin with a fork to the right of a plate of gluten free souffle.
      Gluten Free Souffle
    • A floral plate with a slice of gluten free rhubarb cream cake.
      Gluten Free Rhubarb Cream Cake
    • Sliced strawberries top gluten free strawberrry shortcake.
      Gluten Free Strawberry Shortcake Cake
    • A cup of tea, a slice of gluten free carrot cake with a fork, and the cake.
      Gluten Free Carrot Cake

    Footer

    ↑ back to top

    Info

    Terms and Conditions

    Privacy Policy

    Accessibility

    Newsletter

    Sign up for my newsletter

    About

    About Me

    Writing Work

    Contact

    © Copyright 2026 Cucina Nicolina

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required