Love this? Save it for later!
Share the inspiration with your friends
“The power went out halfway through my usual Saturday baking spree,” I remember thinking, “Well, this is going to be a disaster.” But then my neighbor, Lisa, popped over with a warm pan of chewy chocolate chip cookie bars with M&Ms, and honestly, it felt like a little miracle. She wasn’t making a big deal of it—just casually sliding the tray across her kitchen counter as if this was her everyday snack. The rich, buttery aroma hit me right at the doorway before I even stepped inside.
Lisa’s kitchen was a mess of flour dust and colorful candy wrappers, and she was humming a tune, unfazed by the blackout or the chaos. I think I spent more time staring at those cookie bars than I did helping her, but you know that feeling when something tastes like pure comfort and childhood all at once? Yeah, that’s what these bars did. I ended up borrowing the recipe that day, and since then, it’s become my go-to for casual gatherings, quick treats, or when I just want to feel a bit of that effortless magic Lisa had going on.
Maybe you’ve been there—looking for a sweet that’s both nostalgic and totally foolproof. These chewy chocolate chip cookie bars with M&Ms hit that sweet spot every time, and I’m here to share that simple joy with you.
Why You’ll Love This Recipe
After countless batches and happy taste-testers, I can say this recipe is a keeper. It’s been tweaked in my kitchen to get just the right chewy texture and candy-coated crunch that make these cookie bars stand out.
- Quick & Easy: Comes together in under 30 minutes, perfect for busy weeknights or last-minute cravings.
- Simple Ingredients: No fancy trips needed—you probably already have most of these staples sitting in your pantry.
- Perfect for Any Occasion: Whether it’s a casual coffee catch-up, a kid’s birthday, or an impromptu dessert, these bars deliver.
- Crowd-Pleaser: Both kids and adults rave about the chewy texture mixed with the colorful pop of M&Ms.
- Unbelievably Delicious: The combination of melty chocolate chips and crunchy M&Ms is pure comfort food at its best.
This isn’t just another cookie bar recipe. The secret lies in balancing the dough’s chewiness with a slight crisp edge, plus folding in M&Ms last so they keep their shape and color. Plus, I’m convinced the pinch of sea salt on top just about seals the deal.
Honestly, it’s the kind of treat that makes you pause mid-bite, close your eyes, and savor that perfect mix of sweet and slightly salty. It’s fun, festive, and just a little bit nostalgic—all wrapped up in one pan.
What Ingredients You Will Need
This recipe uses straightforward, pantry-friendly ingredients to deliver a satisfyingly chewy texture and bold chocolate M&M flavor. Here’s what you’ll want to have on hand:
- All-purpose flour – 2 cups (240g) (for structure; I prefer King Arthur brand for consistency)
- Baking soda – 1 teaspoon (helps with slight rise and texture)
- Salt – 1/2 teaspoon (balances sweetness; flaky sea salt sprinkled on top is optional but recommended)
- Unsalted butter – 3/4 cup (170g), melted and slightly cooled (adds richness and moisture)
- Brown sugar – 1 cup (200g), packed (provides chewiness and depth)
- Granulated sugar – 1/4 cup (50g) (for a bit of crispness)
- Large eggs – 2, room temperature (binds everything together)
- Pure vanilla extract – 2 teaspoons (for warm, sweet aroma)
- Chocolate chips – 1 cup (175g), semi-sweet (I like Ghirardelli for meltiness)
- M&Ms – 1 cup (about 150g), regular-size (adds colorful crunch; mini M&Ms work too for more candy in every bite)
If you want a gluten-free twist, swap the all-purpose flour for a 1:1 gluten-free baking flour blend. For a dairy-free option, replace butter with coconut oil and use dairy-free chocolate chips.
Equipment Needed
- Baking pan: A 9×13-inch (23×33 cm) pan works best for even thickness and chewy bars.
- Mixing bowls: At least two, one for dry ingredients and one for wet.
- Whisk and spatula: For combining ingredients smoothly and folding in chocolate chips and M&Ms.
- Measuring cups and spoons: Accurate measuring helps keep the texture just right.
- Microwave or small saucepan: To melt butter gently.
If you don’t have a 9×13 pan, an 8×8 will do but expect thicker bars and longer baking time. I’ve also tried baking these on parchment paper for easy cleanup, which is a game changer on busy days.
Preparation Method

