These bars are the sort of thing I make when I want a crowd-pleaser that gets delightfully messy in all the right ways. There’s a fudgy cookie base, a pool of sweetened condensed milk, a row of peanut butter cups, and a crisp oat-M&M topping. The contrast—soft, gooey, slightly chewy—works every time.
I keep the method straightforward so you can focus on the fun parts: pressing the dough, arranging the peanut butter cups, and pressing the oat topping into place. Bake them until the top loses its gloss and the center yields only moist crumbs; they slice neater once completely cool. These are great for potlucks, bake sales, or a weekend when you want your dessert to have a little showmanship without extra fuss.
The Ingredient Lineup

Ingredients
- ½cup (113g) unsalted butter, melted — melts into the cookie base to keep it tender and fudgy.
- ½cup (100g) packed brown sugar — adds moisture and caramel notes to the base.
- ⅓cup (67g) granulated sugar — balances sweetness and helps structure the dough.
- 1 large egg — binds the base ingredients; gives richness.
- 1 teaspoon vanilla extract — lifts flavor throughout the base.
- ½ teaspoon baking soda — leavening for the cookie layer; helps spread slightly.
- ½ teaspoon salt — rounds out sweetness and enhances chocolate.
- 1 ½cups (186g) all-purpose flour — the main structure for the cookie base.
- 1 ½cups (255g) chocolate chips — embedded in the base for pockets of melty chocolate.
- 114 ounce can sweetened condensed milk — the gooey middle that caramelizes slightly as it bakes.
- 24 regular size peanut butter cups — the surprise centers; space them evenly for uniform bites.
- ½ teaspoon ground cinnamon — warms the oat topping with a subtle spice note.
- ½ teaspoon salt — salt in the topping balances the sweet layers.
- ½ teaspoon baking soda — helps the oat topping set with a slight lift.
- ¾ cups (93g) all-purpose flour — base for the oat topping’s structure.
- ½cup (113g) unsalted butter, softened — creamed in the topping to create tenderness and bind the oats.
- ¾cups (150g) packed brown sugar — sweetens and keeps the topping chewy.
- 1 large egg — adds richness and helps the topping hold together.
- ½ teaspoon vanilla extract — brightens the oat layer.
- 1 ½cups (138g) quick cooking oats — gives chew and texture to the top layer.
- ¾cup (160g) M&Ms — colorful crunch folded into the final topping.
Directions: Gooey Stuffed Cookie Bars
- Preheat oven to 350°F. Line a 9×13-inch pan with foil and spray the foil with nonstick cooking spray; set pan aside.
- Make the chocolate-chip cookie base: in a large bowl, combine ½ cup (113g) melted unsalted butter, ½ cup (100g) packed brown sugar, and ⅓ cup (67g) granulated sugar. Stir until smooth. Add 1 large egg and 1 teaspoon vanilla extract and mix until combined.
- Add ½ teaspoon baking soda and ½ teaspoon salt to the bowl, then gradually stir in 1 ½ cups (186g) all-purpose flour just until the dough comes together. Scrape the sides of the bowl as needed. Fold in 1 ½ cups (255g) chocolate chips.
- Press the chocolate-chip dough evenly into the bottom of the prepared 9×13 pan, creating a flat layer.
- Pour the sweetened condensed milk over the dough, spreading it gently and leaving a ½‑inch border around the edges. Arrange 24 regular-size peanut butter cups evenly over the sweetened condensed milk.
- Make the oat-M&M topping: in a medium bowl whisk together ½ teaspoon ground cinnamon, ½ teaspoon salt, ½ teaspoon baking soda, and ¾ cup (93g) all-purpose flour; set this dry mixture aside.
- In a separate bowl, cream ½ cup (113g) softened unsalted butter with ¾ cup (150g) packed brown sugar until smooth (about 1–2 minutes with a mixer or by hand). Add 1 large egg and ½ teaspoon vanilla extract and beat until smooth.
- Gradually add the reserved dry mixture to the creamed mixture and mix just until combined. Stir in 1 ½ cups (138g) quick-cooking oats, then fold in ¾ cup (160g) M&Ms.
- Drop spoonfuls of the oat-M&M topping over the peanut butter cups, lightly pressing some dollops to flatten and help cover the top—it’s fine if a few areas remain uncovered.
- Bake in the preheated oven for 30–38 minutes, or until the top is light golden and no longer glossy and a center test (toothpick) comes out with only moist crumbs. Cool completely in the pan on a wire rack (these slice more cleanly when cold).
- Once cool, lift the foil to remove the bars, slice, and store in an airtight container for up to 4 days or freeze for up to 3 months.
Why It’s My Go-To

