Rainbow Butter Cookie Swirl

Featured in Let's Bake Something Wonderful.

Combine colorful dough, arrange stripes, pipe into shapes, bake, coat with white chocolate, and sprinkle for a fun, buttery snack.
Rose
Updated on Tue, 01 Apr 2025 15:45:19 GMT
Rainbow Butter Cookie Swirl Pin it
Rainbow Butter Cookie Swirl | tastybysophie.com

I came up with these rainbow shortbread cookies on a wet afternoon when my niece was over and bored out of her mind. What started as a simple baking activity has now become our go-to treat for every family event. These colorful, buttery cookies have that perfect melt-in-your-mouth feel of traditional shortbread but with stunning rainbow swirls that always get people smiling. The swirled patterns look fancy but aren't hard to make, even if you're new to baking. With a little white chocolate and fun sprinkles on top, they mix grown-up taste with playful looks.

When I took these to my buddy's baby shower last year, several guests wondered if I'd started selling cookies professionally. My next-door neighbor has a little girl who fell so in love with them that she wanted them instead of cake for her birthday. There's something special about how those colorful swirls and classic shortbread taste appeal to kids and grown-ups too.

Basic Ingredients

  • Butter - This is what makes shortbread so tasty, so get good quality stuff. I like unsalted because I can add just the right amount of salt myself, but salted works too—just skip the extra salt. You want it slightly cool but soft enough to work with.
  • All-purpose flour - This gives you that perfect shortbread texture that's both soft and holds together well. Don't eyeball it—measure carefully or your cookies might end up too crumbly.
  • Sugar - Plain old granulated sugar does the job perfectly, giving just enough sweetness without drowning out the butter taste. Some folks use powdered sugar in shortbread, but granulated works better for these since you'll be piping the dough.
  • Gel food coloring - You'll need these concentrated colors to get bright results without making your dough runny. Regular liquid food coloring would water down your dough and mess up the piping.
  • White melting wafers - These melt nicely and harden on their own, which makes them great for dipping. You can swap in white chocolate chips if needed, but you'll want to add a bit of shortening to get them smooth enough.
  • Rainbow nonpareils - These tiny colored balls add the finishing touch that brings all the rainbow colors together. They're small enough that they don't overpower the delicate cookies.
Piped Rainbow Shortbread Cookies Recipe Pin it
Piped Rainbow Shortbread Cookies Recipe | tastybysophie.com

Baking Wonderland

Perfect dough consistency:
Using a food processor gets the texture just right for piping—smooth enough to go through the tip but stiff enough to keep its shape. Don't overprocess or you'll end up with tough cookies. Those quick pulses really matter!
Coloring technique:
When you're adding color, start tiny—just dip a toothpick in the gel and mix it in. You can always make colors stronger, but you can't make them lighter once they're mixed. Stir well so the color spreads evenly without working the dough too much.
Rainbow assembly:
The plastic wrap trick makes putting together the colored dough way easier. Make each colored piece into a rope that's the same thickness before lining them up side by side. The plastic lets you push them together without mixing up the colors.
Piping perfection:
Hold your piping bag straight up and down for the best-looking cookies. Squeeze with the same pressure each time and pull up quickly at the end for a clean finish. If your dough won't pipe well, let it sit out for 5-10 minutes to warm up a bit.
Chocolate dipping:
For the best dip, make sure cookies are totally cool and chocolate isn't too hot. A flat dish works better than a deep bowl for dipping. Gently tap off extra chocolate on the side of the dish before adding sprinkles.

The first time I tried making these, they were kind of a mixed bag. They tasted great but looked... interesting. I tried using a cut-off ziplock bag instead of proper piping equipment, and let's just say the results weren't Instagram-worthy. Over time, I've played with different color combos—soft pastels for Easter, Christmas colors for the holidays, even team colors for game days. The method stays the same, but changing colors makes them fit any occasion.

Gorgeous Presentation

Make these rainbow shortbread cookies look even more amazing by putting them at the center of a cookie platter. At kids' parties, try standing them up in a glass filled with more rainbow sprinkles. They also make wonderful gifts when packed in clear bags with pretty ribbons. If you're having afternoon tea, serve them with fresh berries and some Earl Grey tea for a fancy setup that makes the cookie colors stand out.

Tasty Twists

After you get the hang of the basic recipe, why not try some fun changes? Add a splash of almond extract (about 1/2 teaspoon) to bring out the buttery taste. Try dipping in dark or milk chocolate instead of white for something different. For a fresh kick, mix in a spoonful of lemon or orange zest. During holidays, go with themed colors and matching sprinkles—like red, white, and blue for Fourth of July or soft pastels for spring parties.

Keeping Them Fresh

These colorful shortbread cookies stay fresh for about two weeks in an airtight container on your counter. Put some parchment between layers so the chocolate edges don't get messed up. They can be frozen for up to three months if you need to make them way ahead—just let them sit out for an hour before serving. The butter flavor actually gets better after a day or two, which makes them great for making ahead for parties or gifts.