- Preheat the oven to 350°F (175°C). Grease your 9×13-inch pan or line it with parchment paper for easier removal. (5 minutes)
- Mix dry ingredients: In a medium bowl, whisk together 2 cups all-purpose flour, 1 teaspoon baking soda, and 1/2 teaspoon salt until well combined. This ensures even distribution and prevents clumps. (3 minutes)
- Melt butter: In a separate large bowl, melt 3/4 cup unsalted butter until just melted—not too hot. Let it cool a minute to avoid scrambling the eggs. (4 minutes)
- Add sugars: Stir 1 cup packed brown sugar and 1/4 cup granulated sugar into the melted butter until smooth. The sugars will start to dissolve, giving the dough that chewy texture. (2 minutes)
- Incorporate eggs and vanilla: Beat in 2 large eggs, one at a time, followed by 2 teaspoons pure vanilla extract. Mixing thoroughly here is key for a smooth batter. (3 minutes)
- Combine wet and dry: Gradually add the flour mixture to the wet ingredients, stirring just until combined. Overmixing can make the bars tough, so stop when you no longer see flour streaks. (4 minutes)
- Fold in chocolate chips and M&Ms: Gently fold in 1 cup semi-sweet chocolate chips and 1 cup M&Ms, saving a handful to sprinkle on top for looks and extra candy crunch. (2 minutes)
- Transfer to pan and smooth: Spread the batter evenly in your prepared baking pan. Sprinkle the reserved chocolate chips and M&Ms on top, and if you like, a light pinch of flaky sea salt. (3 minutes)
- Bake: Place in the oven and bake for 25 to 28 minutes. The edges should be golden brown, but the center will still look slightly soft—that’s perfect for chewy bars. (25-28 minutes)
- Cool completely: Let the bars cool in the pan on a wire rack for at least 30 minutes before slicing. This step is important so the bars hold together and don’t crumble. (30 minutes)
When slicing, use a sharp knife and wipe it clean between cuts for neat squares. Don’t rush the cooling; I once tried cutting warm bars and ended up with a gooey mess—lesson learned!
Cooking Tips & Techniques
Getting the perfect chewy texture in cookie bars is an art, and I’ve learned a few tricks along the way.
- Butter temperature: Melted butter is essential here, but not hot. If it’s too warm, it cooks the eggs early and ruins the texture.
- Don’t overmix: Once you add the flour, mix gently. Overworking the dough develops gluten, leading to tougher bars.
- Watch the bake time: Pull the bars out when the center still looks a little soft and shiny. They’ll firm up as they cool and stay chewy instead of cakey.
- Use brown sugar: It’s the secret to chewiness. Too much white sugar makes them crispier, which is good, but not what you want here.
- Adding M&Ms: Fold them in gently or sprinkle on top for pretty color contrast. Mini M&Ms distribute candy goodness more evenly.
- Cooling matters: Let the bars cool fully before cutting; otherwise, they fall apart. I like to cool them in the pan on a wire rack so air circulates underneath.
I remember the first time I skipped the cooling step—pure chaos. Now, I make extra time for that part, and it’s worth every minute.
Variations & Adaptations
This recipe is a great base for a bunch of fun twists.
- Peanut Butter M&M Bars: Stir in 1/2 cup creamy peanut butter with the wet ingredients for a nutty twist that pairs perfectly with the candy.
- Gluten-Free Version: Substitute the all-purpose flour with a 1:1 gluten-free baking blend and add a teaspoon of xanthan gum if your blend doesn’t have it.
- Double Chocolate: Swap half the flour for unsweetened cocoa powder (about 1/2 cup) for a rich chocolate base. Increase chocolate chips to 1 1/2 cups for extra indulgence.
- Dairy-Free: Use coconut oil instead of butter and dairy-free chocolate chips to keep it vegan-friendly.
- Seasonal M&Ms: Use holiday-themed M&Ms for festive occasions—red and green for Christmas, pastel colors for Easter.
Once, I tossed in chopped walnuts for a little crunch, but honestly, the bars are perfect with just the M&Ms and chocolate chips for that classic treat vibe.
Serving & Storage Suggestions
These chewy chocolate chip cookie bars with M&Ms are best served at room temperature. They’re lovely on their own but also pair well with a cold glass of milk or a scoop of vanilla ice cream for a little extra indulgence.
If you’re serving them at parties, cutting into smaller bite-sized squares works well for easy snacking. I’ve also brought these bars to potlucks, and they disappear fast—it’s like they have a magnetic pull!
To store, keep them in an airtight container at room temperature for up to 4 days. For longer storage, wrap tightly in plastic wrap and freeze for up to 3 months. When reheating frozen bars, pop them in the microwave for 15-20 seconds or warm them briefly in a 300°F (150°C) oven to regain that soft, chewy texture.
Flavors actually meld and deepen after a day or two, so if you can resist, let them sit overnight. I always try to save some, but you know how that goes…
Nutritional Information & Benefits
Each chewy chocolate chip cookie bar with M&Ms (based on 12 bars per pan) contains approximately:
| Calories | 230 kcal |
|---|---|
| Fat | 11g |
| Carbohydrates | 32g |
| Protein | 2g |
| Fiber | 1g |
This treat is definitely an indulgence, but the brown sugar adds a bit of molasses flavor and the M&Ms bring some joy (and color!). For those with dietary restrictions, the recipe adapts well to gluten-free and dairy-free needs.
Personally, I think there’s something to be said about sharing a homemade sweet that brings people together—sometimes that’s just as nourishing as the food itself.
Conclusion
Chewy chocolate chip cookie bars with M&Ms are the kind of treat that feels like a warm hug on a hectic day. They come together quickly, use ingredients you probably already own, and bring that nostalgic candy-coated crunch everyone loves. I keep this recipe handy because it’s reliable and flexible, perfect for customizing your own spin.
Whether you stick to the classic or try one of the variations, these bars promise to satisfy your sweet tooth with minimal fuss. I hope you find as much joy in making and sharing them as I do.
If you give this recipe a go, I’d love to hear what you think or how you’ve made it your own—drop a comment or share your tips. Let’s keep the sweet conversation going!
FAQs
Can I use regular chocolate chips instead of M&Ms?
Yes! You can use all chocolate chips if you prefer a more uniform chocolate flavor without the candy crunch.
How do I make the bars more cakey instead of chewy?
Try adding an extra egg or reducing the brown sugar slightly. Also, bake a bit longer until fully set.
Can I freeze the cookie bars?
Absolutely. Wrap them tightly and freeze for up to 3 months. Thaw at room temperature before serving.
What’s the best way to cut bars without crumbling?
Let them cool completely, ideally for at least 30 minutes, and use a sharp knife wiped clean between cuts.
Are these cookie bars kid-friendly?
Definitely! Kids love the colorful M&Ms, and they’re easy to handle, making them a perfect snack or dessert for little hands.
Pin This Recipe!

