These M&M brownies are rich, fudgy and packed with colorful candy in every bite. You can bake a full pan in the oven or make them in the air fryer when you don’t want to heat up the kitchen. Both methods are below, along with the best way to add M&Ms to brownies so they don’t sink or bleed color.

M&M brownies topped with whipped cream and colorful M&Ms on a white plate
Save This Recipe Form

Want to save this recipe?

Enter your email below & I will send it straight to your inbox. Plus you’ll get more great recipes from me on occasion!

I love these for birthday parties, bake sales and lunchbox treats. Swap in holiday M&Ms and the same recipe works for Halloween, Christmas, Valentine’s Day or the Fourth of July.

Fudgy M&M brownie squares served with a dollop of whipped cream and extra M&Ms

Why You’ll Love These M&M Brownies

  • One bowl. Less cleanup, faster dessert.
  • Made from scratch with pantry staples. Butter, sugar, eggs, cocoa and flour — no special ingredients.
  • Two ways to bake. A full 8×8 pan in the oven or a smaller batch in the air fryer.
  • Candy in every bite. M&Ms are folded into the batter and pressed on top, so every square looks bakery-ready.
  • Easy to customize. Use mini, peanut, peanut butter or pretzel M&Ms, or any seasonal colors.
Homemade M&M brownies with whipped cream and mini M&Ms sprinkled on top

ngredients for M&M Brownies

This is a classic fudgy brownie base. If you ever want them plain, it’s close to my easy fudgy brownies — the M&Ms are what make this version a party.

Ingredients for M&M brownies: butter, sugar, eggs, vanilla, cocoa powder, flour, salt, baking powder and M&Ms
  • Butter: Melted butter gives the brownies a rich flavor and a shiny, crackly top. Let it cool slightly before adding the eggs.
  • Granulated sugar: Sweetens the brownies and helps create that chewy, fudgy texture.
  • Eggs: Bind the batter. Room-temperature eggs mix in more smoothly.
  • Vanilla extract: Rounds out the chocolate flavor.
  • Unsweetened cocoa powder: Natural or Dutch-process both work.
  • All-purpose flour: Just enough to hold the brownies together without making them cakey.
  • Salt and baking powder: A pinch of salt balances the sweetness; a little baking powder gives a slight lift.
  • M&Ms: Divided — some go into the batter and some go on top. Regular or mini both work.

The exact amounts are in the recipe card at the bottom of the post.

How to Add M&Ms to Brownies

The best way to add M&Ms to brownies is in two stages: fold about two-thirds of the candy into the brownie batter, then press the rest onto the top right before baking. The M&Ms inside give you candy in every bite, and the ones on top keep their bright colors.

  • Fold them in last. Add the M&Ms after the flour, using a spatula and just a few strokes. Overmixing cracks the candy shells and the colors bleed into the batter.
  • Use mini M&Ms for even distribution. Minis spread through brownie batter with M&Ms in every square and are less likely to sink. Regular M&Ms work too.
  • Press, don’t sprinkle. Gently push the topping M&Ms about halfway into the batter so they stay put and don’t roll off when you cut the brownies.
  • Keep the batter thick. If M&Ms sink to the bottom, the batter was too thin or too warm. Let the melted butter cool for a few minutes before mixing.
  • It works with a box mix too. Make any brownie mix as directed and add the M&Ms the same way. My air fryer boxed brownies post shows the time and temperature for a mix.

How to Make M&M Brownies in the Oven

Creaming butter and sugar together in a mixing bowl for M&M brownie batter

Step 1: Prep the pan. Preheat the oven to 350°F (175°C). Line an 8×8-inch metal baking pan with parchment paper, leaving some overhang on two sides so you can lift the brownies out later.

Whisking melted butter, sugar, eggs and vanilla in a bowl for brownie batter

Step 2: Mix the wet ingredients. In a large bowl, whisk the melted butter and sugar until combined. Whisk in the eggs one at a time, then the vanilla, until the mixture is glossy.

Step 3: Add the dry ingredients. Sift in the cocoa powder, flour, salt and baking powder. Stir with a spatula just until no dry streaks remain.

