Home » Cupcakes » Chocolate Peanut Butter Cupcakes
Single chocolate and peanut butter cupcake on a blue plate, topped with thick peanut butter frosting and a Reese’s cup, representing chocolate cupcake ideas and peanut butter muffins recipes with rich chocolate cupcake frosting.

Chocolate Peanut Butter Cupcakes Recipe

These chocolate peanut butter cupcakes are soft cocoa and buttermilk cupcakes topped with a thick, piped peanut butter frosting and a mini peanut butter cup. The recipe makes 12 cupcakes with 20 minutes of prep and 18 to 22 minutes in a 350°F oven. The frosting uses a full cup of creamy peanut butter, so the peanut flavor is strong, not shy.

One thing surprises people. The batter is thin, almost like chocolate milk. That is right, so leave it alone. If you want the frosting on its own for other bakes, it is the same idea as my easy peanut butter frosting.

Collage of chocolate peanut butter cupcakes with swirls of peanut butter frosting and a mini peanut butter cup on top, with a text banner reading Peanut Butter Cupcakes and a bitten cupcake showing the soft chocolate crumb.

Following a special diet?

Every recipe on this site can be converted to gluten-free, vegan, dairy-free, keto, nut-free or egg-free with adjusted ratios so nothing falls flat.

Try the Recipe Converter →

One Batch, Twelve Cupcakes: The Numbers

Flat lay of the ingredients for chocolate peanut butter cupcakes in white bowls: flour, cocoa powder, sugar, eggs, buttermilk, oil, peanut butter, powdered sugar and mini peanut butter cups.
  • Cupcakes: 1 cup all-purpose flour, 1 cup granulated sugar, ½ cup unsweetened cocoa powder, 1 tsp baking soda, ½ tsp baking powder, ½ tsp salt, 1 large egg, ½ cup buttermilk, ½ cup warm water, ¼ cup vegetable oil, 1 tsp vanilla
  • Frosting: 1 cup creamy peanut butter (not natural), ½ cup softened unsalted butter, 2 cups powdered sugar, 2 to 3 tbsp heavy cream or milk, 1 tsp vanilla, a pinch of salt
  • Topping: 12 mini peanut butter cups, unwrapped
  • Bake: 350°F (175°C), liners two-thirds full, 18 to 22 minutes
  • Time: about 40 minutes hands on and baking, plus cooling before you frost

Why the Batter Is So Thin

Half a cup of warm water goes into a batter with only 1 cup of flour. The warm water wakes up the cocoa so it tastes deeper and darker, and it loosens everything into a pourable batter. Thin batter bakes into a light, tender crumb. Add more flour to thicken it and you get dry cupcakes with tall, cracked domes.

Buttermilk does two jobs. Its tang keeps the sweet frosting from tasting flat, and its acid gives the baking soda something to react with. I tried this with whole milk too, and buttermilk wins here. No buttermilk in the fridge? Stir ½ tablespoon of lemon juice or white vinegar into ½ cup of milk and let it sit for 5 minutes.

The oil is why these stay soft for days. Butter firms up as it cools, oil does not, so a cupcake made with oil still feels moist on day two.


Sift, Stir and Bake the Cocoa Cupcakes

Steel mixing bowl with flour, sugar and cocoa powder for the chocolate cupcake batter, with small bowls of cocoa and sugar around it on white marble.

Sift the flour, sugar, cocoa, baking soda, baking powder and salt into a large bowl. Sifting breaks up the cocoa lumps. I always use unsweetened cocoa powder here, so the frosting brings the sweetness.

In a second bowl, whisk the egg, buttermilk, warm water, oil and vanilla until smooth. Pour it into the dry bowl and stir with a spatula just until no dry flour shows. Overmixing gives dense cupcakes. I have made that mistake, and now I stop the moment the batter looks smooth.

Nine baked chocolate cupcakes in paper liners cooling on a round wire rack before frosting.

Fill each liner about two-thirds full and bake for 18 to 22 minutes. Start checking at 18. A toothpick in the center should come out clean or with a few moist crumbs, and the top should spring back when you press it lightly. Leave them in the pan for 5 minutes, then move them to a wire rack. Frost only when the center feels cool, usually after about an hour.


Whipping the Peanut Butter Frosting for Piping

Beat the peanut butter and softened butter on medium speed for about 2 minutes, until the mix looks paler and fluffy. Add the powdered sugar about ½ cup at a time so it does not fly out of the bowl. Then beat in the vanilla, the pinch of salt and 2 tablespoons of cream or milk until smooth.

