Rainbow Cookies - Easy Sugar Cookie Recipe! (2025)

Jump to Recipe·Leave a review

This post may contain affiliate sales links. Please see my full disclosure policy for details

Make perfect rainbow cookies from swirls of soft and buttery sugar cookie dough rolled up into brightly colored pinwheels. This rainbow cookie recipe is fun and easy, with just 30 minutes of chill time. Guaranteed to put a smile on everyone’s face!

If you love rainbow desserts, be sure to check out my pastel rainbow cupcakes or this rainbow sheet cake.

Rainbow Cookies - Easy Sugar Cookie Recipe! (1)

TABLE OF CONTENTS

  • Easy Rainbow Cookies
  • Why You’ll Love This Rainbow Cookie Recipe
  • Ingredient Notes
  • How to Make Rainbow Swirl Cookies
  • Recipe Tips
  • Variations and Decorating Ideas
  • Can I Make The Dough in Advance?
  • How to Store Rainbow Cookies
  • More Sugar Cookie Recipes
  • Get the Recipe

Easy Rainbow Cookies

These bright and colorful rainbow cookies turn my best cut-out sugar cookie dough into a fun treat that you can bake for parties, bake sales, or any other occasion. I am so excited about these, they came out even better than I expected! Soft and buttery like a classic sugar cookie and swirled with the colors of the rainbow, this recipe uses a similar technique to my pinwheel cookies to achieve that perfect roll.

Why You’ll Love This Rainbow Cookie Recipe

  • Thick and soft. These rainbow sugar cookies are sliced quite thick, so they’re soft and tender and melt away in your mouth.
  • Just sweet enough. My original sugar cookies are usually topped with icing, so there’s not a ton of sugar in this dough. In my opinion, it’s just the perfect amount of sweetness.
  • Customize the flavor. There’s a light vanilla flavor from the extract as well but if you want an even stronger flavor, add an extra teaspoon of vanilla extract or add some almond extract too.
Rainbow Cookies - Easy Sugar Cookie Recipe! (2)

Ingredient Notes

You need just a few pantry staples plus gel colors to make these bright and colorful rainbow cookies. I’ve included some quick notes here. Be sure to scroll down to the recipe card for the full ingredient list and recipe details.

  • Butter – I recommend unsalted butter, brought to room temperature.
  • Baking Soda and Milk – Dissolving baking soda in milk before mixing it with the other ingredients kickstarts the leavening process.
  • Flavoring Extract – You can use vanilla extract or almond extract. Feel free to use more or less flavoring to taste.
  • Food Coloring – I recommend gel food dyes as they offer the brightest colors, see below.

What’s the Best Food Coloring to Use?

The best food coloring for cookies is gel colors, like the kind from AmeriColor or Wilton. Gel food coloring only requires a couple of drops and yields bright, vibrant colored dough as you see in the photos. I used 7 colors, but you could easily make this recipe with 6 colors if needed.

How to Make Rainbow Swirl Cookies

This rainbow cookies recipe requires a bit more hands-on time than regular sugar cookies, as you’ll need to roll out each color. But these slice-and-bake cookies are still super easy to make! You’ll start by preparing the sugar cookie dough:

  • Combine the wet ingredients. Beat the butter and sugar until the sugar is creamy, then add the eggs and vanilla (or almond) extract. Next, dissolve the baking soda in milk before stirring this into the batter.
  • Add the dry ingredients. Add the salt and flour one cup at a time, mixing to form a stiff dough. You may need to kick the mixer up a notch to get the dough to fully combine.
  • Portion it out. Divide the dough into equal-sized balls. If you have a food scale, weighing the dough into equal sizes is best. My dough weighed 1250g, so about 178g per color (7 colors), bigger than a baseball but smaller than a softball. It’s a little more than a 1/2 cup of dough.

Color and Shape the Cookie Dough

Next, you’ll need to dye the prepared cookie dough with all the colors of the rainbow before rolling out and rolling up the dough for slicing:

  • Dye the dough. Dye each dough ball an individual color. You can do this by hand or with a mixer. I’ve included more tips below, but this is how I did it by hand. Flatten each ball, add the color, smear it around, and then use your hands to combine. You may need to add additional gel colors to get the vibrancy you want. Doing this by hand is a bit labor-intensive, but 100% worth it!
Rainbow Cookies - Easy Sugar Cookie Recipe! (4)
Rainbow Cookies - Easy Sugar Cookie Recipe! (5)
Rainbow Cookies - Easy Sugar Cookie Recipe! (6)
  • Roll out each color. Roll out each color into a rectangle approximately 12 inches long. You want it to be as thin as possible without ripping the dough.
