Peanut Butter M&M Cookie Bars

These peanut butter M&M cookie bars are my favorite way to bake ahead without losing that soft, fresh-out-of-the-oven texture. They’re thick, chewy, and packed with melty chocolate and crunch.

Why I Love This Recipe

These cookie bars are the best of both worlds—soft and chewy in the middle with just the right crisp around the edges for that perfect bite. The peanut butter M&Ms bake up beautifully, staying whole so every slice is packed with colorful pops and bursts of peanut buttery goodness.

Add in mini chocolate chips and creamy white chocolate chips, and you get layers of rich flavor without being overly sweet. They’re like M&M cookies, but even easier—and you can’t stop at just one square!

Valentines-Day-Cookie-Bars-3

Want to save this recipe?

Enter your email & I'll send it to your inbox. Plus, get great new recipes from me every week!

Save Recipe

Key Ingredients and Substitutions

  • Butter: Use unsalted, room-temperature butter so it creams smoothly with the sugars. This gives the bars their rich, soft texture.
  • Granulated sugar + light brown sugar: The mix of sugars adds depth. Brown sugar gives chewiness while white sugar adds structure and sweetness.
  • Eggs: Help bind the dough and keep the bars moist. Use large eggs at room temperature for best results.
  • Vanilla extract: Adds a warm, cozy flavor that complements the peanut butter and chocolate.
  • All-purpose flour: Gives the bars their sturdy structure while staying soft and tender.
  • Baking soda: Provides just enough lift to keep the bars thick without puffing up too much.
  • Salt: Enhances all the sweet flavors and balances the richness.
  • Peanut butter M&Ms: These add color, crunch, and that iconic peanut butter flavor. You can swap with regular M&Ms or peanut M&Ms if needed.
  • Mini chocolate chips: Mix in easily and melt into every bite. Feel free to use regular-sized chips if you prefer.
  • White chocolate chips: Add extra sweetness and a creamy contrast to the peanut butter and dark chocolate.
Valentines-Day-Cookie-Bars-8

Preparation

Preheat the oven to 350˚F. Line a 9×13-inch baking pan with parchment paper, leaving some overhang on the sides for easy removal. Measure out all ingredients and let the butter come to room temperature.

Step 1 – Cream the Butter and Sugars

In a large mixing bowl, beat the softened butter, granulated sugar, and light brown sugar together until smooth and creamy. This creates the base for soft, chewy bars.

Valentines-Day-Cookie-Bars-1

Step 2 – Add the Eggs and Vanilla

Beat in the eggs one at a time, followed by the vanilla extract. Mix well until the batter is fully combined and smooth.

Step 3 – Combine the Dry Ingredients

In a separate bowl, whisk together the flour, baking soda, and salt. This ensures the leavening is evenly distributed throughout the dough.

Step 4 – Add the Dry Ingredients to the Batter

Gradually add the flour mixture to the wet ingredients, mixing just until combined. Be careful not to overmix to keep the texture soft.

Valentines-Day-Cookie-Bars-2

Step 5 – Fold in the M&Ms and Chips

Stir in the peanut butter M&Ms, mini chocolate chips, and white chocolate chips until evenly distributed throughout the dough.

Valentines-Day-Cookie-Bars-4
Valentines-Day-Cookie-Bars-5

Step 6 – Press Dough Into Pan

Spread the dough evenly into the prepared pan and gently press it down until smooth and level. For an extra pop of color and texture, sprinkle additional M&Ms and chocolate chips on top.

Valentines-Day-Cookie-Bars-6

Step 7 – Bake Until Set

Bake for about 40 minutes, or until the top is golden and a toothpick inserted near the center comes out with just a few moist crumbs. Cover loosely with foil about two-thirds of the way through to prevent over-browning.

Step 8 – Cool and Slice

Let the bars cool completely in the pan. Once cool, lift out using the parchment overhang and slice into squares. Store in an airtight container to maintain moisture.

Lynette’s Tip

Cover the bars with foil about two-thirds of the way through baking. This helps them bake through without the tops getting too dark before the center sets.

Valentines Day Cookie Bars
Created by: Lynette Rice

Peanut Butter M&M Cookie Bars


Course Cookies
Cuisine American
Prep Time 15 minutes
Cook Time 40 minutes
Total Time 55 minutes
Servings 24 cookie bars
24 cookie bars
These peanut butter M&M cookie bars are my favorite way to bake ahead without losing that soft, fresh-out-of-the-oven texture. They're thick, chewy, and packed with melty chocolate and crunch.

