Desserts
This vegan M&M cookie recipe delivers the same rich chocolatey magic you love—without a single animal product in sight. 🌱 The secret lies in a flax egg binder that creates that signature chewy texture, while vegan butter and brown sugar ensure deep, caramelized flavor with every bite.
I've perfected this recipe through countless test batches, ensuring the M&Ms stay melty and the edges achieve that coveted crispy snap.
The beauty of this recipe is its simplicity—just 10 ingredients come together in 15 minutes of prep, then bake for 12 minutes at 350°F to create cookies that look (and taste) like they came from a bakery.
The combination of dark brown sugar and vegan chocolate chips intensifies the chocolate flavor, making these cookies irresistibly decadent while keeping them plant-based. No one will believe they're vegan, especially when they see those perfect pools of melted M&M colors.
What makes these cookies truly special is their texture—crispy edges that shatter when you bite in, paired with a soft, chewy center that holds together beautifully. The flax egg creates that tender crumb while maintaining structure, and the M&Ms add bursts of color and sweetness in every bite.
These cookies stay fresh for 5 days in an airtight container, making them perfect for baking ahead and sharing with friends who might not even realize they're vegan.
Whether you're baking for a vegan gathering, testing dietary boundaries, or simply craving a classic cookie with a modern twist, this recipe delivers. The best part?
You can customize the M&M colors to match any occasion—red and green for holidays, pastel for spring, or classic brown for everyday indulgence. Let's get baking!
Ingredients for vegan m&m cookie
Ten ingredients, maximum flavor—these vegan cookies pack the same rich chocolatey punch as the classic, minus the dairy.
| Ingredient | Amount | Notes |
|---|---|---|
| Vegan Butter 🧈 | 1 cup | Cold, unsalted for texture |
| Dark Brown Sugar 🍚 | 1 cup | Packed, for caramelized flavor |
| Granulated Sugar 🍚 | ½ cup | For balanced sweetness |
| Ground Flaxseed 🌾 | 3 tbsp | Mixed with 9 tbsp water |
| Vanilla Extract 🍯 | 1 tsp | Pure, high-quality extract |
| Pure Vanilla Extract 🍯 | 1 tsp | Double strength preferred |
| All-Purpose Flour 🌾 | 2 cups | Sifted for light texture |
| Baking Soda 🧂 | ½ tsp | For crispy edges |
| Salt 🧂 | ½ tsp | Fine sea salt preferred |
| Vegan Chocolate Chips 🍫 | 1 ½ cups | Enjoy Life brand recommended |
| M&M's Candies 🍬 | 2 cups | Classic or custom colors |
The vegan butter is non-negotiable here—Miyoko's or Earth Balance are my go-tos, but any high-fat, plant-based butter works. Grab the dark brown sugar from the bulk bin if you can—it's packed with molasses flavor that makes these cookies sing. The flax egg is the secret weapon: mix the ground flaxseed with 9 tbsp water and let it sit for 5 minutes to thicken. Pro tip: Enjoy Life chocolate chips are the only brand I trust for vegan baking—they melt perfectly without seizing. For M&M's, I always go for the classic mix, but pastel or holiday colors make these cookies feel extra special.
No vegan butter? Coconut oil works in a pinch, but it adds a slight coconut flavor. Running short on chocolate chips? Chopped vegan dark chocolate bars (70% cocoa or higher) give you that same rich bite. The vanilla extract can be swapped for vanilla bean paste if you're feeling fancy—just halve the amount. For a nutty twist, add 1/2 cup chopped walnuts to the dough. And if you're worried about the cookies spreading too much, chill the dough for 30 minutes before baking—trust me on this.
These cookies stay fresh for 5 days in an airtight container, but honestly, they disappear faster than that. For extra crispy edges, bake them for 1-2 minutes longer than the recipe suggests. Freeze portions for up to 3 months—just let them come to room temperature before baking. The M&M's stay melty when baked at 350°F, but if your oven runs hot, reduce to 325°F to prevent burning. And if anyone asks? These are 100% vegan—no one will guess!
Why You'll Love This Recipe
- No Fuss Mixing: I swear by the flaxseed egg trick—just mix the ground flaxseed with water, let it sit for 5 minutes, and you’ve got a binder that works better than eggs. The dough comes together in minutes, no food processor or weird techniques.
- M&M Magic: That perfect crunchy-chewy texture? All thanks to the vegan butter and brown sugar combo. The M&Ms melt just enough to ooze through the cracks, but they still bite back with color and flavor. Honestly, I’ve never had a cookie that hits this spot-on.
- Party or Snack: These are my go-to for birthday parties, holiday gifts, or when I just want to bake something that actually gets eaten. Freeze half the batch for later, and they thaw perfectly—no weird texture changes. (Yes, even on a Tuesday night.)
- Budget Baking: I use store-brand vegan butter and bulk sugars, and the flaxseed is dirt cheap. A single batch makes 30 cookies, and they disappear fast. Between us, I’ve made these for 20 bucks and fed a crowd—no one ever complains.
Step-by-step instructions for vegan M&M cookies
Here's how to craft perfectly crisp-edged, chewy centers with melty chocolate and crunchy M&M's—every bite is a victory.
👨🍳 Step 1: Create the Flax "Egg" and Prep Wet Ingredients
In a small bowl, whisk together the 3 tablespoons ground flaxseed with 9 tablespoons water. Let it sit for 5 minutes until it thickens into a gel-like consistency—this is your vegan egg substitute. The mixture should resemble raw egg whites in viscosity.
While waiting, measure the 1 cup cold vegan butter and 1 cup packed dark brown sugar into a stand mixer fitted with the paddle attachment. Beat on medium speed for 3-4 minutes until light and fluffy. You'll see the mixture nearly double in volume and turn pale—this incorporates air for that signature cookie texture. Here's the thing—don't rush this step. Under-creaming leads to dense cookies instead of the chewy centers we want.
👨🍳 Step 2: Add Sugars and Vanilla for Depth of Flavor
Reduce the mixer speed to low and add the 0.5 cup granulated sugar and the flax "egg" mixture. Beat until fully combined, scraping down the sides of the bowl as needed. This ensures even distribution of the flax throughout the dough.
Add both 1 teaspoon vanilla extract and 1 teaspoon pure vanilla extract (the double dose guarantees that rich vanilla flavor). Mix for another 30 seconds until everything is homogenous. The combination of extracts creates a more complex, bakery-style vanilla aroma that carries through baking. Trust me—your cookies will thank you.
👨🍳 Step 3: Combine Dry Ingredients and Fold in Chocolate
In a separate bowl, whisk together the 2 cups all-purpose flour, 0.5 teaspoon baking soda, and 0.5 teaspoon salt. Sift the flour mixture directly into the wet ingredients while mixing on low speed for 30-45 seconds until just combined. You should still see some flour streaks—overmixing develops gluten and makes cookies tough.
Remove the bowl from the mixer and gently fold in the 1.5 cups vegan chocolate chips and 2 cups M&M's candies using a silicone spatula. Be careful not to overmix—just distribute the chocolate and candies evenly throughout the dough. I like to press the chocolate chips into the dough slightly so they don't all pool at the bottom when baking. This ensures each cookie has pockets of melty chocolate in every bite.
⏰ Step 4: Chill the Dough (This Changes Everything)
Cover the dough bowl with plastic wrap and refrigerate for at least 1 hour (I prefer 2 hours or even overnight). Chilling does three critical things: it solidifies the vegan butter so cookies hold their shape, allows the flour to fully hydrate for better texture, and prevents excessive spreading in the oven. Real talk—skipping this step leads to flat, crispy cookies instead of our desired thick, chewy centers with crispy edges.
While the dough chills, preheat your oven to 350°F and line two baking sheets with parchment paper. The oven needs time to reach temperature before baking—this ensures even cooking and proper browning. I like to use two sheets so I can space the cookies properly without crowding.
🔥 Step 5: Bake to Golden Perfection
Scoop the chilled dough into 2-tablespoon portions (I use a cookie scoop for uniform size) and place them 3 inches apart on the prepared baking sheets. You should have about 16 cookies total for 4 servings. Press down gently on each portion to flatten slightly—this prevents them from spreading too thin during baking.
Bake for 11-13 minutes until the edges are golden brown but the centers still look slightly underdone. They'll continue cooking on the hot pan after you remove them from the oven. Watch carefully after 10 minutes—vegan cookies can go from perfect to overdone in seconds. When you pull them out, the edges should be crispy while the centers remain soft and chewy.
Let the cookies cool on the baking sheet for 5 minutes before transferring to a wire rack to cool completely. This brief resting period helps set the texture. Serve warm for gooey chocolate and candies, or at room temperature for crispy edges. Either way, you've got a winner—crunchy, chewy, and packed with that perfect M&M crunch!
Pro Tips For Making Vegan M&M Cookie
- CREAM THE BUTTER LOW: I learned this the hard way—when vegan butter gets too warm, it separates like a sad salad dressing. Mix it with the sugars on medium-low heat (or even by hand) until it’s just smooth, not melted into a greasy puddle. You want it to look like wet sand, not soup.
- GRIND THE FLAXSEED FRESH: Store-bought ground flaxseed loses its magic after a few days. Grind your own just before mixing—it’s a 30-second job with a coffee grinder—and it’ll bind the dough better, giving those cookies a chewier center. (Yes, even if you’re impatient like me.)
- CHILL THE DOUGH LONGER: I used to skip this, but 30 minutes in the fridge isn’t enough. Give it a solid hour—or even overnight if you’re planning ahead—and the M&Ms won’t sink to the bottom like a shipwreck. The dough firms up, spreads less, and holds its shape when baking.
- USE TOASTED BROWN SUGAR: Skip the raw sugar straight from the bag—it’s too wet and gummy. Spread the dark brown sugar on a baking sheet and toast it at 300°F for 5 minutes. It’ll dry out slightly, making the cookies crispier on the edges without turning into brick. (Your future self will thank you.)
Flavor customization for this recipe
Classic Color Palettes
Stick with the original M&M colors (brown, red, yellow, green, blue) for a nostalgic treat that never goes out of style. These colors create a classic, crowd-pleasing look that works for everyday baking.
I recommend using 2 cups total of the classic mix for that perfect balance of crunch and sweetness. 🍬
Seasonal Twists
For holiday baking, swap in red and green M&Ms during Christmas or orange and black for Halloween. I love using pastel colors (pink, mint, lavender) for spring or summer gatherings—they make the cookies look extra festive. Just keep the total quantity at 2 cups to maintain the right texture.
Flavor Variations
Add white chocolate M&Ms for a sweeter, creamier bite—just replace ½ cup of the classic mix.
For a spicy kick, toss in ½ cup crushed candied jalapeños along with the M&Ms. I also love mixing in peanut butter M&Ms for a nutty twist that pairs perfectly with the chocolatey dough.
Custom Color Combinations
Create your own color scheme using M&M's in mini or fun-size bags—think blue and purple for a regal touch or rainbow colors for a playful vibe. Just measure by volume (2 cups total) rather than count, since mini M&Ms are smaller.
Pro tip: Use a cookie scoop to distribute colors evenly throughout the dough.
Texture Boosters
For extra crunch, fold in ½ cup chopped nuts (walnuts or pecans) along with the M&Ms. I also like adding 1 cup vegan white chocolate chips to create a marbled effect.
To keep the M&Ms from melting too quickly, bake at 325°F instead of 350°F for 12-14 minutes—this gives them time to soften just enough while keeping the edges crisp.
Nutrition facts
Frequently asked questions
Why does this recipe use a flax egg instead of regular eggs?
The flax egg creates the same binding properties as eggs while keeping the recipe completely plant-based. The mixture of ground flaxseed and water forms a gel that mimics egg whites, helping hold the cookies together while adding a subtle nutty depth. This is especially important for vegan baking where traditional eggs can't be used.
Can I substitute regular butter for the vegan butter?
No, regular butter contains dairy which would make these cookies non-vegan. For best results, use a high-quality vegan butter like Miyoko's or Earth Balance. If you're in a pinch, coconut oil works but may add a slight coconut flavor. Always use cold butter to prevent excessive spreading during baking.
How do I prevent the M&Ms from melting too much?
To keep M&Ms looking vibrant, bake at 325°F instead of 350°F for 12-14 minutes. This lower temperature allows them to soften slightly while maintaining their shape. Also, avoid overbaking—the cookies should have golden edges but still look slightly underdone in the center when you remove them from the oven.
What's the best way to store these cookies?
Store in an airtight container at room temperature for up to 5 days to maintain freshness. For longer storage, freeze portions for up to 3 months. Let frozen cookies come to room temperature before serving to restore their perfect texture. The airtight container helps preserve the chewy centers while keeping the edges crisp.
Can I make these cookies gluten-free?
Yes! Replace the all-purpose flour with a 1:1 gluten-free baking flour blend like Bob's Red Mill. You may need to add ½ teaspoon xanthan gum to help bind the dough. Keep all other ingredients the same, but expect slightly different texture—gluten-free cookies tend to be more crumbly. Chill the dough longer (2+ hours) to prevent spreading.
