Decadent Chocolate Cupcakes with Peanut Butter Frosting

These Devil’s Food Cupcakes with Peanut Butter Frosting are rich, intensely chocolatey, and incredibly moist, topped with a creamy peanut butter frosting. If you love the chocolate-and-peanut-butter pairing, this recipe is for you.

Close up image of devil's food cupcakes topped with peanut butter frosting on a baking sheet | © Beyond the Butter®

Table of Contents

  • Devil’s Food Cupcakes: Grab the Ingredients
  • Substitutions
  • Creamy Peanut Butter Frosting
  • Let’s Make Devil’s Food Cupcakes!
  • Helpful Tips Before Starting
  • Recipe FAQs
  • More Chocolate and Peanut Butter Desserts to Enjoy!
  • Devil’s Food Cupcakes Recipe

Devil’s Food Cupcakes: Grab the Ingredients

Here’s a concise list of what you’ll need to make these moist chocolate cupcakes with peanut butter frosting.

  1. All-purpose flour
  2. Dutch-process cocoa powder
  3. Baking soda and baking powder
  4. Salt
  5. Espresso powder
  6. Light brown sugar
  7. Vegetable oil
  8. Eggs
  9. Sour cream (or plain Greek yogurt)
  10. Vanilla extract
  11. Dark chocolate (70% cacao recommended)
  12. Boiling water

Substitutions

Espresso powder: If you don’t have espresso powder, use instant coffee dissolved in the boiling water before adding it to the batter.

Sour cream: Plain Greek yogurt is an easy swap for full‑fat sour cream.

Wood cake stand with devil's food cupcakes surrounded by other cupcakes, peanut butter, and a napkin on a white background | © Beyond the Butter®
Unwrapped devil's food cupcake with peanut butter frosting with a bite taken out of it on white background | © Beyond the Butter®

Creamy Peanut Butter Frosting

This easy frosting comes together in a bowl with a mixer; sift the powdered sugar to prevent lumps for a smooth, pipeable finish.

Frosting ingredients:

  1. Unsalted butter (room temperature)
  2. Creamy peanut butter (regular, not oil-separated)
  3. Sifted powdered sugar
  4. Heavy whipping cream
  5. Salt
  6. Vanilla extract
Devil's food cupcakes with peanut butter frosting with some on small dessert plates on white background | © Beyond the Butter®

Let’s Make Devil’s Food Cupcakes!

Overview of the method—see the recipe card below for exact measurements and steps.

  1. Melt the dark chocolate gently (microwave in short bursts) and set aside to cool slightly.
  2. Whisk the dry ingredients: flour, Dutch cocoa, baking soda, baking powder, salt, and espresso powder.
  3. Beat the wet ingredients: vegetable oil, light brown sugar, eggs, sour cream (or yogurt), and vanilla until combined.
  4. Mix in the dry ingredients on low speed.
  5. Add the melted chocolate and boiling water while mixing on low; the batter will be thin. Use a cookie scoop and fill liners about 3/4 full.
  6. Bake the cupcakes on the middle rack at 375°F for 18–20 minutes, until they spring back when pressed.
  7. Make the frosting: cream the butter and peanut butter, then add sifted powdered sugar, heavy cream, salt, and vanilla. Frost cooled cupcakes.

Helpful Tips Before Starting

  • Cookie scoop: A 3-tablespoon scoop works well to portion batter evenly.
  • Cupcake liners: Standard liners work fine; thinner wave-style liners will yield more cupcakes per batch.
  • Decorating tip: Piping is optional—Wilton 2A is a good reference if you want a swirl.
  • Garnishes: Keep them simple or add crushed peanuts, mini peanut butter cups, or a light chocolate drizzle.
Unwrapped devil's food cupcake with peanut butter frosting with a bite taken out of it on white background | © Beyond the Butter®

Recipe FAQs

Can I use unsweetened cocoa powder instead of Dutch-process cocoa?

Because the recipe balances Dutch-process cocoa with baking soda and baking powder, swapping in regular unsweetened cocoa could affect the texture and rise. Stick with Dutch-process if possible.

What cupcake liners should I use?

Standard cupcake liners work well. Thinner wave-style liners hold less batter, so they produce more cupcakes per batch.

How many cupcakes does this make?

This recipe yields about 24 standard cupcakes (two pans).

