These cookie dough bars are edible cookie dough filled with chocolate chips and M&M’s, then topped with more chocolate and candy. A fun and unexpected dessert that takes just minutes to put together!
Love cookie dough? Me too. These cookie dough bars are a handheld version of the classic treat. They’re great for birthday parties, after school snacks or just for when you get a cookie dough craving. Want cookie dough in a hurry? Try my cookie dough dip!
I have to admit, I think I might possibly like cookie dough better than I do the actual baked cookies! These cookie dough bars are rich, creamy and loaded with chocolate. They’re egg free so they’re safe to eat and are always a total crowd pleaser.
How do you make cookie dough bars?
These cookie dough bars are made with butter, flour, brown sugar, and sweetened condensed milk. Everything gets mixed together before miniature chocolate chips and M&M’s are folded in.
The cookie dough mixture gets pressed into a pan before it goes into the freezer to chill. I use an offset spatula to smooth out the top of my cookie dough bars so that they are even. You want your cookie dough to be completely firm before you add the chocolate topping.
I use M&M’s and chocolate chips because they’re my favorite cookie add-ins, but you can easily customize this recipe to your tastes. Other great add-in choices are
- white chocolate chips
- toffee bits
- chopped pecans
- peanut butter cups
Can you eat raw cookie dough?
Technically you should not eat raw cookie dough because it contains raw eggs and raw flour, both of which can potentially make you sick. This cookie dough bar recipe is egg free and you can bake your flour in the oven for 5 minutes to make it safe to eat.
These cookie dough bars are on the softer side, just like real cookie dough. I recommend storing them in the fridge until you’re ready to serve them. These bars also happen to freeze well!
Cookie dough bars are fairly rich, so I like to cut them into small squares. You could easily turn this into a Christmas recipe by using red and green M&M’s instead of rainbow colored and adding a handful of holiday sprinkles into the mix.
I love to serve cookie dough bars at parties, class events and for an extra special after school snack. These bars are adored by kids and adults alike!
More sweet treats
Cookie Dough Bars

Ingredients
For cookie dough:
- 1/2 cup butter softened
- 3/4 cup brown sugar
- 1/2 teaspoon vanilla extract
- 2 cups all purpose flour see note about baking flour
- 14 ounce can sweetened condensed milk
- 1 cup miniature chocolate chips
- 1 cup miniature M&M's
- cooking spray
For topping:
- 1 cup semisweet chocolate chips
- 2 tablespoons butter
- 3/4 cup miniature M&M's
Instructions
- To make the flour safe to eat, spread it out onto a baking sheet and bake at 350 degrees F for 5 minutes.
- Line an 8"x8" square pan with parchment paper or foil. Coat the parchment paper with cooking spray.
- For the cookie dough: Place the butter and brown sugar in the bowl of a mixer and beat until fluffy.
- Add the vanilla and beat for one more minute.
- Alternate between adding the flour and condensed milk, mixing on low speed until everything is combined and a dough forms.
- Stir the chocolate chips and M&M's into the dough.
- Spread the dough in an even layer in the prepared pan.
- Place the bars in the freezer for 30 minutes.
- To prepare the topping: Place the chocolate chips and butter in a bowl and microwave in 30 second increments until melted. Stir until smooth.
- Spread the chocolate evenly over the cookie dough layer. Press the M&M's into the chocolate.
- Chill the bars in the fridge for at least 2 hours. Keep chilled until ready to serve, then cut into squares and enjoy. Store any leftovers in the fridge.
Oh my goodness! I don’t want to even think about how many calories are in this LOL! But it looks delicious x
These are so much fun and so moreish too I’m sure! Will be trying this out for the family, thank you for the inspiration!
Omg my sweet tooth is craving this recipe!! Looks so delicious, I wish I could have it for super bowl tonight, lol!
My son really loves cupcakes and banana cakes. I think he will also like this one. Will try to make him some of this.
I am drooling. I can’t wait to try this recipe.
OMG best cookie dough bars ever! These look so incredible and full of color too!
These look delicious! My kids would love for me to make these for valentines day
simple recipe to try at home! it looks really delicious
i KNOW NOW WHAT I BE MAKING TOMORROW – I CANNOT WAIT TO TRY IT ๐
This not only looks delicious, but it looks fun to make too! I would love to make this sometime.
The cookie dough bars look like they require a much more complicated recipe! And as a new wife, I’m always looking for ways to impress my in-laws, lol. They sound delicious to boot.
Gosh those look so divine. My daughter loves M&M’s. She’d love these!
This recipe on Cookie Dough bars is simple, I think I can make them too! Thanks for sharing.
such a sweet and pretty idea! perfect for a party! yay! and it looks delicious too, wanna try!
I honestly don’t know how I would stop at one ๐ They look so darn delicious! YUM!
I need to make these for my friend’s Super Bowl party! They look so good.
I literally drooled reading your recipe, omg!!! I am def trying to make it this weekend, thank you so much.
Wow! These cookie dough bars look so yummy! My son would really love this.
These bars look delicious! I love that they are simple and easy to make and egg free! I could never eat cookie dough for this reason so this is perfect for me!
This looks like the recipe I use for cookie dough! I must try it with M&Ms!