M&M Chocolate Chip Cookie Bars

Loading…

By Reading time

Thick, chewy M&M chocolate chip cookie bars have that bakery-style center people go back for before the pan has even cooled. The edges bake up golden and just crisp enough to hold the squares, while the middle stays soft and dense with pockets of melted chocolate and candy crunch. They cut cleanly once cooled, but they still taste like the best part of a warm cookie.

The melted butter is the key here. It gives these bars their dense, fudgy texture without any extra mixing fuss, and it blends smoothly with the brown sugar so the bars bake up moist instead of cakey. Pressing a handful of M&Ms on top before baking does two things at once: it gives you that bright, classic look and keeps the candy pieces visible instead of buried in the dough.

Below you’ll find the little details that make these bars work every time, including the doneness cue that matters most and the best way to cut them so you get neat squares instead of crumbly edges.

“

The bars came out thick and chewy, and the center set up perfectly after cooling. I loved that the M&Ms stayed colorful on top instead of melting into the dough.

★★★★★— Jenna R.

Love thick, chewy M&M chocolate chip cookie bars? Save this recipe for the next time you want an easy pan dessert with bright candy tops and clean-cut squares.

Save to Pinterest

The Trick to Chewy Cookie Bars Is Keeping the Center Underbaked

Cookie bars go wrong when people wait for the middle to look fully done in the oven. By the time the center looks firm, the edges are already dry and the bars lose that soft, chewy bite. Pull these when the top is golden and the center still looks slightly underdone in the middle few inches; the residual heat in the pan finishes the job as they cool.

The other trap is overmixing once the flour goes in. Stir just until the dry streaks disappear, then stop. That keeps the bars tender instead of tough, and it matters more here than in a drop cookie because the batter is thicker and gets worked more easily.

What the Butter and Sugar Are Really Doing Here

M&M Chocolate Chip Cookie Bars chewy colorful
  • Melted unsalted butter — This gives the bars their dense, chewy texture and makes the dough easy to mix by hand. Salted butter works in a pinch, but reduce the added salt slightly so the bars don’t taste sharp.
  • Brown sugar — This is what gives the bars their soft center and deeper caramel flavor. Pack it firmly into the cup; loose brown sugar means less moisture and a drier bake.
  • Granulated sugar — A little white sugar helps the tops set with a light crackle instead of turning overly soft. Swapping it all for brown sugar makes the bars heavier and more cake-like.
  • All-purpose flour — This gives the bars structure without making them bread-y. Measure it lightly or spoon and level it; packed flour is the fastest way to turn chewy bars into dry ones.
  • M&M candies and chocolate chips — The chips melt into pockets, while the M&Ms keep their shape and give you that candy-bar look. Add most of the M&Ms to the dough, then press the rest on top so the bars look finished before they even cool.

Building the Batter So the Bars Stay Thick, Not Puffy

Mix the Butter, Sugar, Eggs, and Vanilla First

Whisk the melted butter with both sugars until the mixture looks glossy and slightly thickened. That helps the sugar start dissolving before the flour goes in, which is part of what gives these bars that dense, chewy bite. Add the eggs and vanilla next and whisk until the batter looks smooth and a little lighter in color.

Fold in the Dry Ingredients Without Beating Them

Stir in the flour, baking soda, and salt just until you stop seeing dry patches. If you keep mixing after that point, the bars can turn tough and bready. Once the flour is mostly absorbed, switch to a spatula and fold in the chocolate chips and most of the M&Ms so they stay evenly scattered.

Press the Candy on Top Before Baking

Spread the dough into the pan and nudge it into the corners with a spatula. The dough will be thick, so small rough patches on top are fine. Press the remaining M&Ms over the surface so they bake into the top layer instead of sinking out of sight.

Watch for Set Edges and a Soft Center

Bake just until the edges are deep golden and the center looks set but still soft when the pan is nudged. The bars keep cooking after they come out, so don’t wait for the middle to look dry. If you overbake them, they’ll still taste good, but you’ll lose the chew that makes them worth making.

How to Adapt These Bars for Different Pans and Candy Mix-Ins

Make Them Gluten-Free

Use a cup-for-cup gluten-free flour blend that includes xanthan gum. The bars will stay chewy, but they may be a little more delicate when warm, so let them cool completely before slicing.