Folding M&Ms into fudgy brownie batter

Step 4: Fold in the M&Ms. Gently fold in about two-thirds of the M&Ms.

Step 5: Top and bake. Spread the batter evenly in the pan and press the remaining M&Ms into the top. Bake for 25 to 30 minutes, checking at 22 minutes, until a toothpick inserted in the center comes out with a few moist crumbs but no wet batter.

Step 6: Cool and cut. Let the brownies cool completely in the pan on a wire rack — at least 1 hour — so they set and slice cleanly. Lift them out with the parchment and cut into 16 squares.

M&Ms pressed into the top of brownie batter in a parchment-lined pan

How to Make M&M Brownies in the Air Fryer

The air fryer is perfect for a smaller batch or a hot summer day. Most baskets won’t fit an 8×8 pan, so you’ll bake the batter in a smaller pan, in two batches if needed.

Step 1: Preheat. Preheat the air fryer to 325°F (160°C) for 3 to 5 minutes. A lower temperature than the oven keeps the top from over-browning before the center sets.

Step 2: Prep the pan. Line a 6- or 7-inch round or square pan that fits in your basket with parchment, or grease it well. Leave room around the sides for air to circulate.

Step 3: Fill the pan. Make the batter and fold in the M&Ms exactly as in the oven method. Spread about half of the batter into the pan and press M&Ms on top.

Step 4: Air fry. Cook at 325°F for 18 to 22 minutes, checking at 18, until a toothpick comes out with moist crumbs. If the top darkens too fast, cover the pan loosely with foil for the last few minutes.

Step 5: Repeat and cool. Repeat with the remaining batter. Let the brownies cool completely before cutting.

M&M Brownies Time and Temperature

MethodPanTemperatureTimeYield
Oven8×8-inch metal pan350°F (175°C)25–30 minutes16 squares
Air fryer6- or 7-inch pan325°F (160°C)18–22 minutes per batch8 squares per batch

Air fryers vary a lot by brand and size, so always start checking early. For single servings, my air fryer brownie in a mug is ready in under 10 minutes — a few mini M&Ms stirred in are a great addition.

Baked M&M brownies cut into squares after cooling

M&M Brownie Variations

  • Mini M&Ms: The easiest swap for even candy distribution — use the same amount.
  • Peanut or peanut butter M&Ms: Add a nutty crunch. Roughly chop peanut M&Ms so they don’t weigh the batter down.
  • Pretzel M&Ms: A salty-sweet bite that pairs well with dark cocoa.
  • Holiday M&Ms: Orange and black for Halloween, red and green for Christmas, pastels for Easter, red, white and blue for the Fourth of July.
  • Brownie bites: Spoon the batter into a silicone egg-bite mold and top each with a few mini M&Ms. My air fryer brownie bites show the timing for small portions.
  • Skillet style: Bake the batter in a small cast iron pan and serve warm with ice cream, like my air fryer skillet brownies.
  • Party dessert: Bake the batter as a round and top it with frosting and extra M&Ms, the same idea as my air fryer brownie pizza.

Tips for the Best M&M Brownies

Use a sharp knife wiped clean between cuts for neat squares.

Use a metal pan in the oven. Glass heats more slowly and can leave the center underbaked; add 5 minutes if that’s all you have.

Don’t overbake. Pull the brownies when the toothpick shows moist crumbs. They keep setting as they cool.

Cool completely before cutting. Warm brownies tear and the M&Ms smear.

Pan of M&M brownies with one square cut out, showing the fudgy inside

How to Store M&M Brownies

  • Room temperature: Store in an airtight container for up to 4 days.
  • Freezer: Wrap squares individually and freeze in a freezer bag for up to 3 months. Thaw on the counter for about an hour.
  • Reheat: Warm a square in the air fryer at 300°F for 2 to 3 minutes for a gooey, fresh-baked texture.

M&M Brownies FAQ

Can I make M&M brownies in the oven instead of the air fryer? Yes. Bake them in an 8×8-inch pan at 350°F (175°C) for 25 to 30 minutes. The air fryer is a great option for smaller batches, but the oven bakes the whole recipe at once.

