These are my new & improved peanut butter cupcakes. 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!

Recipe disappointment solved.
Back in 2013, I published a different peanut butter cupcake recipe, a dessert I found easy at the time. They were far from perfect. The cupcakes were dense and dried out quickly. Many readers had 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!!


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 recipe called 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.


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!

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.
If you’re looking for a little something different, top with my strawberry buttercream frosting for a PB&J flavor combination! And if you can’t get enough of peanut butter with chocolate, try these peanut butter chocolate swirl cookies next.
More Beloved Cupcake Recipes
Fun fact: did you know that my cupcake recipes work great as 6-inch cakes, too?

Try my chocolate peanut butter cake next!
Print
Peanut Butter Cupcakes
- Prep Time: 20 minutes
- Cook Time: 22 minutes
- Total Time: 3 hours, 30 minutes
- Yield: 14 cupcakes
- Category: Dessert
- Method: Baking
- Cuisine: American
Description
These are my new & improved peanut butter cupcakes. 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!
Ingredients
- 1 and 1/4 cups (156g) all-purpose flour (spooned & leveled)
- 1/2 teaspoon baking soda
- 1/4 teaspoon salt
- 1/2 cup (120ml)ย canola or vegetable oil*
- 1/2 cup (125g)ย creamy peanut butter*
- 1 cup (200g) packed light or dark brown sugar
- 1 large egg, at room temperature
- 1/3 cup (80g)ย sour 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 (16 Tbsp; 226g) 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
Instructions
- 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.
- Make the cupcakes:ย Whisk the flour, baking soda, and salt together in a medium bowl. Set aside.
- 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.
- 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.
- 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.
- ย 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.
- Cover and store leftovers in the refrigerator for up to 5 days. I recommend a cupcake carrier for storing and transporting decorated cupcakes.
Notes
- 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.
- Special Tools (affiliate links):ย 12-cup Muffin Pan | Cupcake Liners | Electric Mixer (Handheld or Stand) | Glass Mixing Bowl | Whisk | Piping Bag (Reusable or Disposable)ย | Ateco #849 Piping Tip | Cupcake Carrier
- Oil: Melted coconut oil works too. Melted butter won’t add the same level of moisture needed for this recipe.
- 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.
- Milk: For best tasting cupcakes, I highly recommend whole milk or even buttermilk. 2% milk can be used as well. Nondairy milks work too.
- 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!
- Why is Everything at Room Temperature? All refrigerated items should be at room temperature so the batter mixes together easily and evenly. Read more about why room temperature ingredients are important.
- 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.



















