Home » Explore » Rainbow Cookies Recipe | Colorful, Fun, and Delicious Treats for All Occasions

Rainbow Cookies Recipe | Colorful, Fun, and Delicious Treats for All Occasions

Featured in

Rainbow Cookies: A Colorful Delight for Every Occasion Rainbow cookies are a fun and vibrant treat that bring joy to any occasion. These colorful cookies are not only visually stunning but also delicious, with a soft and buttery texture. The

By Jessica Brown

Updated on March 18, 2025

Rainbow Cookies

Rainbow Cookies: A Colorful Delight for Every Occasion

Rainbow cookies are a fun and vibrant treat that bring joy to any occasion. These colorful cookies are not only visually stunning but also delicious, with a soft and buttery texture. The best part? You can customize them with different colors and sprinkles, making them perfect for birthday parties, holidays, or just a fun baking project with kids. With just a few simple ingredients, these cookies come together easily and can be enjoyed by all ages.

For more cookie ideas, check out Funfetti Sugar Cookies or Sugar Cookies.


Basic Recipe: Ingredients and Instructions

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
Rainbow Cookies

Rainbow Cookies Recipe | Colorful, Fun, and Delicious Treats for All Occasions


  • Author: Jennifer Mitchell
  • Total Time: 1 hour, 5 minutes (including chilling time)
  • Yield: 24-30 cookies 1x
  • Diet: Vegetarian

Description

Rainbow Cookies are colorful, fun, and a delightful treat for any occasion! These soft, buttery cookies are made with a simple dough that is divided and colored with vibrant food coloring to create a stunning rainbow effect. Finished off with sprinkles for a fun, festive touch, these cookies are perfect for parties, holidays, or just a cheerful snack to brighten up your day!


Ingredients

Scale

For the Cookie Dough:

  • 3 cups all-purpose flour (360g)
  • 1 cup unsalted butter, room temperature (226g)
  • 1 cup sugar (200g)
  • 1 large egg, room temperature
  • 1 tablespoon vanilla extract
  • 1/2 teaspoon fine sea salt
  • 23 tablespoons milk (to achieve desired dough consistency)

For Decorating:

  • Food coloring (red, yellow, and blue – to create all rainbow colors)
  • Sprinkles (for coating)

Instructions

Prepare the Cookie Dough:

  • In a large mixing bowl, cream together the butter and sugar until light and fluffy, about 2-3 minutes.
  • Add the egg and vanilla extract, mixing until well combined.
  • In a separate bowl, whisk together the flour and salt. Gradually add the dry ingredients to the wet mixture, mixing until just combined.
  • If the dough feels too dry, add 2-3 tablespoons of milk, a little at a time, until the dough reaches a soft, but not sticky, consistency.

2. Divide and Color the Dough:

  • Divide the dough into three equal portions.
  • Add a few drops of food coloring to each portion: one for red, one for yellow, and one for blue.
  • Knead the dough until the color is evenly distributed throughout each portion. You may need to wear gloves to avoid staining your hands with the food coloring.

3. Roll the Dough:

  • Roll each portion of colored dough into a log about 8-10 inches long.
  • Place the red dough log, yellow dough log, and blue dough log next to each other on a piece of parchment paper or plastic wrap.
  • Gently press the logs together to form one large rainbow log of dough, ensuring the colors stay separate.

4. Chill the Dough:

  • Wrap the dough log tightly in plastic wrap and refrigerate for at least 1 hour to firm up. This will help the dough hold its shape when baking.

5. Preheat the Oven:

  • Preheat your oven to 350°F (175°C). Line a baking sheet with parchment paper.

6. Slice and Bake the Cookies:

  • Once the dough is chilled, remove it from the refrigerator and slice it into 1/4-inch thick rounds.
  • Place the cookie slices on the prepared baking sheet, spacing them about 2 inches apart.
  • Bake for 8-10 minutes, or until the edges are lightly golden. Keep an eye on the cookies to ensure they don’t overbake.

7. Decorate the Cookies:

  • While the cookies are still warm, dip the edges into sprinkles for a fun and colorful finishing touch.