Why do my M&Ms sink in brownies? The batter is usually too thin or too warm. Let the melted butter cool before mixing, fold the M&Ms in at the very end, and press extra M&Ms on top instead of sprinkling them.

Do M&Ms melt when baked in brownies? The chocolate inside softens, but the candy shell mostly holds its shape. Colors can bleed if the batter is overmixed after the M&Ms go in.

Should I use mini or regular M&Ms? Mini M&Ms spread more evenly through the batter, while regular M&Ms look bolder on top. Many bakers use minis inside and regular on top.

How many M&Ms do I need for a pan of brownies? About 1 cup for an 8×8 pan: two-thirds folded in and one-third pressed on top.

Can I use boxed brownie mix? Yes. Prepare the mix as directed, fold in about two-thirds of the M&Ms, then press the rest on top and bake according to the box.

Can I make these gluten-free? Yes. Swap the all-purpose flour for a 1:1 gluten-free flour blend and check that your M&Ms are labeled gluten-free.

Can I frost M&M brownies? Yes. Let the brownies cool completely, spread on chocolate or vanilla frosting, and top with more M&Ms.

Air Fryer M&M Brownie Bars

M&M Brownies

4.58 from 7 votes
Prep Time: 10 minutes
Cook Time: 25 minutes
Cooling Time: 1 hour
Total Time: 1 hour 35 minutes
Servings: 16 Servings

Description

Fudgy homemade brownies loaded with M&Ms, baked in the oven or the air fryer.

Ingredients 

  • 1/2 cup butter, 113 g unsalted butter, melted and slightly cooled
  • 1 cup granulated sugar, 200 g
  • 2 large eggs, room temperature
  • 1 teaspoon vanilla extract
  • 1/3 cup unsweetened cocoa powder, 28 g
  • 1/2 cup all-purpose flour, 63 g
  • 1/4 teaspoon salt
  • 1/4 teaspoon baking powder
  • 1 cup M&M's, about 6 oz M&Ms or mini M&Ms, divided

Instructions

Instructions — Make the batter

  • Whisk the melted butter and sugar together in a large bowl.
  • Whisk in the eggs one at a time, then the vanilla, until glossy.
  • Sift in the cocoa powder, flour, salt and baking powder, and stir just until combined.
  • Gently fold in 2/3 cup of the M&Ms.

Instructions — Oven method

  • Preheat the oven to 350°F (175°C) and line an 8×8-inch pan with parchment.
  • Spread the batter in the pan and press the remaining 1/3 cup M&Ms into the top.
  • Bake for 25 to 30 minutes, until a toothpick in the center comes out with moist crumbs.
  • Cool completely in the pan, then lift out and cut into 16 squares.

Instructions — Air fryer method

  • Preheat the air fryer to 325°F (160°C) and line a 6- or 7-inch pan with parchment.
  • Spread half the batter in the pan and press half the remaining M&Ms on top.
  • Air fry for 18 to 22 minutes, checking at 18; tent with foil if the top browns too quickly.
  • Repeat with the remaining batter. Cool completely before cutting.

Equipment

  • 8×8-inch metal pan (oven) or 6- to 7-inch pan that fits your air fryer basket
  • Parchment Paper
  • Mixing Bowl
  • Whisk
  • Spatula

Notes

  • Mini M&Ms distribute most evenly; regular M&Ms look best on top.
  • For a shortcut, use one box of brownie mix prepared as directed and add the M&Ms the same way.
  • Store airtight for up to 4 days or freeze for up to 3 months.

Nutrition

Serving: 1ServingCalories: 192kcalCarbohydrates: 25gProtein: 2gFat: 10gSaturated Fat: 6gPolyunsaturated Fat: 0.4gMonounsaturated Fat: 2gTrans Fat: 0.3gCholesterol: 40mgSodium: 107mgPotassium: 42mgFiber: 1gSugar: 21gVitamin A: 240IUVitamin C: 0.1mgCalcium: 27mgIron: 1mg

Share this recipe

We can’t wait to see what you’ve made! Mention @forktospoon or tag #forktospoon!