This post may contain affiliate links. Please read our privacy policy.

These chewy M&M cookies are loaded with crunchy M&M’s for a childhood classic! Make these with all-purpose flour or follow the alternative directions for a gluten-free version.

4 M&M cookies stacked on a piece of parchment paper in front of a glass of milk, with a 5th cookie leaning against the front of the stack.

Post contains affiliate links.

There are some treats that are essential to childhood.

Classic rice krispie treats. No-bake cookies. Funfetti cupcakes. My favorite chocolate chip cookies.

And M&M cookies, of course.

With everyone getting into their fall routines and Halloween coming up next month, it seemed like the perfect time to remind you about this recipe from my friend Erin from Texanerin Baking.

Whether you’re making these as an after-school treat, a surprise for some hard-working teachers, or as a way to use up leftover Halloween candy, these chewy cookies are always a hit.

Not to mention that you can easily make them gluten-free by following the alternative directions! So they really are perfect for everybody.

M&M cookie with a bite taken out of it set on the edge of a glass of milk.

PERFECT M&M COOKIES

M&M cookies were a favorite of mine growing up. My mother never made them or bought them, so whenever other parents brought them to school parties, I made a beeline for the cookie tray!

Since the days of elementary school class parties, I’ve made my fair share of M&M cookies. I always just mixed the M&M’s into the dough and baked them up. 

One thing that nagged at me is that they never looked as pretty as the cookies from my childhood.

So this time, I experimented with the best way of incorporating the M&M’s. I made them every way imaginable and finally found the best method. 

Dry ingredients for M&M cookies being whisked together in a glass bowl.

My not-so-secret method

So here’s what you do:

Add the M&M’s to the dough like you normally do. Roll the dough into balls and don’t worry about having a lot of M&M’s peeking out.

After baking, add more M&M’s on top!

Butter and sugar creamed together in a white bowl, set next to smaller bowls of eggs and vanilla.

I like my M&M cookies to be loaded with M&M’s and so my recipe calls for a lot more M&M’s than other recipes I’ve seen. 

These cookies are actually 1/3 M&M’s by weight! And that’s before you press more on top of the cookies after baking. 

You can absolutely use fewer M&M’s or toss in some other add-ins like chocolate chips or walnuts.

M&M cookie dough in a white mixing bowl.

HOW TO MAKE THESE M&M COOKIES

The best thing about this recipe is that you can make it with all-purpose flour or you can make these cookies gluten-free by following a super easy alternative option.

Gluten-free option

If you choose to make gluten-free M&M cookies, you will want to replace the 3 ¼ cups of all-purpose flour with a mixture of:

Balls of m&m cookie dough set on a baking sheet to chill.

I know that the mixture above only yields 3 cups of flour, but it works perfectly to replace the all-purpose flour!

If you’re making these gluten-free, make sure you check that all of your other ingredients are certified gluten-free as well. Original M&M’s in the US are gluten-free, but some of the other varieties are not.

Making this recipe

These cookies come together much like most of the cookie recipes you’re probably familiar with, such as paleo double chocolate chip cookies or cornflake cookies.

Start by creaming together the butter and sugars until light and fluffy. Add in the eggs and vanilla and mix to combine.

6 baked m&m cookies on a parchment-lined baking sheet.

Gradually add the all-purpose flour or the gluten-free flour mix combined with the leavening and salt. Add in the M&M’s.

If you’re making these with all-purpose flour:

  • Roll the dough into balls and place on a baking sheet.
  • Place the baking sheet into the freeze for 2 hours, or until the dough balls are firm.

If you’re making the gluten-free version:

  • Wrap the dough in plastic wrap and chill in the fridge for at least 2 hours.
  • Roll the dough into balls and place on lined baking sheets.
M&M cookies arranged on a wire cooling rack to cool.

Once the dough has chilled, bake the cookies for 16-20 minutes. If you’re baking in batches, make sure you keep the dough you haven’t baked in the freezer or refrigerator until it’s ready to go in the oven.

When the cookies are done, press some extra M&M’s into the tops if you like. Let cool for a few minutes on the baking sheet before moving to a wire rack to finish cooling.

M&M cookie broken in half and being held up to the camera.

STORAGE

Store these M&M cookies in an airtight container at room temperature for up to 4 days.

If you’d like to freeze them, store them in an airtight container or a zip-top freezer bag in the freezer for up to a month.
You can also freeze the dough so that you can enjoy these cookies warm from the oven any time! Follow my instructions for how to freeze cookie dough to do that.

5 m&M cookies stacked on a white plate.
Want to save this recipe?
Enter your email and get it sent to your inbox!
Please enable JavaScript in your browser to complete this form.

M&M Cookies

By: Erin
4.50 from 62 ratings
Prep: 20 minutes
Cook: 20 minutes
Total: 40 minutes
Servings: 24
These chewy M&M cookies are loaded with crunchy M&M’s for a childhood classic! Make these with all-purpose flour or follow the alternative directions for a gluten-free version.

Ingredients

  • 3 ¼ cups all-purpose flour or the gluten-free baking mix listed below*
  • 1 teaspoon baking soda
  • ½ teaspoon cream of tartar
  • ½ teaspoon salt
  • 1 cup unsalted butter softened
  • 1 cup brown sugar
  • ¾ cup + 2 tablespoons granulated sugar
  • 2 large eggs room temperature
  • 1 tablespoon pure vanilla extract
  • 2 ½ cups M&Ms
  • additional M&Ms to press on top optional

*For the gluten-free baking mix:

