Skip to main content
Zimt

Home baking recipes and cinnamon favourites

Rainbow candy shortbread cookies recipe – buttery, colorful

Rainbow candy shortbread cookies combine the classic, buttery crumb of a shortbread with a burst of colorful candy pieces that make every bite a celebration. The dough stays tender and holds its shape, while the candy melts just enough to create speckled ribbons of color. This recipe is simple enough for beginners yet impressive enough for parties, gift boxes, or a festive snack.

Ingredients

  • 1 cup (226 g) unsalted butter, softened
  • 1/2 cup (100 g) granulated sugar
  • 1/4 cup (55 g) light brown sugar, packed
  • 2 large eggs, at room temperature
  • 1 tsp pure vanilla extract
  • 2 ½ cups (310 g) all‑purpose flour
  • 1/2 tsp fine sea salt
  • 1/2 tsp baking powder
  • 1 cup (150 g) rainbow candy‑coated chocolate pieces (M&M’s or similar)
  • Optional: 1 tsp edible glitter for extra sparkle

The butter is the heart of any shortbread; using a high‑fat, unsalted variety ensures a rich, melt‑in‑your‑mouth texture. When the butter is softened but not melted, it can be creamed with the sugars to trap air, creating a light crumb while still delivering that classic shortbread snap.

Flour, salt, and a touch of baking powder give the dough structure without making it cake‑like. The candy pieces add both visual appeal and a subtle caramelized flavor as they melt slightly during baking. If you prefer a gluten‑free version, substitute the all‑purpose flour with a 1‑to‑1 gluten‑free blend that contains xanthan gum.

Instructions

Gather all ingredients and preheat the oven to 350°F (175°C). Line two baking sheets with parchment paper; this prevents sticking and makes cleanup easier.

  1. In a large mixing bowl, beat the softened butter, granulated sugar, and brown sugar together on medium speed until the mixture is pale and fluffy, about 3–4 minutes.
  2. Add the eggs one at a time, beating well after each addition, then stir in the vanilla extract.
  3. In a separate bowl whisk together the flour, sea salt, and baking powder. Gradually add the dry mixture to the butter‑sugar mixture, mixing on low speed until just combined. Over‑mixing can develop gluten and lead to a tougher cookie.
  4. Gently fold in the rainbow candy pieces with a rubber spatula, ensuring they are evenly distributed without crushing them.
  5. If using edible glitter, sprinkle it over the dough now and give a brief fold to incorporate.
  6. Turn the dough onto a lightly floured surface, pat it into a 1‑inch‑thick slab, and chill for 20 minutes. Chilling solidifies the butter, which helps the cookies retain their shape during baking.
  7. Using a 2‑inch cookie cutter or a sharp knife, cut the dough into desired shapes—rounds, squares, or even festive stars.
  8. Place the cutouts on the prepared baking sheets, leaving about 1 inch of space between each piece to allow for spread.
  9. Bake in the preheated oven for 12–14 minutes, or until the edges are just turning a light golden brown. The centers will still look slightly pale—that’s the perfect shortbread texture.
  10. Remove the cookies from the oven and let them sit on the sheet for 2 minutes; this lets them firm up before transferring.
  11. Transfer the cookies to a wire rack to cool completely. Cooling on a rack prevents steam from making the bottoms soggy.
  12. Once cooled, store in an airtight container or enjoy immediately while the candy pieces are still glossy.

Because the dough contains raw eggs, it is important to bake the cookies thoroughly; the internal temperature should reach at least 160°F (71°C) to ensure safety. If you are concerned about raw egg exposure, you can use pasteurized eggs or a vegan egg replacer that behaves similarly in a creamed butter mixture.

Tips

  • For an extra‑crisp edge, bake the cookies on the lower third of the oven and rotate the sheet halfway through.
  • If the candy pieces are large, give them a quick pulse in a food processor to create smaller shards that melt more evenly.
  • To keep the colors vibrant, add the candy after the dough has chilled; warm dough can cause the coating to bleed.
  • For a festive twist, drizzle melted white chocolate over the cooled cookies and sprinkle with additional candy pieces.

Temperature control is key: butter that is too soft will spread excessively, while butter that is too cold will produce a dough that is difficult to roll. If the dough feels sticky after adding the candy, chill it a few more minutes before rolling.

When storing, place a sheet of parchment between layers of cookies to prevent the colors from rubbing off onto each other. This also helps maintain the decorative appearance for several days.

Serving Suggestions

Serve these cookies alongside a cup of hot tea or coffee for an elegant afternoon treat. The buttery base pairs especially well with Earl Grey or a lightly spiced chai, allowing the sweet candy notes to shine without being overwhelmed.

For holiday gatherings, arrange the cookies on a tiered platter with complementary treats such as lemon shortbread or almond biscotti. The rainbow colors add a cheerful contrast to more neutral desserts, making the platter visually appealing and Instagram‑ready.

Variations

If you prefer a chocolate‑intense version, substitute half of the all‑purpose flour with unsweetened cocoa powder and use dark chocolate‑coated candy pieces. The cocoa will deepen the flavor while still letting the rainbow colors pop.

For a fruit‑infused twist, replace the candy pieces with dried cranberries, chopped apricots, or freeze‑dried raspberry shards. These additions introduce a tart counterpoint to the sweet butter, and the dried fruit’s natural colors create a more subdued, rustic look.

Storage and Reheating

Store the cooled cookies in an airtight container at room temperature for up to 5 days. Place a sheet of parchment between layers to preserve the surface texture and prevent the candy from sticking to the container.

If you need to refresh the cookies after a few days, gently warm them in a 300°F (150°C) oven for 5 minutes. This revives the buttery crumb and slightly re‑melts the candy, restoring the glossy appearance without drying them out.

Frequently Asked Questions

Can I use a different type of candy?

Yes. Any candy coating that can withstand baking temperatures works—think of candy‑coated peanuts, colored chocolate chips, or even crushed candy canes for a seasonal flavor. Just be mindful of the size; larger pieces may need to be chopped to ensure even distribution.

Do I need to chill the dough?

Chilling is highly recommended. It solidifies the butter, reduces spreading, and helps the candy retain its shape. Skipping this step can lead to thin, overly spread cookies and a loss of the vibrant color pattern.

What if I don’t have an oven thermometer?

Most home ovens are close enough to 350°F (175°C) for shortbread. If you’re uncertain, place a thin slice of bread on the middle rack; it should turn golden in about 10 minutes. Adjust the oven temperature up or down by 10°F based on that observation.

Can I freeze the dough?

Absolutely. Wrap the rolled slab tightly in plastic wrap, then place it in a freezer‑safe bag. The dough can be frozen for up to 3 months. When ready, thaw in the refrigerator overnight before cutting and baking.

Is it safe to eat the cookies if I have a nut allergy?

The base recipe is nut‑free, but many rainbow candy varieties are processed in facilities that also handle nuts. Check the candy packaging for a “may contain nuts” statement if you are cooking for someone with a severe allergy.

How do I keep the colors from fading over time?

Store the cookies in a cool, dark place away from direct sunlight. Light and heat can cause food‑grade dyes to lose intensity. Using an airtight container with a light‑blocking interior, such as a tin, helps preserve the bright hues for longer.

Read next