Peanut Butter M&M's Cake

By: Susan Updated on Tue, 11 Aug 2026 16:44:51 GMT Desserts

Tags: #cake #peanut-butter #mms #birthday #layer-cake

Peanut Butter M&M's Cake with frosting and colorful candy on top Pin it
Peanut Butter M&M's Cake with frosting and colorful candy on top

Peanut Butter M&M's Cake is the kind of dessert that gets quiet for a second when you set it down. The layers are soft and nutty, the candy gives little pockets of chocolate and crunch, and the frosting tastes like the inside of a peanut butter cup.

I like this as a birthday cake because it feels playful without needing complicated decorating. The main trick is simple. Chop the candy before it goes into the batter so it stays scattered through the cake instead of sinking in big pieces.

Peanut Butter M&M's Cake ingredients

This cake leans on creamy peanut butter, buttermilk, and chopped candy for its flavor and texture. Use a shelf-stable creamy peanut butter here, not the natural kind that separates, because it gives the batter a steadier structure.

Ingredients for Peanut Butter M&M's Cake arranged on a marble counter
Ingredients for Peanut Butter M&M's Cake arranged on a marble counter
  • All-purpose flour. Gives the layers enough structure to hold the candy without becoming dense.
  • Baking powder and baking soda. Lift the peanut butter batter and help it bake up soft.
  • Unsalted butter. Adds richness and lets you control the salt.
  • Creamy peanut butter. Brings the main flavor to both the cake and frosting.
  • Granulated and brown sugar. Sweeten the cake while the brown sugar adds moisture.
  • Eggs. Bind the batter and help the cake set. FoodSafety.gov advises cooking egg dishes fully and not tasting raw batter, which matters with cake batter too.
  • Buttermilk. Keeps the crumb tender and balances the sweetness.
  • Peanut Butter M&M's. Add color, chocolate, crunch, and extra peanut butter flavor.
  • Powdered sugar and cream. Turn the peanut butter frosting smooth, fluffy, and spreadable.

Bake, cool, and frost

  1. Prepare the pans. Grease two 8-inch round cake pans, line the bottoms with parchment, and heat the oven to 350°F.
  2. Mix the dry ingredients. Whisk the flour, baking powder, baking soda, and salt. Toss the chopped candy with one spoonful of that flour mixture so it scatters better in the batter.
  3. Cream the base. Beat the butter, peanut butter, and sugars until lighter and creamy. This takes about 3 minutes and helps the cake bake with a softer crumb.
  4. Add eggs and vanilla. Beat in the eggs one at a time, then add the vanilla. Scrape the bowl so no thick peanut butter streaks stay at the bottom.
  5. Finish the batter. Add the dry ingredients in three additions, alternating with the buttermilk. Fold in the chopped candy gently.
  6. Bake the layers. Divide the batter between the pans and bake until the tops spring back and a tester comes out with a few moist crumbs, about 24-28 minutes.
  7. Make the frosting. Beat butter and peanut butter until smooth, then add powdered sugar, salt, vanilla, and cream until fluffy.
  8. Assemble the cake. Frost the cooled layers, add more candy on top, and chill briefly before slicing.
Four steps for baking and frosting Peanut Butter M&M's Cake
Four steps for baking and frosting Peanut Butter M&M's Cake

Keep the crumb tender

Peanut butter makes cake taste rich, but it can also make the crumb feel tight if the batter is overmixed. Once the flour goes in, mix only until you stop seeing dry streaks. A few small lumps are better than a tough layer. Buttermilk helps by adding moisture and a little acidity, so the cake stays softer after it cools.

Do not taste the batter, even if it smells good. The FoodSafety.gov egg safety guidance notes that raw eggs can carry Salmonella. Their raw flour guidance also explains that flour is not ready to eat until cooked.

Candy that stays scattered

Peanut Butter M&M's are heavier than mini chocolate chips, so I never fold them in whole for this cake. Rough chopping is enough. You want halves and chunky pieces, not candy dust. Tossing those pieces with a little flour from the recipe helps them cling to the batter.

Save the prettiest whole candies for the top. Press them into the frosting right after spreading it so they stick. If you are making this for a party, match the candy colors to the occasion or mix in a handful of chopped peanut butter cups for a richer topping.

Frosting without the slide

Peanut butter frosting can get heavy if it is packed with sugar and under-whipped. Beat the butter and peanut butter first until they look smooth and a little lighter, then add the powdered sugar gradually. Cream loosens the frosting, but add it slowly. You want soft swoops that hold their shape.

If your kitchen is warm, frost the first layer and chill it for 10 minutes before adding the second. That short rest firms the filling just enough to keep the top layer from drifting.

Make-ahead and storage

The layers can be baked a day ahead. Cool them completely, wrap them well, and keep them at room temperature. I prefer frosting the cake the day it will be served because the candy topping keeps its brighter crunch.

Once frosted, cover the cake and refrigerate it for up to 4 days. Because the frosting contains butter and cream, refrigeration is the better choice for longer storage. Bring slices back toward room temperature before serving so the frosting tastes creamy instead of firm.

