Piped Rainbow Shortbread Cookies

Featured in Irresistible Sweet Treats.

Make colorful shortbread dough, arrange in stripes, pipe into cookies, bake, then dip in white chocolate and add sprinkles for a vibrant, buttery treat.
Clare Greco
Updated on Sun, 16 Mar 2025 21:17:54 GMT
Piped Rainbow Shortbread Cookies Pin it
Piped Rainbow Shortbread Cookies | recipesbyclare.com

I stumbled upon the idea for these rainbow shortbread cookies during a rainy Saturday when my niece was visiting and desperately needed something fun to do. What began as a simple baking project quickly turned into our signature treat for every celebration. These vibrant, buttery cookies combine the melt-in-your-mouth texture of classic shortbread with eye-catching rainbow colors that never fail to bring smiles. The piping technique creates beautiful swirled patterns that look impressively complex but are surprisingly achievable, even for novice bakers. Topped with a touch of white chocolate and colorful sprinkles, they're the perfect balance of sophisticated flavor and childlike joy.

Last spring I brought these to my friend's baby shower, and three different people asked if I had started a bakery business. My neighbor's seven-year-old daughter was so enchanted by them that she insisted on having them instead of birthday cake at her party. There's something magical about the combination of those swirled colors and classic shortbread that appeals to both kids and adults alike.

Simple Ingredients

  • Butter - The star of any good shortbread recipe needs to be high quality for the best flavor. I prefer unsalted so I can control the exact amount of salt, but salted works in a pinch - just omit the added salt. Make sure it's at cool room temperature - not too soft, not too hard.
  • All-purpose flour - Creates that perfect tender-yet-sturdy texture that defines great shortbread. Measuring precisely is important here - too much flour and your cookies will be dry and crumbly in the wrong way.
  • Sugar - Regular granulated sugar works perfectly, creating a balanced sweetness without overwhelming the butter flavor. Some traditional shortbread recipes use powdered sugar, but I find granulated gives these a better structure for piping.
  • Gel food coloring - These concentrated colors are crucial for vibrant results without changing the dough's consistency. Liquid food coloring would require too much volume to achieve bright colors, potentially making the dough too soft for piping.
  • White melting wafers - These melt smoothly and set firmly at room temperature, making them ideal for dipping. White chocolate chips can substitute in a pinch, but they'll need a touch of shortening to achieve the right consistency for dipping.
  • Rainbow nonpareils - These tiny colorful sprinkles add the perfect finishing touch that ties together all the rainbow colors in the cookies. Their small size won't overpower the delicate cookies like larger sprinkles might.
Piped Rainbow Shortbread Cookies Recipe Pin it
Piped Rainbow Shortbread Cookies Recipe | recipesbyclare.com

Creating Cookie Magic

Perfect dough consistency:
The food processor method creates just the right texture for piping - smooth enough to pass through the piping tip but firm enough to hold its shape. The dough should come together but not be overly processed, which can make it tough. Those short pulse bursts are key!
Coloring technique:
When adding gel colors, start with a toothpick dipped in the gel to add small amounts. It's easier to add more color than to fix dough that's too vibrant. Mix thoroughly to ensure even color distribution without overworking the dough.
Rainbow assembly:
The plastic wrap technique makes creating the multicolored cylinder much easier. Roll each colored dough into a snake-like rope of equal thickness before placing them side by side. The plastic helps you press them together without blending the colors.
Piping perfection:
Hold the piping bag at a 90-degree angle to the baking sheet for the most even cookies. Apply consistent pressure and pull up quickly at the end for a clean finish. If the dough feels too firm to pipe, let it warm up at room temperature for 5-10 minutes.
Chocolate dipping:
The key to a neat dip is making sure the cookies are completely cool and the chocolate is melted but not too hot. A shallow dish works better than a deep one for controlled dipping. Tap off excess chocolate gently against the side of the dish before adding sprinkles.

My first attempt at these was both a success and a learning experience. I initially tried using a ziplock bag with the corner snipped off instead of a proper piping bag and star tip, which resulted in cookies that tasted amazing but looked... well, less than professional. I've also experimented with various color combinations over the years - pastel shades for Easter, red and green for Christmas, team colors for sports events. The technique stays the same, but changing the colors makes them adaptable to any occasion.

Serving Inspiration

Transform these rainbow shortbread cookies into an even more impressive treat by creating a cookie platter with them as the colorful centerpiece. For children's birthday parties, display them standing upright in a glass filled with more rainbow sprinkles. They make beautiful homemade gifts packaged in clear cellophane bags tied with coordinating ribbon. For afternoon tea, serve them alongside fresh berries and a pot of Earl Grey for an elegant presentation that lets the cookies' colors pop.

Sweet Variations

Once you've mastered the basic technique, try some creative variations. Add 1/2 teaspoon of almond extract to the dough for a subtle flavor enhancement that complements the buttery base. Substitute dark or milk chocolate for the white chocolate dip for a different flavor profile. For a citrus twist, add 1 tablespoon of lemon or orange zest to the dough. During holidays, use themed color combinations and matching sprinkles - red, white, and blue for patriotic celebrations or pastels for spring gatherings.

Storage Secrets

