The Feast

Home cooking recipes for everyday dinners and easy entertaining

Soft Baked M&M Cookie Bars Recipe

· 4 min read · Baking and Desserts

These soft baked M&M cookie bars are everything you love about a classic chocolate chip cookie, but easier and faster. Pressed into a single pan, they bake up thick, chewy, and loaded with colorful candy-coated chocolate in every bite. This recipe uses melted butter and an extra egg yolk for that signature soft-bakery texture, and it comes together in one bowl with no mixer required.

Ingredients

  • 2 ½ cups (315g) all-purpose flour
  • 1 teaspoon baking soda
  • ½ teaspoon salt
  • ¾ cup (170g) unsalted butter, melted and slightly cooled
  • 1 cup (200g) packed light brown sugar
  • ½ cup (100g) granulated sugar
  • 1 large egg + 1 egg yolk, at room temperature
  • 2 teaspoons vanilla extract
  • 1 ½ cups M&M candies (regular or mini), divided

Instructions

  1. Preheat your oven to 350°F (175°C). Line a 9×13-inch baking pan with parchment paper, leaving some overhang on two sides for easy lifting.
  2. In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.
  3. In a large bowl, combine the melted butter, brown sugar, and granulated sugar. Whisk until smooth and no lumps remain.
  4. Add the egg, egg yolk, and vanilla extract. Whisk vigorously for about 30 seconds until the mixture is glossy and well combined.
  5. Pour the dry ingredients into the wet mixture. Use a spatula or wooden spoon to fold until just combined—do not overmix.
  6. Gently fold in 1 cup of the M&Ms, reserving the remaining ½ cup for the top.
  7. Transfer the dough to the prepared pan. Press it evenly into the corners with your hands or a spatula. The dough will be thick—that’s normal.
  8. Press the reserved M&Ms onto the top of the dough, distributing them evenly.
  9. Bake for 22–25 minutes, or until the edges are lightly golden and the center looks set but still slightly soft. A toothpick inserted in the center should come out with a few moist crumbs, not wet batter.
  10. Let the bars cool completely in the pan on a wire rack (about 1 hour). Then lift out using the parchment overhang, slice into squares, and serve.

Tips

  • Room temperature eggs: Cold eggs can seize the melted butter and make the dough stiff. Soak the eggs in warm water for 5 minutes if you’re in a hurry.
  • Don’t overbake: The bars will look underdone in the center when you pull them out, but they’ll set as they cool. Overbaking gives dry, crumbly bars.
  • M&M placement: Press the top candies in gently—if you push too hard, they’ll sink and the color will fade during baking.
  • Substitutions: Use mini M&Ms for more even distribution, or swap for chocolate chips, chopped peanut butter cups, or a mix of both. For a peanut-free version, use plain chocolate chips or Smarties-like candies.

Serving Suggestions

These bars are perfect as a lunchbox treat, after-school snack, or dessert with a scoop of vanilla ice cream. They also make great party platters—cut them into small squares and serve with coffee or milk.

Variations

  • Peanut butter twist: Replace ¼ cup of the butter with creamy peanut butter (reduce butter to ½ cup). Add ½ cup chopped peanuts if you like crunch.
  • Double chocolate: Swap ¼ cup of the flour with unsweetened cocoa powder and use dark chocolate M&Ms.
  • Brown butter: Brown the butter in a saucepan before melting, then cool slightly. This adds a nutty depth.
  • Holiday theme: Use seasonal M&M colors (red and green, pastel, etc.) for festive occasions.

Storage and Reheating

Store the bars in an airtight container at room temperature for up to 4 days. For longer storage, wrap them tightly and freeze for up to 3 months—thaw overnight in the fridge or at room temperature. To reheat, microwave a single bar for 10–15 seconds until warm and gooey.

Frequently Asked Questions

Why are my cookie bars dry?

Most likely overbaked. The bars continue to set as they cool, so remove them when the center is just barely set. Also, be sure to measure flour correctly—spoon it into the measuring cup and level off, don’t scoop directly.

Can I use salted butter?

Yes, just reduce the added salt to ¼ teaspoon. If you use unsalted, keep the salt as written.

Can I make these gluten-free?

Yes, substitute a 1:1 gluten-free baking flour blend. The texture may be slightly more crumbly, so let them cool completely before slicing.

Can I use a different pan size?

For a 9×9-inch pan, the bars will be thicker and need about 30–35 minutes. For a half-sheet pan (13×18), they’ll be thinner and bake in 15–18 minutes. Adjust times and check for doneness.

Why did my M&Ms bleed color?

If you stir them too much or press too hard, the candy coating can crack and bleed. Fold gently and press the top ones lightly. Also, avoid overmixing the dough.

Can I prepare the dough ahead?

Yes, you can make the dough, press it into the pan, cover, and refrigerate for up to 2 days. Let it sit at room temperature for 30 minutes before baking, and add 2–3 minutes to the bake time.

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions