Savoring The Good®

  • All Recipes
  • Football Food
  • Crock-Pot
  • About Sarah
    • About Savoring The Good®
menu icon
go to homepage
  • All Recipes
  • Football Food
  • Crock-Pot
  • About Sarah
    • About Savoring The Good®
subscribe
search icon
Homepage link
  • All Recipes
  • Football Food
  • Crock-Pot
  • About Sarah
    • About Savoring The Good®
×
Savoring The Good > Recipes > Cookie Recipes

Easy M&M Cookie Bars

A woman with long brown hair wearing a light-colored blouse smiles at the camera in a softly lit indoor setting, offering a welcoming glimpse into the post author's personality.Sarah Mock headshot 100by100.
Updated: Apr 10, 2025 to include new step-by-step photos, clarified instructions, and/or improved tips for best results.· by Sarah Mock· Leave a Comment This post contains affiliate links.
4th of july cookie bars.

M&M cookie bars are thick, chewy, and loaded with chocolate chips and colorful candy. This easy recipe takes 30 minutes from start to finish and skips the cake mix shortcut for better texture and flavor.

Jump to Recipe Start Cooking
M&M cookie bars stacked on eachother on a white plate, square image.

These bars work for any occasion. Swap the M&M colors to match holidays, birthdays, or team colors.

I add this recipe to my rotation of cookie recipes during the holidays. The dough is forgiving and the bars travel well to potlucks and bake sales.

Why this recipe works for me:

These M&M cookie bars deliver bakery texture without the fuss of dropping individual cookies. You spread the dough in one pan, bake, and cut into squares.

The recipe uses pantry staples. Butter, sugar, flour, eggs. You control the mix-ins, so swap the chocolate chips for butterscotch, peanut butter, or white chocolate if that suits your crowd better.

Ingredients needed for this M&M cookie bars recipe:

Chocolate chip cookie ingredients on a marble table.

Ingredient notes:

  • Butter: Unsalted butter at room temperature creams properly with the sugar. Salted butter works in a pinch; just reduce the added salt to ½ teaspoon.
  • Flour: All-purpose flour gives the right structure. Bread flour makes the bars too tough. Cake flour makes them too soft.
  • Chocolate chips: Semi-sweet is the standard, but dark chocolate, milk chocolate, butterscotch, peanut butter, or white chocolate chips all work. Pick what you like.
  • M&M's: Regular size works best. Mini M&M's sink into the batter. Peanut M&M's add crunch but throw off the texture slightly.

Substitutions

The M&M colors in the photos are red, white, and blue for July 4th. Switch them out for any color combination depending on what you have or what you are celebrating.

  • Green and red for Christmas.
  • Pastels for Easter.
  • School colors for game day.
  • Orange and black for Halloween.

How to Make M&M Cookie Bars

A baking sheet lined with parchment paper and evenly coated with butter, perfect for your favorite cookie bars recipe.

Prep the pan

Preheat your oven to 350F. Line a 9x13 inch baking pan with parchment paper and butter the parchment and sides of the pan. This keeps the bars from sticking and makes lifting them out easier.

A metal bowl filled with cookie dough sits next to three brown eggs and a bottle of vanilla extract on a white countertop, ready for your favorite cookie bars recipe.

Cream the butter and sugars

Add the butter, brown sugar, and granulated sugar to the bowl of a stand mixer. Beat with the paddle attachment on medium speed for 2-3 minutes until the mixture is light, fluffy, and pale in color. Scrape down the sides of the bowl with a rubber spatula.

A mixing bowl with cookie dough, three raw eggs, and vanilla extract on top, ready to be blended for the perfect cookie bars recipe.

Add eggs and vanilla

Add the vanilla extract and eggs to the creamed butter mixture. Mix on medium speed until fully incorporated and smooth, about 1 minute.

A bowl of flour and a whisk next to it.

Mix the dry ingredients

In a separate large bowl, whisk together the flour, baking powder, baking soda, and salt until evenly combined.

A bowl of flour and a bowl of flour next to each other.

Combine wet and dry

Add the dry ingredients to the wet ingredients in three additions, mixing on low speed after each addition until just combined. Stop the mixer and scrape down the sides of the bowl as needed. Do not overmix or the bars will be tough.

A mixing bowl with cookie dough, chocolate chips, and a few candy-coated chocolates being stirred with a wooden spoon-perfect for starting your favorite cookie bars recipe.

Fold in the mix-ins

Add the chocolate chips and 1 cup of the M&M's to the dough. Fold them in with a spatula or wooden spoon until evenly distributed.

A rectangular baking sheet filled with unbaked cookie dough mixed with red, blue, and white candy pieces and chocolate chips-perfect for your next festive cookie bars recipe.

Spread the dough

Transfer the dough to your prepared baking pan. Use a spatula or your hands to press the dough into an even layer, spreading it all the way to the edges and corners of the pan.

A baking sheet filled with unbaked cookie dough topped with red, white, and blue candy-coated chocolate pieces-perfect for trying out your favorite cookie bars recipe.

Top with M&M's

Sprinkle the remaining 1 cup of M&M's evenly across the top of the dough. Press them gently into the surface so they stick during baking.

Bake

Bake for 20-25 minutes. The bars are done when the edges are set and golden brown and the center looks barely underdone. It will firm up as it cools. If you overbake, the bars will be dry.

A baked cookie bars recipe topped with red, white, and blue M&M candies in a rectangular pan.

Cool completely

Let the bars cool completely in the pan on a wire rack before cutting. This takes about 1 hour. Cutting them warm makes them crumble and fall apart.

Six rectangular cookie bars with red, white, and blue M&M's and chocolate chips on a baking tray; some loose candies are scattered around-perfect for any festive gathering or to try your favorite cookie bars recipe.

Cut into squares

Once cooled, lift the bars out of the pan using the parchment paper. Cut into 24 squares with a sharp knife. For clean cuts, dip your knife in hot water and wipe it dry between each cut.

Storage Tips

Store M&M cookie bars in an airtight container at room temperature for up to 5 days.

Refrigerate them in an airtight container for up to 1 week. Bring to room temperature before serving or warm briefly in the microwave for 10-15 seconds.

Freeze the bars in a single layer on a baking sheet until solid, then transfer to a freezer-safe container or zip-top bag. Freeze for up to 3 months. Thaw at room temperature for 1-2 hours before serving.

Make-Ahead Instructions

  • You can make the dough up to 2 days ahead.
  • Press it into the prepared pan, cover tightly with plastic wrap, and refrigerate.
  • Bring to room temperature for 15 minutes before baking.
  • You can also freeze the unbaked dough in the pan for up to 1 month. Cover tightly with plastic wrap and aluminum foil.
  • Bake from frozen, adding 5-10 minutes to the baking time.

Serving Ideas:

  • Wrap individually for bake sales or lunchboxes.
  • Serve with a scoop of vanilla ice cream.
  • Drizzle with caramel and dollop on a scoop of homemade whipped cream.
Sarah Mock of savoringthegood.com headshot 2022

Sarah's Culinary Insight

  • For extra flavor, sprinkle the top of the dough with flaky sea salt before baking. The salt balances the sweetness and brings out the chocolate flavor.
  • Use room temperature butter. Cold butter will not cream properly and your bars will be dense. Leave the butter on the counter for 1-2 hours before starting.
  • Do not skip lining the pan with parchment paper. It prevents sticking and makes cleanup easier.
  • Press the dough firmly into the pan. Gaps and uneven layers cause uneven baking.

Did you make this recipe? Do you have feedback that would be helpful to others? If so can you help this small business owner by leaving a rating and a review in the comments section? Thank you for being part of the Savoring The Good Community. ~ Sarah

Frequently asked questions, answers and tips:

Can I make these without a stand mixer?

Yes. Use a hand mixer or mix by hand with a wooden spoon. It takes more arm strength but the results are the same.

Why are my cookie bars cakey instead of chewy?

You probably overbaked them or added too much flour. Measure flour by spooning it into the measuring cup and leveling it off, not scooping directly from the bag. Pull the bars from the oven when the center still looks slightly underdone.

How do I know when they are done?

The edges should be set and golden brown. The center should look barely underdone and will jiggle slightly when you shake the pan. It firms up as it cools.

Can I use a different pan size?

A 9x13 inch pan is standard. An 8x8 or 9x9 pan makes thicker bars; increase baking time by 5-10 minutes. A larger pan makes thinner bars; reduce baking time by 5 minutes.

Can I double this recipe?

