Rainbow M&M Cookies

These rainbow M&M cookies are soft-baked style with extra chewy edges. We recommend mini M&Ms so you can pack more into each cookie. Chilling the cookie dough for 2 hours is an imperative step, so make sure you set aside enough time.

overhead photo of 16 M&M cookies

This was one of the first recipes ever published on my website. It’s always been a favorite, but I recently began adding a little extra baking soda and flour so the cookies hold shape better. (You’ll see 1 teaspoon of baking soda and an extra 2 Tablespoons of flour listed in the written recipe below.) I figured you’d want a reminder about these cookies or, if you’re new to my website, a little encouragement to try them!


All About These Rainbow M&M Cookies

  • Texture: Think about a soft-baked chocolate chip cookie. Truly, does anything compare? These M&M cookies have the same tender, melt-in-your-mouth texture. They’re extra chewy with dozens of mini M&Ms packed in each cookie. Do you crave even more texture? You’ll enjoy my oatmeal M&M cookies.
  • Flavor: I use extra brown sugar in this cookie dough, so you’ll taste that warm and classic flavor in each bite. Pair that with plenty of butter and oodles of chocolate candies.
  • Ease: We have a pretty straightforward cookie dough here. After chilling the dough, roll into balls, then bake. A beginner could easily master this recipe.
  • Time: Set aside enough time to chill this cookie dough. It’s a fairly sticky dough and without time in the refrigerator, your cookies will melt all over the baking sheet.

close-up photo of m&m cookies on a cooling rack with one broken in half

Video Tutorial: How to Make M&M Cookies

Rainbow M&M Cookies – Key Ingredients

A few ingredients add to their signature flavor and texture. Here’s how:

  • Flour: I used to prepare this cookie dough with 2 cups of flour, but started adding another 2 Tablespoons. This helps soak up more liquid (butter, egg) so the cookies stay thicker.
  • Cornstarch: A touch of cornstarch helps create a softer, thicker cookie. I add it to many of my cookie recipes, including these super soft chocolate chip cookies. By the way, that cookie dough is pretty similar to this one. Here we’re using a little more flour, sugar, and an extra egg yolk. (And thus yields more cookies.)
  • Butter: Room temperature butter is the base of this cookie recipe.
  • Granulated Brown Sugar: Sugar does more than sweeten the cookies. The granulated sugar helps them spread and the brown sugar keeps them soft. For extra soft and tender cookies, we use more brown sugar than white granulated sugar here.
  • 1 Egg + 1 Extra Egg Yolk: Have you ever baked my chewy chocolate chip cookies before? They’re the most popular cookie recipe on this website. I swear by using 1 extra egg yolk in that dough because it helps bind the ingredients and maintains a moist, chewy cookie. We’re doing the same thing here.
  • Mini M&Ms: You can use any M&Ms, but I recommend mini so there’s more in each bite. If the M&Ms are larger, such as peanut M&Ms or peanut butter M&Ms, roughly chop them first. If desired, grab an extra 2 Tablespoons of M&Ms and press a few into the top of each cookie when they’re warm from the oven. This is purely for looks!

two side-by-side photos of m&m cookie dough

The cookie dough is pretty soft, so make sure you take the time to chill it in the refrigerator. The cookies will spread into puddles otherwise.

After chilling, roll the cookie dough into balls and bake:

M&M cookie dough balls arranged on a lined baking sheet

M&M cookies on a pink polka dot plate

Small, Medium, & Large

Do you have a copy of Sally’s Cookie Addiction cookbook? If so, you’ll see Giant M&M Cookies on page 31. My cookbook recipe yields massive cookies, but today’s are regular/medium size. Do you like teeny tiny treats? Try these mini M&M cookies instead. They’re bite-size cookies and the dough doesn’t require chilling in the refrigerator. All 3 recipes pretty much use the same exact ingredients, just in different quantities and ratios. You can’t go wrong with any, especially if you love M&M cookies!

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
overhead photo of 16 M&M cookies

Rainbow M&M Cookies

  • Author: Sally
  • Prep Time: 2 hours, 15 minutes
  • Cook Time: 12 minutes
  • Total Time: 2 hours, 30 minutes
  • Yield: 30 cookies
  • Category: Cookies
  • Method: Baking
  • Cuisine: American

Description

These rainbow M&M cookies are soft-baked style with extra chewy edges. I recommend mini M&Ms so you can pack more into each cookie. Chilling the cookie dough for 2 hours is an imperative step, so make sure you set aside enough time.


