Dark Chocolate Cupcakes with Peanut Butter Frosting
These dark chocolate cupcakes are loaded with rich chocolate flavor, and topped with a light and creamy peanut butter frosting. If you are a chocolate/peanut butter fan, these are your jam!

I have a secret that I’m about to blab. It’s about me. And it’s a doozie. It’s going to rock your world…
I don’t really like cake…
Shhh…
Can you believe it? It’s the truth. Hard to fathom, with all those cakes that I decorate.
Now, don’t get me wrong. I will eat cake. But it pretty much ranks at the very, very bottom of the dessert hierarchy for me. Given options, I would choose pretty much anything over cake. Now, if you’re talking cheesecakes, flourless chocolate cakes, coffee cakes, crumb cakes, and things of that nature, well then that’s a whole different ballgame. But regular cake? Like birthday cake-cake? Meh. It’s just never really been my cup of tea.
But what I do love is frosting. And phenomenal frosting can absolutely make my day. Peanut butter or cream cheese frosting? It may as well just be Christmas. As a result, I love cupcakes because I can pile them sky-high with dreamy frosting and enjoy each and every bite. These dark chocolate cupcakes are a dream come true for anyone who is a cake or frosting lover – they are truly the best of both worlds.

These cupcakes are insanely rich and moist, and are made using the same type of method used for making brownies – melted chocolate is added to a whisked mixture of eggs and sugar, and then flour is stirred in.
Save This Recipe
The resulting batter almost resembled a mousse; both thick and light. It creates incredibly moist cupcakes that also have a light and fluffy texture.

And the frosting. Oh the frosting. Bestill my heart.
I have been using this recipe for a couple of years now (how has it never made it on here before?!), mostly as a filling for chocolate cakes. But on top of cupcakes? Where I purposefully try to create a 2:1 frosting to cupcake ratio? AH-MAZING.

I cannot make this without taking spoonful after spoonful out of the bowl before decorating. It’s seriously irresistible.
Sometimes I’m tempted to make it to just have. Smeared on toast? Used as a dipping vessel for bananas or apples? So many possibilities. The “secret ingredient” in this frosting, just as in the Easy Vanilla Bean Buttercream, is the heavy cream. It creates a smooth and fluffy frosting that is easy to slather or pipe on.
If you are a fellow chocolate/peanut butter-aholic, you will love, love, LOVE these cupcakes. Put them on your baking list NOW!

Can’t Get Enough? More Favorite Chocolate/Peanut Butter Recipes:
- No Bake Chocolate, Peanut Butter and Oatmeal Cookies
- Marshmallow Crunch Brownie Bars
- Peanut Butter Cup Overload Cake
- Salted Peanut Butter Cup Chocolate Chip Cookies
- Buckeye Brownies
- Peanut Butter-Banana Bread with Chocolate Chips
One year ago: Sweet and Sour Chicken
Two years ago: Fresh Strawberry Tart

Dark Chocolate Cupcakes with Peanut Butter Frosting
Ingredients
For the Cupcakes
- 8 tablespoons unsalted butter, cut into 4 pieces
- 2 ounces (56.7 g) bittersweet chocolate, finely chopped
- ½ cup (43 g) Dutch-processed cocoa powder
- ¾ cup (93.75 g) all-purpose flour
- ½ teaspoon (0.5 teaspoon) baking soda
- ¾ teaspoon (0.75 teaspoon) baking powder
- 2 eggs
- ¾ cup (150 g) granulated sugar
- 1 teaspoon vanilla extract
- ½ teaspoon (0.5 teaspoon) table salt
- ½ cup (115 ml) sour cream
For the Peanut Butter Frosting
- 1 cup (120 g) powdered sugar
- 1 cup (258 g) creamy peanut butter
- 5 tablespoons unsalted butter, at room temperature
- ¾ teaspoon (0.75 teaspoon) vanilla extract
- ¼ teaspoon (0.25 teaspoon) kosher salt
- ⅓ cup (79.33 ml) heavy cream
Instructions
- Make the Cupcakes: Adjust oven rack to lower-middle position and preheat to 350 degrees F. (If you are using a non-stick muffin pan, heat the oven to 325 degrees F.) Line standard-size muffin pan with baking cup liners.
- Combine butter, chocolate, and cocoa in medium heatproof bowl. Set bowl over saucepan containing barely simmering water; heat mixture until butter and chocolate are melted and whisk until smooth and combined. (Alternately, you can microwave the mixture at 50% power, stirring every 30 seconds until completely melted.) Set aside to cool until just warm to the touch.
- In a small bowl, whisk together the flour, baking soda, and baking powder.
- In a medium bowl, whisk the eggs combine; add sugar, vanilla, and salt and whisk until fully incorporated. Add cooled chocolate mixture and whisk until combined. Sift one-third of flour mixture over chocolate mixture and whisk until combined; whisk in sour cream until combined, then sift remaining flour mixture over and whisk until batter is homogeneous and thick.
- Divide the batter evenly among muffin pan cups. Bake until skewer inserted into center of cupcakes comes out clean, 18 to 20 minutes.
- Cool cupcakes in muffin pan on wire rack for 15 minutes. Remove the cupcakes and set on wire rack to cool to room temperature before icing, about 30 minutes.
- Make the Peanut Butter Frosting: Place the powdered sugar, peanut butter, butter, vanilla and salt in the bowl of an electric mixer fitted with a paddle attachment. Mix on medium-low speed until creamy, scraping down the bowl with a rubber spatula as you work. Add the cream and beat on high speed until the mixture is light and smooth.
- Assemble the Cupcakes: Frost the cupcakes with an offset spatula, or with a decorating tip (I used a Wilton 1M tip). Store at room temperature in an airtight container for up to 4 days.
Notes
- Since first making these cupcakes, this chocolate cupcake recipe has become my favorite. Feel free to use either!
- If you do not have sour cream, you can substitute plain yogurt or buttermilk.
Did you make this recipe?
Leave a review below, then snap a picture and tag @thebrowneyedbaker on Instagram so I can see it!
[photos by Whitney Wright]