Instructions 

  • In a medium mixing bowl, stir together the flour, baking soda, cream of tartar and salt. Set the bowl aside.
  • In a large mixing bowl using a stand mixer or electric hand mixer, beat the butter, brown sugar and granulated sugar at medium speed until light and fluffy. Beat in the eggs and vanilla at low speed until well combined.
  • On low, gradually add the flour mixture and beat just until combined. Beat in the M&Ms on low.
  • If making the all-purpose flour version, roll into 1 1/2″ balls (about 65 grams) – pushing any M&Ms that stick out back in. If your dough is too soft to roll into proper balls, refrigerate for about 30 minutes or until firm. Freeze dough balls on a lined baking sheet for 2 hours, or until firm.
  • If making the gluten-free version, freezing is not necessary. Wrap the dough in plastic wrap and refrigerate for at least two hours. Then roll into balls.
  • Preheat the oven to 350°F for the all-purpose flour version or 375° F for the gluten-free version.
  • Line a baking sheet with a piece of parchment paper. Place the dough balls 4″ apart on the prepared baking sheet. Bake the cookies for 16-20 minutes or until lightly and evenly browned. Keep unused dough frozen or refrigerated until ready to bake if baking in batches.
  • Remove from the oven and immediately press more M&Ms on top of each cookie, if desired. Let the cookies cool for 5 minutes on the baking sheet before removing to a wire rack to cool completely. 
  • Store in an airtight container for up to 4 days.

Video

Notes

If you need these cookies to be gluten-free, make sure all your ingredients are certified gluten-free. Original M&Ms in the US are gluten-free but some of the other varieties are not.
While the all-purpose flour version uses 3 1/4 cups of flour, the noted gluten-free flour mixture, which yields 3 cups of flour, works beautifully in this recipe.

Nutrition

Serving: 1cookie (made with AP flour), Calories: 304kcal, Carbohydrates: 43g, Protein: 3g, Fat: 13g, Saturated Fat: 8g, Polyunsaturated Fat: 0.4g, Monounsaturated Fat: 2g, Trans Fat: 0.4g, Cholesterol: 37mg, Sodium: 118mg, Potassium: 49mg, Fiber: 1g, Sugar: 29g, Vitamin A: 305IU, Vitamin C: 0.1mg, Calcium: 40mg, Iron: 1mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Leave a comment

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.

51 Comments

  1. Jennifer says:

    This is such a bad recipe. It tastes very bland and dry. 

    1. Erin says:

      I’m sorry you didn’t enjoy them! I’ve made these several times and they’ve never been bland or dry so I have to wonder if something went wrong. Did you make any subs or any changes at all to the recipe?

  2. Cynthia says:

    Great recipe, thank you very much. I got stuck though. I found your recipe and didn’t read it through in advance and at 4:30 in the morning making cookies for a funeral gathering came to the part where I was supposed to freeze the dough balls. I should have pre-read so I didn’t have time for that. They still came out great though. Thank you

    1. Erin says:

      I’m happy that they still came out well! I hope the others will enjoy them, too. Thank you for your comment!

  3. Kortney Young says:

    How many doea this recipe yield?

    1. Jamie says:

      Hi, Kortney! This recipe will give you about 24 cookies. I hope you enjoy them!

  4. Betty says:

    I like your recipie. I wanna make the cookies more chewy and soft?. Do you have any suggestions? Thank you

    1. Jamie says:

      Hi, Betty! Try baking them a few minutes less, like 14 or so. Check them then and see if they’re to your liking. Let me know how it goes!

  5. Claudia says:

    Oh thank you , because I have not thought of . Greeting Claudi

    1. Jamie says:

      You’re very welcome, Claudia!

  6. Claudia says:

    Hi Erin , this is a really great recipe with the MM , s .
    I am just looking for a great recipe for baking as homework for my English course .
    Much love from Germany says Claudia . :-)

    1. Erin says:

      Hi Claudia! German flour and American flour are very different. This recipe (and most American cookie recipes) won’t work if you use the regular Type 405 flour (the kind you find in every store). Kaufland, Kaiser’s, etc. have Type 550, which is more like American flour, but it’s still not the same. If you want to make a recipe that will definitely work with German flour, try looking here. Most of them use regular whole wheat flour (Weizenvollkornmehl) or almond flour (gemahlene Mandeln). I hope that helps! :)

  7. Alaina @ A Not So Quiet Kitchen says:

    When I was pregnant with my little man (who is somehow already one) I probably made a batch of m&m chocolate chip cookies once a week! I never did figure out how to make them not bleed the colors! I can’t wait to give this a try!! They are so pretty :)

    1. Erin says:

      Thanks, Alaina! I hope you’ll have better luck using the method I used. A few still bleed but at least there are some pretty ones up top. :)

  8. Gina @ Running to the Kitchen says:

    I literally can’t resist M&Ms. They’re one of like 3 candies I just have zero self control over. That transfers to M&M cookies too. These might be the most perfect completely irresistible looking cookies I’ve ever seen!

    1. Erin says:

      Thanks, Gina! And for me, it’s Reese’s Pieces. Or peanut butter M&Ms. Neither of which they sell in Germany, so I’m lucky. ;)

  9. Lisa | Sweet 2 Eat Baking says:

    You know what? I’ve been looking and messing around with M&Ms cookies myself. They never seemed to have enough M&Ms in them. I’d always add a ton more and like you, I add extra after baking to make them pretty again (and more chocolate)! 

    My Mum never made me any as a kid neither. Our poor childhoods, eh?

    1. Erin says:

      What’s funny is that I don’t even think mine are overly filled with M&Ms! So I really have no idea how people are happy with half the amount I put in mine. And yes, a childhood without M&M cookies is truly a sad thing. ;)

  10. cookbook queen says:

    Of all the cookies in the world, M&M cookies have to be my favorite. They are so happy!!

    1. Erin says:

      They are! M&M cookies and lemon cookies (or lemon anything!) just make me so happy. :)