When the white chocolate and condensed milk turn glossy in the saucepan, they look almost too smooth to hold cookie dough. I fold in little pieces of brown-sugar dough, and the fudge changes into something with soft, buttery bites tucked through every square. That contrast is what makes M&M Cookie Dough Fudge feel different from a standard chocolate-chip fudge: the candy shell adds a little crunch, while the cookie dough stays tender.
The flour gets baked on its own before it goes anywhere near the dough. That extra step matters here because the dough isn’t going into an oven to bake later. Once the flour has cooled, it mixes with softened butter, brown sugar, vanilla, and a little condensed milk, then gets folded into the warm white chocolate mixture. Chill the pan until firm and you have 25 easy-to-share squares with a creamy base and cookie-dough pockets.

Kitchen Note
Leave a generous parchment overhang on the 8×8-inch pan. It gives you something to grip when you lift out the firm slab, so the edges stay neat instead of getting squeezed.
Save this M&M Cookie Dough Fudge for a make-ahead treat with soft cookie-dough bites and a creamy white chocolate base.
Why This Fudge Needs Flour That’s Been Heated Separately
Cookie dough in a baked cookie gets heat in the oven; cookie dough folded into fudge does not. Flour is raw when it comes out of the bag, so it needs its own baking time before it becomes part of a no-bake filling. Spreading it across a baking sheet gives the heat access to a thin, even layer instead of leaving a cool center inside a mound.
There’s a texture reason to keep the flour step separate, too. It cools before it meets the butter, which helps the dough stay soft and easy to break into pieces rather than turning into a warm, greasy paste. The fudge base is cooked gently on the stovetop, but that does not bake the cookie dough tucked inside it. Treating the flour first lets you keep the familiar brown-sugar cookie-dough flavor in a chilled candy without relying on the fudge mixture to do a job it isn’t meant to do.
Stirring the flour halfway through its oven time helps it heat more evenly across the pan. Check it in several spots with an instant-read thermometer rather than assuming the whole sheet reaches the same temperature at once. Once it’s cooled completely, it’s ready to mix into the dough.
What Gives the Fudge Its Cookie-Dough Bite

- All-purpose flour — It gives the dough its familiar soft, slightly substantial bite. A regular all-purpose flour is fine; there’s no need for a specialty brand. The heat treatment and full cooling are more important to the result than choosing a premium bag.
- Butter and packed light brown sugar — Softened butter creams with the sugar to make the dough plush, while brown sugar brings moisture and a gentle molasses note. Use butter that yields when pressed but isn’t melted; melted butter makes the dough looser and harder to fold into distinct pieces. Dark brown sugar works in a pinch, but it brings a deeper molasses flavor.
- Sweetened condensed milk — This ingredient does two separate jobs: a small portion brings the cookie dough together, and the rest melts with the white chocolate to form the fudge. It’s thick, sweetened milk, not a substitute for plain milk. Evaporated milk won’t provide the same sweetness or concentrated body.
- White chocolate chips — These make the creamy fudge base and balance the brown-sugar dough. Use chips that you like the taste of on their own; the white chocolate is a prominent part of each piece. Keep the heat low so they melt smoothly instead of scorching.
- Mini M&M’s — Their small size spreads candy crunch and color through the slab without overwhelming the cookie-dough pieces. Mini candies are convenient straight from the bag. If you can’t find them, chopped regular M&M’s work as a replacement.
- Vanilla and salt — Vanilla rounds out the cookie-dough flavor, and salt keeps the sweet dough from tasting flat. Pure vanilla extract is lovely here, though a standard extract works just fine.
From Heat-Treated Flour to Clean-Cut Fudge Squares
Bake and Cool the Flour
Heat the oven to 350°F and line a rimmed baking sheet with parchment. Spread the flour evenly and bake it for 5–7 minutes, stirring halfway through, until it reaches at least 165°F in several spots. A thin layer should look unchanged in color; don’t wait for it to brown. Let the flour cool completely before mixing it with the butter.
Mix the Brown-Sugar Dough
Beat the softened butter and packed light brown sugar with a mixer until creamy, about 2 minutes. Mix in the vanilla and salt, then add the cooled flour and 2 tablespoons of the condensed milk. Keep the mixer on low while the dough comes together, stopping when it looks cohesive rather than continuing to beat it into a paste. The dough should hold together when pressed.
Melt the White Chocolate Gently
Put the white chocolate chips and the remaining condensed milk in a 2-quart saucepan over low heat. Stir for about 4–6 minutes, watching for the chips to melt into a smooth, glossy mixture. Don’t turn the heat up to hurry it along; white chocolate can scorch, and the mixture should not boil. Take the pan off the heat as soon as it’s smooth.
Fold, Chill, and Cut
Break the cookie dough into small pieces and fold them into the warm fudge, then fold in the mini M&M’s. Small pieces distribute more evenly than one large lump, so each square gets some dough and candy. Line an 8×8-inch pan with parchment paper, leaving an overhang, and spread the mixture evenly. Refrigerate for at least 3 hours, until firm; let it stand at room temperature for 10 minutes before lifting it out and cutting 25 pieces.
Simple Swaps That Keep the Fudge Sliceable
Make It Gluten-Free with a 1:1 Flour Blend
Use a cup-for-cup gluten-free baking flour blend in place of the all-purpose flour, choosing one intended to replace wheat flour in baking. Heat it on the lined sheet just as you would the regular flour and cool it completely. The dough may feel a little more sandy, depending on the blend, but it still folds into the fudge and gives you a gluten-free version.
Trade the Candy for Mini Chocolate Chips
Swap the mini M&M’s for an equal amount of mini chocolate chips if you want chocolate flecks instead of candy-shell crunch. The fudge will look less colorful and taste a little more chocolate-forward, but the small chips distribute easily through the dough and white chocolate base.
Storage and Serving
- Refrigerator: Store the squares in an airtight container for up to 1 week. They’ll be firmer straight from the fridge.
- Freezer: Freeze the pieces in a single layer until firm, then transfer them to an airtight freezer container for up to 2 months. Thaw in the refrigerator before serving.
- Serving: No reheating is needed; serve the fudge chilled for a firm bite or let a piece sit briefly at room temperature to soften slightly.
Questions That Come Up When Making Cookie Dough Fudge

M&M Cookie Dough Fudge
Ingredients
Equipment
Method
- Preheat the oven to 350°F.
- Line a rimmed baking sheet with parchment paper.
- Spread the flour evenly on the sheet and bake for 5–7 minutes, stirring halfway through, until it reaches at least 165°F in several spots.
- Let the flour cool completely.
- In a large bowl, beat the butter and brown sugar with a mixer until creamy, about 2 minutes.
- Mix in the vanilla and salt.
- Add the cooled flour and 2 tablespoons of the sweetened condensed milk, then mix on low until the dough comes together.
- In a 2-quart saucepan over low heat, stir the white chocolate chips and remaining sweetened condensed milk until smooth, about 4–6 minutes; do not let the mixture boil.
- Remove the saucepan from the heat and fold in the cookie dough in small pieces.
- Fold in the mini M&M's.
- Line an 8x8-inch pan with parchment paper, leaving an overhang.
- Spread the fudge evenly in the pan.
- Refrigerate for at least 3 hours, until firm.
- Let the fudge stand at room temperature for 10 minutes.
- Lift it from the pan and cut it into 25 pieces.