Swap in Different Candies

Peanut butter M&Ms, mini M&Ms, or chopped candy bars all work here. Mini candies spread more evenly through the dough, while larger mix-ins create bigger pockets and a slightly messier cut.

Use a Smaller Pan for Extra-Thick Bars

For thicker bars, bake the dough in a smaller square pan and watch the center closely near the end of baking. The texture turns even chewier, but the bake time stretches a bit, so judge by the top and edges, not the clock alone.

Storage and Reheating

  • Refrigerator: Store in an airtight container for up to 5 days. The bars firm up a bit in the fridge, but they stay chewy.
  • Freezer: Freeze cut bars between layers of parchment for up to 2 months. Thaw at room temperature so the chocolate doesn’t get grainy.
  • Reheating: Warm a bar for 10 to 15 seconds in the microwave if you want softer chocolate chips. Don’t overheat them or the M&Ms can get sticky and the edges dry out fast.

Answers to the Questions Worth Asking

Can I use mini M&Ms instead of regular ones?+

Yes, and they spread more evenly through the bars. Mini M&Ms give you smaller pops of color in every bite, while regular M&Ms create bigger candy pockets on top and inside.

How do I know when the cookie bars are done baking?+

Look for golden edges and a center that still looks a little soft. The bars should not jiggle like raw batter, but they should still look slightly underdone in the middle when you pull them out. They finish setting as they cool in the pan.

Can I make M&M cookie bars ahead of time?+

Yes. They actually slice cleaner after a full cool, so baking them the day before is a good move. Store them covered at room temperature or refrigerate them if your kitchen runs warm.

How do I keep the bars from sticking to the pan?+

Line the pan with parchment and leave some overhang so you can lift the whole slab out after cooling. If you try to cut them directly in the pan while they’re still warm, the edges can tear and the bottoms can stick.

Can I freeze the baked cookie bars?+

Yes, they freeze well. Wrap the cut bars tightly or layer them with parchment in a freezer container so the chocolate chips don’t scuff against each other. Thaw at room temperature for the best texture.

M&M Chocolate Chip Cookie Bars

M&M chocolate chip cookie bars with a chewy center and golden edges, baked until just set in the middle. Studded with chocolate chips and colorful M&Ms on top for a classic bakery-style look.
Prep Time 15 minutes
Cook Time 25 minutes
Total Time 40 minutes
Servings: 24 servings
Course: Dessert
Cuisine: American
Calories: 320

Ingredients
  

M&M chocolate chip cookie bars
  • 1 cup unsalted butter Melted.
  • 1 cup brown sugar Packed.
  • 0.5 cup granulated sugar
  • 2 large eggs
  • 2 tsp vanilla extract
  • 2.5 cup all-purpose flour
  • 1 tsp baking soda
  • 0.5 tsp salt
  • 1 cup semi-sweet chocolate chips
  • 1.25 cup M&M candies Divided.

Equipment

  • 1 sheet pan

Method
 

Prep the pan
  1. Preheat the oven to 350F. Line a 9x13-inch pan with parchment, leaving overhang so you can lift out the bars later.
Make the cookie bar batter
  1. Whisk melted butter and both sugars until smooth, then whisk in the eggs and vanilla extract until glossy.
  2. Stir in the all-purpose flour, baking soda, and salt until no dry streaks remain, then fold in the chocolate chips and 1 cup of the M&M candies.
Assemble and bake
  1. Spread the dough into the lined pan and press the remaining M&M candies on top so they stick evenly.
  2. Bake for 22-25 minutes at 350F, until the top is golden and the center is just set (a slight soft look is fine).
Cool and cut
  1. Cool the cookie bars completely before cutting into bars, so they slice cleanly and hold their chewy texture.

Notes

For the best thick, chewy texture, don’t overbake—pull the bars when the center is just set and the edges are golden. Store in an airtight container at room temperature for up to 3 days, or refrigerate up to 5 days. Freeze bars in a sealed container for up to 2 months. For a lighter swap, use unsalted butter with a 1:1 baking butter substitute if your diet prefers reduced dairy.

You might also like these recipes

Leave a Comment

Recipe Rating