M&M Cookie Bars

Total Time:Prep: 15 min. Bake: 25 min.
Kate McKiernan

By Kate McKiernan

Recipe by Martha Haseman, Hinckley, Illinois

Tested by Taste of Home Test Kitchen

Updated on Nov. 05, 2025

M&M cookie bars are chewy, buttery and dangerously easy to make—consider yourself warned.

These M&M cookie bars prove that there are two kinds of people in this world: Those who bake cookies one spoonful at a time and those who understand the glory of pressing the whole thing into a pan and calling it a day. I am firmly in the second camp and, let’s be honest, an unapologetic M&M’s obsessive. These bars have everything I love about a classic cookie recipe—chewy edges, a gooey center and a buttery flavor—but without the fuss of scooping and waiting for trays of individual cookies to bake.

When they come out of the oven, warm and golden, the M&M’s glisten like edible confetti. M&M cookie bars will be your next go-to for movie nights, bake sales and any day that needs a little color therapy. They disappear fast, smell like happiness and look as if you spent all day baking.

M&M Cookie Bar Ingredients

A top-down view of baking ingredients in bowls: sugar, crushed graham crackers, colorful candy-coated chocolates, eggs, white chocolate chips, flour, butter, vanilla extract, salt, and baking powder on a light surface.
Taste of Home

  • Butter: Use unsalted butter so you can control the salt level. Make sure it’s softened (not melted!) before you start—cold butter won’t cream properly and melted butter will make the bars greasy. If you’re shopping, grab real butter, not margarine—the flavor difference is everything.
  • Sugar: Plain granulated sugar gives the bars that crisp edge and helps balance the brown sugar’s richness.
  • Brown sugar: Packed light brown sugar adds chew and a subtle caramel flavor. If you have only dark brown sugar, you can use it—it’ll make the bars slightly richer and more molasses-forward.
  • Vanilla extract: Real vanilla extract gives these bars a warm bakery-style depth. Choose one of these favorite brands of vanilla for the best results.
  • Eggs: Use room-temperature eggs for baking; cold eggs can make your batter seize or separate.
  • All-purpose flour: Stick with a classic all-purpose flour for the best structure. Measure flour carefully using the spoon-and-level method (don’t scoop directly from the bag; it packs too tightly).
  • Baking powder: This leavener gives the bars a little lift without making them cakelike.
  • Salt: Regular table salt works perfectly, but if you have flaky sea salt, you can sprinkle a pinch over the top for extra flair and flavor.
  • White baking chips: White baking chips add creamy sweetness and contrast to the chocolate M&M’s. Ghirardelli or Guittard are two of the best brands if you want a high-quality finish, but store brands work great too.
  • M&M’s: The star of the show! Regular M&M’s hold their shape best, but you can experiment with different flavors (like peanut butter, hint hint), minis, or seasonal varieties for color and crunch.

Directions

Step 1: Start the dough

A hand mixer is blending cookie dough in a large blue mixing bowl on a light-colored countertop.
Taste of Home

Preheat the oven to 350°F. In a large bowl, cream together the butter, granulated sugar, brown sugar and vanilla until the mixture is light and fluffy, five to seven minutes.

Editor’s Tip: There are several ways to soften butter quickly, including shredding it or placing it under a warm glass for a few minutes.

A hand holds a bowl with two cracked eggs above a blue mixing bowl containing partially mixed cookie dough on a light countertop.
Taste of Home

Beat in the eggs, one at a time.

Step 2: Add the dry ingredients and mix-ins

A person pours flour from a brown bowl into a blue bowl containing partially mixed cookie dough on a light countertop.
Taste of Home

In a separate bowl, whisk together the flour, baking powder and salt. Then, gradually add the dry ingredients to the creamed mixture.

A person is mixing cookie dough with colorful candy pieces in a blue bowl using a spatula, on a light-colored countertop.
Taste of Home

