Cloudy Kitchen

  • recipes
    • Breads
    • Brownies
    • Cakes
    • Choux
    • Cookies
    • Doughnuts
    • Ice Cream
    • Macarons
    • Pies
    • Quickbreads
    • Small Batch Baking
    • More →
  • about
  • contact
  • products
menu icon
go to homepage
  • recipes
  • about
  • contact
  • products
  • calculators
  • subscribe
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
  • search icon
    Homepage link
    • recipes
    • about
    • contact
    • products
    • calculators
    • subscribe
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
  • ×
    Home » Recipes » Cookies » Chocolate Chip Cookies

    30 Minute M&M Cookie Bars

    By Erin Clarkson on Jul 26, 2022 (updated Dec 10, 2023)
    4.9 from 22 reviews
    27 community comments
    This post may contain affiliate links.

    Jump to Recipe

    Super easy M&M cookie bars are thick and chewy, and loaded with M&Ms and chocolate chunks. These cookie bars are all the taste and texture of a cookie, but baked into a bar!

    cookie bars on wax paper

    Hi hi! I am just jumping in to share the recipe for these M&M Cookie bars! This easy cookie bar recipe is a twist on my regular M&M cookies, with a few tweaks made, and baked into thick and chewy M&M cookie bars rather than individual cookies.

    I love making homemade cookies, especially my perfect chocolate chip cookie recipe, but sometimes you don't want to put in all the effort it takes to make cookies from scratch, but you still need to scratch that cookie itch. This is where these M&M cookie bars come in. They have all the taste and texture of an M&M cookie, but you spread the batter into a pan and the whole thing goes in the oven. No chilling required - easy M&M cookie bars in under an hour.

    If you love cookie bars make sure to also check out my chocolate chip cookie bars recipe, and my brookies recipe!

    • How to make M&M Cookie bars
    • Can cookie bars be made ahead of time?
    • How to cut cookie bars
    cookie bars with m and ms
    cookie bars on wire rack with m&ms and knife

    How to make M&M Cookie bars

    These M&M cookie bars are super easy to put together. They are made with an egg yolk cookie base, which I use in my M&M cookies and my egg yolk chocolate chip cookies. Using egg yolk gives the cookies a super chewy finish, and is a great way to use up extra yolks you may have on hand. I have a bunch of egg yolk recipes on my site if you need any extra inspiration!

    • Whip together wet ingredients. This recipe uses melted butter, so there is no need to wait for butter to come to room temperature. Combine with the brown sugar, granulated sugar, yolks, and vanilla in a large bowl. Whip until thick and lightened in colour - this step will give you that nice crinkly finish on your cookie bars.
    • Add dry ingredients. Add the flour, baking powder and salt and mix to combine - don't mix too far at this point to avoid over mixing.
    • Add mix-ins. Add the chocolate and M&M candies, and stir to incorporate. I like to do this part by hand to make sure most of the M&Ms stay intact. I use chopped chocolate, but you can use chocolate chips if you like too!
    • Press the dough into the pan. I use an 8" pan, lined with parchment paper to ensure that the cookie bars are easy to remove afterward. Press the dough into the pan, flattening down with a spatula, then using an offset spatula if you want it super smooth.
    • Bake. Bake the M&M cookie bars for 20 to 22 minutes until perfectly golden brown, then remove from the oven and leave to cool in the pan before slicing and enjoying.
    side shot of m&m cookie bars

    Can cookie bars be made ahead of time?

    These M&M cookie bars are great to make ahead of time - you can make them a day or two ahead, and store in an airtight container at room temperature until you are ready to serve. They keep for four to five days at room temperature.

    If you would like to freeze them, layer them in an airtight container with parchment paper between the layers, then freeze. Defrost at room temperature or in the fridge - defrosted cookies often benefit from a quick zap in the microwave to refresh before eating!

    If you would like to make the cookie dough ahead of time, you can press it into the baking pan, cover in plastic wrap, then place the whole thing into the fridge and bake from chilled, for warm M&M cookie bars on hand for an easy dessert!

    sliced cookie bars on wax paper
    stacked m&m cookie bars

    How to cut cookie bars

    I get asked this question often - how do you get a clean cut on your cookie bars and brownies? There are a few wee tips for getting a nice clean cut:

    • Use a sharp knife. This makes a huge difference. Using a really sharp knife for cutting things gives you a nice clean cut.
    • Wipe the blade between cuts. Having a clean blade between cuts means that you reduce the chance of crumbs.
    • Let the cookie bars cool. If you can't wait, then just go for it, it all ends up mixed up in your tummy. But if you would like a super clean cut on these M&M cookie bars, leave them to cool first before removing from the pan and slicing.

    A few more tips for cookie bars:

    • Don't overbake them. If you over bake your cookie bars, they will be slightly dry around the outside. You are better off erring on the side of underbaked and they finish off baking when you remove them from the oven.
    • To test for doneness, you can insert a toothpick into the middle of your bars - it should come out with a few crumbs. Otherwise I like to do it by touch and sight - you want to look for the edges to be puffed up slightly and the top of the bars to be set.
    • If you want that slightly crinkly top on your M&M cookie bars, make sure that you whip the butter, sugar and egg yolks together well in the first step. Having room temperature eggs will mean that they whip up nicely too.
    stacked up cookie bars

    Frequently Asked Questions

    What tools and equipment do you use?
    You can find a full list of the tools and equipment I use on my products page

    Can I add other mix-ins?
    Add whatever you like! These M&M bars would be great with nuts such as walnuts or peanuts added (toast them first), or you can use different kinds of M&M candy (the peanut butter ones would be amazing) or add in some white chocolate chips. You can also mix up the kind of chocolate you use - I used dark chocolate but milk chocolate would be delicious too.

    Can I make this recipe in a stand mixer?
    Yes you can, but I find it just as easy to use a large bowl and a whisk! You can also use an electric hand mixer.

    close up of cookie bars on wire rack
    corner of m&m cookie bars

    For more cookie and bar recipes, check out:

    • cheesecake brownies on wax paper
      Cheesecake Brownies
    • cookie on sheet pan with parchment paper
      Brown Butter Chocolate Chip Cookies
    • slice shot of peanut butter brownies
      Peanut Butter Brownie Bars
    • top down shot of brownie caramel slice
      Caramel Brownie Bars

    ❤️ Made this recipe and love it? ❤️

    I would LOVE for you to leave me a review and star rating below to let me know how you liked it! Also, please make sure to tag me on Instagram!

    Answers to your baking questions

    Over the years, many of you have asked me questions about:

    • baking in grams
    • adjusting oven temperatures
    • what kind of salt to use
    • and many more!

    I've curated and answered them all for your easy reference in this frequently asked questions post!

    Print
    clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
    cookie bars on wax paper

    30 Minute M&M Cookie Bars

    5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.9 from 22 reviews
    • Author: Erin Clarkson
    • Prep Time: 10 minutes
    • Cook Time: 25 minutes
    • Total Time: 35 minutes
    • Yield: 12 servings 1x
    • Category: Cookies
    • Method: Baking
    • Cuisine: American
    Print Recipe
    Pin Recipe

    Description

    Super easy M&M cookie bars are thick and chewy, and loaded with M&Ms and chocolate chunks. These cookie bars are all the taste and texture of a cookie, but baked into a bar!


    Ingredients

    Scale
    • 100g unsalted butter, melted and cooled (re-weigh after melting and add a little extra butter if needed)
    • 120g light or dark brown sugar
    • 45g granulated sugar
    • 2 large egg yolks, at room temperature (about 45g egg yolks)
    • 1 tsp vanilla bean paste or vanilla extract
    • 135g all-purpose flour
    • ¼ tsp baking powder
    • 2g salt (½ tsp kosher salt)
    • 180g m&ms plus a few more for the tops, optional
    • 85g dark chocolate, chopped


    Instructions

    1. Preheat the oven to 350°f / 180°c. Grease and line an 8" (20cm) non stick baking pan, leaving the parchment extending over the sides to form a sling. Secure with binder clips if desired.
    2. In a medium bowl, combine the melted butter, brown sugar, granulated sugar, egg yolks, and vanilla. Whip well with a whisk or a handheld electric mixer until the mixture has thickened and lightened in colour slightly. 
    3. Add the flour, baking powder and salt, and mix to combine with a spatula until just a few streaks remain. 
    4. Add in the m&ms and chopped chocolate and mix to incorporate with a spatula.
    5. Press the dough into the prepared pan, smoothing down with an offset spatula. Add a few extra m&ms to the top of the cookie if desired.
    6. Bake the cookie bars for 20 to 22 minutes, until the top of the cookie is golden brown and set and the edges have started to firm up slightly. If you would like the edges of your cookie bar to be crispy, bake for a little longer.
    7. Remove the cookie bars from the oven and leave to cool in the pan on a wire rack. Remove from the pan using the parchment paper sling. Cut into pieces using a sharp knife.
    8. Store cookie bars in an airtight container at room temperature for up to 3 days.

    Did you make this recipe?

    Tag @cloudykitchen on Instagram and use the hashtag #cloudykitchen

    Key Ingredients

    • Chocolate
    • Egg Yolk
    « Cheesecake Brownies
    Chocolate Chip Banana Bread »

    Filed Under: Chocolate Chip Cookies, Cookie Bars, Small Batch Baking

      Leave a comment & rating, or ask a question Cancel reply

      If you made this recipe then I would love for you to leave me a review below to let me know how you liked it! If you have recipe questions please feel free to leave them below too!

      Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

      Share your photo!Inspire others by uploading an image of your creation along with your review The maximum upload file size: 5 MB. You can upload: image. Drop files here


      Comments

    1. Caribou says

      July 28, 2022 at 6:04 am

      So good!!!!

      Reply
    2. Stacy says

      July 28, 2022 at 6:05 am

      These come together so quickly. Thank you for this recipe!,

      Reply
      • Lauren says

        August 03, 2022 at 9:38 pm

        This recipe is very simple and so quick to make - the bars turned out so well! Will definitely make again. Mine did turn out a bit saltier than I expected (not the worst thing!), which we are warned about in the notes re saltier salt, so definitely pay attention to the type of salt you are using.

        Reply
    3. Tami says

      July 28, 2022 at 2:31 pm

      I love that Erin provides the weight of the ingredients. I followed the recipe as written, preparing the butter and letting the yolks come to room temperature. I will make this recipe again ) & again)

      Reply
      • Kate says

        October 16, 2022 at 4:24 am

        Nice simple recipe, and they turned out perfectly! A hit with everyone in the house, will be a lovely lunchbox treat this week. This recipe is definitely a keeper!

        Reply
    4. Lauren says

      August 10, 2022 at 12:42 am

      I am an absolute novice baker, in fact I would call myself a pretty terrible baker. But I just made these are they turned out perfectly! My family are loving them. Thank you!

      Reply
    5. Sarah G says

      November 03, 2022 at 11:48 pm

      I made these cookie bars on Halloween and brought them to my brothers house. I topped them with the “shitty” chocolate frosting and they were a huge hit! I only had mini m&m’s not regular but they were still awesome. I love making cookies but there’s just something so simple and so much better about a cookie in bar form. My husband asked me to make them again today, 3 days after Halloween! The frosting was simple and so good. It came together in minutes. I had exactly 20g of cocoa left in my pantry so it really worked out. I will for sure be making the bars and frosting again very soon!

      Reply
    6. Sarah C says

      December 12, 2022 at 9:12 pm

      I've made these three times and every time they are consistent and amazing!

      Reply
    7. Staci says

      January 17, 2023 at 6:43 pm

      These are my new favorite, and not just because I overbought red and green M&Ms in December and will be using them well into March. Even my husband, who prefers raw cookie dough and says he is “not a bar person” (what? who is not a bar person?), devoured these. So chewy, butterscotchy, and easy (+ fast) when you need a cookie fix. Thank you, Erin!

      Reply
    8. Lilly says

      April 09, 2023 at 5:55 am

      Wanted something quick to make and tasty and this recipe did not disappoint! Thank you!

      Reply
    9. Kate says

      May 12, 2023 at 1:01 am

      Quick and easy to make when you’re craving cookies but don’t want to spend the day scooping dough and baking in batches.

      Reply
    10. Kirsty says

      December 15, 2023 at 3:23 am

      Made these, turned out great and easy ro follow recipe, thanks from Adelaide, Australia!

      Reply
    11. Emma says

      December 15, 2023 at 3:34 am

      Absolutely loved this recipe!
      Super quick and delicious. Such a great way to make cookies without the faff of rolling and shaping.

      Reply
    12. Cara says

      March 24, 2024 at 5:44 pm

      Another cloudy kitchen easy yum recipe, thanks Erin. I used Erin’s pan size converter to up this recipe so it was compatible with a 9x13 pan and baked them for just under 30 mins. I love how they are both crispy and chewy 👌🏼

      Reply
    13. Catherine says

      April 01, 2024 at 6:55 pm

      These are so delicious - made them with Cadbury mini eggs instead of M&Ms. Will definitely make again!

      Reply
    14. Torrey says

      April 02, 2024 at 11:00 am

      These are incredible! I subbed Cadbury mini eggs for the M&MS then added chopped pecans. Such a huge hit at our family Easter celebration. I love baking by weight as I know the recipe will turn out the same every time. I used the 3x scale as I was baking for a crowd. Will absolutely make these again.

      Reply
      • Erin Clarkson says

        April 02, 2024 at 4:03 pm

        Ahhh yay so happy to hear! This cookie bar recipe is one of my absolute faves 🙂 and grams for the win!

        Reply
    15. Maria says

      April 07, 2024 at 1:46 pm

      I love the pastel M&M so I had to make this when I saw it posted. Wasn't in the mood to make cookies. This was the perfect size and taste is great.

      Reply
    16. Ally says

      July 02, 2024 at 12:55 am

      Love throwing this cookie bar slice together as it’s so fast and I can substitute the m&m’s for anything I have in the cupboard. I find the yolk too rich so just weigh out whole eggs and haven’t had an issue doing so.

      Reply
    17. Hazel McGibbon says

      September 19, 2024 at 2:06 pm

      Simple recipe! So easy to follow. Turned out great. So tasty. All your recipes turn out just fab..... thank you!

      Reply
    18. Destiny says

      October 14, 2024 at 9:55 pm

      I’ve made this recipe a few times now, mostly when I can’t be bothered scooping cookies. I recently made it for my biscuit loving daughter’s 3rd birthday ‘cake’. So quick and easy to make and yum!

      Reply
    19. Beth says

      November 20, 2024 at 3:49 pm

      Great bar cookie and easy to make. I used mini M&M's because that's what I had and only 120g. Saved a few to add to the top. Husband loved them too.
      Another winner!
      Thank you

      Reply
      • Erin Clarkson says

        November 21, 2024 at 8:04 pm

        Yay I am so happy you loved!

        Reply
    20. Kheila Lopez says

      November 21, 2024 at 12:10 am

      Will the 2x measurements bake in 13×9 pan and for about how much longer do you think? Please I love all your recipes!

      Reply
      • Erin Clarkson says

        November 21, 2024 at 8:05 pm

        Hi! yep that should be about right - it will be a little thicker I think but should be fine so just check the bake time! It may need a few minutes more

        Reply
    21. Holly says

      June 27, 2025 at 12:15 am

      Lovely slice! Made exactly as per the recipe and it turned out great. My kids, however found it a bit too "chocolate-y" so made another with no chocolate added and 1/3 of the listed amount of m&m's and it was much better received. Delicious

      Reply
    22. Mikayla says

      March 07, 2026 at 11:54 pm

      Absolutely delicious and super easy! Adding these to my baking rotation 🙂

      Reply
    Erin Clarkson Cloudy Kitchen

    HI, I'M ERIN

    My recipes range from quick & easy all the way to complex & impressive. I love the science and process of recipe development almost as much as baking itself. I specialize in rigorously tested recipes that are fun, reliable, and accurate.

    More about me →

    • https://www.instagram.com/cloudykitchen/
    • Facebook
    • Pinterest
    • TikTok

    Popular

    • Christmas Macaron Box
    • close up of roll with cream cheese frosting
      10 Minute Cream Cheese Frosting for Cinnamon Rolls
    • cookie on sheet pan with parchment paper
      Brown Butter Chocolate Chip Cookies
    • burger bun on wire rack
      Homemade Burger Buns

    Footer

    Cloudy Kitchen Classics

    • Chocolate chip cookies
    • Brownie cookies
    • Chocolate cookies
    • Vanilla cookies
    • Cheesecake brownies
    • Focaccia bread
    • Ciabatta recipe

    Popular Cookie Recipes

    • Oatmeal raisin cookies
    • Peanut butter oatmeal cookies
    • White chocolate chip cookies
    • Gingersnap cookies
    • Shortbread cookies
    • Snickerdoodles cookies
    • Anzac biscuits

    Easy Breads & Buns

    • Hot cross buns
    • Sticky buns
    • Burger buns
    • Dinner rolls
    • Soft pretzels
    • Pretzel buns
    • Garlic knots

    Links

    • About
    • Contact
    • Web Stories

    Newsletter

    • Sign Up! for emails and updates

    Resources

    • FAQ
    • Policies
    • All recipes at once

    Copyright © 2026 Cloudy Kitchen

    Support by Foodie Digital