This post may contain affiliate links. Please read my disclosure policy.

These are my new & improved peanut butter cupcakes. Adapted from my original recipe, I use oil, brown sugar, sour cream, and extra milk to guarantee each cupcake is soft and moist. Very finely chopped peanuts add flavor. They’re tender, flavorful, and EASY, making this updated recipe the indisputable peanut butter cupcake champion!

Peanut butter cupcakes

Recipe disappointment solved.

I published a peanut butter cupcake recipe in 2013, a dessert I found both delicious and easy at the time. They’re still delicious and easy, but they’re far from perfect. The cupcakes are dense and dry out quickly. Many readers have commented with the same disappointing results. I knew I could do better. The cupcakes (and you!) deserve it. 🙂

And after a few cupcake experiments with many taste testers, I produced flavorful and soft peanut butter cupcakes. These laugh in the face of the old recipe and they’re even more wildly delicious than they look. So moist!!

Peanut butter cupcake with chocolate frosting cut in half
Peanut butter cupcakes with chocolate frosting on white cake pedestal

Recipe Fix: Peanut Butter Cupcakes

Old Peanut Butter Cupcakes Recipe:

  • Creamed butter & brown sugar
  • Too many eggs weighed them down
  • Not enough milk
  • Not enough flavor

The original cupcake recipe calls for creamed butter and sugar. This is how I typically start vanilla cupcakes. But peanut butter is a special ingredient. Though it’s technically “wet,” it’s heavy, dense, and actually pretty drying. Peanut butter baked goods need extra insurance to remain moist. I replaced the butter with oil and added sour cream and extra milk. Because the cupcakes are peanut butter flavored, we won’t miss the butter.

As we taste-tested, my friend Gabe recommended very finely chopped peanuts to amp up the peanut flavor. This addition worked miracles! If you chop the peanuts fine enough, they won’t be crunchy or anything. Rather, they’ll melt right into the cupcake itself.

2 images of chopped peanuts on a cutting board and peanut butter cupcake batter in a glass bowl
2 images of peanut butter cupcake batter in cupcake pan and baked peanut butter cupcakes

As soon as they finished baking, I knew the new peanut butter cupcakes would be a huge success! They smell AWESOME. Here’s a list of everything I did differently.

New Peanut Butter Cupcakes Recipe:

  • Oil instead of butter
  • Keep the brown sugar for moisture & flavor
  • 1/2 cup creamy peanut butter
  • 1 egg
  • Sour cream for moisture
  • Add more milk for moisture
  • Finely chopped peanuts for flavor

And for even more flavor, I snuck some peanut butter into the chocolate frosting too!

Overhead image of cupcakes topped with chocolate peanut butter frosting

Video Tutorial: Peanut Butter Cupcakes

Chocolate Peanut Butter Frosting

The chocolate peanut butter frosting is simple. Start with butter, confectioners’ sugar, cocoa powder, and milk or cream. Remember: proper room temperature butter! Beat it together, then add vanilla extract, a giant spoonful of creamy peanut butter, and a pinch of salt. Just when you thought chocolate buttercream couldn’t get any better…. now it literally tastes like a peanut butter cup.

  • Piping tip: I used the giant Ateco 849 piping tip for the frosting and you can watch me decorate the cupcakes in the video tutorial above. This is a VERY easy swirled frosting technique. Any large open or closed star piping tip will give you a similar swirl look. Though it’s a little smaller, I also love Wilton 1M.
Peanut butter cupcake with swirl of chocolate peanut butter frosting and a peanut butter cup on top

Let me know what you think of the improved recipe!

clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
Peanut butter cupcake with swirl of chocolate peanut butter frosting and a peanut butter cup on top

Peanut Butter Cupcakes

  • Author: Sally
  • Prep Time: 20 minutes
  • Cook Time: 22 minutes
  • Total Time: 3 hours, 30 minutes
  • Yield: 14 cupcakes 1x
  • Category: Dessert
  • Method: Baking
  • Cuisine: American