Ingredients

  • 2 cups + 2 Tablespoons (265gall-purpose flour (spoon & leveled)
  • 1 teaspoon cornstarch
  • 1 teaspoon baking soda
  • 1/2 teaspoon salt
  • 3/4 cup (1.5 sticks or 170gunsalted butter, softened to room temperature
  • 3/4 cup (150g) packed light or dark brown sugar
  • 1/2 cup (100g) granulated sugar
  • 1 large egg + 1 egg yolk, at room temperature
  • 1 and 1/2 teaspoons pure vanilla extract
  • 1 cup mini M&Ms (plus 2 Tablespoons for topping, optional)

Instructions

  1. Whisk the flour, cornstarch, baking soda, and salt together in a medium bowl. Set aside.
  2. In large bowl using a hand-held mixer or stand mixer fitted with a paddle attachment, beat softened butter for about 1 minute on medium speed until creamy. Add the brown sugar and granulated sugar, then beat on medium-high speed until creamy and combined. Scrape down the sides and bottom of the bowl as needed. Beat in egg, egg yolk, and vanilla extract. Scrape down the sides and bottom of the bowl as needed. With the mixer running on low speed, slowly add dry ingredients to wet ingredients. Pour in 1 cup M&Ms and beat on low speed for 20 seconds or until combined. Once completely combined, cover cookie dough tightly and chill in the refrigerator for 2 hours or up to 5 days.
  3. Preheat oven to 350°F (177°C). Line baking sheets with parchment paper or silicone baking mats. Set aside.
  4. Roll cookie dough into balls, about 1.5 Tablespoons of dough per cookie, and arrange 3 inches apart on the baking sheets. Bake for 11-12 minutes or until lightly browned on the sides. The centers will look soft.
  5. Remove from the oven and allow cookies to cool on the baking sheet for 5 minutes. While the cookies are still warm, press the remaining 2 Tablespoons of M&Ms into the tops of the cookies. This is optional and just for looks. Transfer to a wire rack to cool completely.
  6. Cookies stay fresh covered at room temperature for up to 1 week.

Notes

  1. Make Ahead & Freezing Instructions: You can make the cookie dough and chill it in the refrigerator for up to 5 days. Allow to come to room temperature and continue with step 4. Baked cookies freeze well for up to 3 months. Unbaked cookie dough balls freeze well for up to 3 months. Bake frozen cookie dough balls for an extra minute, no need to thaw. Click here for my tips and tricks on freezing cookie dough.
  2. Keep Dough Cold: It’s best to keep unused cookie dough in the refrigerator as the batches are baking.
  3. Add Chocolate Chips: You can easily add chocolate chips to this cookie dough. I recommend reducing the amount of M&Ms to 3/4 cup and adding 3/4 cup chocolate chips. Stick with about 1 – 1.5 cups total add-ins.
  4. Be sure to check out my top 5 cookie baking tips AND these are my 10 must-have cookie baking tools.

Keywords: m&m cookies

108 Comments

  1. Do you know how many grams of cookie dough each ball should be to have uniform cookies?

    1. Michelle @ Sally's Baking Addiction says:

      Hi Yasmin, This recipe should yield 30 cookies, so you could take the weight of your total cookie dough and divide it by 30 for uniform cookies. If you don’t want to do math, we love this cookie scoop for uniform cookies!

  2. Hi Sally,

    My brother’s wedding is next month, and my mom just informed me they’re having a homemade cookie table. They want around 80 dozen cookies! My mom said she and several friends and relatives are baking some and asked if I could bake some, too.

    Do you think these m&m cookies are okay to bake in large batches? I wanted to make something simple, but tasty. I was planning on buying m&m’s in their wedding colors.

    If yes, how many batches do you think I can mix at a time? If no, is there a different recipe you’d recommend?

    1. Lexi @ Sally's Baking Addiction says:

      Hi Sera, you can double this recipe with no problems, but we would’t recommend more than that as the dough will become difficult to mix and incorporate the ingredients evenly. But you could make several double batches! See recipe notes for make ahead details too, in case that it helpful for you. Happy baking!

  3. can i use regular size m&m;s?

    1. Stephanie @ Sally's Baking Addiction says:

      Hi Alice, We recommend mini so there’s more in each bite but you can use any other M&M’s you wish. For details see the section above called “Key Ingredients” and the bullet point about M&M’s.

  4. Can I x5 this recipe? to make 150 instead of 30, or will it meet up the recipe?

    1. Lexi @ Sally's Baking Addiction says:

      Hi Kate, 5x may be difficult given the amount of dough you’ll be working with. It could overwhelm your mixer and make it harder to evenly incorporate the ingredients. We’d recommend doubling the recipe a few times to make more batches.

  5. These turned out so, so good! I used dark brown sugar, and chilled overnight. I wasn’t sure if I should let them come to room temp at all so just scooped them cold, and they needed 12 minutes before I felt good about pulling them. I got 26 cookies even though I used a 1.5 tablespoon cookie scoop ‍♀️ I taste tested one to be sure they’re good enough for a work event and I must say they could be a new favorite! Very easy too!

    1. If you freeze them already baked does the color on the candy run once thawed?

  6. Awesomeness

  7. This is the best m&m’s cookie, I’ll stick with it!

  8. Five star!

  9. Love these but does anyone know the calorie info?

    1. Trina @ Sally's Baking Addiction says:

      Hi Haley, We don’t usually include nutrition information as it can vary between different brands of the same ingredients. Plus, many recipes have ingredient substitutions or optional ingredients listed. However, there are many handy online calculators where you can plug in and customize your exact ingredients/brands. Readers have found this one especially helpful: https://www.verywellfit.com/recipe-nutrition-analyzer-4157076

1 2 3

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.

With kitchen-tested quality recipes and step-by-step tutorials, my goal is to give you the confidence to bake and cook from scratch.

Sally's signature

Recipes You’ll Love

Archives

Categories

Join the community on the 1st of every month as we tackle a new challenge recipe. Review Sally's Baking Challenge FAQ page if you have any questions.

View More

A tradition since 2013, every December we countdown to Christmas with 10 new cookie recipes in a row!

View More

The first week of every November is all about Thanksgiving Pies.

View More

My Cookbooks

Sally's Cookbooks

About Sally

Welcome to my Kitchen!

I’m Sally, a cookbook author, photographer, and blogger. My goal is to give you the confidence and knowledge to cook and bake from scratch while providing quality recipes and plenty of pictures. Grab a cookie, take a seat, and have fun exploring! more about Sally

×