Soft, chewy, and loaded with triple chocolate and colorful candies! These easy chocolate M&M cookies have crisp edges and rich chocolate flavor in every bite.

Chocolate m&m cookies on counter.

This post may contain affiliate links. Read disclosure policy.

Chocolate M&M cookies are a rich, chewy spin on a classic favorite. Inspired by our popular M&M cookies and made with the same chocolatey goodness as our triple chocolate cookies, this recipe combines the best of both worlds.

Soft in the center with crisp edges, each bite is packed with melty chocolate and colorful candy crunch. If you love baking with M&M’s, check out our oatmeal M&M cookies or mini M&M cookies too!

Why You’ll Love These

  • Triple the chocolate. Cocoa powder, chocolate chips, and M&M’s give these cookies a rich fudgy flavor.
  • Fun and festive. Customize with holiday M&M’s for Christmas, Valentine’s Day, Easter, or Halloween!
starstarstarstarstar

These were chocolate perfection! I totally squelched my chocolate cravings.

Andie

Recipe Ingredients

M&M cookie ingredients on marble counter.

Find the full printable recipe with specific measurements below.

  • Butter: Unsalted butter allows you to control the amount of salt included in this recipe. Make sure to soften the butter to room temperature before using.
  • Sugar: Both granulated and light brown sugar are used for a sweet and rich flavor. Make sure to firmly pack the brown sugar into your measuring cup.
  • Eggs: Using fresh eggs will give you the best result.
  • Flour: A traditional all-purpose flour works great and gives the cookies a light texture. Make sure you’re measuring the flour accurately so that your cookies aren’t too dense or dry.
  • Cocoa powder: 100% pure unsweetened cocoa powder gives it that rich, chocolatey taste. I like to sub a small amount for Dutch cocoa powder for a thicker cookie.
  • M&M’s and chocolate chips: Classic M&M’s and semi sweet chocolate chips are my preference.
  • Baking staples: Vanilla and sea salt are added for flavor. Baking soda and baking powder are used as baking agents to help the cookies rise.

How to Make Chocolate M&M Cookies

Showing how to make chocolate m&m cookies in a 4 step collage.
  1. Cream wet ingredients. Using a stand mixer, cream the softened butter and sugars together in a large bowl. Add the eggs and vanilla and mix until smooth.
  2. Whisk dry ingredients. In a separate bowl, whisk the flour, cocoa, baking soda, baking powder, and salt. Gradually add the dry ingredients to the butter and sugar mixture. Mix until just combined. Fold in the M&Ms and chocolate chips.
  3. Chill. Cover and chill the dough in the refrigerator for at least 15 minutes. This helps the cookies hold their shape and develop flavor.
  4. Scoop & bake. Use a large cookie scoop to portion the dough onto the baking sheets. Bake for 8–10 minutes, or until the edges are set and the centers look slightly underbaked. Let cool on the pan for a few minutes before transferring to a wire rack.
Chocolate m&m cookie on a baking sheet.

Recipe Tips

  • Prep with the right tools. Line your baking sheet with a Silpat or parchment paper to prevent sticking and make cleanup easier. Use a large cookie scoop (about 3 tablespoons) for evenly sized cookies that bake consistently.
  • Chill the dough. Refrigerating the dough helps the cookies stay thick and chewy. In a pinch, you can skip this step, but the cookies may spread more.
  • Try Dutch-processed cocoa. Substitute 1/4 cup of the cocoa with Dutch-processed cocoa powder for a smoother flavor and thicker cookie.
  • Add extra M&M’s. Press a few extra candies on top before baking for a bakery-style look and extra color.
  • Cool on the pan. Let cookies sit on the baking sheet for 2–3 minutes before transferring to a wire rack. This helps them set without falling apart.
  • Mint variation. Add 1 teaspoon of peppermint extract to make a chocolate-mint version which is great for the holidays along with festive M&M’s.
Chocolate m&m cookies on a baking sheet.

