There is something utterly magical about the M&M’S Peanut Butter Cake with Peanut Butter Frosting Recipe that has captured my heart and taste buds. This cake is not just any dessert—it’s a joyful celebration of peanut butter richness combined with the playful crunch and burst of color from Peanut Butter M&M’S scattered throughout. Imagine biting into a moist, fluffy peanut butter-flavored cake layered and crowned with velvety, creamy peanut butter frosting that’s generously studded with those iconic candy-coated bites. It’s the perfect crowd-pleaser for parties, special occasions, or simply treating yourself to a slice of happiness.

Ingredients You’ll Need
The beauty of this M&M’S Peanut Butter Cake with Peanut Butter Frosting Recipe lies in its simple yet essential ingredients that truly elevate the flavor and texture. Each component plays a vital role, whether it’s creating the perfect crumb, adding creaminess, or injecting that signature peanut butter charm.
- 1 cup butter, room temperature: Provides richness and tenderness to the cake crumb.
- 1 cup sugar: Sweetens the cake and helps achieve that delightful crust.
- 1 teaspoon vanilla extract: Enhances overall flavor with a sweet aromatic note.
- 3 eggs: Bind all ingredients together and add moisture.
- 1 cup vanilla yogurt, drained: Adds tang and moisture, keeping the cake soft.
- 2 cups all-purpose flour: Forms the cake’s structure—choose carefully for that perfect crumb.
- 2 teaspoons baking powder: Leavens the cake for a lovely rise and lightness.
- Pinch of salt: Balances sweetness and accentuates flavors.
- 3/4 cup Peanut Butter M&M’S, roughly chopped: Adds vibrant color, fun texture, and a peanut buttery crunch.
- 1 cup butter, room temperature (for frosting): Creates the creamy base for the luscious frosting.
- 2 cups creamy peanut butter: The star ingredient that delivers deep peanut flavor in the frosting.
- 5 cups powdered sugar: Sweetens the frosting and gives it a smooth texture.
- 1/4 cup heavy cream (optional): Whipped into the frosting for a lighter, fluffier consistency.
How to Make M&M’S Peanut Butter Cake with Peanut Butter Frosting Recipe
Step 1: Prepping Your Pans
Start by preheating your oven to 350°F (175°C). Make sure to grease and line two 9-inch round baking pans with parchment paper. This simple step ensures your cake layers come out clean, and the parchment prevents any sticking. Set these pans aside while you mix the batter.
Step 2: Creaming Butter and Sugar
In a mixing bowl, combine the room temperature butter and sugar. Using a paddle attachment, beat them on low speed for about 3 minutes until the mixture becomes light, fluffy, and creamy. This process incorporates air, which is essential for a soft cake texture.
Step 3: Adding Vanilla and Eggs
Next, blend in the vanilla extract for its warm, sweet aroma. Then, add eggs one at a time, beating well after each addition. This ensures your batter remains smooth and emulsified, setting the stage for a perfect cake base.
Step 4: Incorporating Yogurt and Dry Ingredients
Beat in the drained vanilla yogurt, which introduces moisture and a subtle tartness. Gradually add the flour, baking powder, and a pinch of salt in small batches. Mix gently, just until combined, to avoid developing too much gluten which could make the cake tough.
Step 5: Folding in Peanut Butter M&M’S
Gently fold the roughly chopped Peanut Butter M&M’S into the batter using a spatula. These colorful candies will add surprise bursts of crunch and flavor throughout the cake. Be careful not to over-mix to keep the M&M’S intact.
Step 6: Baking the Cake Layers
Divide the batter evenly between the two prepared pans. Pop them into the oven and bake for 22 to 25 minutes. The cake is ready when a toothpick inserted into the center comes out clean. Timing is key here—don’t overbake or the cake will dry out.
Step 7: Cooling the Cakes
Once the cakes are baked, remove them from the oven and let them cool completely in the pans placed on a wire rack. Cooling inside the pans helps the layers hold their shape and makes handling easier when frosting.
Step 8: Making the Peanut Butter Frosting
While the cakes cool, beat together the softened butter and creamy peanut butter until smooth using a paddle attachment. This creamy base is rich, luscious, and perfectly balanced between salty and sweet.
Step 9: Sweetening the Frosting
Gradually incorporate the powdered sugar, adding it 1/2 cup at a time and beating gently after each addition. This slow integration helps avoid a dusty cloud and results in a thick, silky frosting.
Step 10: Whipping in Heavy Cream for Fluffiness
If you want a lighter frosting, add 1/4 cup heavy cream and switch to a whisk attachment. Whip on low speed, increasing gradually and continuing for 5 minutes until it’s airy and fluffy. This step takes your frosting to the next level of indulgence.
Step 11: Assembling the Cake – First Layer
Place one cake layer on your serving platter. If you have a cake ring, fit it snugly around this base layer to keep your frosting neat. Spread half of the frosting evenly over the surface, creating a delicious, creamy blanket.
Step 12: Adding the Second Layer and Frosting
Gently add the second cake layer on top, pressing just slightly to make them stick together. Then spread the remaining frosting over the top of the cake. If you’re using a cake ring, tighten it as necessary to keep the sides clean.
Step 13: Decorating with More Peanut Butter M&M’S
Finish off your masterpiece by sprinkling extra Peanut Butter M&M’S, or even a mix with regular Peanut M&M’S, over the top. This bright, colorful decoration adds visual excitement and an extra pop of peanut buttery goodness.
Step 14: Chilling Before Serving
Refrigerate the assembled cake for at least 2 to 3 hours to let the frosting set firmly. When ready, carefully remove the cake ring if used, slice, and revel in every decadent bite of this joyful dessert.
How to Serve M&M’S Peanut Butter Cake with Peanut Butter Frosting Recipe