Now test it. Lift some on a spatula: it should hold a soft peak that does not slide. Too stiff to squeeze through a star tip? Add the third tablespoon of cream. Too soft and slumping, often in a warm kitchen? Chill the bowl for 15 minutes and beat for a few seconds before you fill the bag.

Piping bag swirling peanut butter frosting onto a chocolate cupcake, with frosted cupcakes around it.

Pipe a tall swirl onto each cooled cupcake with a large star tip and press one mini peanut butter cup into the center. For a smoother, spreadable topping with a little more cream, my peanut butter icing works on these too.


Creamy or Natural Peanut Butter for the Frosting?

Use a stabilized creamy peanut butter, the kind that does not separate in the jar. Natural peanut butter is mostly ground peanuts, and its oil seeps out once it meets the butter and sugar. The frosting turns loose and greasy, and the swirls sag within an hour. If natural is all you have, use it for a spread-on topping, not for piping.

Cream cheese frosting gives a tangier, lighter contrast with the chocolate, and chocolate frosting turns them into a double chocolate cupcake with peanut butter cups on top.


How to Fill the Cupcakes With Peanut Butter

For chocolate cupcakes filled with peanut butter, cut a small cone about 1 inch wide and deep out of the center of each cooled cupcake with a paring knife. Pipe about 1 tablespoon of the frosting into the hole, then pipe the swirl on top. One batch of frosting covers 12 filled cupcakes if you make the swirls a little smaller.

Want peanut butter cups inside? Chopped cups sink straight to the bottom of a batter this thin and stick to the liner. Tuck a few chopped pieces into the cored hole before the filling instead, and keep the whole mini cup for the top.


When the Cupcakes Sink or the Frosting Slumps

  • Centers sank after baking: they came out a little early, or the oven door was opened in the first 15 minutes. Bake until the top springs back.
  • Cupcakes are dry: baked too long or flour was scooped and packed. Spoon the flour into the cup and level it, and check at 18 minutes.
  • Frosting is gritty: the powdered sugar went in all at once. Beat 1 more minute with a splash of cream.
  • Frosting melted on the cupcake: the cupcakes were still warm inside. Wait until they feel cool all the way through.
  • Frosting is oily: natural peanut butter, or butter that was too soft and shiny. Chill 15 minutes and rebeat.

Making Them a Day Ahead

Chocolate peanut butter cupcakes with tall peanut butter frosting swirls and a mini peanut butter cup on each, on a blue plate.

Frosted cupcakes keep in an airtight container at room temperature for up to 2 days, or in the fridge for up to 5 days. Let refrigerated ones sit out for about 30 minutes before serving so the frosting softens and the peanut flavor comes back.

To get ahead for a party, bake the cupcakes the day before, cool them, and store them unfrosted and covered. Unfrosted cupcakes also freeze well, wrapped airtight, for up to 2 months. Thaw them in the wrapping and frost on the day.

For a bigger peanut butter spread, add peanut butter cup cookies or a chocolate peanut butter cake for the people who want a slice.


Doubling, Buttermilk and Chunky Peanut Butter

Can I make 24 cupcakes from this recipe?

Yes. Double every ingredient, including 2 eggs and 1 cup warm water, and bake two pans for the same 18 to 22 minutes.

Do these cupcakes need to be refrigerated?

Not for the first 2 days. Keep them covered at room temperature, then move them to the fridge for up to 5 days.

Can I use regular milk instead of buttermilk?

Use soured milk: ½ cup milk with ½ tablespoon lemon juice or vinegar, rested 5 minutes. Plain milk works but the crumb is less tender.

What if I only have chunky peanut butter?

The frosting will taste fine but the peanut bits clog a star tip. Spread it on with a knife, or use a large round tip.

For more chocolate and peanut butter bakes, try Reese’s peanut butter cake or plain moist homemade chocolate cupcakes when you want a chocolate base for another frosting.

Yield: 12 cupcakes

Chocolate Peanut Butter Cupcakes

Single chocolate and peanut butter cupcake on a blue plate, topped with thick peanut butter frosting and a Reese’s cup, representing chocolate cupcake ideas and peanut butter muffins recipes with rich chocolate cupcake frosting.

