One Saturday afternoon, after a long week of work and school chaos, the kids asked if we could bake something “fun… but also chocolatey.” Those two requests don’t always go together, but I had a jar of peanut butter sitting in the pantry and a nearly full bag of M&M’s that had somehow survived multiple snack raids. Something about that moment made me want to turn the kitchen into a little weekend project, so we all rolled up our sleeves and got to baking.
As we measured the flour and cracked the eggs, the kitchen slowly shifted from a place of backpacks and stray lunchboxes into a happy mess of mixing bowls and spilled sugar. The kids took turns adding the M&M’s, giggling every time one bounced off the counter. Even my husband, who usually waits to appear until dessert is finished, wandered in to see what smelled so good as the cake layers baked and filled the house with a warm, nutty aroma.
Once the frosting came together and the cake started taking shape, the whole family circled around like we were decorating a celebration cake. The colorful M&M’s scattered across the top made it look instantly cheerful. It wasn’t just dessert; it felt like we made something together that belonged to all of us. Moments like that always remind me why I love baking on weekends, especially with recipes that turn simple ingredients into something playful and sweet.
![]()
Short Description
A moist, peanut butter packed cake layered with fluffy peanut butter frosting and topped with colorful M&M’s for a fun, festive finish.
Key Ingredients
For the Cake
- All purpose flour
- Baking powder
- Baking soda
- Salt
- Unsalted butter at room temperature
- Creamy peanut butter
- Granulated sugar
- Eggs at room temperature
- Vanilla extract
- Buttermilk
- M and Ms
For the Frosting
- Unsalted butter at room temperature
- Creamy peanut butter
- Powdered sugar
- Heavy cream
- Vanilla extract
- Extra M and Ms for topping
Tools Needed
- Two 9 inch round cake pans
- Mixing bowls
- Electric mixer
- Rubber spatula
- Cooling rack
- Whisk
- Measuring cups and spoons
- Offset spatula for frosting
Cooking Instructions
Step 1: Prepare the Cake Pans
Grease and flour two 9 inch round pans. Make sure the flour coats the entire surface so the cake releases easily. Set aside.
Step 2: Mix the Dry Ingredients
In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. This aerates the mixture and ensures even rising.
Step 3: Cream the Butter and Peanut Butter
Use an electric mixer to beat the butter and peanut butter until smooth and creamy. This creates the base texture of the cake and helps distribute the peanut flavor evenly.
Step 4: Incorporate Sugar and Eggs
Add the granulated sugar gradually until the mixture lightens in color. Add the eggs one at a time, mixing well after each addition to help the batter stay airy.
Step 5: Add Vanilla
Stir in the vanilla extract to round out the flavor.
Step 6: Alternate Dry Ingredients and Buttermilk
Add the dry mixture and buttermilk in turns, beginning and ending with the flour mixture. Mix gently to avoid overworking the batter, which can make the cake dense.
Step 7: Fold in M&M’s
Gently fold in the M&M’s with a spatula. Avoid stirring too hard or the colors may streak through the batter.
Step 8: Divide and Bake
Split the batter evenly into the prepared pans. Bake at 350°F for 25 to 30 minutes. The cake is finished when a toothpick inserted into the center comes out clean. The tops should appear lightly golden.
Step 9: Cool the Cakes
Let the cakes rest in the pans for 10 minutes before transferring them to a cooling rack. Removing them too soon may cause cracking.
Step 10: Prepare the Frosting
Beat the butter and peanut butter together until creamy. Slowly add the powdered sugar. Pour in the heavy cream and vanilla, then whip until the frosting becomes light, fluffy, and smooth.
Step 11: Assemble and Frost
Place one cake layer on a serving plate. Spread a generous layer of frosting over it. Add the second cake layer and frost the top and sides using an offset spatula for a smooth finish.
Step 12: Decorate
Scatter extra M&M’s over the top for a colorful finish.
Why You’ll Love This Recipe
Moist and rich peanut butter flavor
Bright, colorful topping that kids adore
Layers beautifully with a creamy frosting
Stays soft for days
Perfect for celebrations and casual baking alike
Great balance of sweet and nutty notes
Easy enough for beginners, fun for experienced bakers
Mistakes to Avoid & Solutions
Overmixing the batter
This can make the cake dense and tough.
Solution: Mix only until ingredients are combined.
Adding M&M’s too early
They may sink or bleed color into the batter.
Solution: Fold them in gently at the very end.
Using cold ingredients
Cold eggs or butter prevent proper creaming.
Solution: Bring all dairy and eggs to room temperature before starting.
Skipping pan preparation
The cake may stick or break apart.
Solution: Grease and flour pans thoroughly.
Frosting too thick or too thin
This makes assembly difficult.
Solution: Add powdered sugar for thickness or heavy cream for softness.
Serving and Pairing Suggestions
Serve slices at room temperature for the softest crumb.
Pair with fresh berries for a balanced sweetness.
Add a scoop of vanilla ice cream when serving as dessert.
Present on a cake stand for celebrations or parties.
Cut into squares for a family style gathering.
Enjoy with milk, cold brew coffee, or herbal tea.
Storage and Reheating Tips
Store the cake covered at room temperature for 2 days or refrigerated up to 5 days.
For longer storage, wrap slices individually and freeze up to 2 months.
Let refrigerated cake sit out for 20 minutes before serving to soften.
Avoid microwaving frosted slices because it melts the frosting unevenly.
FAQs
1. Can I use crunchy peanut butter instead?
Yes, but expect bits of peanut texture throughout the cake.
2. How can I prevent M&M’s from sinking?
Toss them lightly in flour before folding into the batter.
3. Can I bake this as a sheet cake?
Yes. Use a 9 by 13 inch pan and bake 30 to 35 minutes.
4. Can I reduce the sugar?
A small reduction works fine, but too much will affect texture.
5. Can I make the frosting ahead?
Yes. Store in the fridge up to 3 days and re whip before using.
Tips & Tricks
Sift powdered sugar for the smoothest frosting texture.
Use parchment circles inside cake pans for extra insurance against sticking.
Add a pinch of salt to frosting to balance sweetness.
For extra height, double the frosting and create thicker layers.
Press M&M’s gently into the frosting so they stay in place.
Recipe Variations
Chocolate Peanut Butter M&M’s Cake
Replace ½ cup of flour with cocoa powder.
Proceed with the recipe normally to create a more chocolate forward cake.
Peanut Butter Cup Layer Cake
Add chopped peanut butter cups between cake layers.
Use the same frosting instructions but increase frosting by 25 percent.
Monster Cookie Cake
Add mini chocolate chips and rolled oats to the batter.
Bake as directed. This gives a hearty, cookie inspired texture.
Peanut Butter M&M Snack Cake
Bake the batter in an 8 by 8 inch pan for 35 to 40 minutes.
Skip the layering and frost only the top.
This makes a casual, lunchbox friendly version.
Final Thoughts
Baking this Peanut Butter M&M’s Cake brought a bright, cheerful energy into the kitchen that felt exactly right for a weekend project. The colorful topping makes the whole dessert feel playful, and the peanut butter flavor shines through in a way that makes every slice feel satisfying. Cakes like this tend to turn into family favorites because they strike the perfect balance between festive and easy enough for ordinary days.
Sharing this recipe feels especially meaningful because it brings together simple pantry ingredients and transforms them into something joyful. Watching my kids lean over the counter waiting for their slice reminded me how small moments in the kitchen can turn into memories we hold onto. I hope this cake brings the same warmth into your kitchen that it brought into mine.
Peanut Butter M&M’s Cake
Ingredients
For the Cake
- All purpose flour
- Baking powder
- Baking soda
- Salt
- Unsalted butter at room temperature
- Creamy peanut butter
- Granulated sugar
- Eggs at room temperature
- Vanilla extract
- Buttermilk
- M and Ms
For the Frosting
- Unsalted butter at room temperature
- Creamy peanut butter
- Powdered sugar
- Heavy cream
- Vanilla extract
- Extra M and Ms for topping
Instructions
- Grease and flour two 9-inch round cake pans; set aside.
- Whisk flour, baking powder, baking soda, and salt together.
- Beat butter and peanut butter until smooth and creamy.
- Gradually add sugar, then mix in eggs one at a time.
- Stir in vanilla extract.
- Alternate adding the dry ingredients and buttermilk, beginning and ending with the dry mix.
- Gently fold in the M&M’s.
- Divide batter between pans and bake at 350°F for 25–30 minutes.
- Cool cakes 10 minutes in pans, then transfer to a rack.
- Make frosting by beating butter and peanut butter, then adding powdered sugar, cream, and vanilla.
- Assemble the cake and frost the top and sides.
- Decorate with extra M&M’s.