Chewy Chocolate Chip Cookie Bars with M&Ms
These chewy chocolate chip cookie bars with M&Ms are a quick and easy treat that combines melty chocolate chips with colorful candy crunch, perfect for any occasion.
- Prep Time: 20 minutes
- Cook Time: 25-28 minutes
- Total Time: 55-58 minutes
- Yield: 12 servings 1x
- Category: Dessert
- Cuisine: American
Ingredients
- 2 cups (240g) all-purpose flour
- 1 teaspoon baking soda
- 1/2 teaspoon salt
- 3/4 cup (170g) unsalted butter, melted and slightly cooled
- 1 cup (200g) packed brown sugar
- 1/4 cup (50g) granulated sugar
- 2 large eggs, room temperature
- 2 teaspoons pure vanilla extract
- 1 cup (175g) semi-sweet chocolate chips
- 1 cup (about 150g) M&Ms
Instructions
- Preheat the oven to 350°F (175°C). Grease a 9×13-inch pan or line it with parchment paper for easier removal.
- In a medium bowl, whisk together the flour, baking soda, and salt until well combined.
- In a separate large bowl, melt the butter until just melted and let it cool slightly.
- Stir the brown sugar and granulated sugar into the melted butter until smooth.
- Beat in the eggs one at a time, then add the vanilla extract and mix thoroughly.
- Gradually add the dry ingredients to the wet ingredients, stirring just until combined. Avoid overmixing.
- Gently fold in the chocolate chips and M&Ms, reserving a handful to sprinkle on top.
- Spread the batter evenly in the prepared pan. Sprinkle the reserved chocolate chips and M&Ms on top, and optionally add a light pinch of flaky sea salt.
- Bake for 25 to 28 minutes until the edges are golden brown and the center looks slightly soft.
- Cool completely in the pan on a wire rack for at least 30 minutes before slicing.
Notes
Use melted butter that is not too hot to avoid cooking the eggs. Do not overmix the dough to keep bars chewy. Cool bars completely before slicing to prevent crumbling. Mini M&Ms can be used for more candy in every bite. For gluten-free, substitute flour with a 1:1 gluten-free blend. For dairy-free, use coconut oil and dairy-free chocolate chips.
Nutrition
- Serving Size: 1 bar (1/12th of the
- Calories: 230
- Fat: 11
- Carbohydrates: 32
- Fiber: 1
- Protein: 2
Keywords: chocolate chip cookie bars, M&Ms, chewy cookie bars, easy dessert, quick treats, chocolate chip bars



