Soft Chewy Gluten-Free M&M Cookies recipe

Let’s make soft, chewy gluten-free M&M cookies! This easy gluten-free M&M chocolate chip cookie recipe is perfect for your next cookie craving.

Overhead view of three gluten-free M&M cookies on a plate

I love testing gluten-free chocolate chip cookie recipes. It’s always fun to tweak the base dough—adding toffee bits, stuffing cookies with Nutella, or turning them into giant bakery-style cookies. One of our recent favorites is these gluten-free M&M chocolate chip cookies. We start with a tried-and-true gluten-free cookie dough and fold in plenty of colorful M&Ms so every bite is cute and delicious.

You can make these with classic rainbow M&Ms or switch to seasonal colors for holidays like Valentine’s Day or Christmas. The cookies have chewy edges, a soft center, and lots of candy in every bite—simple, tasty, and perfect for sharing.

Here’s what you need to make our soft, chewy gluten-free M&M cookies.

ingredients for gluten-free M&M cookies

Gather Your Ingredients

This recipe shines because the ingredient list is straightforward. No gimmicks—just a few techniques to get maximum flavor and the best texture from each component.

  • Butter. We brown the butter for sweet, caramel-like notes. You can melt the butter and still get a cookie, but browning it adds depth and improves texture.
  • Brown and Granulated Sugar. A combination of light brown sugar and granulated sugar yields the ideal soft, chewy crumb.
  • Eggs + Extra Egg Yolk. Two eggs plus one extra yolk give extra chewiness and richness.
  • Vanilla Extract. Plenty of vanilla highlights the brown butter and chocolate flavors.
  • Gluten-Free Measure-for-Measure Flour & Cornstarch. Use a reliable 1:1 gluten-free flour blend that includes xanthan gum for best results. A little cornstarch helps keep the cookies tender and chewy.
  • Baking Soda & Baking Powder. Both leaveners contribute to the right rise and texture—use fresh if you can.
  • Salt. Salt balances the sweetness and brings out the other flavors.
  • Chocolate Chips. Semi-sweet or dark chocolate chips add more chocolatey pockets—feel free to omit if you prefer only M&Ms.
  • M&Ms. Use plain milk chocolate or dark chocolate M&Ms (or another gluten-free variety). Avoid larger filled M&Ms for this recipe, as they change texture and size.

How to Make Gluten-Free M&M Chocolate Chip Cookies — Step by Step

The full recipe with ingredient amounts and the recipe card is below.

making gluten-free m&m cookies step by step
  1. Brown the butter. Melt butter in a light-colored pan over medium heat, whisking constantly. When it foams, watch closely—once the foam clears and the butter takes on a golden-brown, honey color and a nutty aroma, remove it from heat. Let it cool until it’s no longer hot to the touch so it won’t melt the chocolate or M&Ms.
  2. Combine brown butter and sugars. When the butter has cooled to roughly room temperature, mix in the brown and granulated sugars until the texture resembles wet sand.
  3. Add eggs and vanilla. Beat in the eggs and the extra yolk one at a time, mixing well after each addition. Stir in the vanilla.
  4. Add the dry ingredients. Mix in the gluten-free flour, cornstarch, baking soda, baking powder, and salt until just about combined—there can still be a little visible flour.
  5. Fold in chocolate chips and M&Ms. Stir in the chocolate chips and M&Ms until evenly distributed.
  6. Chill the dough. Cover and refrigerate the dough for at least 2 hours and up to 1 day. Chilling hydrates the flour, improves texture, and helps control spread.
  7. Prepare to bake. When ready to bake, preheat the oven to 350°F (175°C). Line baking sheets with parchment paper.
  8. Scoop the dough. Use a medium cookie scoop (about 2 tablespoons) to portion dough into balls. Keep unused dough chilled between batches.
  9. Bake. Place six dough balls per sheet and bake at 350°F for 8–10 minutes, until edges are golden and centers still look slightly underbaked. Remove from the oven, press a few reserved M&Ms on top if desired, and let cookies rest for 2 minutes on the sheet before transferring to a wire rack.
  10. Store. Keep cooled cookies in an airtight container at room temperature for 2–3 days, or freeze in a freezer bag for up to 2 months.
Front view of gluten-free m&m cookies

Make Them Cute for Holidays

These M&M cookies are great for holiday baking. Swap in seasonal colorways to match events or celebrations, and always check the packaging to confirm the variety is gluten-free. Popular holiday combinations include:

  • St. Patrick’s Day: green-focused mixes or custom green-and-white blends.
  • Valentine’s Day: red, pink, and white M&Ms for a festive touch.
  • Easter: pastel colors for a pretty spring cookie.
  • 4th of July: red, white, and blue M&Ms for patriotic treats.
  • Halloween: orange, black, and purple or a themed monster mix.
  • Christmas: classic red and green for holiday cookies.