These chocolate peanut butter cupcakes are soft chocolate cupcakes made with cocoa powder, buttermilk, warm water and oil, topped with a piped peanut butter frosting and a mini peanut butter cup. The recipe makes 12 cupcakes in about 40 minutes, baked at 350°F for 18 to 22 minutes, and the frosting uses 1 cup of creamy peanut butter for a thick, fluffy swirl that holds a star tip. The thin batter is correct: warm water deepens the cocoa and keeps the crumb tender. Use them as chocolate cupcakes with peanut butter frosting for birthdays and bake sales, or core them and fill them with peanut butter. They keep 2 days covered at room temperature or 5 days in the fridge.

Prep Time 20 minutes
Cook Time 20 minutes
Total Time 40 minutes

Ingredients

  • FOR THE CHOCOLATE CUPCAKES
  • 1 cup all-purpose flour
  • 1 cup granulated sugar
  • ½ cup unsweetened cocoa powder
  • 1 tsp baking soda
  • ½ tsp baking powder
  • ½ tsp salt
  • 1 large egg
  • ½ cup buttermilk
  • ½ cup warm water
  • ¼ cup vegetable oil
  • 1 tsp pure vanilla extract
  • FOR THE PEANUT BUTTER FROSTING
  • 1 cup creamy peanut butter (not natural)
  • ½ cup unsalted butter, softened
  • 2 cups powdered sugar
  • 2–3 tbsp heavy cream or milk
  • 1 tsp vanilla extract
  • Pinch of salt
  • OPTIONAL TOPPING
  • 12 mini peanut butter cups, unwrapped

Instructions

  1. PREHEAT AND PREP: Preheat the oven to 350°F (175°C) and line a 12-cup muffin tin with paper liners.
  2. COMBINE DRY INGREDIENTS: In a large mixing bowl, sift together the flour, granulated sugar, cocoa powder, baking soda, baking powder, and salt.
  3. WHISK WET INGREDIENTS: In a separate bowl, whisk the egg, buttermilk, warm water, vegetable oil, and vanilla extract until the mixture is smooth and well blended.
  4. MIX BATTER: Pour the wet ingredients into the dry ingredients and stir until just combined. The batter will be thin, which is expected.
  5. FILL CUPCAKE LINERS: Divide the batter evenly among the prepared cupcake liners, filling each about two-thirds full.
  6. BAKE: Bake for 18–22 minutes or until a toothpick inserted in the center of a cupcake comes out clean. Allow cupcakes to cool in the pan for 5 minutes, then transfer them to a wire rack to cool completely.
  7. MAKE FROSTING: In a large bowl, beat the peanut butter and softened butter together on medium speed for about 2 minutes until light and creamy.
  8. ADD SUGAR AND LIQUID: Gradually add the powdered sugar, about ½ cup at a time, mixing well after each addition. Add the vanilla extract, salt, and 2 tablespoons of cream or milk, then beat until smooth and fluffy. Add an additional tablespoon of cream or milk if needed to reach piping consistency.
  9. FROST CUPCAKES: Once the cupcakes are fully cooled, pipe the frosting onto each cupcake using a piping bag fitted with a large star tip.
  10. TOP WITH CANDY: Press one mini peanut butter cup into the center of each frosted cupcake.

Notes

The batter is thin; do not add flour to thicken it. Check the cupcakes at 18 minutes: a toothpick should come out clean or with a few moist crumbs and the tops should spring back. Use stabilized creamy peanut butter, not natural or oily types, so the frosting holds its swirl. If the frosting is too stiff, add the third tablespoon of cream; if it is soft in a warm kitchen, chill it 15 minutes and rebeat. Let the cupcakes cool fully before frosting so the frosting does not melt. To fill them, cut a small cone from the center of each cupcake and pipe in about 1 tablespoon of frosting. Store covered at room temperature up to 2 days or refrigerated up to 5 days. Unfrosted cupcakes freeze up to 2 months.

Nutrition Information

Yield

12

Serving Size

1

Amount Per Serving Calories 715Total Fat 44gSaturated Fat 18gTrans Fat 1gUnsaturated Fat 21gCholesterol 81mgSodium 470mgCarbohydrates 74gFiber 3gSugar 57gProtein 11g

2 Comments

  1. I made these tonight, they are very good! Almost overly rich, but very decadent and delicious.

    0
    • That’s great to hear, Tessa. I totally get what you mean — the richness from both the cocoa and peanut butter can sneak up on you. If you’re ever after a slightly lighter version, you can scale back the frosting a bit or swap in whipped cream cheese for part of the butter. Appreciate you trying them and sharing your take 😊

      0

Leave a Comment

Your email address will not be published. Required fields are marked *

*