I rely on this recipe when I want something that feels special but doesn’t demand hours of precision. The structure is forgiving: the cookie base holds its shape, the condensed milk creates that irresistible goo, and the peanut butter cups bring surprise pockets of flavor. Because the topping uses oats and M&Ms, it adds contrast without complicated technique.
It’s the kind of dessert people talk about—kids love the candy and adults love that the flavors are layered and balanced. Make it for a crowd and you’ll leave with an empty pan and a dozen requests for the recipe. Practical, satisfying, and a little over-the-top in the best way.
Dairy-Free/Gluten-Free Swaps

Dairy-Free Options
- Butter — swap with an equal amount of vegan stick butter for both melted and softened butter measurements. Choose a high-quality brand that behaves like butter when creamed.
- Chocolate chips, peanut butter cups, M&Ms — look for dairy-free or vegan-labeled candies. Keep in mind color coatings vary by brand and may affect flavor slightly.
- Sweetened condensed milk — use full-fat coconut condensed milk (store-bought or homemade) as a direct swap to maintain the gooey middle.
Gluten-Free Options
- All-purpose flour (both layers) — replace with a 1:1 gluten-free baking flour blend that contains xanthan gum. Use the same weights if possible for consistent texture.
- Quick-cooking oats — use certified gluten-free quick oats to avoid cross-contamination.
Combine both sets of swaps for a dairy-free, gluten-free version. Note: texture will vary slightly—gluten-free flour can make the base a touch crumblier, and oat texture will stand out more. Adjust by chilling the bars slightly before slicing.
Gear Checklist
- 9×13-inch baking pan — the recipe is scaled for this size; using a different size will change bake time and thickness.
- Aluminum foil and nonstick spray — for easy lift-out and cleaner edges.
- Mixing bowls — at least two: one for the base and one for the oat topping.
- Rubber spatula and wooden spoon — for folding thick dough and spreading layers without losing air.
- Hand mixer or stand mixer — helpful for creaming the topping but not required; you can do it by hand.
- Wire rack — to cool the pan so the bars set properly.
- Toothpick — for the center test during baking.
Troubles You Can Avoid
Underbaking is the most common issue. The middle will look glossy when underbaked; aim for a light golden top and a toothpick that comes out with moist crumbs, not raw batter. These bars firm up as they cool, so resist the urge to keep baking past the suggested window unless the center is still glossy.
Another pitfall is uneven distribution of the peanut butter cups. Arrange them in a neat grid so each slice gets an equal amount. If they’re too close to the edges, the condensed milk can bubble out during baking. Leave a half-inch border around the sides like the directions say.
If your topping slides off during baking, the base may have been too warm when you added it or the topping was too loose. Let the base chill very briefly (5–10 minutes) if your kitchen is warm, then gently press the topping in place so it adheres.
Seasonal Flavor Boosts
Swap a few things out to fit the season without changing the main steps. In fall, add ½ teaspoon ground nutmeg to the oat topping or replace M&Ms with autumn-colored candies. For winter, fold in ¼ cup chopped roasted pecans to the topping and sprinkle flaky sea salt over the warm bars as they cool.
Spring and summer call for brighter notes: swap peanut butter cups for mini caramel cups or replace half the M&Ms with chopped freeze-dried strawberries to add tang. You can also stir 1 teaspoon orange zest into the cookie base for a fresh citrus lift that pairs surprisingly well with chocolate and peanut butter.
Pro Tips & Notes
- Weigh ingredients — when possible, use the gram weights provided for more consistent results, especially for flour and chocolate chips.
- Room temperature eggs — they incorporate more evenly; if you forgot to bring them out, place eggs in warm (not hot) water for a few minutes.
- Even spreading — tamp the cookie base with a piece of parchment or an offset spatula for a smooth layer that bakes evenly.
- Peanut butter cup placement — press them just slightly into the condensed milk so they stay put but don’t submerge them completely.
- Topping application — drop by spoonfuls and press gently; it will merge as it bakes and you want some exposed goo to show through.
- Cooling — cool fully in the pan, at least an hour, preferably longer. Refrigerate for faster firming if you’re short on time, but slice with a warm knife for cleaner cuts after chilling.
Prep Ahead & Store
These bars freeze beautifully. Once cooled and sliced, layer them in an airtight container separated by parchment and freeze for up to 3 months. Thaw in the refrigerator or at room temperature. For short-term storage, keep them in an airtight container at room temperature for up to 4 days—they retain chew and flavor best that way.
If you want to prep earlier in the day, assemble through step 9 and cover the pan with plastic wrap; bake within a few hours. I don’t recommend assembling and sitting overnight because the condensed milk can shift and the topping may soften excessively.
Quick Questions
Will the condensed milk burn? Not if you leave the ½‑inch border around the edges and bake until the top is golden but not overly browned. The condensed milk mainly caramelizes under the topping and between the peanut butter cups.
Can I use natural peanut butter cups or homemade cups? Yes—any regular-size peanut butter cups work. If they’re larger or smaller than standard, adjust spacing so each piece has one cup.
What if my topping is too crumbly? A little more egg or an extra minute of creaming the butter and sugar will help bind it. But don’t overmix once you add the oats—mix until just combined.
Make It Tonight
If you’re ready to make these tonight, preheat the oven and gather ingredients first. The recipe moves quickly once you start: the two doughs take about 20 minutes to assemble, and the bake time is 30–38 minutes. Cool fully, slice, and serve. Trust the toothpick test and give them a proper cool-down; the wait makes cutting worth it.
These Gooey Stuffed Cookie Bars hold up well at room temperature and travel fine for a gathering. Bring a spatula and expect to be asked for the recipe more than once.

