Piped Rainbow Shortbread Cookies Recipe – Steps & Storage
In this article
These piped rainbow shortbread cookies combine a buttery, crumbly base with a vibrant, glossy icing. The shortbread stays crisp while the colorful topping adds a cheerful visual contrast. They work well for birthday parties, kid‑friendly gatherings, or any occasion that calls for a pop of color.
Serves 12 · Prep 20 min · Cook 12 min · Total 1 hr 20 min
Ingredients
- 1 cup (226 g) unsalted butter, softened
- 2 cups (250 g) all‑purpose flour
- 1/2 cup (60 g) powdered sugar
- 1/4 tsp salt
- 1 tsp (5 ml) vanilla extract
- For the rainbow icing:
- 1/2 cup (115 g) unsalted butter, softened
- 2 cups (240 g) powdered sugar, sifted
- 2 tbsp (30 ml) whole‑milk or plant‑based milk
- 1 tsp (5 ml) vanilla extract
- Gel food coloring in red, orange, yellow, green, blue, and purple (about 5–10 drops per color)
Instructions
- In a large bowl, cream the butter for the shortbread until pale and fluffy, about 2–3 minutes.
- Add powdered sugar, salt, and vanilla. Mix until just combined.
- Gradually add the flour, mixing on low speed until a smooth dough forms. Do not over‑mix.
- Shape the dough into a flat disc, wrap in plastic, and chill for 30 minutes.
- Preheat the oven to 350°F (177°C). Line a baking sheet with parchment paper.
- On a lightly floured surface, roll the dough to a 1/4‑inch (6‑mm) thickness. Cut into 2‑inch (5‑cm) rounds using a cookie cutter.
- Place the rounds on the prepared sheet, leaving a little space between them. Bake 12–15 minutes, until edges are just lightly golden.
- Remove from oven and let cookies cool on the sheet for 5 minutes, then transfer to a wire rack to cool completely, about 10 minutes.
- While cookies cool, prepare the icing. Beat butter until creamy, then gradually add powdered sugar, milk, and vanilla. Beat on medium speed until light and spreadable, about 2 minutes.
- Divide the icing into six small bowls. Add a different gel color to each bowl, mixing until the color is uniform.
- Fit piping bags with small round tips (size 2 or 3). Fill each bag with a different colored icing.
- Pipe a thin, even stripe or swirl around the edge of each cookie. Work quickly so the icing does not set before you finish.
- Allow the icing to set at room temperature for 15–20 minutes before stacking or storing.
How Do You Pipe Rainbow Icing?
Begin by preparing a smooth icing base. The butter‑sugar mixture should be soft enough to flow through a piping tip but firm enough to hold its shape on the cookie surface. If the icing feels too stiff, add a teaspoon of milk; if it is too runny, add a little more powdered sugar.
When filling piping bags, avoid over‑filling. Fill each bag only three‑quarters full, then twist the top to seal and push the icing toward the tip. This prevents air pockets that can cause uneven lines. Pipe in a continuous motion, applying steady pressure, and finish each stripe at the same speed to keep the width consistent across all cookies.
What Can I Substitute for Gel Food Coloring?
If gel colors are unavailable, liquid food coloring can be used, but you will need about twice the amount because it is less concentrated. Adding more liquid may thin the icing, so compensate by increasing powdered sugar by a tablespoon per 2 ml of liquid color.
Natural alternatives include beet juice for pink/red, turmeric for yellow, spinach puree for green, and blueberry juice for blue. These add subtle flavor notes and may slightly tint the icing beyond the pure hue of synthetic colors. Adjust the quantity to achieve the desired intensity, keeping in mind that natural colors can stain the dough if over‑applied.
Why Do Shortbread Cookies Spread?
Excessively soft butter or a dough that is too warm will cause the cookies to spread during baking. The butter melts before the flour sets, flattening the shape.
To prevent spreading, chill the rolled dough for at least 30 minutes and keep the dough as cool as possible while cutting. Using a thermometer, aim for butter temperature around 65°F (18°C) when creaming, and avoid over‑mixing after the flour is added.
How Long Do the Cookies Keep?
Store the baked cookies in an airtight container at room temperature for up to 4 days. Place a layer of parchment between layers to keep icing from sticking.
For longer storage, freeze the cookies in a single layer on a baking sheet, then transfer to a freezer‑safe bag. They retain quality for about 2 months. Thaw at room temperature before serving; the icing will soften slightly but remain intact.
What Goes Wrong If the Icing Cracks?
Cracking usually occurs when the icing is over‑beaten, creating a structure that is too stiff once it sets. It can also happen if the butter is too cold when mixed, resulting in a grainy texture.
To fix cracked icing, gently re‑whip the mixture with a tablespoon of milk or a few drops of water until it regains a smooth consistency. If the icing is already on the cookies, brush a thin layer of fresh icing over the cracks to hide them.
Can I Make These in an Air Fryer?
Yes. Preheat the air‑fryer to 330°F (165°C). Arrange the cut cookies in a single layer on the basket tray, ensuring they do not touch.
Air‑fry for 8–10 minutes, checking at the 8‑minute mark. The cookies should be lightly golden at the edges. Allow a 5‑minute cooling period before piping the icing, as the cookies will continue to firm up after removal.
What Are Practical Substitutes for Butter?
If you need a dairy‑free option, replace the butter with an equal weight of solid coconut oil. The cookies will develop a faint coconut aroma and a slightly softer texture.
Another alternative is a vegan butter spread with a similar fat content. Use the same volume as the dairy butter. Both substitutes will affect the flavor profile but still produce a crisp shortbread base suitable for piping.