Thick, chewy monster cookie bars packed with creamy peanut butter, old-fashioned oats, chocolate chunks, and colorful M&Ms. Golden edges and soft centers make these easy one-pan bars perfect for sharing.
Prepare the oven and baking pan. Preheat the oven to 350°F (175°C). Line a 9 × 13-inch baking pan with parchment paper, leaving some overhang on two sides so you can lift out the finished bars.
Cream the butter, sugars, and peanut butter. Add the softened unsalted butter, firmly packed light brown sugar, granulated sugar, creamy peanut butter, and vanilla extract to a stand mixer fitted with the paddle attachment. A large bowl and hand mixer will also work. Beat until the mixture is light and fluffy. If the butter isn't creaming smoothly, beat the butter and sugars together briefly before adding the peanut butter and vanilla. Scrape the sides and bottom of the bowl to ensure everything is evenly mixed.
Add the egg and yolk. Add the room-temperature whole egg and additional egg yolk. Beat for another 1–2 minutes, until thoroughly incorporated and fluffy. Scrape the bowl as needed.
Combine the dry ingredients. In a separate bowl, whisk together the all-purpose flour, old-fashioned oats, baking soda, and sea salt until evenly combined.
Mix the cookie dough. Add the dry ingredients to the butter mixture. Mix gently just until the flour is incorporated and no dry streaks remain. You can finish mixing by hand with a rubber spatula to avoid overmixing.
Fold in the candy and chocolate. Add the semisweet chocolate chunks and M&Ms, gently folding until they're evenly distributed throughout the dough. You can reserve a few M&Ms to press onto the top of the bars before baking if you'd like them to be more visible.
Fill the baking pan. Transfer the cookie dough to the prepared 9 × 13-inch pan. Spread and press it evenly into the corners so the bars have a consistent thickness. Press any reserved M&Ms onto the top.
Bake the cookie bars. Bake for approximately 20 minutes, or until the edges are golden brown and the middle looks puffed and set. The center may be slightly paler and softer than the edges, but it shouldn't appear shiny or raw. If the edges begin browning too quickly while the middle is still underbaked, loosely tent the pan with foil and continue baking in short intervals. Don't rely on a clean toothpick if it comes into contact with melted chocolate.
Cool the bars. Remove the pan from the oven and allow the bars to cool in the pan before lifting them out. They will continue setting as they cool. For neat squares, especially if you're making cookie boxes, allow them to cool completely before slicing.
Slice and serve. Use the parchment overhang to lift the cooled bars out of the pan. Cut into approximately 20 bars, or your preferred size.
Notes
Use creamy, no-stir peanut butter. I recommend a smooth peanut butter such as Jif. Natural peanut butter that separates can change the oil balance, affecting how the bars bake and set.
Use old-fashioned rolled oats. These provide the characteristic chewy texture. Quick oats are an alternative for a softer oat texture, but I don't recommend instant oatmeal packets.
Use softened butter and room-temperature eggs. They mix more evenly with the peanut butter and sugars.
Cream until light and fluffy. If the butter isn't mixing smoothly, start by creaming the butter and sugars before adding the peanut butter and vanilla.
Use one egg plus an additional yolk. The extra yolk helps keep the bars tender and chewy.
Mix gently once the flour is added. Stop when the dry ingredients are just incorporated, then fold in the chocolate chunks and M&Ms.
Use a 9 × 13-inch baking pan. Spread the dough evenly into the corners. A smaller pan will produce thicker bars and require a different baking time.
Look for golden edges and a puffed, set center. The middle may look slightly paler than the edges but shouldn't be shiny or raw. The bars will continue setting as they cool.
Cool before cutting. You can slice slightly warm bars for a softer, messier treat, but cool them completely for neatly cut squares.
Make-ahead dough: Cover and refrigerate the prepared dough for up to 3 days. Allow chilled dough to soften enough to press evenly into the pan before baking.
Storage: Store cooled bars in an airtight container at room temperature for up to 4 days for the best texture.
Freezing: Freeze fully cooled, sliced bars in an airtight freezer-safe container for up to 3 months, separating layers with parchment paper. Thaw covered at room temperature.
Alternative cookie version: You can also portion this dough into individual cookies using a 2-ounce cookie scoop. Allow them to chill at least 30 mins after portioning. Space them 2-inches apart and bake for approximately 12–15 minutes.