Gooey Stuffed Cookie Bars
Ingredients
Ingredients
- 1/2 cup 113 gunsalted butter, melted
- 1/2 cup 100 gpacked brown sugar
- 1/3 cup 67 ggranulated sugar
- 1 large egg
- 1 teaspoonvanilla extract
- 1/2 teaspoonbaking soda
- 1/2 teaspoonsalt
- 1 1/2 cups 186 gall-purpose flour
- 1 1/2 cups 255 gchocolate chips
- 114 ouncecan sweetened condensed milk
- 24 regular size peanut butter cups
- 1/2 teaspoonground cinnamon
- 1/2 teaspoonsalt
- 1/2 teaspoonbaking soda
- 3/4 cups 93 gall-purpose flour
- 1/2 cup 113 gunsalted butter, softened
- 3/4 cups 150 gpacked brown sugar
- 1 large egg
- 1/2 teaspoonvanilla extract
- 1 1/2 cups 138 gquick cooking oats
- 3/4 cup 160 gM&Ms
Instructions
Instructions
- Preheat oven to 350°F. Line a 9×13-inch pan with foil and spray the foil with nonstick cooking spray; set pan aside.
- Make the chocolate-chip cookie base: in a large bowl, combine ½ cup (113g) melted unsalted butter, ½ cup (100g) packed brown sugar, and ⅓ cup (67g) granulated sugar. Stir until smooth. Add 1 large egg and 1 teaspoon vanilla extract and mix until combined.
- Add ½ teaspoon baking soda and ½ teaspoon salt to the bowl, then gradually stir in 1 ½ cups (186g) all-purpose flour just until the dough comes together. Scrape the sides of the bowl as needed. Fold in 1 ½ cups (255g) chocolate chips.
- Press the chocolate-chip dough evenly into the bottom of the prepared 9×13 pan, creating a flat layer.
- Pour the sweetened condensed milk over the dough, spreading it gently and leaving a ½‑inch border around the edges. Arrange 24 regular-size peanut butter cups evenly over the sweetened condensed milk.
- Make the oat-M&M topping: in a medium bowl whisk together ½ teaspoon ground cinnamon, ½ teaspoon salt, ½ teaspoon baking soda, and ¾ cup (93g) all-purpose flour; set this dry mixture aside.
- In a separate bowl, cream ½ cup (113g) softened unsalted butter with ¾ cup (150g) packed brown sugar until smooth (about 1–2 minutes with a mixer or by hand). Add 1 large egg and ½ teaspoon vanilla extract and beat until smooth.
- Gradually add the reserved dry mixture to the creamed mixture and mix just until combined. Stir in 1 ½ cups (138g) quick-cooking oats, then fold in ¾ cup (160g) M&Ms.
- Drop spoonfuls of the oat-M&M topping over the peanut butter cups, lightly pressing some dollops to flatten and help cover the top—it’s fine if a few areas remain uncovered.
- Bake in the preheated oven for 30–38 minutes, or until the top is light golden and no longer glossy and a center test (toothpick) comes out with only moist crumbs. Cool completely in the pan on a wire rack (these slice more cleanly when cold).
- Once cool, lift the foil to remove the bars, slice, and store in an airtight container for up to 4 days or freeze for up to 3 months.
Equipment
- 9x13-inch pan
- Foil
- Nonstick Cooking Spray
- Mixing bowls
- mixer (optional)
- Spatula
- Wire Rack