Easy Piped Rainbow Shortbread Cookies Pin it
Easy Piped Rainbow Shortbread Cookies | tastybysophie.com

I've baked these rainbow shortbread cookies for so many celebrations through the years, from birthday bashes to holiday get-togethers. Their bright colors and classic taste seem to fit almost any happy occasion. Though they look fancy, the simple process makes them doable for anyone who likes to bake. The mix of buttery shortbread, fun colors, and that bit of white chocolate with sprinkles creates something that's as fun to make as it is to eat.

Frequently Asked Questions

→ Can I prep the dough early?
Definitely! You can make it up to three days ahead and stash it in the fridge. Just wrap the dough tightly in plastic wrap. When you're ready to pipe it, leave it out for 20-30 minutes to soften enough to work with.
→ How do I make dough without a food processor?
You can do it by hand or using a stand mixer. For hand prep, mix the dry ingredients first, then cut in the butter until it feels crumbly. Knead until smooth. With a stand mixer, cream butter and sugar first, then fold in the dry mix.
→ Why are my cookies flattening too much?
It’s likely because the butter got a bit too warm while piping. If the dough is soft, chill it for 15-20 minutes before piping. Double-check your oven temp too—it could be running hotter than it should.
→ What’s the best piping tip for this?
An open star tip, like Wilton 1M or 2D, works perfectly since it creates crisp ridges that make the swirls pop. You could also go for a closed star or French tip for a different look.
→ Can I switch up the decorations?
Totally! Use whatever matches your theme. Silver or gold sprinkles are great for fancier vibes, holiday sprinkles for seasonal fun, or even a dark chocolate drizzle if that’s more your style.
→ My dough’s too hard to pipe. Ideas?
Let it sit out for 5-10 minutes to soften. If it’s still tricky, knead it a bit with warm hands or mix in a teaspoon or two of milk for flexibility. Just don’t overdo it, or the colors might smear together.

Rainbow Butter Cookie Swirl

Lovely buttery cookies in rainbow colors, swirled into roses, topped with white chocolate, and sprinkles. They taste just as amazing as they look!

Prep Time
30 Minutes
Cook Time
25 Minutes
Total Time
55 Minutes

Category: Sweet Kitchen

Difficulty: Intermediate

Cuisine: European

Yield: 24 Servings (24 cookies)

Dietary: Vegetarian

Ingredients

→ Cookies

01 3/4 cup sugar
02 1 cup soft butter, cubed
03 1/4 teaspoon salt
04 2 1/4 cups plain flour
05 Gel food colors (pick any 4 colors)

→ Decoration

06 1 cup white chocolate (melts easily)
07 Rainbow sprinkles for topping

Instructions

Step 01

Heat the oven to 325°F (160°C). Line two baking trays with parchment.

Step 02

Blend salt, sugar, and flour in a food processor until well-mixed.

Step 03

Add some butter chunks and give it a few pulses. Then toss in the rest, pulsing until it starts forming dough.

Step 04

Split the dough into 4 bowls. Mix each one with a different gel color until smooth and even.

Step 05

On some plastic wrap, arrange the colored dough pieces in rows next to each other, starting with the lightest color and going darker. Roll into a log shape and trim one end to clean it up.

Step 06

Slide the dough log into a piping bag with a star tip attached.

Step 07

Pipe cookie spirals onto your prepared baking trays, spacing them out a little so they don’t touch during baking.

Step 08

Put the trays in the oven and bake for 25 minutes. Switch tray positions halfway through. Cookies should stay pale but firm.

Step 09

Shift baked cookies to a rack and let them cool down completely before adding decorations.

Step 10

Microwave the white chocolate in a bowl, stirring every 10 seconds until it’s melted and silky.

Step 11

Dip one end of each cookie in the melted chocolate, then cover with rainbow sprinkles while still wet.

Step 12

Put the sprinkles-covered cookies on parchment paper. Let the chocolate completely harden before serving or packing them up.

Notes

  1. Keep in a sealed container at room temp and eat within a week.
  2. Gel food coloring gives brighter results than liquid.
  3. If dough feels too soft to handle, chill it for 15-20 minutes.
  4. Great for colorful parties, baby showers, or celebrations!

Tools You'll Need

  • Processor for food
  • Oven trays
  • Parchment sheets
  • Bag for piping
  • Star-shaped piping tip
  • Plastic wrap sheet
  • Rack for cooling
  • Microwavable bowl

Allergy Information

Please check ingredients for potential allergens and consult a health professional if in doubt.
  • Includes wheat (flour)
  • Has dairy (butter)
  • Could contain milk (white chocolate)
  • Might contain soy (check melting chocolate packet)

Nutrition Facts (Per Serving)

It is important to consider this information as approximate and not to use it as definitive health advice.
  • Calories: 175
  • Total Fat: 10 g
  • Total Carbohydrate: 20 g
  • Protein: 1 g