Thick and Chewy M&M Cake

LAST UPDATED: Feb 04, 2020 | PUBLISHED: Feb 06, 2019 | By:

This M&M Cake recipe has the ultimate twist – and is thick, chewy, buttery and undeniably delicious! One bite of this M and M Cake and you’ll never purchase from the store again – it’s a cookie cake that will take you straight back to your childhood! 

thick chewy M&M birthday cake in heart shaped pan on a white surface.

I take birthday cakes seriously, but after years of cake tasting during my event planning career, I rarely make a traditional cake.

Our middle kiddo, Ani, always requests and M&M Birthday Cake…when you take a bite, you’ll be requesting it for your birthday, Mother’s Day, Valentine’s Day or the average Saturday just as an excuse!

This is one of my go-to desserts because it’s easy and always such a crowd-pleaser. Who doesn’t love M&M Cake?

We love all kinds of cookie cakes in our house! You can find all of my cookie cake recipes here including classic chocolate chip cookie cake and an incredible sugar cookie cake!

This pretty M&M cake is even sweeter in a heart shaped dish, but you can make on any baking sheet with a lip, pizza pan (without holes), pie dish or tart pan! It’s your choice! However you do it, I can’t wait to hear what you think! Don’t forget to leave a five star review in the comments below.

m and m cake in heart dish on a white marble surface, linen towel to the side.

I like to give a lot of detail in my recipe posts to guide readers through any questions. If you’re just here for the printable recipe, feel free to click “jump to recipe” right under the title of this post and you’ll head straight there! 

An Unforgettable M&M Cake

Cookie cake was my top request as a child. In fact, I often prefer it over cookies because of its soft and chewy texture. My mom always made it in a pizza pan for a larger, thinner cake, which is also delicious! The thinner it is, the shorter the baking time.

This M&M cake recipe takes just 10 minutes hands-on time and doesn’t need any decoration. What could be cuter and more festive than this? 

The best part is, you can make this M&M Cake in about 10 minutes hands-on time with staple ingredients! If you’re always in a pinch like me, you’ll appreciate this!

White surface with a heart shaped cookie pan containing an m and m cake.

BUT. This is no ordinary M and M Cake. A secret twist makes it out of this world. I make it with my favorite little baking secret, brown butter. One extra step makes this cake stand above the rest. It takes just a few extra minutes and it puts the cake recipe over the edge.

This is not your average sugar cookie dough! Brown butter adds a caramelized flavor to the dough that makes it irresistible. The additional flavor and texture eliminates the need to add frosting on top, though I’ll never judge if you decide to pipe it or smother it in real milk chocolate buttercream!

M&M Cookie Cake Ingredients

  • Butter
  • White Sugar
  • Brown Sugar
  • Vanilla Extract – Learn how to make your own, it’s so easy! 
  • Eggs
  • Baking Soda
  • Baking Powder 
  • Salt
  • Flour 
  • M&Ms

An M and M cake in a heart shaped deep dish baking pan on a white surface.

How to Make M&M Birthday Cake (or for ANY Occasion!)

  1. Preheat oven to 350 degrees.
  2. Brown Butter (visit the link for a full tutorial with video). Allow butter to cool for 5 minutes.
  3. Meanwhile, combine sugar, brown sugar and vanilla in a mixing bowl with an electric mixer.
  4. Blend butter in, followed by eggs.
  5. Grease baking dish. Scoop dough into dish just over halfway careful to compensate for rise. For a smooth appearance, cover with wax paper and smooth your your hands or a spatula.
  6. Press a few M&M’s on top for added measure. It makes the prettiest M&M Birthday Cake!
  7. Bake in preheated oven for 15+ minutes (depending on the depth of your pan).
  8. Combine baking soda, salt and flour. Gradually add the flour mixture incorporate into the wet mixture.

The next time you think to go to the store for a cookie cake, you may want to reconsider. There’s no comparison!

White surface with a heart shaped cookie pan containing an m&m birthday cake ready to be baked.