You can even order custom colors for special events—great for parties or team colors. Just verify the chosen style is gluten-free.

Front view of gluten-free m&m cookies in a stack

FAQ + Tips for the Best Gluten-Free M&M Cookies

A trick for prettier M&M cookies: reserve 1/2 cup of M&Ms to press onto the tops of the cookies right after baking. That keeps the candies from cracking and gives a bright, bakery-style finish.

Are M&Ms gluten-free? Many M&M varieties are gluten-free, but not all. Check the allergy statement on the package—if it says “may contain wheat” or “may contain gluten,” it’s not safe for a gluten-free diet. Stick with varieties labeled gluten-free.

Don’t skip the chill time. Chilling the dough for at least two hours improves texture by allowing the flour to fully hydrate. This reduces grittiness and helps produce cookies with crisp edges and soft centers.

Measure flour correctly. For the most consistent results, weigh your flour. If you don’t have a scale, use the scoop-and-level method to avoid packing too much flour into the measuring cup.

Overhead view of soft, chewy gluten-free m&m cookies

More Gluten-Free Cookies to Try

gluten-free snowball cookies stacked in a column

Gluten-Free Snowball Cookies

gluten free oatmeal butterscotch cookies topped with flaky sea salt

Gluten-Free Oatmeal Scotchies

chewy gluten-free molasses cookies on a white background

Gluten-Free Molasses Cookies

Overhead view of three gluten-free M&M cookies on a plate

Recipe Card

Soft & Chewy Gluten-Free M&M Cookies

4.3 from 3 reviews

  • Author: Emily Dixon, Sweets & Thank You
  • Total Time: 3 hours
  • Yield: 18–20 Cookies
  • Diet: Gluten Free

Description

This easy gluten-free M&M cookie recipe is perfect for your next cookie craving. Try seasonal M&Ms to celebrate the holidays.

Ingredients

For the Cookies

  • 1 cup butter, cubed (2 sticks, 226 g)
  • 3/4 cup light brown sugar (150 g)
  • 3/4 cup granulated sugar (150 g)
  • 2 eggs + 1 egg yolk (room temperature)
  • 1/2 tablespoon vanilla extract
  • 2 1/2 cups gluten-free measure-for-measure flour (weigh or scoop & level — about 300 g)
  • 1 tablespoon cornstarch (about 8 g)
  • 1 teaspoon salt
  • 1 teaspoon baking soda
  • 1/2 teaspoon baking powder
  • 1 cup M&M candies (milk or dark chocolate or another gluten-free variety)
  • 1/2 cup semisweet or dark chocolate chips

Optional Garnish

  • 1/2 cup additional M&Ms
  • 1/4 cup extra chocolate chips
  • Flaky sea salt

Instructions

  1. Brown the butter. Melt butter over medium heat in a light-colored pan, whisking until it foams and the milk solids turn golden brown. Remove from heat and cool until no longer hot to the touch.
  2. Combine butter and sugars. When cooled, mix the brown butter with brown and granulated sugars until the texture resembles wet sand.
  3. Add eggs and vanilla. Beat in the eggs and extra yolk one at a time. Stir in the vanilla.
  4. Stir in dry ingredients. Add the gluten-free flour, cornstarch, baking soda, baking powder, and salt. Mix slowly until nearly combined.
  5. Fold in chocolate chips and M&Ms. Stir until evenly distributed.
  6. Chill the dough. Cover and refrigerate at least 2 hours, up to 1 day.
  7. Prepare to bake. Preheat oven to 350°F (175°C). Line baking sheets with parchment paper.
  8. Scoop the dough. Use a 2-tablespoon scoop to form dough balls. Keep extra dough chilled between batches.
  9. Bake. Bake 6 cookies at a time for 8–10 minutes until edges are golden and centers still look slightly underbaked. Press reserved M&Ms on top after baking if desired. Let rest 2 minutes on the sheet before transferring to a rack.
  10. Serve or store. Store cooled cookies in an airtight container for 2–3 days or freeze up to 2 months.

Notes

  • Gluten-free flour: King Arthur Measure-For-Measure gluten-free flour works well. If you use another 1:1 blend, ensure it contains xanthan gum. Weigh flour for best accuracy, or use the scoop-and-level method.

*Make sure to use gluten-free M&Ms

  • Many M&M varieties are gluten-free, but not all. Milk chocolate and dark chocolate M&Ms are commonly safe—always check the package.
  • Some varieties like Crispy or Pretzel M&Ms are not gluten-free; peanut and caramel varieties may be gluten-free but are larger and may not be ideal for this recipe.
  • Prep Time: 20 minutes
  • Chill Time: 2 hours
  • Cook Time: 40 minutes
  • Category: Cookies
  • Method: Oven
  • Cuisine: American

Did you try this recipe?

Leave a star rating and tag your photos—we’d love to see your cookies!

WE ♥