ClockPlayEmailInstagramLinkSMSTwitterYouTubeWhatsAppXSearchClockRight ArrowArrow DownCaret downCaret upCaret leftCaret rightHamburger MenuPop OutThumbs upThumbs up buySpeechAudio onReplayPlusMinusSad smiley faceNo resultsSwapMoreYour grocery bagSuccessShop Tasty MerchYour Cart (empty)Your CartFacebookPinterestEmailPrintSmsTwitterWhatsappCommentTips Highlights
Skip to Content
Slice and Bake Rainbow Cookies

Inspired by


for 24 cookies

  • 1 cup butter (230 g), softened
  • 2 ½ cups powdered sugar (300 g)
  • 1 teaspoon vanilla
  • 1 pinch salt
  • 3 eggs
  • 3 ½ cups flour (440 g)
  • ¼ teaspoon red food coloring
  • ¼ teaspoon orange food coloring
  • ¼ teaspoon yellow food coloring
  • ¼ teaspoon green food coloring
  • ¼ teaspoon blue food coloring
  • ¼ teaspoon purple food coloring

Nutrition Info

  • Calories 188
  • Fat 8g
  • Carbs 25g
  • Fiber 0g
  • Sugar 11g
  • Protein 2g

Estimated values based on one serving size.


  1. Using a hand mixer or standing mixer, beat butter until creamy.
  2. Add powdered sugar and beat until combined. Add the eggs, vanilla, and salt. Beat until well combined.
  3. Gradually, add the flour until dough is moist and holds together, but doesn’t stick to your hands.
  4. Place dough on a cutting board and form into a ball. Cut in half, then cover one half with plastic wrap and set aside.
  5. Divide the other half into 6 pieces. The outer layers of the rainbow will need a little bit more dough, so make two of them slightly larger than the others.
  6. Dye the dough with food coloring by placing a ¼ teaspoon of dye on the ball of dough and kneading it until it is one solid color. Gloves optional but suggested.
  7. Starting with purple, roll the dough into a log about 6-8 inches (15-20 cm) long. This will be the center of the rainbow.
  8. Next, roll out the blue dough with a rolling pin until it’s about ¼ inch (6 mm) thick, slightly longer than the purple, and wide enough to wrap around the purple dough. Repeat with the green, yellow, orange, and red doughs. The further away from the purple you get, the wider the dough needs to be to go around the previous color, making the red dough the widest.
  9. Wrap the blue dough around the purple, pinching together any cracks that form, cutting off any excess dough. Repeat with the rest of the colors.
  10. Wrap in plastic wrap and chill for 30 minutes.
  11. Once chilled, remove the plastic wrap, and cut the dough in half to make 2 rainbow shapes. Set aside.
  12. Cut the reserved dough in half, roll out to ¼-inch (6 mm) thickness, and make it slightly longer than the rainbow log.
  13. Place the rainbow dough in the center and wrap the plain dough around it, again, pinching together any cracks and smoothing out the surface.
  14. Repeat with the other halves. Wrap with plastic wrap and chill for another 30 minutes.
  15. Preheat oven to 350˚F (180˚C).
  16. Once chilled, remove the plastic wrap. Slice cookies about ½-inch (1 cm) thick and place on a parchment paper-lined baking sheet.
  17. Bake for 20 minutes or until the bottom has browned slightly.
  18. Cool on a cooling rack.
  19. Enjoy!
  20. Hate losing that perfect recipe? Save and organize recipes easily on the Tasty app. Download now.
Slice and Bake Rainbow Cookies

Inspired by