
There’s something truly magical about biting into a rich, moist peanut butter cake studded with colorful M&M’s—it’s like a party in every bite! I remember those carefree afternoons as a kid, when a slice of peanut butter cake was the ultimate comfort food, bringing smiles all around the table. This M&M’s Peanut Butter Cake with Peanut Butter Frosting is a nostalgic delight that’s not only fun to make but also a guaranteed crowd-pleaser.
Whether you’re baking for a birthday, a potluck, or just because you deserve a sweet pick-me-up, this cake is surprisingly simple and quick to whip up. The creamy peanut butter frosting perfectly complements the soft cake, while the M&M’s add bursts of color and crunch. Trust me, once you try this recipe, it might become your new go-to dessert. And if you’re a fan of peanut butter desserts, you might also enjoy this easy peanut butter cup dump cake that’s just as delicious and straightforward!
Why You’ll Love M&M’s Peanut Butter Cake with Peanut Butter Frosting
- Fast: Ready in under an hour, this cake is perfect for last-minute celebrations or sweet cravings.
- Easy: No complicated techniques here! Just mix, bake, and frost.
- Giftable: Wrapped up nicely, it makes a thoughtful homemade gift for friends and family.
- Crowd-pleasing: The combination of peanut butter and colorful candies appeals to kids and adults alike.
Ingredients
Before we dive into the baking, let’s gather everything you’ll need. Most of these are pantry staples, with the M&M’s adding that fun twist!
- 1½ cups all-purpose flour – The base of our cake, providing structure and softness.
- 1 cup granulated sugar – Adds sweetness and helps with the cake’s tender crumb.
- ½ cup packed brown sugar – For a deeper, molasses-like flavor and moistness.
- ½ cup creamy peanut butter – The star ingredient, lending richness and that nutty goodness.
- ½ cup unsalted butter, softened – Adds moisture and flavor; be sure it’s soft but not melted.
- 3 large eggs – Helps bind everything together and adds richness.
- 1 tsp vanilla extract – A hint of warmth to enhance the peanut butter flavor.
- 1 cup milk – Keeps the cake moist and tender.
- 1 tsp baking powder – Helps the cake rise beautifully.
- ½ tsp baking soda – Works with the brown sugar for a perfectly light texture.
- ½ tsp salt – Balances the sweetness and intensifies the peanut butter taste.
- 1 cup M&M’s – The colorful candy adds fun and a little crunch. Reserve some for decorating on top!
How to Make M&M’s Peanut Butter Cake with Peanut Butter Frosting
Ready to bake? Follow these simple steps, and I’ll walk you through each one to make sure your cake turns out just right.
- Preheat your oven to 350°F (175°C). Grease a 9×13 inch baking pan generously with butter or non-stick spray. This ensures your cake slides out easily later.
- Cream together the butter, peanut butter, granulated sugar, and brown sugar in a large mixing bowl. Using a hand mixer or stand mixer, beat them until the mix is light, fluffy, and well combined. This step is key for a tender crumb, so don’t rush it!
- Add the eggs one at a time, mixing well after each addition. This helps the eggs incorporate fully without curdling the batter. Then stir in the vanilla extract for that lovely aroma.
- In a separate bowl, whisk together the dry ingredients: flour, baking powder, baking soda, and salt. This step ensures even distribution of the leavening agents so your cake rises evenly.
- Gradually add the dry ingredients to the wet mixture, alternating with the milk. Start and end with the dry ingredients, mixing after each addition just until smooth. Avoid overmixing here—gentle is better for a light cake.
- Gently fold in the M&M’s with a spatula. Be careful not to break them up too much; you want those colorful pops throughout the cake.
- Pour the batter into your prepared pan and smooth the surface with a spatula. It should look inviting and ready to bake!
- Bake for 25–30 minutes, or until a toothpick inserted in the center comes out clean. Ovens vary, so start checking around 25 minutes. Your kitchen will begin to smell heavenly!
- Allow the cake to cool completely in the pan on a wire rack. Patience here is golden, especially before adding the frosting.
- Spread peanut butter frosting on top evenly, then decorate with extra M&M’s for a festive finish. This frosting is the perfect creamy complement to the cake’s nuttiness.
If you’re curious about peanut butter frosting, I find it’s wonderfully easy to make from scratch using just peanut butter, butter, powdered sugar, and a splash of milk. It’s a bit like the frosting on my beloved easy peanut butter brownie pizza—rich, creamy, and utterly irresistible!
Substitutions & Additions
Don’t worry if you want to mix things up or don’t have every ingredient on hand. Here are some creative ideas and swaps to personalize your M&M’s Peanut Butter Cake:
- Flour alternatives: You can swap all-purpose flour for a gluten-free blend if needed, but make sure it’s a one-to-one substitute for best results.
- Milk substitutes: Almond milk, oat milk, or even coconut milk work beautifully if you’re dairy-free or want a subtle flavor twist.
- Crunch upgrade: Add chopped peanuts or peanut butter chips for extra texture and punch.
- Candy variations: If M&M’s aren’t your thing, try Reese’s Pieces or mini peanut butter cups for a similar vibe.
- Frosting flair: Swirl in a bit of melted chocolate or sprinkle some sea salt on top for a salty-sweet combo.
By the way, if you love exploring peanut butter desserts, you might enjoy trying your hand at some delicious no-bake peanut butter cheesecake balls. They’re just as fun to make and perfect for when you want a no-bake option!
Tips for Success
Making a cake can sometimes be intimidating, but these tips will help you nail it every time:
- Room temperature ingredients: Make sure your butter, peanut butter, and eggs are at room temp. This helps everything blend smoothly and creates a better texture.
- Don’t overmix: Once you add the flour, mix just until combined. Overmixing can make your cake dense and tough.
- Folding in M&M’s: Fold gently to prevent breaking the candies and turning your batter colorful all over.
- Check doneness early: Start poking with a toothpick at 25 minutes—overbaking dries the cake out.
- Cool completely before frosting: Frosting a warm cake will melt the frosting and create a mess.
- Prep ahead: You can bake the cake a day ahead and keep it wrapped tightly at room temperature. Frost it just before serving for the freshest taste.
And if you’re in the mood for more easy dessert ideas, check out this easy no-bake caramel pretzel bars—they’re a sweet and salty hit that your friends will rave about!
How to Store M&M’s Peanut Butter Cake with Peanut Butter Frosting
Storing your cake properly is key to keeping it fresh and delicious. Here’s how I recommend handling leftovers:
- Room temperature: If you plan to eat the cake within 1–2 days, cover it tightly with plastic wrap or keep it in an airtight container on the counter.
- Refrigeration: Because of the peanut butter frosting, it’s safe to refrigerate the cake for up to 5 days. Just make sure it’s well covered to prevent it from drying out or absorbing fridge odors.
- Freezing: You can freeze unfrosted cake layers for up to 3 months. Wrap them tightly in plastic wrap and foil. Thaw in the fridge overnight, then frost before serving for best texture.
When you’re ready to enjoy your cake again, bringing it to room temperature will revive its softness beautifully.
FAQs
Can I use crunchy peanut butter instead of creamy?
Absolutely! Crunchy peanut butter will add a bit more texture, which some people really love. Just keep in mind it might make the cake slightly denser.
Do I need to use both baking powder and baking soda?
Yes, using both helps achieve the perfect rise and texture. The baking soda reacts with the brown sugar for lift, while the baking powder provides additional leavening.
Can I make this cake gluten-free?
Yes, substitute the all-purpose flour with a good quality gluten-free flour blend. Just be sure it has xanthan gum or another binder for the best results.
What’s the best way to prevent M&M’s from sinking?
Coating the M&M’s lightly in flour before folding them into the batter helps keep them suspended throughout the cake. Also, folding gently is key!
This M&M’s Peanut Butter Cake with Peanut Butter Frosting is truly a joyous treat that blends nostalgia with simple, everyday ingredients. It’s the kind of recipe I love to pull out when I want to bring smiles to the table quickly and effortlessly. And if you’re looking for more ways to enjoy peanut butter in your desserts, don’t miss the recipes on Easily Cooked, where you can find countless comforting and creative treats.
So, tie on your apron, grab your mixing bowl, and get ready to bake a slice of happiness. Your taste buds—and your loved ones—will thank you!
Don’t forget to follow me on Pinterest for even more cozy recipes and kitchen inspiration!

M&M’s Peanut Butter Cake with Peanut Butter Frosting
Ingredients
Equipment
Method
- Step 1: Preheat oven to 350°F (175°C). Grease a 9×13 inch baking pan with butter or non-stick spray.
- Step 2: In a large mixing bowl, cream together the butter, peanut butter, granulated sugar, and brown sugar until light and fluffy using a hand or stand mixer.
- Step 3: Add the eggs one at a time, mixing well after each addition. Stir in the vanilla extract.
- Step 4: In a separate bowl, whisk together the flour, baking powder, baking soda, and salt.
- Step 5: Gradually add the dry ingredients to the wet mixture, alternating with the milk. Begin and end with the dry ingredients, mixing just until smooth.
- Step 6: Gently fold in the M&M’s with a spatula, being careful not to break them.
- Step 7: Pour batter into prepared pan and smooth the surface.
- Step 8: Bake for 25–30 minutes or until a toothpick inserted in the center comes out clean. Check doneness at 25 minutes.
- Step 9: Allow cake to cool completely in the pan on a wire rack.
- Step 10: Spread peanut butter frosting evenly over the cooled cake and decorate with reserved M&M’s.