How much frosting does this make?

The frosting recipe makes enough to cover 24 cupcakes with a generous, pipeable layer.

What decorating tip did you use?

A Wilton 2A tip was used for the swirls; an offset spatula works well for a more rustic look.

More Chocolate and Peanut Butter Desserts to Enjoy!

Overhead image of classic peanut butter blossoms on a parchment lined blue dessert platter.

Classic Peanut Butter Blossoms

Round chocolate peanut butter tart swirled with chocolate syrup and cut into slices with a bowl of chocolate syrup next to it surround by a few chocolate sandwich cookie crumbs on a white speckled background.

Chocolate Peanut Butter Swirl Tart

Closeup overhead image of chocolate peanut butter whoopie pies on a parchment lined baking pan.

Chocolate Peanut Butter Whoopie Pies

Peanut butter cheesecake topped with chocolate ganache and mini Reese's peanut butter cups on marble plate on white background.

Reese’s Peanut Butter Cup Cheesecake

Devil’s Food Cupcakes

If you love chocolate and peanut butter together, these cupcakes are rich, moist, and topped with a creamy peanut butter frosting.
Prep: 30 mins
Cook: 20 mins
Total: 50 mins
24 cupcakes
Wood cake stand with devil's food cupcakes surrounded by other cupcakes, peanut butter, and a napkin on a white background.

Ingredients

Devil’s Food Cupcakes

  • 1 1/2 cup all-purpose flour
  • 1/2 cup Dutch-process cocoa powder
  • 1 tsp baking soda
  • 1/2 tsp baking powder
  • 1/4 tsp salt
  • 2 tsp espresso powder
  • 1/2 cup vegetable oil
  • 1 1/2 cup light brown sugar
  • 2 large eggs, room temperature
  • 1/2 cup sour cream (or plain Greek yogurt)
  • 2 tsp vanilla extract
  • 4 oz dark chocolate, 70% cacao, melted
  • 1 cup boiling water

Peanut Butter Frosting

  • 1 cup unsalted butter, room temperature
  • 1 cup creamy peanut butter
  • 3 1/2 cups sifted powdered sugar
  • 3 tbsp heavy whipping cream
  • 1/4 tsp salt
  • 1 tsp vanilla extract

Instructions

Devil’s Food Cupcakes

  • Adjust the oven rack to the second position and preheat to 375ºF. Line two cupcake tins with liners.
  • Melt the dark chocolate in short microwave bursts at 50% power until smooth. Let cool slightly.
  • Whisk together flour, Dutch cocoa, baking soda, baking powder, salt, and espresso powder.
  • With a mixer, beat vegetable oil, light brown sugar, eggs, sour cream, and vanilla on medium-high until combined.
  • Reduce speed to low and add the dry ingredients, scraping the bowl as needed.
  • On low speed, add the melted chocolate, then the boiling water, mixing until just combined. The batter will be thin.
  • Use a 3-tablespoon cookie scoop to fill liners about 3/4 full.
  • Bake both pans side-by-side for 18–20 minutes at 375ºF, until cupcakes spring back when pressed.
  • Cool in the pans 5–10 minutes, then transfer to a wire rack to cool completely. Frost only when cool to the touch. Cupcakes can be made up to two nights ahead and stored in an airtight container at room temperature.

Peanut Butter Frosting

  • Beat the unsalted butter until soft and creamy. Add peanut butter and mix until well blended.
  • With the mixer on low, gradually add sifted powdered sugar, heavy cream, salt, and vanilla. Scrape the bowl as needed and beat until smooth and pipeable.
  • Frost cupcakes with a piping tip or offset spatula. Garnish as desired.

Video

Notes

  • Cookie scoop: A 3-tablespoon scoop yields even-sized cupcakes and fills liners about 3/4 full.
  • Cupcake liners: Standard liners are fine; thinner wave liners hold less batter and give more cupcakes per batch.
  • Decorating tip: Piping is optional; Wilton 2A is a good reference for a classic swirl.
  • Garnish ideas: crushed peanuts, mini peanut butter cups, or a light chocolate drizzle.

Nutrition

Calories: 376 kcal | Carbohydrates: 43 g | Protein: 5 g | Fat: 22 g

Nutritional information is an estimate and will vary with ingredients used.

Like this recipe? Leave a comment below!