8. Cool and Serve:

  • Allow the cookies to cool on the baking sheet for a few minutes before transferring them to a wire rack to cool completely.

Notes

If you want to make more rainbow colors, you can divide the dough into additional portions and use other food coloring to create a broader rainbow effect.

You can also use sanding sugar or colored sugar for a different type of sprinkle coating.

The dough can be refrigerated for up to 3 days if you want to prepare it ahead of time.

  • Prep Time: 25 minutes (excluding chilling time)
  • Cook Time: 8-10 minutes
  • Category: Dessert, Cookies, Fun Treats
  • Method: Baking, Chilling
  • Cuisine: American

Nutrition

  • Serving Size: 1 cookie
  • Calories: 120
  • Sugar: 10g
  • Sodium: 50mg
  • Fat: 6g
  • Saturated Fat: 3g
  • Unsaturated Fat: 3g
  • Trans Fat: 0g
  • Carbohydrates: 16g
  • Fiber: 0g
  • Protein: 1g
  • Cholesterol: 20mg

Keywords: Rainbow Cookies

Instructions

  1. Preheat the Oven:
    Preheat your oven to 350°F (175°C) and line a baking sheet with parchment paper or a silicone baking mat.
  2. Make the Cookie Dough:
    In a large mixing bowl, beat the unsalted butter and sugar together until light and fluffy, about 2-3 minutes. Add the egg and vanilla extract, and continue mixing until well combined. Gradually add the all-purpose flour and fine sea salt, mixing until the dough begins to form. If the dough seems too thick, add 2-3 tablespoons of milk until it reaches a smooth consistency.
  3. Divide the Dough:
    Divide the dough into three equal portions. In separate bowls, add a few drops of food coloring to each portion—red, yellow, and blue. Mix each portion until the dough is fully colored. You can add more food coloring to achieve a brighter, more vibrant hue if desired.
  4. Shape the Cookies:
    Roll out each colored dough portion into small balls (about 1 tablespoon each) and arrange them in rows on the prepared baking sheet. Gently press each ball down slightly with your fingers to flatten them into small discs.
  5. Add Sprinkles:
    If you’d like to coat your cookies in sprinkles, roll the edges of each dough disc in the sprinkles before placing them back on the baking sheet. This will give your cookies a fun and festive appearance.
  6. Bake the Cookies:
    Bake the cookies in the preheated oven for 10-12 minutes or until the edges are lightly golden. Keep an eye on them to avoid overbaking. Allow the cookies to cool on the baking sheet for a few minutes before transferring them to a wire rack to cool completely.
  7. Serve and Enjoy:
    Once cooled, your colorful rainbow cookies are ready to be enjoyed! Serve them at your next party or pack them for a fun treat on the go.

Advanced Techniques

To take your rainbow cookies to the next level, consider these tips:

Layering the Dough for Extra Color:

Instead of rolling the dough into individual balls, try layering the colors in the dough. Take each colored dough and place it on top of the other in layers. Once you have all the layers stacked, gently press down and roll it into a log. Slice the log into cookies for a neat, multi-layered effect.

Add Flavor Variations:

While the base recipe is delicious as is, you can add flavor variations by incorporating citrus zest (such as lemon or orange) into the dough or a dash of almond extract for an extra flavor boost. These subtle additions will enhance the cookies while keeping their bright and cheerful colors.

Use Cookie Cutters:

Instead of making simple round cookies, use cookie cutters to create fun shapes like stars, hearts, or rainbows. This will make your cookies even more festive, especially for themed parties or holidays.

See more advanced recipes, at Mobolux.

Rainbow Cookies


Storage, Shelf Life, and Maintenance Tips

Properly storing and maintaining your rainbow cookies ensures that they stay fresh and enjoyable for as long as possible.

Storage:

  • Store your rainbow cookies in an airtight container at room temperature for up to 5-7 days. If you have multiple layers of cookies, separate them with parchment paper to prevent sticking.