Reader Comments and Reviews
Absolutely delicious! Just made these and they are SOOO good. The icing is perfect as well! Thanks for sharing this recipe.
These cupcakes are amazingly moist and soft! The cupcakes and frosting are both delicious! I do like some contrast in flavors, so I think that these cupcakes would also be delicious with chocolate frosting and that the chocolate peanut butter frosting would be delicious with chocolate cupcakes!
I am interested in making a filled cupcake. Have you ever filled these with the chocolate peanut butter frosting? Do you think it would work well / taste good?
You could absolutely try that, Laura!
Just made a batch of these and added 1/4 cup of King Arthur’s Raspberry Jammy Bits – the cupcakes are amazingly moist, tender, and flavorful and with the Jammy Bits – they tast just like a pb&j. I’ll definitely be making these again!
If I make this as a 11X7 cake like the recipe suggests, how long should I bake it?
Hi Aimee, we’re unsure of the exact bake time for an 11×7-inch pan. Keep a close eye on it and use a toothpick to test for doneness. Enjoy!
Hi Teri, that high temperature may dry out these lighter cupcakes too much, but let us know if you give it a try!
They puffed up beautifully! Will make my grandson happy for bkft. Cut the sugar down, too!
My frosting didn’t turn out anything like the pic and when I try to pipe it it just not going the way I want it to. It still tasted good tho I was making them f6a reunion
You state the cupcakes can be made 1 day in advance and also they can be stored in the refrigerator up to 5 days.
I assume I can make them 2 days in advance. If so, should I frost them at that time or the night before I plan on serving them? Thank you
Hi Debbie, You can store the cupcakes in the refrigerator for 2 days. We find that frosting usually tastes the best if it’s fresh, so if time allows frost them as close to serving as you can.
could you use this recipe for a loaf tin, or if not what adjustments should I make, to make it the same size as the carrot quick break or zucchini loaf for example x
Hi Adelle, we have not tested that so we canโt be certain. It should be enough batter. Let us know if you try it!
How long should I bake and at what temp in a loaf tin?
Just finished a few weeks of holiday baking of your key lime pie, 6 inch vanilla layer cake, chocolate sugar cookies and macarons. All huge successes! Today, last minute I needed to bake something for one of my sonโs friendโs birthday, so made these peanut butter cupcakes. They are beautiful, light and fluffy and DELICIOUS! I only had salted butter, so used it and left out the salt in the frosting. Perfect. Thank you Sally.
This recipe tastes just like a peanut butter cookieโฆ only better! Itโs so moist and absolutely packed with peanut butter flavor!!
My family and I loved it!
Thanks again, Sally, for another amazing recipe!!!
Iโm from Australia and wasnโt sure about peanut butter cupcakes but I made them anyway. They are delicious and super moist. The frosting is perfect for them. My husband wonโt stop eating them.
Hi Sally, Can I substitute lactose free Greek yoghurt for the sour cream in this recipe? Thanks
Hi Robyn, that should be fine!
Thank you for quick reply
I have just made this recipe for a quilting class. My only disappointment was that I couldn’t do it justice with a lovely professional looking swirl. I butter knifed it and I will add peanut bits to the top of them.
Hi Sally I was going to test this cupcake recipe out as a three layer 6 inch cake. Was just wondering If I need to double the recipe or change any of the measurements/ baking time. Love your recipes and can’t wait to try this out
Hi Niamh, This should be just about the right amount of batter for a three layer 6 inch cake. You can reference our post on 6 inch cakes for details!
Iโm planning to make these delicious cupcakes for my two-year-old. How much sugar do you think I can reduce while still keeping them tasty?
Hi Gloria, you can certainly try reducing the sugar, but keep in mind that it plays an important role in the overall taste, texture, and structure of the cupcake. We’d recommend starting small and then adjusting further as needed for future batches. Or, you could use something like peanut butter banana muffins as a slightly healthier option instead. Hope this helps!
can you use plain green yoghurt instead of sour cream
Hi Rita, you can definitely use plain Greek yogurt instead of sour cream, but I would steer clear of green yogurt! ๐
Hi was going to test this recipe out as a 3 layer 6 inch cake. Would this recipe fill these pans or should I double it. Love you’re recipes
Hi , I am new to baking and love your website . Can I half this recipe and make 6? Thank you
Sure can, Lee. Enjoy!
As always your recipes rock. So does this recipe make 35 mini cupcakes?
Yes! See step 4 for mini cupcake details.
very yummy and peanut buttery. I used melted butter, oat milk and natural style peanut butter (did not have canola oil or whole milk, only had Kirkland natural peanut butter) and it still worked well. was soft with a moist crumb.
I made these for my coworkers, aka my Test Kitchen!
Everyone loved them! Said they were the best cupcakes they’ve had. Someone even said they’d pay $5 for them.
Amazing cupcakes for anyone who likes Reese’s. I added a quarter of a regular sized cups in the center like the molten cookie dough cupcakes (that have gotten more compliments than anything I’ve ever made in my life). So good. My kids wanted to eat the frosting plain. Legit peanut butter taste. I wasn’t confident in my peanut chopping skills so I used a mini food processor and it worked great. I sprinkled a little extra on top. You are turning me into a pretty darn good baker. Thank you!!!! Sincerely
UmโฆI donโt even have words! Wait, yes I doโฆdeeeeelicious! Moist and soft and peanutty! Love them!
These were awesome! I don’t have food processor, so I used a knife to chop the peanuts, definitely would like to make this again using food processor. The peanuts are definitely necessary to take the peanut butter flavor over the top. The cakes were more moist than I was expecting, since peanut butter is so drying. I topped these with sally’s marshmallow meringue, and used a kitchen torch on the meringue. OMG the combo was AWESOME and a hit with my guests!
These cupcakes are amazing! Very easy to make and super moist and flavorful. The frosting is fantastic too. Tried two different sizes, regular took 22 minutes, large took 27 minutes to bake. Topped with mini pb cup.
I am just starting to try cupcake baking after seeing all of your recipes… everything looks so amazing! This is an absolute favorite!
I really prefer using olive oil in my baking, may I swap that out instead of vegetable or canola?
Hi Sarah, olive oil will work, though the flavor will change quite a bit. Melted coconut oil would be preferable.
Just wondering if I could use cake flour in place of AP in this recipe?
Hi Riley, I’m sure it would be fine but the cupcakes may be a little *too* light. Let me know if you try it.
I plan to double this recipe and make a 3 layered cake… how long should I bake this for? Going to use a 9 inch round pan. Thank you!!
Hi Ashley, we’re unsure of the exact bake time, but we anticipate the layers would take about 23-26 minutes. You can use a toothpick to test for donenessโcheck early to ensure they don’t overbake. Enjoy!
These cupcakes are awesome! I frost them with with peanut butter frosting to make Snickers and PB&J variations and they are always a huge hit. I love your recipes!! Thank you so much for sharing them with us.