These are my new & improved peanut butter cupcakes. Adapted from my original recipe, I use oil, brown sugar, sour cream, and extra milk to guarantee each cupcake is soft and moist. Finely chopped peanuts add flavor. They’re tender, flavorful, and EASY, making this updated recipe the indisputable peanut butter cupcake champion!


  • 1 and 1/4 cups (156g) all-purpose flour (spoon & leveled)
  • 1/2 teaspoon baking soda
  • 1/4 teaspoon salt
  • 1/2 cup (120ml) canola or vegetable oil*
  • 1/2 cup (125gcreamy peanut butter*
  • 1 cup (200g) packed light or dark brown sugar
  • 1 large egg, at room temperature
  • 1/3 cup (80gsour cream, at room temperature
  • 1 and 1/2 teaspoons pure vanilla extract
  • 3/4 cup (180ml) whole milk, at room temperature*
  • 1/3 cup (40g) very finely crushed or chopped peanuts*

Chocolate Peanut Butter Frosting

  • 1 cup (230g) unsalted butter, softened to room temperature
  • 3 and 1/2 cups (420g) confectioners’ sugar
  • 1/2 cup (41g) unsweetened natural or dutch-process cocoa powder
  • 3 Tablespoons (45ml) heavy cream or milk
  • 1/3 (80g) cup creamy peanut butter*
  • 1 teaspoon pure vanilla extract
  • 1/4 teaspoon salt
  • optional for garnish: mini Reese’s Peanut Butter Cups or chopped peanuts


  1. Preheat the oven to 350°F (177°C). Line a 12-cup muffin pan with cupcake liners. Line a second pan with 2-3 liners because this recipe yields 14-15 cupcakes. Set aside.
  2. Make the cupcakes: Whisk the flour, baking soda, and salt together in a medium bowl. Set aside.
  3. Using a handheld mixer, stand mixer fitted with a whisk or paddle attachment, or a whisk, mix the oil, peanut butter, brown sugar, egg, sour cream, and vanilla extract together in a large bowl. Add the dry ingredients, milk, and peanuts and whisk or beat together until completely combined. Avoid overmixing. Batter will be slightly thick.
  4. Pour/spoon the batter into the liners, filling only 2/3 full to avoid baking over the sides. Bake for 21-23 minutes, or until a toothpick inserted in the center comes out clean and the tops of the cupcakes spring back when gently touched. For around 35 mini cupcakes, bake for about 11-13 minutes, same oven temperature. Allow the cupcakes to cool completely before frosting.
  5. Make the frosting: With a handheld or stand mixer fitted with a paddle or whisk attachment, beat the butter on medium speed until creamy, about 2 minutes. Add confectioners’ sugar, cocoa powder, and milk. Beat on low speed for 30 seconds, then add the peanut butter, vanilla extract, and salt. Beat on medium-high speed for 2 minutes until combined. Add 1/4 cup more confectioners’ sugar if frosting is too thin or another 1-2 Tablespoons of cream/milk if frosting is too thick. Taste. Add extra peanut butter or a pinch of salt if desired.
  6.  Frost cooled cupcakes. I piped a basic tall swirl using Ateco 849 piping tip. You can watch me decorate the cupcakes in the video in the blog post. Garnish with peanut butter cup, if desired.
  7. Cover and store leftovers in the refrigerator for up to 5 days.


  1. Make Ahead / Freezing Instructions: Cupcakes can be made ahead 1 day in advance, covered, and stored at room temperature or in the refrigerator. Frosting can also be made 1 day in advance, covered, and stored in the refrigerator until ready to use. Frosted or unfrosted cupcakes can be frozen up to 2-3 months. Thaw overnight in the refrigerator.
  2. Special Tools: KitchenAid Stand Mixer | Whisk | Cupcake Pan | Cupcake Liners | Ateco #849 Piping Tip
  3. Oil: Melted coconut oil works too. Melted butter won’t add the same level of moisture needed for this recipe.
  4. Peanut Butter: For best texture in the cupcakes and frosting, I strongly suggest a processed creamy peanut butter such as Jif or Skippy creamy. I do not recommend oily or natural style peanut butter for this recipe.
  5. Milk: For best tasting cupcakes, I highly recommend whole milk or even buttermilk. 2% milk can be used as well. Nondairy milks work too.
  6. Peanuts: For exceptional peanut flavor, finely chopped peanuts are highly recommend. Chop them up very fine as shown in the video and photo above. The finer you chop them, the more they will blend into the baked cupcakes. You can’t taste the chunks, just the flavor. For a delicious salty/sweet flavor, use salted peanuts or, if you prefer, choose unsalted peanuts. I love salted peanuts for this recipe!
  7. Why is Everything at Room Temperature? All refrigerated items should be at room temperature so the batter mixes together easily and evenly. Read here for more information.
  8. Cake: Feel free to use this batter as a cake. As written, you’ll have enough batter for an 11×7 inch cake. Perhaps even enough for a small 2 layer cake. Feel free to make the batter twice (for best results, do not double– make twice) and use it for a larger cake or layer cake.

Keywords: peanut butter cupcakes

Reader Questions and Reviews

  1. Just made these. Oh my! Excellent! I used dark brown sugar and buttermilk. Very moist. Thanks for updating the recipe.

  2. Hi Sally-
    I made this frosting today for chocolate cupcakes, and while the flavor was good, I used the whisk (you had said in the instructions that a paddle or whisk could be used). The whisk was fine for the butter only, but after adding the powdered sugar, milk and vanilla, it got very bubbled, maybe, from the whisk. I didn’t have smooth frosting. The swirl looked pretty good, and I did use the same Ateco tip you used. I just think that next time I will stick to the paddle for frosting.

    1. Hi Kavitha! I’m not the best one to ask about egg free baking– I have every little experience. Sorry!

  3. Sally, Sally, Sally, just stop it! These cupcakes are way over the top! Made the recipe as written. Turned out perfect, so moist and full of flavor. Can’t believe what a difference the addition of chopped peanuts makes – brilliant idea! Sent 1/2 doz home with my son and his wife for their birthdays, they are now fighting over the last one! The frosting is delicious, I used the Ateco 849 tip for decorating, really liked it, (I generally use the Wilton 1M, but I followed your lead on this and they looked awesome, especially with the peanut butter cup on top!) Thanks for this AWESOME cupcake recipe!

    1. Love reading this, Nancy! I’m so happy these cupcakes were a hit with your family!! Thanks for your positive feedback 🙂

  4. Oh my my Sally, these taste great! A big improvement from the original version (which how can you go wrong with anything pb and chocolate?!). I will definitely be making these again. Genius!!

  5. I finally got around to making these last week & they did not disappoint!!! The cupcakes were so soft & moist & peanut buttery & the addition of the chopped peanuts is genius! The frosting is chocolate peanut butter perfection. Everyone raved about them. I will definitely be making these again!!

  6. These cupcakes are amazing. They are over the top with your caramel sauce drizzled over the icing. I entered them in the Mars category of our local fair with a caramel Dove chocolate inside, caramel over the top, and a mini Snickers to garnish, and they won first place! Delicious!

  7. I want to do this recipe but I can’t find sour cream in my country. Do you know any ingredient that can be used as a substitute?
    Thank you!

  8. This recipe is wonderful, as always, Sally. I made it as a cake for a friend’s birthday this week. I know you said to make the batter twice instead of doubling it but I did double it and baked it in two 8-inch rounds. The cakes were thick so baking time was long but they turned out beautifully. All my friends raved about it. I put strawberry jam in between the layers and made a Nutella buttercream. The greatest PB+J ever. The chopped peanuts really add flavour. I used unsalted peanuts.

    1. So glad the cake was a hit, Jami! Love strawberry jam in the middle and a nutella buttercream with those flavors sounds AWESOME!

  9. I made this for my husband’s 60th – you really did a nice job with this recipe! I made mini-cupcakes, which was a good choice for us. The cupcake is so moist and flavorful – I really enjoyed the peanut chucks cut up (I food processed mine for a finer chop) – it surprised me that this texture was such a good compliment to the super soft cupcake. The peanut butter really comes out in the frosting. I’ve kept them refrigerated, which surprisingly didn’t sap any of the moisture from the cupcake but really firmed up the frosting for a chilled texture punch. Just A+ all the way around. It made about 42 minis. Thanks so much for this updated recipe!

  10. These were absolutely amazing and a huge hit with my husbands employee. The cake itself had a great peanut butter flavor and was so moist and delicious. The frosting was so good and reminded me of fudge. My 2 year old and I were eating the extras from a spoon! Another delicious recipe of yours I will add to my collection. Thank you!

  11. Wow! I made this for my nieces birthday and everybody loved it! So moist and a great mix of flavors, icing was a great consistency too. I made 1 1/2 recipes for a 9 x 13 and worked out great.

  12. This is BY FAR the best Peanut Butter cake recipe I’ve come across and the frosting is DELICIOUS!! Look no further – try these cupcakes. I bake for the Chicago Bears and they were a HUGE hit with the team and staff! Thank you, Sally!!!

  13. I just baked these for Valentine’s Day. They are sooo good! The cake is perfectly light and moist with a nice peanut butter flavor. The frosting is not too sweet and has a lovely texture and just enough peanut butter. I will definitely make these again

  14. I made these for my Daughter’s 27th birthday, and I used your Dark Chocolate Frosting. Everyone loved them!

  15. Can I use heavy whipping cream Instead of heavy cream for the frosting? Thank you, Sally.

      1. I made the cup cakes today, DELICIOUS!!! I started baking using your recipes and I plan to try to make more. Thank you very much, Sally❤️

  16. I usually head straight to your chocolate recipes, but WOW these are amazing! I made them for my mom-in-law’s birthday last year, going to make them again for her 70th this year! So good , Sally!

  17. Made these as mini cupcakes. Overall, a big hit; really delicious and cute. My only critique was that the buttercream really carried the weight of the flavor for this cupcake, and the cake itself was kind of lacking. In the future, I might try a chocolate base with a peanut butter buttercream and see how those pair.

  18. These were delicious! I left out the peanuts because i didn’t have any and halved the recipe. Turned out perfect. So flavorful and moist. And the frosting is to die for. These are a keeper!

  19. I made these once for my dad’s birthday because he’s a big Reese’s cup lover, and they were such a hit that I’m making them as a surprise for my parents 22nd anniversary. This is the best peanut butter cupcake recipe I’ve ever tasted.

  20. Oh, Sally … You hit it out of the ballpark with these!! The cupcakes are so light and airy in texture and the frosting complements them beautifully!! Thank you for perfecting your recipe! These are definitely going on my top ten list.

  21. These are legit!! Delicious! I wish that I could post a picture of how wonderful they turned out! I even had to use natural peanut butter against advice. They were fantastic!

  22. Hi, will these peanut butter cupcakes taste well with your Nutella frosting? Bit unsure so I thought I’ll ask here.
    so excited to bake these over the weekend! Please let me know!

  23. Hello Sally, would I be able to substitute the peanut butter with Biscoff spread and make biscoff cupcakes? I have done that with your Nutella frosting recipe and it was delicious

    1. Hi Kwaevyonn, We haven’t tested this recipe that way but let us know if you do!

      1. I did try it and it came out pretty good! Could use a bit more Biscoff flavour though

  24. O. M. g. This is the best cupcake recipe ever. I made these for my husband’s birthday (he LOVES chocolate and peanut butter) and he swooned over them! My daughters adore them! The peanut butter in the frosting is pure genius. We are playing with the recipe to see how we can do this non-dairy (we believe one of my daughters has an allergy). Thank you!!

  25. Hi Sally, these cupcakes were delicious, the buttercream was absolutely amazing! My cupcakes came out a bit crunchy on top and I know it was an error of mine but I was just wondering whether you would maybe know what I did wrong? They were still lovely anyways.

    1. Hi Lauren, We are so glad you enjoyed these cupcakes! If the tops were crunchy it’s likely that your oven runs hot or that the top of your oven is hotter. If you try them again try moving your oven rack down a bit lower and checking them a minute earlier. I hope this helps!

  26. Hi Sally! I’m baking these for my sons first birthday but I know my picky eating kids will not like it if they feel anything crunchy in the cupcakes. Can I just omit the chopped peanuts? Will I need to change anything in the recipe if I do?

    1. Hi Ana, If you chop the peanuts fine enough, they won’t be crunchy or anything. Rather, they’ll melt right into the cupcake itself. However you can skip them without making any other changes is you wish 🙂

  27. Such a great, well balanced recipe! It makes a lot of icing so I had some left over but better too much than not enough!

Leave a Review!

Your email address will not be published.

Recipe rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.