Yes. Use two 9x13 pans or one half-sheet pan. Baking time stays the same.

Can I use salted butter?

Salted butter works in a pinch; just reduce the added salt to ½ teaspoon.

M&M Cookie Bars
Sarah Mock, savoring a glass of red wine, smiles warmly indoors near a staircase. With her long brown hair and light blouse, she exudes relaxed elegance in this candid headshot.Sarah Mock
5 from 1 vote
M & M cookie bars are the easy cookie bar recipe you need when you want an easy dessert recipe with few ingredients.
Pin Recipe
Print Recipe
M&M cookie bars stacked on eachother on a white plate, square image.
Prep TimePrep:15 minutes mins
Cook TimeCook:25 minutes mins
Total TimeTotal:40 minutes mins
servingsServings:24 bars

Ingredients

  • 1 Cup (227 g) Butter softened
  • 1 ½ Cup (330 g) Brown Sugar packed
  • ½ Cup (100 g) Sugar
  • 2 Teaspoons (2 Teaspoons) Vanilla Extract
  • 3 (3) Egg
  • 3 Cups (375 g) Flour, All Purpose
  • 1 Teaspoon (1 Teaspoon) Baking Powder
  • 1 Teaspoon (1 Teaspoon) Baking Soda
  • 1 Teaspoon (1 Teaspoon) Salt
  • 2 Cups (473 ⅙ ml) M&M's
  • 2 Cups (360 g) Chocolate Chips
InstacartGet Recipe Ingredients

Instructions 

  1. Preheat oven to 350 °F (177 °C) Line a 9x13 inch baking pan with parchment paper and butter the parchment and sides of the pan. This keeps the bars from sticking and makes lifting them out easier.
  2. Add the butter, brown sugar, and granulated sugar to the bowl of a stand mixer. Beat with the paddle attachment on medium speed for 2-3 minutes until the mixture is light, fluffy, and pale in color. Scrape down the sides of the bowl with a rubber spatula.
    1 Cup (227 g) Butter, ½ Cup (100 g) Sugar, 1 ½ Cup (330 g) Brown Sugar
  3. In a separate large bowl, whisk together the flour, baking powder, baking soda, and salt until evenly combined.
    3 Cups (375 g) Flour, All Purpose, 1 Teaspoon Baking Powder, 1 Teaspoon Baking Soda, 1 Teaspoon Salt
  4. Add the vanilla extract and eggs to the creamed butter mixture. Mix on medium speed until fully incorporated and smooth, about 1 minute.
    2 Teaspoons Vanilla Extract, 3 Egg
  5. Add the dry ingredients to the wet ingredients in three additions, mixing on low speed after each addition until just combined. Stop the mixer and scrape down the sides of the bowl as needed. Do not overmix or the bars will be tough.
  6. Add the chocolate chips and 1 cup of the M&M's to the dough. Fold them in with a spatula or wooden spoon until evenly distributed.
    2 Cups (360 g) Chocolate Chips, 1 Cup (236 ⅗ mls) M&M's
  7. Transfer the dough to your prepared baking pan. Use a spatula or your hands to press the dough into an even layer, spreading it all the way to the edges and corners of the pan.
  8. Sprinkle the remaining 1 cup of M&M's evenly across the top of the dough. Press them gently into the surface so they stick during baking.
    1 Cup (236 ⅗ mls) M&M's
  9. Bake for 20-25 minutes. The bars are done when the edges are set and golden brown and the center looks barely underdone. It will firm up as it cools. If you overbake, the bars will be dry.
  10. Let the bars cool completely in the pan on a wire rack before cutting. This takes about 1 hour. Cutting them warm makes them crumble and fall apart.
  11. Once cooled, lift the bars out of the pan using the parchment paper. Cut into 24 squares with a sharp knife. For clean cuts, dip your knife in hot water and wipe it dry between each cut.
  12. Store in an airtight container.

Nutrition

Serving: 1bar | Calories: 277kcal | Carbohydrates: 40g | Protein: 3g | Fat: 12g | Saturated Fat: 7g | Polyunsaturated Fat: 0.5g | Monounsaturated Fat: 2g | Trans Fat: 0.3g | Cholesterol: 43mg | Sodium: 226mg | Potassium: 62mg | Fiber: 1g | Sugar: 27g | Vitamin A: 300IU | Vitamin C: 0.1mg | Calcium: 44mg | Iron: 1mg