These rainbow shortbread cookies maintain their perfect texture for up to two weeks when stored in an airtight container at room temperature. Place parchment paper between layers to protect the chocolate dipped edges. For longer storage, they freeze beautifully for up to three months - just thaw at room temperature for about an hour before serving. The buttery flavor actually develops and improves after a day or two, making them an excellent make-ahead option for parties or gifts.

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

I've made these rainbow shortbread cookies for countless celebrations over the years, from birthday parties to holiday gatherings. There's something about their vibrant appearance and classic flavor that makes them appropriate for practically any joyful occasion. While they might look like they require advanced baking skills, the straightforward process makes them accessible to bakers of all levels. The combination of buttery shortbread, colorful presentation, and that touch of white chocolate and sprinkles creates a treat that's just as delightful to make as it is to eat.

Frequently Asked Questions

→ Can I make the dough ahead of time?
Yes! The dough can be made up to 3 days ahead and stored in the refrigerator. Wrap the colored dough cylinder tightly in plastic wrap. When ready to use, let it sit at room temperature for about 20-30 minutes until soft enough to pipe.
→ What if I don't have a food processor?
You can make the dough by hand or with a stand mixer. For the hand method, whisk dry ingredients, then cut in the butter with a pastry cutter until the mixture resembles coarse crumbs. Knead until it forms a dough. With a stand mixer, cream butter and sugar first, then add dry ingredients.
→ Why are my cookies spreading too much when baking?
This usually happens if the butter is too warm when piping. If your dough feels soft or warm, refrigerate it for 15-20 minutes before piping. Also, make sure your oven is properly preheated and not running hot.
→ What piping tip works best for these cookies?
A large open star tip like Wilton 1M or 2D works well for these cookies. The open star creates beautiful ridges that show off the rainbow effect. If you prefer a different shape, a large closed star tip or French tip will also work nicely.
→ Can I use different decorations instead of rainbow sprinkles?
Absolutely! These cookies are versatile and can be decorated to match any theme. Try gold or silver sprinkles for elegant occasions, holiday-themed sprinkles for seasonal events, or colored sugar for a simple finish. You can also drizzle with dark chocolate instead of dipping in white chocolate.
→ My dough is too stiff to pipe. What should I do?
If your dough is too stiff, let it warm up at room temperature for 5-10 minutes. If it's still too stiff, you can knead it briefly with warm hands. Be careful not to overmix or the colors will blend too much. Alternatively, you can add 1-2 teaspoons of milk to make it more pliable.

Piped Rainbow Shortbread Cookies

Beautiful swirled rainbow shortbread cookies piped into perfect rosettes, dipped in white chocolate and topped with colorful sprinkles. A show-stopping treat that tastes as good as it looks!

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

Category: Sweet Treats

Difficulty: Intermediate

Cuisine: European

Yield: 24 Servings (24 cookies)

Dietary: Vegetarian

Ingredients

→ For the Cookies

01 2¼ cups all-purpose flour
02 ¾ cup sugar
03 ¼ tsp salt
04 1 cup unsalted butter, cut into pieces
05 Gel food coloring (4 colors of your choice)

→ For Decoration

06 1 cup white melting wafers
07 Rainbow nonpareils (for topping)

Instructions

Step 01

Preheat oven to 325°F (160°C). Line 2 baking sheets with parchment paper.

Step 02

In a food processor, pulse the flour, sugar, and salt together to combine thoroughly.

Step 03

Add half of the butter pieces to the food processor and pulse a few times. Then add the remaining butter and continue pulsing in short bursts until the dough comes together.

Step 04

Divide the dough into 4 equal portions and place each in a separate bowl. Add different gel food coloring to each portion and mix well until the color is evenly distributed throughout the dough.

Step 05

Lay out a sheet of plastic wrap on your work surface. Place each colored dough in strips side by side, arranging them from lightest to darkest color. Roll them together to form a cylinder shape, then cut one end to create a clean edge.

Step 06

Place the dough cylinder into a piping bag fitted with a large star tip.

Step 07

Pipe cookies onto the prepared baking sheets, leaving space between each cookie to allow for slight spreading during baking.

Step 08

Bake in the preheated oven for 25 minutes, rotating the pans halfway through the baking time. The cookies should be set but not browned.

Step 09

Allow the cookies to cool completely on a wire rack before decorating.

Step 10

Place the white melting wafers in a microwave-safe bowl. Microwave in 10-second intervals, stirring between each interval, until completely melted and smooth.

Step 11

Dip the piped edge of each cookie into the melted white chocolate, then immediately sprinkle with rainbow nonpareils before the chocolate sets.

Step 12

Place the decorated cookies on parchment paper and allow the chocolate to completely set before serving or storing.

Notes

  1. Store in an airtight container at room temperature for up to 1 week
  2. For best color results, use gel food coloring rather than liquid
  3. If dough becomes too soft to pipe, refrigerate for 15-20 minutes
  4. Perfect for birthday parties, baby showers, or any colorful celebration

Tools You'll Need

  • Food processor
  • Baking sheets
  • Parchment paper
  • Piping bag
  • Large star piping tip
  • Plastic wrap
  • Wire cooling rack
  • Microwave-safe bowl

Allergy Information

Please check ingredients for potential allergens and consult a health professional if in doubt.
  • Contains wheat (flour)
  • Contains dairy (butter)
  • May contain milk (white chocolate)
  • May contain soy (check white melting wafers ingredients)

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