Easy swaps for parties

This recipe works well in two 9-inch pans too, but the layers will be thinner and may bake a few minutes faster. For cupcakes, fill lined cups about two-thirds full and start checking around 17 minutes. The same frosting pipes nicely once it is beaten fluffy.

If peanut allergies are a concern, this is not the cake to adapt casually because peanut butter is built into the batter and frosting. For a chocolate candy cake instead, use a vanilla or chocolate base and regular candy-coated chocolates, then choose a frosting that matches your guests' needs.

Summary

Cool the cake layers completely before frosting, then chill the assembled cake for cleaner slices. Leftovers keep best covered in the refrigerator.

Slice of Peanut Butter M&M's Cake with creamy frosting and candy pieces
Slice of Peanut Butter M&M's Cake with creamy frosting and candy pieces

FAQs

Can I use regular M&M's instead of Peanut Butter M&M's?

Yes. Regular M&M's work, but the cake will taste more like chocolate candy than peanut butter candy. If you still want a stronger peanut flavor, add two tablespoons of extra creamy peanut butter to the frosting.

Why should I chop the M&M's first?

Whole candy pieces are heavy and can sink toward the bottom of the cake layers. Roughly chopping them gives you smaller bits that spread through the crumb and make cleaner slices.

Can I make this cake ahead?

Yes. Bake the layers one day ahead, wrap them tightly, and keep them at room temperature. Frost the cake the next day, then chill it for 30 minutes before slicing if you want sharp edges.

How should I store Peanut Butter M&M's Cake?

Store the frosted cake covered in the refrigerator for up to 4 days. Let slices sit at room temperature for 20-30 minutes before serving so the frosting softens.

Can I bake this as a sheet cake?

Yes. Spread the batter in a greased 9x13-inch pan and bake at 350°F for about 30-35 minutes. Start checking early because glass, metal, and ceramic pans brown at different speeds.

Can I freeze it?

You can freeze the unfrosted layers for up to 2 months. Wrap each cooled layer in plastic wrap and foil, then thaw overnight in the refrigerator before frosting.

References

Sources cited in this recipe.
Rate this recipe

Peanut Butter M&M's Cake

Prep time:
35 min
Cook time:
28 min
Total time:
63 min
Servings:
14
Peanut Butter M&M's Cake with frosting and colorful candy on top
Print it Pin it Send it

A moist two-layer peanut butter cake packed with chopped Peanut Butter M&M's and finished with fluffy peanut butter frosting.

Ingredients

  • For the cake layers

  • For the peanut butter frosting

  • For decorating

Instructions

1.

1. Prepare the pans: Heat the oven to 350°F. Grease two 8-inch round cake pans, line the bottoms with parchment paper, and lightly grease the parchment.

2.

2. Whisk the dry ingredients: In a medium bowl, whisk the flour, baking powder, baking soda, and salt. Remove 1 tablespoon of the mixture and toss it with the chopped Peanut Butter M&M's in a separate small bowl.

3.

3. Cream the butter mixture: In a large bowl, beat the butter, peanut butter, granulated sugar, and brown sugar on medium speed until creamy and slightly lighter, about 3 minutes.

4.

4. Add eggs and vanilla: Beat in the eggs one at a time, mixing well after each addition. Beat in the vanilla, then scrape the bottom and sides of the bowl.

5.

5. Finish the batter: Add the flour mixture in three additions, alternating with the buttermilk. Mix on low just until combined, then fold in the flour-coated chopped candy.

6.

6. Bake the layers: Divide the batter evenly between the pans and smooth the tops. Bake for 24-28 minutes, until the centers spring back and a tester comes out with a few moist crumbs. Cool in the pans for 15 minutes, then turn out onto a rack to cool completely.

7.

7. Make the frosting: Beat the butter and peanut butter until smooth. Add the powdered sugar, salt, vanilla, and 4 tablespoons cream. Beat until fluffy, adding more cream 1 tablespoon at a time if needed.

8.

8. Assemble and decorate: Place one cooled cake layer on a plate and spread with frosting. Add the second layer, frost the top and sides, and decorate with Peanut Butter M&M's. Chill for 20-30 minutes before slicing if you want neater pieces.

Good to know

  1. Makes one 8-inch two-layer cake, about 14 servings.
  2. Cool the layers fully before frosting or the buttercream will soften.
  3. For the neatest slices, chill the finished cake briefly and cut with a warm knife.

Equipment

  • Two 8-inch round cake pans
  • Parchment paper
  • Electric mixer or stand mixer
  • Mixing bowls
  • Offset spatula
  • Wire cooling rack

Allergens

Always check labels if you have allergies.
  • Peanuts
  • Dairy
  • Eggs
  • Gluten
  • Soy

Nutrition facts

Values are estimates per serving.
  • Calories: 650
  • Fat: 38 g
  • Carbs: 72 g
  • Protein: 11 g