Rainbow Cookies - Easy Sugar Cookie Recipe! (7)
Rainbow Cookies - Easy Sugar Cookie Recipe! (8)
  • Stack the dough. Place the first on a piece of parchment paper and stack the rest on top of each other. Once they are all stacked on top of one another, it’s very thick.
  • Flatten the dough. Cover with a second piece of parchment and roll it out again until the entire dough is 1/4″ to 1/2″ thick. Rotate the dough as you work so you can evenly roll it out.
Rainbow Cookies - Easy Sugar Cookie Recipe! (9)
Rainbow Cookies - Easy Sugar Cookie Recipe! (10)
  • Roll the dough up into logs. Using a pizza cutter, trim any excess dough off the sides of your flattened dough stack. Then, cut the dough into two halves. Roll each one into a log as tightly as possible.
Rainbow Cookies - Easy Sugar Cookie Recipe! (11)
Rainbow Cookies - Easy Sugar Cookie Recipe! (12)
  • Chill. Wrap each log in plastic wrap and place the logs seam side down in the refrigerator to chill for 30 minutes.

Slice and Bake the Cookies

Finally, all that’s left to do is slice and bake your rainbow cookies!

  • Slice. Use a sharp knife to cut the chilled dough log into 1/2″ thick slices. Use your hands to shape the slices into a circle if needed. Place the cookies 1 inch apart on the baking sheet. These won’t spread very much, so you don’t need to worry about placing them too far apart.
Rainbow Cookies - Easy Sugar Cookie Recipe! (13)
Rainbow Cookies - Easy Sugar Cookie Recipe! (14)
  • Bake. Bake at 350° for 9 to 11 minutes. The bottoms should be just slightly brown. Cool for 5 minutes on the sheet then transfer to a wire rack to cool completely.

Recipe Tips

