Rainbow Sugar Cookie Bars are the celebration cookie! For birthdays, parties, first-day-of-school, new job, housewarming, thinking of you, just because, or to make any day extra special.
Because why have a day without sprinkles when you can have a day with them?
When I had my bakery, Rainbow Sugar Cookie Bars were one of the four always-on-the-menu flavors. An OG. A classic that was so popular, I made hundreds of them every week.
People would eat them at 9am at the popup events at my house. They'd make special orders of dozens for a party. They'd stash them in their freezer to save for later and enjoy whenever they wanted.
Truly, Rainbow Sugar Cookie Bars have the colorful power to make any day just...better.
(Those four "regular" menu flavors by the way were: Rainbow Sugar Cookie (these), Oatmilk Truffle Brownie, Monster Oreo, and Lactation.)
Let's get into it. >>
Plant butter, room temperature: Creaming softened butter with sugar traps thousands of tiny air pockets that expand in the oven, giving these bars their light, delicate crumb.
Granulated sugar: Its crystals cut through the butter as they cream together, working air into the dough for lift, while the sugar caramelizes slightly into a golden edge as the bars bake.
Unsweetened non-dairy yogurt: Adds moisture that keeps the bars soft and tender, its acidity reacting with the baking powder for a little extra lift.
Vanilla extract or vanilla bean paste: Its aromatic compounds round out the sweetness, giving the bars a warm, inviting scent as they bake.
All-purpose flour: Provides the proteins that form the bars' structure, giving them enough hold to slice into clean squares while staying soft at the center. King Arthur Measure for Measure Gluten-Free Flour works well as a swap for gluten-free.
Cornstarch: Cornstarch has no protein, so blending a little into the flour lowers its overall protein content, the same trick used to make homemade cake flour. Less protein means less gluten forms, giving these bars their soft, tender texture.
Baking powder: A double-acting leavener, it releases gas twice, once when mixed into the wet ingredients and again in the oven's heat, giving the bars a steady, even rise.
Salt: Balances the sweetness and highlights the vanilla notes, making the flavor feel bright and full.
Sprinkles: Folded into the dough and scattered on top, they add cheerful color throughout and a light, sugary snap in every bite.
Powdered sugar (drizzle): Whisked with liquid until smooth, it melts into a glossy glaze that sets into a delicate, slightly crisp finish once it cools.
Oat milk (drizzle): Thins the powdered sugar into a smooth, pourable glaze without diluting its sweetness, letting it cling to the bars in a thin, even coat.
I love cookies. Cookie bars are cookies, but in square form. They skip the scooping and shaping: just press the dough into a pan, bake, and slice. Whether you’re after big, chewy squares or bite-sized morsels, these bars are as versatile as they are delightful. If you’re busy and feel like you could use more time, cookie bars are a true life hack.
Here’s a quick rundown of the key tools that I use to make this recipe:
If you haven’t already, grab my free vegan, gluten-free, dairy-free ingredient cheatsheet. It has the list of ingredients I keep in my kitchen to bake Goodies that no one would guess are vegan and gluten-free. I buy just one type of gluten-free flour (King Arthur Measure for Measure), for example. Once you have the essentials, you can bake anything that you (or those around you) are craving. Celebrate the season and life’s moments big and small.
Note: This post contains affiliate links. I may earn a small commission at no extra cost to you, helping to support my small business.
The recipe everyone has been asking me for! Soft sugar cookie bars, full of rainbow sprinkles, that melt in your mouth with every bite. They're naturally vegan and dairy-free, with an easy swap to make them gluten-free, too. A favorite among both kids and adults, make extra because they disappear fast (and also freeze beautifully).
Position the oven rack to the middle. Preheat your oven to 350 degrees F.
Allow the bars to finish cooling. Then, use the parchment paper to lift the bars out of the pan and onto a cutting board.
Eat, serve, share, and enjoy! Store any leftovers in an airtight container. Enjoy within 1 week, or freeze them for up to 6 months.
I include both the volume (cups) and weight (grams/ounce) measurements in the recipe. I highly recommend baking by weight (e.g. 120 grams per cup of flour, rather than 1 cup of flour). It’s more accurate, consistent, and results in fewer dishes! That said, baking by volume is also wonderful. Do whatever is most convenient for you.
For a 13×9 inch baking pan, I like this one because it comes with a lid.
Gluten-free option: For gluten-free, I use King Arthur measure-for-measure gluten-free flour.
I order my sprinkles online from Sweetapolita. You can use the code FetchingGoodies for 15% sitewide. There are SO many playful colors. Have fun!
For vegan butter, I use soy-free Earth Balance sticks, Country Crock plant butter sticks, or Violife plant butter.