Love M&M’s? You’ll also love my M&M brownies, M&M cupcakes and M&M popcorn.

Chocolate m&m cookie on a baking sheet.

Chocolate M&M Cookies

5 from 10 votes
Recipe by: Jamielyn Nye
Prep Time: 20 minutes
Cook Time: 10 minutes
Total Time: 30 minutes
Servings: 24
Soft, chewy, and loaded with triple chocolate and colorful candies! These easy chocolate M&M cookies have crisp edges and rich chocolate flavor in every bite.

Ingredients 

  • 2 sticks unsalted butter , softened
  • 1 ½ cups granulated sugar
  • ½ cup light brown sugar , packed
  • 2 large eggs
  • 2 ½ teaspoons vanilla extract
  • 2 cups all-purpose flour
  • ¾ cup unsweetened cocoa powder , I like to sub 1/4 cup dutch powder
  • 1 ½ teaspoons baking soda
  • 1 ½ teaspoons baking powder
  • 1 teaspoon fine sea salt , or table salt
  • 1 cup M&M's , more for tops if desired
  • ½ cup semi sweet chocolate chips

Instructions

  • Cream wet ingredients. In a large bowl, cream together 2 softened sticks butter and 1 1/2 cup sugar and 1/2 cup brown sugar. Add 2 eggs and 2 1/2 teaspoons vanilla and mix until smooth.
  • Combine cookie dough. In a separate bowl, whisk together 2 cups flour, 3/4 cup cocoa, 1 1/2 teaspoons baking soda, 1 1/2 teaspoons baking powder and 1/2 teaspoon salt. Gradually add the flour mixture to the sugar mixture and mix just until combined. Add 1 cup m&m's and 1/2 cup chocolate chips.
  • Chill dough. Refrigerate the dough for 15 to 60 minutes (or up to 2 days).
  • Prep. Preheat oven to 350°F. Line two baking sheets with parchment paper.
  • Scoop dough then bake. Scoop the dough onto the pan using a large cookie scoop (or about 3 Tablespoons). Bake for 8-10 minutes, or until the edges are slightly crisp, yet soft in the middle. Remove from oven. Use a spatula to shape cookies (while warm) if needed and add more M&M's on top if desired.
  • Cool and enjoy. Allow cookies to cool on pan for 2-3 minutes and then move to a cooling rack.

Last step: Please leave a comment and rating after you make the recipe.

Notes

Storing: Store in a covered container for 2-3 days or in the freezer for 3 months.
Cocoa: I like to use a mix of 1/2 cup unsweetened cocoa powder with 1/4 cup Dutch processed cocoa powder. Dutch cocoa powder is more neutral-tasting and reacts well to the baking powder and baking soda, which makes the cookies nice and thick. 
Butter: Set your butter out on the counter about an hour or so before baking to bring to room temperature. If you forget, soften the butter quickly with these tips. 
 

Nutrition

Calories: 249kcal, Carbohydrates: 35g, Protein: 3g, Fat: 12g, Saturated Fat: 7g, Cholesterol: 35mg, Sodium: 180mg, Potassium: 112mg, Fiber: 2g, Sugar: 24g, Vitamin A: 275IU, Vitamin C: 1mg, Calcium: 36mg, Iron: 1mg

Nutrition provided is an estimate. It will vary based on specific ingredients used.

Recipe FAQs

Can I use other varieties of M&M’s?

Yes! You can swap in seasonal M&M’s like peppermint or pastel colors, or use peanut or mini M&M’s for a fun twist.

How to store leftover cookies?

Keep cooled cookies in an airtight container at room temperature for up to 3 days. For longer storage, freeze them for up to 3 months.

Can I freeze the cookie dough?

Definitely. Scoop the dough into balls and freeze on a baking sheet until firm, then transfer to a freezer-safe bag or container. When ready to bake, place dough balls directly on a baking sheet and bake as directed—just add 1–2 extra minutes.