If this is your first time working with dyed cookie dough, here are a few helpful tips.

  • Use a stand mixer (if possible). Even though I showed this mixing by hand, I recommend using the stand mixer to dye the dough. If using the mixer, start with yellow and gradually work to the darker colors, cleaning the mixer as needed.
  • Always wear gloves. If mixing by hand, be sure to wear gloves. Flatten the dough, add a couple of drops of color, smear with your hands and work the dough between your hands, add additional color as needed. This takes some work to do, and a lot of handling.
  • Don’t worry about streaks. If you have some streaky dough, that’s fine you won’t even notice when it rolled out.
  • Weigh the dough. If you have a food scale, weighing the dough into equal sizes is best. My dough weighed 1250g, so about 178g per color (7 colors), bigger than a baseball but smaller than a softball.
    • Use parchment paper to roll out the dough. This helps to keep the dough from sticking. If you do find the dough is sticking, dust a little powdered sugar over the dough or on the rolling pin.
    • Chill the dough. It’s important to chill the dough once it’s rolled so that you can easily slice them without damaging the shape. Don’t skip this step!
    Rainbow Cookies - Easy Sugar Cookie Recipe! (15)

    Variations and Decorating Ideas

    You can enjoy these rainbow swirl cookies exactly as they are, especially if they’re warm from the oven! They’re the perfect accompaniment to a big, cold glass of milk.

    • Add frosting. Since these cookies aren’t overly sweet, frost them with buttercream frosting. This strawberry frosting or marshmallow frosting would also be delicious.
    • Add sprinkles. You can never go wrong with a finish of rainbow sprinkles, especially on rainbow cookies!
    • Decorate with icing. Use my easy sugar cookie icing and get creative with designs.
    • Holidays. Adapt your cookies for different holidays! I have a holiday variation of this recipe in the form of Christmas pinwheels. Also, see my festive tips on how to decorate sugar cookies and find loads of inspiration in my Valentine’s Day sugar cookies tutorial for more ways to decorate these rainbow cookies.
    Rainbow Cookies - Easy Sugar Cookie Recipe! (16)

    Can I Make The Dough in Advance?

    Yes. Like most sugar cookie dough, you can prepare the dough for these rainbow swirl cookies up to 2 days in advance. Wrap it tightly in plastic wrap and keep it in the fridge until you’re ready to use it.

    You can also freeze the rainbow cookie dough. Wrap in plastic wrap and then in foil to prevent freezer burn. Thaw overnight in the fridge. I recommend leaving the chilled dough on the counter for 10 minutes so it’s a bit easier to work with.

    How to Store Rainbow Cookies

    • To Store. These rainbow cookies will last for several days when stored in an airtight container at room temperature.
    • Freeze. You can also freeze these cookies for a month in an airtight container. Thaw them on the counter before serving.

    More Sugar Cookie Recipes

    • Sprinkle Sugar Cookies
    • Patriotic Sugar Cookies
    • Chocolate Sugar Cookies

    Print

    Rainbow Cookies - Easy Sugar Cookie Recipe! (17)

    Rainbow Cookies

    5 Stars 4 Stars 3 Stars 2 Stars 1 Star 5 from 4 reviews
    • Author: Julianne Dell
    • Prep Time: 60 minutes
    • Cook Time: 11 minutes
    • Total Time: 1 hour 11 minutes
    • Yield: 36 to 40 cookies

    Print Recipe

    Description

    Easy rainbow cookies made from swirls of buttery sugar cookie dough rolled up into brightly colored pinwheels. These are so fun to make with just 30 minutes of chill time!

    Ingredients

    • 1 cup (226g) unsalted butter, at room temperature
    • 1 cup (190g) granulated sugar
    • 1 teaspoon baking soda
    • 4 tablespoons (60m) milk
    • 12 teaspoon (5-10ml) almond or vanilla extract
    • 2 large eggs
    • ½ teaspoon salt
    • 5 cups (600 g) all-purpose flour
    • Gel colors for dying (see notes)

    Instructions

    1. Beat the butter and sugar on medium-high speed until the sugar is dissolved and creamy.
    2. Add the eggs and flavored extract to the butter and beat until all ingredients are well incorporated. Then, in a small glass dish, dissolve the baking soda in the milk and add to the mixture, beating until combined.
    3. Finally, add the salt and the flour 1 cup at a time and mix until a stiff dough forms.
    4. Divide the dough into 6 or 7 equal sized balls. Dye each one the individual color using either your mixer or your hands (see notes for additional tips).
    5. Starting with the red, roll each individual color into a rectangular shape, about 12 inches long. Roll between two pieces of parchment paper and lightly dust with powdered sugar if needed to prevent sticking. Dough will be relatively thin when rolled, place the first one on piece of parchment paper and stack each color on top of the other.
    6. Once all the color are stacked, cover with a second piece of parchment paper and proceed with roll out the cookie dough again until it’s about ¼ – ½ inch thick, it should expand quite a bit.
    7. Trim off the excess sides and then cut the dough into two halves. Roll each one tightly into a log, about 9-10 inches long and about 2-inch in diameter at the thickest point. Wrap each log with plastic wrap and place seam side down and chill for at least 30 minutes.
    8. Pre-heat oven to 350°F. Line a baking sheet with a silicone baking mat.
    9. Remove the dough from the fridge. Using a sharp knife, cut them into ½ inch wide slices. If they are misshaped, gently roll between your hands to shape into a circle. Place about 1-inch apart on the baking sheet.
    10. Bake at 350° for 9-11 minutes just until the bottoms turn slightly brown. Allow to cool for 5 minutes before transferring to a wire rack to cool completely.

    Notes

    • See blog post for complete step-by-step photos.
    • If you have a food scale, weighing the dough into equal sizes is best. My dough weighed 1250g, so about 178g per color (7 colors), bigger than a baseball but smaller than a softball. It’s a little bit more than 1/2 cup of dough.
    • I used 7 colors, but you could easily do it with 6 colors. Use color from Americolor or Wilton for best results.

    Nutrition Information:

    1 cookie

    135

    5.7 g

    73 mg

    5.6 g

    18.9 g

    0.5 g

    2.3 g

    23.9 mg

    • Category: Dessert
    • Method: Baking
    • Cuisine: American
    Rainbow Cookies - Easy Sugar Cookie Recipe! (2025)

    FAQs

    What is the secret ingredient to keep cookies soft? ›

    It's not the egg, all-purpose flour, or even the vanilla extract. The simple, yet oh-so-necessary component is cornstarch. That's right, the flavorless thickening agent used for soups, stews, and curries is also the secret weapon for baked goods that boast a silky-smooth mouthfeel.

    Can you put colored sugar on cookies before baking? ›

    Roll Cookies in Fancy Sugar

    For this technique, you'll want to decorate your cookies before baking. We recommend using decorative sugar (also known as colored sanding sugar), Turbinado sugar (coarse golden sugar) or pearl sugar (coarse clear sugar). It all sounds super fancy but it's really very easy!

    Why put cream of tartar in sugar cookies? ›

    Cream of tartar makes cookies chewy, as it precludes the sugar in the dough from crystalizing, which would lead to crispiness (ie: the opposite of chewiness).

    Can I add food coloring to store-bought cookie dough? ›

    You totally can. After a little bit of research, I discovered how simple it is to incorporate food coloring into store bought refrigerated cookie mix. Adding a little bit of flour helps balance it out since the liquid food coloring will make the dough more wet and sticky.

    What is the secret to making cookies soft and chewy? ›

    Rest the Dough A secret baker's trick is to rest your cookie dough in the fridge. You can rest it for at least an hour, which will evaporate some of the water and increase the sugar content, helping to keep your baked cookies chewy.

    How do you make cookies soft instead of hard? ›

    Baking cookies quickly in a hot oven – at 375 degrees F as opposed to a lower temperature – will make for soft results. They'll bake fast instead of sitting and drying out in the oven's hot air. Ever so slightly underbaking your cookies will give you softer results than cooking them the full amount the recipe says.

    Is it better to bake cookies with brown sugar or white sugar? ›

    Keep in mind when baking that brown sugar helps to promote a dense, chewy texture thanks to the moisture content in the molasses. Think: chewy brownies or soft, dense chocolate chip cookies. On the other hand, white sugar helps to create crispy, crunchy cookies that have a drier texture.

    How do you keep sugar cookies from bleeding in color? ›

    Dry your cookies in front of a fan.

    Having air flow like a fan on your cookies helps speed up your drying time, which helps the colors dry faster preventing color bleed. Drying cookies in front of a small table fan makes a huge difference and is definitely a time saver.

    What is the purpose of cornstarch in sugar cookies? ›

    Cookies. Cornstarch does kind of incredible things to cookies. I mean not only does it give them soft centers, prevents them from spreading, and makes them somewhat thick (in a good way), but it also contributes to the chewiness factor, which, in my opinion, is the most important cookie attribute.

    Can I omit cream of tartar in sugar cookies? ›

    But while technically you don't need the ingredient, Food Network still recommends swapping it with vinegar or lemon juice as opposed to leaving it out of a recipe that calls for it. These substitutions work because cream of tartar is powdered tartaric acid, per Healthline.

    How many drops of food coloring for cookies? ›

    How much food coloring do I add to cookies? You will only add a drop or two depending on the food coloring you're using to create your colored cookies. Since gel coloring is much more concentrated than liquid food coloring, you may only need half a drop to achieve your desired tone.

    What is the best food coloring for sugar cookie dough? ›

    Choose any colors you need to mix and match your favorite colors for a theme or just for fun. Be sure to use gel color. You would need to use a lot of the liquid color and it would change the consistency of your dough.

    What makes cookie dough not edible? ›

    Raw cookie dough is not safe to eat because it contains uncooked eggs and flour, which can cause food poisoning if they are contaminated with harmful bacteria. Pregnant women, children, older adults, and people with compromised immune systems should not eat raw cookie dough because of these risks.

    What can I put in cookies to keep them soft? ›

    The key to keeping cookies fresh and soft is to seal them in an airtight container, like a resealable freezer bag. And here's a nifty little trick: add a piece of bread to the bag.

    What makes a cookie more soft? ›

    What Makes Cookies Soft?
    1. Brown sugar, as it has a high moisture content and retains moisture better than white sugar. ...
    2. Shortening instead of butter or in addition to butter. ...
    3. Baking powder instead of baking soda. ...
    4. Eggs, particularly egg yolks. ...
    5. Cake flour instead of all-purpose flour.
    Oct 5, 2020

    What makes cookies chewy and not hard? ›

    Soft cookies have a water concentration of 6% or higher – moisture being the variable in texture. To make cookies crispy, add less liquid or bake it in the oven for longer to dry out the dough.

    What is the trick to soften hard cookies? ›

    Here is the simplest method to soften hard cookies quickly in a microwave.
    1. Wrap the cookies in a paper towel.
    2. Place in the microwave for 1 minute.
    3. The paper will absorb any excess moisture.
    4. That's it! Your cookies are as deliciously warm and crisp as the day they were baked.
    Oct 18, 2023

    Top Articles
    Latest Posts
    Recommended Articles
    Article information

    Author: Tuan Roob DDS

    Last Updated:

    Views: 5947

    Rating: 4.1 / 5 (42 voted)

    Reviews: 89% of readers found this page helpful

    Author information

    Name: Tuan Roob DDS

    Birthday: 1999-11-20

    Address: Suite 592 642 Pfannerstill Island, South Keila, LA 74970-3076

    Phone: +9617721773649

    Job: Marketing Producer

    Hobby: Skydiving, Flag Football, Knitting, Running, Lego building, Hunting, Juggling

    Introduction: My name is Tuan Roob DDS, I am a friendly, good, energetic, faithful, fantastic, gentle, enchanting person who loves writing and wants to share my knowledge and understanding with you.