Garnishes
To highlight the joyful spirit of the cake, top it with extra Peanut Butter M&M’S or even crushed peanuts for added crunch. A light dusting of cocoa or a drizzle of melted peanut butter can also create a stunning contrast to the frosting’s pale hue.
Side Dishes
This cake pairs wonderfully with a simple scoop of vanilla ice cream or a dollop of whipped cream to balance the richness. For a more sophisticated pairing, try fresh berries or a tangy berry compote to cut through the peanut butter’s indulgence.
Creative Ways to Present
Try serving individual slices on colorful plates with a sprinkle of chopped Peanut Butter M&M’S around the rim for an extra festive touch. Alternatively, cut the cake into petit fours, topping each with a single peanut butter candy for party-friendly servings sure to impress guests.
Make Ahead and Storage
Storing Leftovers
Once frosted and chilled, this cake keeps beautifully covered in the refrigerator for up to 4 days. Make sure it’s in an airtight container or wrapped well with plastic wrap to prevent drying out or absorbing other fridge odors.
Freezing
You can freeze this cake either before frosting or after assembly. Wrap the cooled layers or frosted cake tightly in plastic wrap and then foil. Freeze for up to 2 months. Thaw overnight in the refrigerator for best texture.
Reheating
Since this is a frosted cake, it’s best enjoyed chilled or at room temperature. Remove from the fridge about 30 minutes before serving to let the frosting soften slightly for a more luxurious mouthfeel. Avoid microwaving as it may melt the frosting unevenly.
FAQs
Can I use crunchy peanut butter instead of creamy in the frosting?
Absolutely! Using crunchy peanut butter will add a delightful texture to the frosting, giving you little pockets of peanut crunch. Just be aware it might make spreading the frosting a bit more rustic.
What can I substitute for the vanilla yogurt?
If you don’t have vanilla yogurt on hand, sour cream or buttermilk can work well as substitutes since they provide moisture and tanginess to keep the cake tender.
Is it necessary to drain the yogurt?
Yes, draining the yogurt removes excess liquid which could otherwise make the batter too wet, affecting the cake’s texture. Simply let it drain in a cheesecloth or fine mesh sieve in the fridge for a couple of hours.
Can I make this cake in one pan instead of two?
While you could bake the batter in one pan, dividing it into two layers is integral to the classic look and allows for a generous frosting layer in between. Baking one thicker cake will require longer baking time and may affect the crumb.
Why do you recommend chilling the cake before serving?
Chilling helps the peanut butter frosting set nicely, giving you cleaner slices and a sturdy cake. It also melds the flavors beautifully, making each bite as delightful as possible.
Final Thoughts
I cannot recommend enough trying the M&M’S Peanut Butter Cake with Peanut Butter Frosting Recipe for your next celebration or just because. It’s a heartwarming treat that brings together nostalgic candy fun and rich, comforting peanut butter in every bite. Once you make this cake, it might just become your go-to for happy moments and sweet memories. Give it a whirl and watch smiles light up the room!
Print
M&M’S Peanut Butter Cake with Peanut Butter Frosting Recipe
- Prep Time: 40 minutes
- Cook Time: 25 minutes
- Total Time: 1 hour 5 minutes
- Yield: 12-16 servings
- Category: Dessert
- Method: Baking
- Cuisine: American
Description
This M&M’S Peanut Butter Cake is a deliciously moist and fluffy dessert bursting with peanut butter flavor and fun bits of Peanut Butter M&M’S. Topped with a creamy peanut butter frosting and decorated with additional M&M’S, it’s an irresistible treat perfect for parties or special occasions.
Ingredients
Cake
- 1 cup butter, room temperature
- 1 cup sugar
- 1 teaspoon vanilla extract
- 3 eggs
- 1 cup vanilla yogurt, drained for a couple of hours in the fridge
- 2 cups all-purpose flour
- 2 teaspoons baking powder
- Pinch of salt
- 3/4 cup Peanut Butter M&M’S, roughly chopped
Peanut Butter Frosting
- 1 cup butter, room temperature
- 2 cups creamy peanut butter
- 5 cups powdered sugar
- 1/4 cup heavy cream (optional, see notes)
Instructions
- Prepare the Oven and Pans: Heat the oven to 350°F (175°C). Grease and line two 9-inch round baking pans with parchment paper. Set aside.
- Cream Butter and Sugar: In a mixing bowl, add the butter and sugar. Using a paddle attachment, beat on low speed until light and creamy, about 3 minutes.
- Add Vanilla and Eggs: Blend in vanilla extract. Add eggs one at a time, beating well after each addition to create a smooth batter.
- Add Yogurt and Dry Ingredients: Beat in the drained vanilla yogurt. Gradually add flour, baking powder, and salt in batches, mixing just until combined to avoid over-mixing.
- Fold in M&M’S: Using a spatula, gently fold in roughly chopped Peanut Butter M&M’S until evenly distributed.
- Bake the Cakes: Divide batter evenly between prepared pans. Bake 22–25 minutes until a toothpick inserted in center comes out clean.
- Cool the Cakes: Remove cakes from oven and cool completely in pans on wire rack.
- Prepare Frosting: Beat together butter and creamy peanut butter until smooth using paddle attachment.
- Add Powdered Sugar: Gradually add powdered sugar 1/2 cup at a time, beating gently after each until the frosting is creamy and thick.
- Whip Frosting (Optional): If using a cake ring, add 1/4 cup heavy cream and whip frosting on low, gradually increasing speed for 5 minutes to lighten it.
- Assemble First Layer: Place one cake layer on serving platter, fit cake ring if available, and spread half the frosting evenly.
- Add Second Layer: Place second cake layer on top, press gently, tighten ring if used, and spread remaining frosting on top.
- Decorate: Finish cake with additional Peanut Butter M&M’S, or a mix of Peanut M&M’S for color and flavor.
- Chill Cake: Refrigerate in cake ring for 2–3 hours to set frosting before removing ring and serving.
Notes
- To drain yogurt, place plain vanilla yogurt in a fine mesh strainer or cheesecloth over a bowl and refrigerate for at least 2 hours to remove excess moisture, ensuring the cake batter is not too wet.
- Adding heavy cream to frosting and whipping it creates a lighter, fluffier texture but is optional.
- Use room temperature ingredients for better mixing and smoother batter and frosting.
- Refrigerate assembled cake to allow frosting to set properly for clean slicing.