Freezing:

  • If you want to keep the cookies for longer, you can freeze them. Place the cooled cookies in a single layer on a baking sheet and freeze them for 1-2 hours. After that, transfer the cookies to an airtight container or freezer-safe bag. They can be frozen for up to 3 months.

Reheating:

  • If you prefer warm cookies, simply reheat them in the oven at 300°F (150°C) for 3-5 minutes. You can also microwave them for 10-15 seconds for a quick fix.


Dietary Adaptations and Substitutions

Rainbow cookies can be adapted to meet different dietary needs:

Gluten-Free:

To make gluten-free rainbow cookies, substitute the all-purpose flour with a gluten-free flour blend. Make sure the blend contains xanthan gum or another binding agent for the best texture.

Dairy-Free:

For a dairy-free version, swap out the unsalted butter for a dairy-free butter alternative, such as coconut oil or vegan butter. You can also use almond milk or coconut milk in place of regular milk.

Reduced Sugar:

If you’re looking for a lower-sugar alternative, reduce the amount of sugar in the dough by half, or use a sugar substitute like stevia or monk fruit. Keep in mind that this may alter the texture slightly, but the cookies will still taste delicious.

Rainbow Cookies


FAQs About The Recipe

Q1: Can I use different colors of food coloring?
Yes! Feel free to experiment with different food coloring to create a custom rainbow or match the cookies to a specific theme. You can also use gel food coloring for more vibrant colors.

Q2: Can I use store-bought cookie dough for this recipe?
While homemade cookie dough offers the best texture and flavor, you can substitute store-bought cookie dough if you’re in a pinch. Just be sure to add food coloring and sprinkles to make them colorful!

Q3: How can I make my cookies more vibrant?
For extra vibrant colors, add more drops of food coloring until you achieve the desired intensity. Gel food coloring is also a good option for bright, bold colors.

Q4: How long do these cookies stay fresh?
Rainbow cookies will stay fresh for up to a week if stored in an airtight container. For longer storage, you can freeze them for up to three months.


Conclusion & Final Thoughts

Rainbow cookies are a delightful treat that adds a pop of color to any event. With their soft, buttery texture and fun, vibrant colors, they are perfect for birthdays, celebrations, or just a cheerful snack. Whether you’re baking with kids or impressing guests with a colorful platter, these cookies are sure to bring smiles all around. Have fun creating and decorating your own batch of rainbow cookies!

Rainbow Cookies

Rainbow Cookies: A Colorful Delight for Every Occasion

Rainbow cookies are a fun and vibrant treat that bring joy to any occasion. These colorful cookies are not only visually stunning but also delicious, with a soft and buttery texture. The best part? You can customize them with different colors and sprinkles, making them perfect for birthday parties, holidays, or just a fun baking project with kids. With just a few simple ingredients, these cookies come together easily and can be enjoyed by all ages.

For more cookie ideas, check out Funfetti Sugar Cookies or Sugar Cookies.


Basic Recipe: Ingredients and Instructions

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
Rainbow Cookies

Rainbow Cookies Recipe | Colorful, Fun, and Delicious Treats for All Occasions


  • Author: Jennifer Mitchell
  • Total Time: 1 hour, 5 minutes (including chilling time)
  • Yield: 24-30 cookies 1x
  • Diet: Vegetarian

Description

Rainbow Cookies are colorful, fun, and a delightful treat for any occasion! These soft, buttery cookies are made with a simple dough that is divided and colored with vibrant food coloring to create a stunning rainbow effect. Finished off with sprinkles for a fun, festive touch, these cookies are perfect for parties, holidays, or just a cheerful snack to brighten up your day!


Ingredients

Scale

For the Cookie Dough:

  • 3 cups all-purpose flour (360g)
  • 1 cup unsalted butter, room temperature (226g)
  • 1 cup sugar (200g)
  • 1 large egg, room temperature
  • 1 tablespoon vanilla extract
  • 1/2 teaspoon fine sea salt
  • 23 tablespoons milk (to achieve desired dough consistency)

For Decorating:

  • Food coloring (red, yellow, and blue – to create all rainbow colors)
  • Sprinkles (for coating)

Instructions