Tips For The Best M&M Cake

  • Don’t over-mix! I stress this in every recipe, but it’s true. That’s how you achieve the out of this world texture and thickness!
  • Allow the brown butter to cool a few minutes. You don’t want to fry the egg (insert horror face). I promise, it’s simple.
  • Adjust baking time based on the size and thickness of your pan. The thinner the cookie cake, the less time you’ll bake.

White surface with a heart shaped cookie pan containing an M&M birthday cake.

Questions and Answers About This M and M Cake

  • Melissa says: “This looks amazing! Where did you find the heart shaped pan? I’m having trouble locating one. Thanks so much! This adorable heart shaped tart dish is finally available again! I’m so excited about that. You can also halve the recipe and use this darling heart pie dish instead, or any of your favorite baking pans.
  • Carlos asks: Do you pour the browned butter into the mix while it’s still hot? Or wait? Great question! I prefer to let it sit and cool completely, or at least until it’s closer to room temperature. This way there’s no risk of curdling your eggs when you mix them into the dough! 
  • Becky asks: Can I add the M&M’s after baking? Or is it best to add them before? I don’t mind a few cracks in my m&ms, I think they add to the charm of this sweet cookie cake. Furthermore, you’ll want them inside the dough, too, to add to the flavor and texture throughout. It should be full of chocolate! 

White surface with a heart shaped cookie pan containing an M&M birthday cake.

More M and M Cake Ideas

Of course you can add frosting on top of M and M Cake for extra credit, but it’s not needed. It’s simply amazing as is! You could also let it cool completely, but I dare you to try it 10 minutes out of the oven! It makes one crazy good, crazy thick cake layer. If you prefer, divide into two smaller dishes.

Finally, if you’re a chocolate chip lover, go ahead and blend in a few milk chocolate chips! For us, the milk chocolate in the candy shell is just the perfect mix.

This recipe was adapted from my M&M Cookies! You’ll also love this printable measurement conversion chart that makes your baking so easy.

Cookie Cakes (aka Cookie Pies)

Thick, chewy cookie cake recipes that are easier than baking a batch of cookies! A flavor for every person and every season!

thick chewy m&m cake in heart shaped dish

M&M Cake

Julie Blanner
This M&M Cake has the ultimate twist - and is thick, chewy, buttery and undeniably delicious! M and M Cake is fun for every occasion including birthdays, Valentine's Day, Mother's Day and so much more!
5 from 6 votes
Prep Time 10 mins
Cook Time 15 mins
Total Time 25 mins
Course Dessert
Cuisine American
Servings 24
Calories 255 kcal


  • 1 c butter
  • 3/4 c sugar
  • 1 c brown sugar lightly packed
  • 1 Tbsp vanilla
  • 2 eggs
  • 1 tsp baking soda
  • 1/2 tsp baking powder
  • 1/4 tsp salt
  • 3 c flour
  • 1 c M&Ms


  • sea salt cracked
  • 1/2 c M&Ms


  • Preheat oven to 350 degrees.
  • In a saucepan over medium heat, melt butter. Swirl until brown in color and it has a nutty aroma. Remove from heat.
  • Meanwhile, combine sugar, brown sugar, and vanilla in a mixing bowl. Mix in brown butter.
  • Gently blend in eggs, careful not to overmix.
  • Sprinkle baking soda, baking powder, salt and flour over mixture and fold until combined.
  • Allow batter to cool slightly and fold in M&Ms. 
  • Scoop dough into greased baking dish or pan until just over half full.
  • Press M&M's into the top of the cake and bake 15 - 20 minutes or until golden brown, depending how thick your cake is.


For perfect M&M's you can press them in IMMEDIATELY after baking, I put them in before, but don't mind a few cracks.


Calories:255kcalCarbohydrates:36gProtein:2gFat:11gSaturated Fat:6gCholesterol:35mgSodium:161mgPotassium:46mgSugar:23gVitamin A:285IUVitamin C:0.1mgCalcium:34mgIron:1mg
Did you Make This Recipe?Mention @JulieBlanner
Shop this Easy Recipe

[show_shopthepost_widget id=”3467521″]


mini loaves of bread gift wrapped