Stir in the white baking chips and 1 cup of M&M’s.

Step 3: Bake to golden perfection

A person spreads colorful candy-studded cookie dough evenly in a rectangular baking pan using a spatula, seen from above on a light gray surface.
Taste of Home

Spread the batter evenly into a greased 13×9-inch baking pan.

A rectangular baking pan filled with unbaked cookie dough topped with colorful candy-coated chocolates, sitting on a light gray surface.
Taste of Home

Sprinkle the remaining 3/4 cup of M&M’s over the top. Bake for 25 to 30 minutes or until golden brown and a toothpick inserted near the center comes out with moist crumbs. Cool completely on a wire rack before cutting into bars.

Editor’s Tip: Start checking your bars at 25 minutes—the difference between chewy and dry happens fast!

Twelve square cookie bars topped with colorful candy-coated chocolates are arranged on a gray surface. The bars have a golden-brown crust and are scattered in a casual, overlapping pattern.
Taste of Home

M&M Cookie Bar Variations

  • Add some caramel: Add caramel bits or chopped soft caramels for a gooey, rich twist. Drizzle a little caramel sauce on top with a pinch of salt for a real big finish.
  • Go nuts: Fold in walnuts or pecans for a bit of texture and nutty depth.
  • Change the chips: Use dark or milk chocolate chips instead of white baking chips. Peanut butter chips are also a delicious choice. Get creative with a variety of different flavored chips.

How to Store M&M Cookie Bars

Store your M&M cookie bars in an airtight container at room temperature. They’ll stay soft and delicious for several days—perfect for lunchboxes, road trips or an “I deserve a cookie” moment.

How long do M&M cookie bars last?

M&M cookie bars last up to five days when stored in an airtight container at room temperature. If they start to dry out, one cookie storage trick is to tuck a slice of bread in the container to keep them soft.

Can you freeze M&M cookie bars?

Yes! M&M cookie bars freeze beautifully. Cut them into squares, wrap each individually in storage wrap, and then store them in a freezer-safe bag or container. They’ll keep for up to three months. Thaw at room temperature before serving, or microwave for a few seconds to soften.

M&M Cookie Bar Tips

A stack of three colorful candy and chocolate chip blondies sits on a white plate, set against a light, neutral background.
Taste of Home

How do you ensure M&M cookie bars remain chewy?

To keep M&M cookie bars chewy, start checking them about five minutes before the recommended baking time—they should be just set with moist crumbs, not dry. Also, use the right-sized baking pan; a pan that is too large can cause the bars to be thin and crisp instead of thick and soft.

TEST KITCHEN APPROVED

Golden M&M's Bars

Yield:2 dozen
Prep:15 min
Cook:25 min

Ingredients

  • 1/2 cup butter, softened
  • 3/4 cup sugar
  • 3/4 cup packed brown sugar
  • 2 teaspoons vanilla extract
  • 2 large eggs, room temperature
  • 1-1/2 cups all-purpose flour
  • 1 teaspoon baking powder
  • 1/2 teaspoon salt
  • 1 cup white baking chips
  • 1-3/4 cups plain M&M's, divided
Shop Recipe

Directions

  1. Preheat oven to 350°. In a large bowl, cream butter, sugars and vanilla until light and fluffy, 5-7 minutes. Beat in eggs, 1 at a time. Whisk together the flour, baking powder and salt; gradually add to the creamed mixture. Stir in baking chips and 1 cup M&M's.
  2. Spread evenly into a greased 13x9-in. baking pan. Sprinkle with the remaining 3/4 cup M&M's. Bake until golden brown and a toothpick inserted in center comes out with moist crumbs, 25-30 minutes. Cool on a wire rack. Cut into bars.
Loading Popular in the Community
"Our family loves to take drives, and I often bring these bars along for snacking in the car," relates Martha Haseman of Hinckley, Illinois.
Recipe Creator
Loading Reviews
Back to Top