Prepare the Cookie Dough:

  • In a large mixing bowl, cream together the butter and sugar until light and fluffy, about 2-3 minutes.
  • Add the egg and vanilla extract, mixing until well combined.
  • In a separate bowl, whisk together the flour and salt. Gradually add the dry ingredients to the wet mixture, mixing until just combined.
  • If the dough feels too dry, add 2-3 tablespoons of milk, a little at a time, until the dough reaches a soft, but not sticky, consistency.

2. Divide and Color the Dough:

  • Divide the dough into three equal portions.
  • Add a few drops of food coloring to each portion: one for red, one for yellow, and one for blue.
  • Knead the dough until the color is evenly distributed throughout each portion. You may need to wear gloves to avoid staining your hands with the food coloring.

3. Roll the Dough:

  • Roll each portion of colored dough into a log about 8-10 inches long.
  • Place the red dough log, yellow dough log, and blue dough log next to each other on a piece of parchment paper or plastic wrap.
  • Gently press the logs together to form one large rainbow log of dough, ensuring the colors stay separate.

4. Chill the Dough:

  • Wrap the dough log tightly in plastic wrap and refrigerate for at least 1 hour to firm up. This will help the dough hold its shape when baking.

5. Preheat the Oven:

  • Preheat your oven to 350°F (175°C). Line a baking sheet with parchment paper.

6. Slice and Bake the Cookies:

  • Once the dough is chilled, remove it from the refrigerator and slice it into 1/4-inch thick rounds.
  • Place the cookie slices on the prepared baking sheet, spacing them about 2 inches apart.
  • Bake for 8-10 minutes, or until the edges are lightly golden. Keep an eye on the cookies to ensure they don’t overbake.

7. Decorate the Cookies:

  • While the cookies are still warm, dip the edges into sprinkles for a fun and colorful finishing touch.

8. Cool and Serve:

  • Allow the cookies to cool on the baking sheet for a few minutes before transferring them to a wire rack to cool completely.

Notes

If you want to make more rainbow colors, you can divide the dough into additional portions and use other food coloring to create a broader rainbow effect.

You can also use sanding sugar or colored sugar for a different type of sprinkle coating.

The dough can be refrigerated for up to 3 days if you want to prepare it ahead of time.

  • Prep Time: 25 minutes (excluding chilling time)
  • Cook Time: 8-10 minutes
  • Category: Dessert, Cookies, Fun Treats
  • Method: Baking, Chilling
  • Cuisine: American

Nutrition

  • Serving Size: 1 cookie
  • Calories: 120
  • Sugar: 10g
  • Sodium: 50mg
  • Fat: 6g
  • Saturated Fat: 3g
  • Unsaturated Fat: 3g
  • Trans Fat: 0g
  • Carbohydrates: 16g
  • Fiber: 0g
  • Protein: 1g
  • Cholesterol: 20mg

Keywords: Rainbow Cookies

Instructions

  1. Preheat the Oven:
    Preheat your oven to 350°F (175°C) and line a baking sheet with parchment paper or a silicone baking mat.
  2. Make the Cookie Dough:
    In a large mixing bowl, beat the unsalted butter and sugar together until light and fluffy, about 2-3 minutes. Add the egg and vanilla extract, and continue mixing until well combined. Gradually add the all-purpose flour and fine sea salt, mixing until the dough begins to form. If the dough seems too thick, add 2-3 tablespoons of milk until it reaches a smooth consistency.
  3. Divide the Dough:
    Divide the dough into three equal portions. In separate bowls, add a few drops of food coloring to each portion—red, yellow, and blue. Mix each portion until the dough is fully colored. You can add more food coloring to achieve a brighter, more vibrant hue if desired.
  4. Shape the Cookies:
    Roll out each colored dough portion into small balls (about 1 tablespoon each) and arrange them in rows on the prepared baking sheet. Gently press each ball down slightly with your fingers to flatten them into small discs.
  5. Add Sprinkles:
    If you’d like to coat your cookies in sprinkles, roll the edges of each dough disc in the sprinkles before placing them back on the baking sheet. This will give your cookies a fun and festive appearance.
  6. Bake the Cookies:
    Bake the cookies in the preheated oven for 10-12 minutes or until the edges are lightly golden. Keep an eye on them to avoid overbaking. Allow the cookies to cool on the baking sheet for a few minutes before transferring them to a wire rack to cool completely.
  7. Serve and Enjoy:
    Once cooled, your colorful rainbow cookies are ready to be enjoyed! Serve them at your next party or pack them for a fun treat on the go.