Ingredients
  

  • 16 Tablespoons butter room temperature
  • 1 cup granulated sugar
  • 1 cup light brown sugar
  • 3 large eggs large
  • 1 1/2 tsp vanilla extract
  • 3 cups all-purpose flour
  • 3/4 tsp baking soda
  • 3/4 tsp salt
  • 1 1/2 cups peanut butter M&Ms
  • 1 cup mini chocolate chips
  • 1/2 cup white chocolate chips

Instructions

  • Preheat your oven to 350°F and line a 9×13 baking pan with parchment paper so nothing sticks. In a large bowl, beat together the butter and sugar until the mixture is smooth and well blended. Add in the eggs and vanilla extract, mixing until everything is nicely combined.
  • In a separate bowl, whisk together the flour, baking soda, and salt. Gradually add this dry mixture into the butter mixture, stirring until fully incorporated. Fold in the M&Ms and chocolate chips for that pop of color and extra sweetness.
  • Spread the batter evenly into your prepared baking pan, patting it down until smooth. Sprinkle a few extra M&Ms and chocolate chips on top for a fun, bakery-style finish.
  • Bake for about 40 minutes, or until the bars are cooked through. To keep the tops from getting too brown, cover the pan loosely with foil about two-thirds of the way through baking. Let cool, slice, and enjoy!

Notes

Tip: Cover the bars with foil about two-thirds of the way through baking. This helps them bake through without the tops getting too dark before the center sets.
Make Ahead: Bake the bars up to two days in advance. Once fully cooled, leave them uncut and cover the pan tightly with foil or plastic wrap. When ready to serve, slice into squares.
Storing: Once cooled, store the cookie bars in an airtight container at room temperature for up to 5 days. Keep them uncut until ready to serve for maximum freshness.
Freezing: Wrap individual bars tightly in plastic wrap, then place in a freezer-safe bag or container. Freeze for up to 3 months. Let frozen bars sit at room temperature for about 1 hour, or warm slightly in the microwave for a soft, just-baked texture.
Reheating: These cookie bars are great at room temp, but you can microwave a single bar for 10–15 seconds if you want it warm and gooey.

Variations:

  • Swap the M&Ms: Try using regular M&Ms, peanut butter chips, or chopped peanut butter cups in place of the peanut butter M&Ms. Each one brings a different texture and flavor.
  • Try a Crunchy Addition: Stir in chopped pretzels or roasted peanuts for added crunch throughout the bars.
  • Add Different Chips: Mix and match chocolate chips – milk, dark, semi-sweet, or even butterscotch. You can also use all white chocolate chips for a lighter version.

Nutrition

Serving: 1cookie bar | Calories: 323kcal | Carbohydrates: 46g | Protein: 4g | Fat: 14g | Saturated Fat: 9g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 3g | Trans Fat: 0.3g | Cholesterol: 47mg | Sodium: 196mg | Potassium: 51mg | Fiber: 1g | Sugar: 32g | Vitamin A: 314IU | Vitamin C: 0.1mg | Calcium: 47mg | Iron: 1mg
*Nutrition provided is an estimate. It will vary based on specific ingredients used.

Short on time but love dessert?

Four simple MAKE AHEAD dessert recipes in your inbox.

Recipe FAQs

How do I keep these cookie bars from over-browning in the oven?

About two-thirds of the way through baking, loosely cover the pan with foil. This helps the center bake through without the top getting too dark.

Is it okay to use regular M&Ms instead of peanut butter M&Ms?

Yes, regular M&Ms work great too. The peanut butter M&Ms just add an extra flavor layer, but any variety you love will still taste delicious.

How do I make sure the cookie bars stay thick and chewy?

Don’t overbake them. Pull them out as soon as the center looks set and a toothpick comes out with a few moist crumbs.

How do I get clean slices?

Wait until the bars are completely cool before slicing, and use a sharp knife. Wiping the knife between cuts helps too.

5 from 1 vote (1 rating without comment)

Leave a Reply

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

Recipe Rating




One Comment

  1. Amy Rosen says:

    I understand the point of using colored peanut butter M&Ms to make a recipe. But, they’re made by Hershey’s, a company that gets its chocolate from sources that use child slave labor to harvest cocoa beans. (See the Facebook story detailing this.) They’ve pledged to be conflict free by 2020. If they keep their promise, that’s when I plan to buy Hershey’s products again. I,wish you’d do the same. In the mean time, you can get peanut butter chips from a number of sources. If there isn’t a Whole Foods or Trader Joe’s in the nearest town, you can always order them online from Amazon.