Notes

For an added layer of flavor, sprinkle the top of the dough with a sprinkle of flaky sea salt before baking.
To get clean cuts on your bar cookies, dip your knife in hot water and wipe it dry before each cut.
Store M&M cookie bars in an airtight container at room temperature for up to 5 days.
Refrigerate them in an airtight container for up to 1 week. Bring to room temperature before serving or warm briefly in the microwave for 10-15 seconds.
Freeze the bars in a single layer on a baking sheet until solid, then transfer to a freezer-safe container or zip-top bag. Freeze for up to 3 months. Thaw at room temperature for 1-2 hours before serving.
CourseCourse: Cookie Recipes
CuisineCuisine: American
KeywordKeyword: m & m cookie bars

Sarah Mock of savoringthegood.com headshot 2022

I am Sarah Mock. Welcome!

Sarah Mock is a classically trained Chef and a graduate of Johnson & Wales University. A culinary blogger for 17 years, Sarah helps the home cook prepare her recipes with professional results.

Get to know me

as seen in:

Logos of Hersheyland, ABC News, and Good Day PA are showcased in a seamless row, providing a snapshot of popular brands.

Hersheyland Nightline Good Day Pa!

The vibrant design showcases the iconic logos of Pinterest, Rachael Ray, and Jell-O set against a bold red background. Sorry, the provided description doesn't offer enough detail to suggest important SEO keywords.

Pinterest Rachael JELL-O


More Cookie Recipes

  • Glass jars filled with sugared citrus slices are surrounded by whole citrus fruits and a bowl of sugar on a wooden surface.
    Candied Orange Slices
  • Close-up of biscoff butter cookies topped with chocolate chips and a rectangular spiced biscuit, surrounded by more similar cookies.
    Biscoff Butter Cookie Recipe
  • A plate of chocolate cookies with visible nuts, one cookie partially eaten, stacked on top of each other.
    Dark Chocolate Pecan Cookies
  • Six delightful cornflake candy clusters with sprinkles rest on a pristine white plate.
    Cornflake Candy Recipe
  • WhatsApp
  • Threads
  • Facebook20
  • Flipboard
Add STG as a Google Trusted Source For Recipes

Comments

No Comments

5 from 1 vote (1 rating without comment)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recipe Rating




Sarah Mock of savoringthegood.com headshot 2022

I'm Sarah Mock, Welcome!

Sarah Mock is a classically trained Chef and graduate of Johnson & Wales University. A culinary blogger for 17 years Sarah helps the home cook prepare her recipes with professional results.

Get to know me

Trending Recipes:

  • A close-up of grilled chicken wings stacked on a plate, garnished with parsley, with a side of dipping sauce in the background.
    Grilled Chicken Wings
  • A bowl of taco salad with ground beef, lettuce, tomatoes, black olives, jalapeños, corn, shredded cheese, crushed tortilla chips, red onions, lime wedges, and a dollop of sour cream.
    Dorito Taco Salad
  • Buffalo cauliflower bites are roasted florets coated in a tangy red sauce, served on a white plate with a fork and garnished with fresh herbs.
    Buffalo Cauliflower Bites
  • A bowl of chili pie topped with shredded cheese, chopped onions, and green onions, surrounded by crunchy Fritos corn chips on a white plate.
    Frito Pie Recipe
See more Football Food →

Footer

Sharing this recipe on social media is both encouraged and appreciated. Please share the direct link back to the recipe. Copy/Paste and/or screenshots of the recipe to any social media is strictly prohibited. Content and photographs are copyright-protected. SavoringTheGood®

As an Amazon Associate, I earn from qualifying purchases.

©2026 Savoring The Good® All rights reserved.
Privacy Policy | Accessibility Policy | About Sarah Mock | About Savoring The Good | Terms Of Service

Rate This Recipe

Your vote:




Let me know what you thought of this recipe to leave your stars. Stuck for what to say? Click one of these inspiration prompts to get you started:

This worked exactly as written, thanks!
My family loved this! I just had to share.
This recipe is delicious but I have a suggestion...
Could you clarify for me...
Here is how I included this recipe in m celebration of...
This recipe was wonderful but can you point me to a recipe for...

As always, I appreciate you and what you bring to the Savoring The Good community!

A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.