Advanced Techniques

To take your rainbow cookies to the next level, consider these tips:

Layering the Dough for Extra Color:

Instead of rolling the dough into individual balls, try layering the colors in the dough. Take each colored dough and place it on top of the other in layers. Once you have all the layers stacked, gently press down and roll it into a log. Slice the log into cookies for a neat, multi-layered effect.

Add Flavor Variations:

While the base recipe is delicious as is, you can add flavor variations by incorporating citrus zest (such as lemon or orange) into the dough or a dash of almond extract for an extra flavor boost. These subtle additions will enhance the cookies while keeping their bright and cheerful colors.

Use Cookie Cutters:

Instead of making simple round cookies, use cookie cutters to create fun shapes like stars, hearts, or rainbows. This will make your cookies even more festive, especially for themed parties or holidays.

See more advanced recipes, at Mobolux.

Rainbow Cookies


Storage, Shelf Life, and Maintenance Tips

Properly storing and maintaining your rainbow cookies ensures that they stay fresh and enjoyable for as long as possible.

Storage:

  • Store your rainbow cookies in an airtight container at room temperature for up to 5-7 days. If you have multiple layers of cookies, separate them with parchment paper to prevent sticking.

Freezing:

  • If you want to keep the cookies for longer, you can freeze them. Place the cooled cookies in a single layer on a baking sheet and freeze them for 1-2 hours. After that, transfer the cookies to an airtight container or freezer-safe bag. They can be frozen for up to 3 months.

Reheating:

  • If you prefer warm cookies, simply reheat them in the oven at 300°F (150°C) for 3-5 minutes. You can also microwave them for 10-15 seconds for a quick fix.


Dietary Adaptations and Substitutions

Rainbow cookies can be adapted to meet different dietary needs:

Gluten-Free:

To make gluten-free rainbow cookies, substitute the all-purpose flour with a gluten-free flour blend. Make sure the blend contains xanthan gum or another binding agent for the best texture.

Dairy-Free:

For a dairy-free version, swap out the unsalted butter for a dairy-free butter alternative, such as coconut oil or vegan butter. You can also use almond milk or coconut milk in place of regular milk.

Reduced Sugar:

If you’re looking for a lower-sugar alternative, reduce the amount of sugar in the dough by half, or use a sugar substitute like stevia or monk fruit. Keep in mind that this may alter the texture slightly, but the cookies will still taste delicious.

Rainbow Cookies


FAQs About The Recipe

Q1: Can I use different colors of food coloring?
Yes! Feel free to experiment with different food coloring to create a custom rainbow or match the cookies to a specific theme. You can also use gel food coloring for more vibrant colors.

Q2: Can I use store-bought cookie dough for this recipe?
While homemade cookie dough offers the best texture and flavor, you can substitute store-bought cookie dough if you’re in a pinch. Just be sure to add food coloring and sprinkles to make them colorful!

Q3: How can I make my cookies more vibrant?
For extra vibrant colors, add more drops of food coloring until you achieve the desired intensity. Gel food coloring is also a good option for bright, bold colors.

Q4: How long do these cookies stay fresh?
Rainbow cookies will stay fresh for up to a week if stored in an airtight container. For longer storage, you can freeze them for up to three months.


Conclusion & Final Thoughts

Rainbow cookies are a delightful treat that adds a pop of color to any event. With their soft, buttery texture and fun, vibrant colors, they are perfect for birthdays, celebrations, or just a cheerful snack. Whether you’re baking with kids or impressing guests with a colorful platter, these cookies are sure to bring smiles all around. Have fun creating and decorating your own batch of rainbow cookies!

Leave a Comment

Recipe rating