The cupcakes are soooooooooo dry!!!
Hi Michelle, I brought these to work for a co-worker’s birthday and they were a huge hit! The frosting is just right, not too sweet. For the co-worker’s birthday, I wanted to try a new cupcake recipe, but everyone is demanding this one again!
Question for you: Do you always use all-purpose flour in your cupcakes? Do you ever use cake flour?
Hi Jenny, I don’t typically use cake flour because it tends to make them too light and crumbly.
I finaly have time to make these for a special occasion. But i want to make this recipe into mini cupcakes is that possible?
Thank you best regards Astrid
Hi Astrid, Yes, it will make double the number of mini cupcakes, and you will need to reduce the baking time.
Hi Michelle
I did send you an email question but thought I had better ask here as it is a recipe question Please just ignore email question. :)
Can I use Self-raising flour as I don’t want to purchase in all purpose and self-raising as they will go bad before using both. I am making something else for my birthday as well as these cupcakes.
I will obviously leave out baking powder and salt but leave in the baking soda as it starts working at a lower temperature.
Many thanks!!
Hi Maggie, I would not recommend using self-rising flour. Flour typically does not go bad for a long, long time and you can store it in the freezer to increase its longevity.
Would the frosting turn bad if I leave these out? Like not put them in the fridge I mean. I was going to bring these to a gathering and I’m making it a day before but I’m afraid that if I put it in the fridge after making these, when I take it out the frosting will melt if I leave it out for too long. What should I do?
Hi Sam, As long as your house is temperature controlled and not too hot or humid, these will be fine at room temperature (up to about 72 degrees F). Enjoy!
I used this icing between cookies — the soft chocolate ones — and it was a hit and the icing was awesome. Followed the recipe and it was great! Thanks!!
I always read the reviews on a recipe before I try it! There are usually some helpful tips, however when I was reading through this recipes reviews I was concerned that most of them were praising the frosting and making no mention of the cupcakes. (There was someone that commented that the cupcakes were too bitter) but, because my cousin had sent the recipe, I decided to give it a try… What was everyone thinking??? These are the best chocolate cupcakes I have ever tasted! Wow, they are so moist and flavorful, they don’t even need frosting! And putting peanut butter frosting on them… Ingenious! Thank you in advance from all of my Mothers Bingo group! They are going to LOVE them…
If I want to make 24 cupcakes can i double the ingredients or should I stick to the original measurements and make 2 separate mixtures
Hi Karla, You can double the ingredients. Enjoy!
My boyfriend is a coffee lover so I made these for this birthday a few weeks ago. They were a huge success … especially with me! I couldn’t stop thinking about them, not until the last one was eaten.
sounds so good was what i was looking for as a flavor profile, could this be done as a sheet cake of some size? what size pan would i use?
Hi Dave, If you double the recipe, you could bake this in a 9×13-inch pan.
How long for a 13 x 9 panm
Michelle thanks so much for your direct reply.
Please explain/ clarify on the type & size of frosting tip you used.
I’m about to shop for tips, a first for me, and want be sure to buy exactly what you’ve used since it looks gorgeous!
No where on youtube tutorials did I hear mention of a 1M frosting tip??
What brand, type, and size is yours??
Have a great day & thanks!
Hi Linda, The decorating tip is a Wilton 1M tip.
Michelle,
I absolutely love the way your “frosted” PB cupcake looks, it’s the perfect professional finish. Please share tips on how to achieve it. Maybe a tutorial? ;)
I will purchase the recommended tip & bag to frost.
Thanks!
Hi Michelle,
Yay! I just discovered your blog.
I’m planning to make the Dark chocolate cupcakes w/ PB frosting for July 4th!
Please tell me, what brand PB do you use?
My usual is “smart balance” it has oil separation & natural.
Should I use a stable brand like jiffy! Or what?
My muffin pan is non stick but I always use liners anyhow, what temp should I use?
Hi Linda, I use Skippy brand peanut butter for baking. Using natural peanut butters for baking is not a good idea, as the excess oil can affect the final result. As for temperature, if your non-stick pan is dark, then reduce the temperature by 25 degrees.
Is it possible to make frosting without a mixer? I’m too afraid to try because the consistency of the frosting mixed by hand might not be the same… & I’m not sure my mom wants to buy a mixer
Hi Ysabel, I’ve honestly never made a frosting by hand, and I’m not sure how well the powdered sugar would be incorporated with just a whisk or wooden spoon.
I tried the exact recipe only that I reduced all the ingredients to half as I have a muffin tray with capacity of 6 muffins. It turned out great….. The taste is awesome.. also the cupcakes came out moist n fluffy…
Thanks… :)
Hi! I’m going to make these for Father’s Day and was wondering what temperature the butter should be at? Room temp or cold?
Please answer back!
Oh sorry just read the recipe directions! Whoops!
doubled the recipe and the are delicious! especially the frosting!
doubled recipe made a 2 layered cake with icing: 1Cup cream with 1 box choc. pudding and 1 Cup castor sugar Iced the cake and then topped with whipped orley whip devine love the cake best ever choc cake
Would it be ok to sub the sour cream with buttermilk? :)
Hi Sarah, If you need a substitution, I would recommend plain yogurt.
Hi. Can I substitute sour cream with yogurt? thanks a lot
Hi Sherly, Yes, you can use plain yogurt.
Was seeking an Italian dressing recipe.
Your mom’s caught my eye. I was reading your blog about it, and found myself distracted by THIS recipe at the right of the screen. It’s like mandatory that I make chocolate cake with peanut butter frosting for my husband’s birthday. I recognized the tantalizing swirl of p.b. icing atop these cupcakes easily. I think I should do a practice run with this recipe…My husband’s birthday isn’t until November! Oh, but hey! Our anniversary is this week! How’s THAT for a good excuse?! AND I have chocolate…er…brown eyes too. : ) Great website, great recipes I’ve seen thus far. Thanks!
Could I substitute bittersweet chocolate with semi-sweet chocolate? If I do would I have to reduce the amount of sugar, or would it not be that much of a difference? I don’t particularly like dark chocolate, so can I change it with semi-sweet chocolate, and it’ll still come out delicious?
Hi Erika, Yes, definitely! You don’t need to adjust the sugar.
Great! Thank you! :)
I’m inspired by the rave reviews & making these for a party on Sunday. How far in advance could I make the frosting & store fridge?
Thanks!
Is this recipe suited for high altitude?
Unfortunately, it is not. I bake at a pretty low altitude, so if you are at a high altitude, you should make appropriate adjustments.
Oh my, these are the best cupcakes, hands-down, ever. I made them to send to a sports fundraiser (which I did not attend), and heard from attendees that they were quite sought-after. My 17-year-old son said the one he ate “was the best cupcake he’s ever eaten,” and the kid doesn’t hand out food compliments all that readily. Since I couldn’t fit two dozen in the box to send, some stayed home. They are difficult to avoid. Wait, that’s not quite right–they are IMPOSSIBLE to avoid. In fact, I think I hear the last one calling to me now…
Thanks for sharing this delectable recipe!
I will try this one Dark Chocolate, it seems everyone is enjoying, happy eating,, ummmm yummy…
I haven’t tried the cupcakes, but this is my go-to peanut butter frosting recipe. It’s got a wonderful peanut butter flavor but it’s so light and whippy. I always get compliments when I use this recipe. Thanks so much for sharing it!
After reading all the reviews, I made a few adjustments. First I whipped my eggs,sugar,vanilla and salt in my KitchenAid. This made the batter very fluffy. I also added more flour. Probably 1 cup total. I think because I whipped my eggs with my KitchenAid it made my batter go farther. I had enough to make 10 additional mini cupcakes. The next huge adjustment….I cored the center out and put ganache in…oh sweet heaven did that just make the cupcake!!! Thank you for this recipe! These are my birthday cupcakes this year and I feel every year from now on :)
I’m always searching the web for juicy, delicious recipes. Usually I just dribble over gorgeous pictures and imagine the smells and tastes, but never actually makes anything. (A bit lazy, but also not too much time as I am having a baby around..) But – I found your blog and these cupcakes, and I HAD to make them. I got a major craving! (Breast-feeding does that to you, apparently. Gives you cravings, that is.)
Then, I’m Norwegian – so we don’t have the same stuff as you do (i.e. butter in sticks, different cocoa powder etc.) and my head doesn’t understand anything that isn’t metric, but after some googling I found more or less everything and got it all converted.
In addition to this, my husband is allergic to gluten. And they came out just PERFECT! My blender-thingy didn’t manage to make the peanut butter all creamy, but I loved the bits of crunchiness (couldn’t make those beautiful swirls, though) .
So: Thank you for sharing this wonderful recipe!
Hi, I know this was from a while back but found your recipe on pinterest. I made these tonight and Holy Hell! De-licious. Will definitely be making these again:)