These cupcakes balance deep, bittersweet chocolate with a creamy, nut-forward frosting. They are straightforward to make and generous in flavor — not the faint, timid kind of dessert. You get a tender crumb and a frosting that’s smooth enough to pipe but sturdy enough to hold shape.
I rely on a handful of reliable techniques here: melting chocolate gently, tempering the batter with sour cream, and making a frosting that is rich without being greasy. Follow the sequence and you’ll avoid common traps like cracked frosting or underbaked centers.
If you bake regularly, this recipe will become a go-to for dinners, birthdays, or just when you want something a little special without fuss. The steps are simple; the result feels thoughtfully composed.
The Essentials

Yield: about 12 standard cupcakes. Bake time: 18–20 minutes. Cooling and prepping for frosting add about 45–50 minutes to the timeline. Difficulty: approachable for any home baker who can whisk, melt chocolate gently, and use a mixer.
Key technique: melt butter and chocolate together and cool slightly before combining with the eggs. That keeps the eggs from scrambling and helps build structure. Another non-negotiable: cool the cupcakes fully before frosting so the peanut butter frosting doesn’t melt.
Ingredients
- 8 tablespoons unsalted butter, cut into 4 pieces — used both for melting with chocolate to create a smooth base; room-temperature butter is also used later in the frosting.
- 2 ounces (56.7g) bittersweet chocolate, finely chopped — provides concentrated chocolate flavor and chew; finely chopping helps it melt evenly.
- ½ cup (43g) Dutch-processed cocoa powder — gives deeper chocolate notes and dark color; sift to avoid lumps.
- ¾ cup (93.75g) all-purpose flour — the dry structure of the cupcake; measure accurately by spooning into the cup and leveling.
- ½ teaspoon (0.5 teaspoon) baking soda — aids rise and tenderness.
- ¾ teaspoon (0.75 teaspoon) baking powder — works with the baking soda to give a consistent crumb.
- 2 eggs — binders and leavening; room temperature eggs integrate more easily.
- ¾ cup (150g) granulated sugar — sweetens and contributes to the cupcake’s texture.
- 1 teaspoon vanilla extract — lifts and rounds the chocolate flavor.
- ½ teaspoon (0.5 teaspoon) table salt — balances sweetness and enhances chocolate.
- ½ cup (115ml) sour cream — keeps the batter moist and tender; don’t substitute without adjustment.
- 1 cup (120g) powdered sugar — sweetener and structure for the frosting; sift if lumpy.
- 1 cup (258g) creamy peanut butter — the star of the frosting; use smooth for best texture.
- 5 tablespoons unsalted butter, at room temperature — adds richness and stability to the frosting.
- ¾ teaspoon (0.75 teaspoon) vanilla extract — flavor lift in the frosting.
- ¼ teaspoon (0.25 teaspoon) kosher salt — balances the peanut butter’s sweetness.
- ⅓ cup (79.33ml) heavy cream — thins and lightens the frosting to a pipeable consistency.
Dark Chocolate Cupcakes with Peanut Butter Frosting, Made Easy
There are two short technical moments: melting chocolate with butter, and getting the frosting to the right consistency. Both are forgiving if you follow temperature cues instead of strict timing. Melt until smooth, then let the mixture sit until just warm to the touch. For the frosting, add the cream slowly until you reach a light but stable texture.
Work in stages: dry ingredients, wet eggs and sugar, melted chocolate, sour cream, then the rest of the flour. This sequencing prevents overmixing and gives a glossy, even batter. Divide the batter evenly — an ice cream scoop or scale helps — then bake at the specified temperature and test with a skewer.
Why You’ll Keep Making It

Chocolate and peanut butter is a classic pairing for a reason. The cupcakes deliver concentrated cocoa intensity and a moist crumb. The peanut butter frosting is straightforward, creamy, and not overly sweet, which makes each bite balanced rather than cloying.
They’re flexible. Serve them with a sprinkling of flaky salt, a smear of additional peanut butter, or a few chopped roasted peanuts for texture. They’re impressive without demanding advanced pastry skills.
Allergy-Friendly Substitutes

Peanut allergy: swap the creamy peanut butter for sunflower seed butter. The flavor will change, but the frosting’s texture stays similar. For nut-free households, use a seed butter of your choice.
Dairy-free: use a non-dairy butter substitute for both the melted butter and the frosting butter, and replace the heavy cream with a full-fat canned coconut cream. Note that coconut will impart flavor. For sour cream, a plain non-dairy yogurt can often substitute, but expect a slight texture difference.
Eggs: if you need to avoid eggs, try commercially available egg replacers or a well-tested flax-egg substitution (ground flaxseed mixed with water) — keep in mind texture and rise will vary and you may need to adjust baking time.
Equipment at a Glance
- Oven (preheated to 350°F or 325°F for nonstick pans)
- Standard-size muffin pan and paper liners
- Medium heatproof bowl and a saucepan for a double boiler (or a microwave)
- Whisk and spatula
- Electric mixer fitted with paddle attachment (for the frosting)
- Wire rack for cooling
- Offset spatula or piping bag and tip for frosting
- Skewer or toothpick to test doneness
Easy-to-Miss Gotchas
Don’t frost warm cupcakes. The frosting is butter- and peanut-butter-based; warm cupcakes will make it weep and slide. Let cupcakes cool to room temperature before frosting.
Watch the temperature when melting chocolate. Overheating makes it seize. Remove from heat while still shiny and stirring until smooth.
Mixing order matters. Adding the sour cream at the right time keeps the batter from becoming gummy. Also, avoid overmixing after you add the flour — aim for a homogeneous, thick batter, not a beaten one.
Check baking temperature for your pan. If you use a nonstick muffin pan, lower the oven to 325°F to prevent doming or overbrowning.
In-Season Swaps
Summer: top each frosted cupcake with a few fresh raspberries or a drizzle of raspberry coulis — the tart fruit cuts through the richness.
Autumn/Winter: fold a small pinch of cinnamon or espresso powder into the batter for a warming twist. A salted caramel drizzle pairs well with the peanut butter if you want something decadent.
Spring: scatter chopped toasted peanuts and a few lemon zest flecks over the frosting to add brightness and crunch.
Method to the Madness
- Position an oven rack in the lower-middle position and preheat the oven to 350°F (325°F if using a nonstick muffin pan). Line a standard-size muffin pan with paper liners.
- Combine the 8 tablespoons unsalted butter (cut into 4 pieces), 2 ounces finely chopped bittersweet chocolate, and ½ cup Dutch-processed cocoa powder in a medium heatproof bowl. Set the bowl over a saucepan of barely simmering water and heat, stirring, until the butter and chocolate are melted and the mixture is smooth. (Alternatively, microwave at 50% power, stirring every 30 seconds, until melted.) Set aside to cool until just warm to the touch.
- In a small bowl, whisk together ¾ cup all-purpose flour, ½ teaspoon baking soda, and ¾ teaspoon baking powder. Set aside.
- In a medium bowl, whisk the 2 eggs. Add ¾ cup granulated sugar, 1 teaspoon vanilla extract, and ½ teaspoon table salt and whisk until combined and slightly thickened.
- Whisk the cooled chocolate mixture into the egg mixture until fully incorporated.
- Sift about one-third of the flour mixture over the chocolate mixture and whisk until combined. Whisk in the ½ cup sour cream until combined. Sift the remaining flour mixture over the batter and whisk until the batter is homogeneous and thick.
- Divide the batter evenly among the prepared muffin cups (about 12 standard cupcakes).
- Bake until a skewer inserted into the center comes out clean, 18 to 20 minutes. Remove from oven.
- Cool the cupcakes in the muffin pan on a wire rack for 15 minutes, then transfer the cupcakes to the wire rack and cool to room temperature (about 30 minutes) before frosting.
- Make the peanut butter frosting: in the bowl of an electric mixer fitted with the paddle attachment, combine 1 cup powdered sugar, 1 cup creamy peanut butter, 5 tablespoons unsalted butter (at room temperature), ¾ teaspoon vanilla extract, and ¼ teaspoon kosher salt. Mix on medium-low speed until creamy, stopping to scrape down the bowl as needed.
- Add ⅓ cup heavy cream to the frosting and beat on high speed until the frosting is light and smooth.
- Frost the cooled cupcakes using an offset spatula or a piping bag and tip. Store frosted cupcakes at room temperature in an airtight container for up to 4 days.
How to Store & Reheat
Store frosted cupcakes at room temperature in an airtight container for up to 4 days. Keep them away from direct sunlight and heat sources to prevent the frosting from softening.
If you need longer storage, freeze unfrosted cupcakes (wrapped tightly) and thaw before frosting. For frosted cupcakes, you can chill them briefly to firm the frosting, then freeze on a baking sheet until solid and transfer to an airtight container — thaw in the refrigerator and bring to room temperature before serving.
To refresh slightly stale cupcakes, warm them very briefly in a low oven (250°F) for 5–7 minutes or microwave individual cupcakes for 6–8 seconds; watch closely so the frosting doesn’t get too soft.
FAQ
Q: Can I use natural cocoa instead of Dutch-processed?
A: You can, but flavor and acidity change. Dutch-processed cocoa is less acidic and gives a darker, smoother chocolate note. If you swap, be aware of possible differences in rise and flavor.
Q: Can I swap crunchy peanut butter for creamy?
A: Crunchy will work but the frosting texture will be chunkier. If you want a smooth pipeable frosting, use creamy peanut butter.
Q: Can I make the frosting less sweet?
A: Slightly reduce the powdered sugar, but do so in small increments to keep the frosting’s structure. If you reduce too much, you may need less cream to maintain stability.
Q: How do I get perfectly even cupcakes?
A: Use an ice cream scoop or a kitchen scale to portion batter evenly. Rotate the pan halfway through baking if your oven has hot spots.
Before You Go
These Dark Chocolate Cupcakes with Peanut Butter Frosting are dependable, crowd-pleasing, and simple enough for a weeknight treat. Keep the key steps in mind: melt gently, fold and whisk in the correct order, and cool completely before frosting. That’s all it takes to turn a straightforward batter into something memorable.
Try them once as written, then experiment with a topping or two — flaky sea salt, chopped peanuts, or a smear of jam. If you bake them, I’d love to hear how they turned out and what tweak you tried.

Dark Chocolate Cupcakes with Peanut Butter Frosting
Ingredients
Ingredients
- 8 tablespoonsunsalted butter cut into 4 pieces
- 2 ounces 56.7 gbittersweet chocolate, finely chopped
- 1/2 cup 43 gDutch-processed cocoa powder
- 3/4 cup 93.75 gall-purpose flour
- 1/2 teaspoon 0.5 teaspoonbaking soda
- 3/4 teaspoon 0.75 teaspoonbaking powder
- 2 eggs
- 3/4 cup 150 ggranulated sugar
- 1 teaspoonvanilla extract
- 1/2 teaspoon 0.5 teaspoontable salt
- 1/2 cup 115 mlsour cream
- 1 cup 120 gpowdered sugar
- 1 cup 258 gcreamy peanut butter
- 5 tablespoonsunsalted butter at room temperature
- 3/4 teaspoon 0.75 teaspoonvanilla extract
- 1/4 teaspoon 0.25 teaspoonkosher salt
- 1/3 cup 79.33 mlheavy cream
Instructions
Instructions
- Position an oven rack in the lower-middle position and preheat the oven to 350°F (325°F if using a nonstick muffin pan). Line a standard-size muffin pan with paper liners.
- Combine the 8 tablespoons unsalted butter (cut into 4 pieces), 2 ounces finely chopped bittersweet chocolate, and ½ cup Dutch-processed cocoa powder in a medium heatproof bowl. Set the bowl over a saucepan of barely simmering water and heat, stirring, until the butter and chocolate are melted and the mixture is smooth. (Alternatively, microwave at 50% power, stirring every 30 seconds, until melted.) Set aside to cool until just warm to the touch.
- In a small bowl, whisk together ¾ cup all-purpose flour, ½ teaspoon baking soda, and ¾ teaspoon baking powder. Set aside.
- In a medium bowl, whisk the 2 eggs. Add ¾ cup granulated sugar, 1 teaspoon vanilla extract, and ½ teaspoon table salt and whisk until combined and slightly thickened.
- Whisk the cooled chocolate mixture into the egg mixture until fully incorporated.
- Sift about one-third of the flour mixture over the chocolate mixture and whisk until combined. Whisk in the ½ cup sour cream until combined. Sift the remaining flour mixture over the batter and whisk until the batter is homogeneous and thick.
- Divide the batter evenly among the prepared muffin cups (about 12 standard cupcakes).
- Bake until a skewer inserted into the center comes out clean, 18 to 20 minutes. Remove from oven.
- Cool the cupcakes in the muffin pan on a wire rack for 15 minutes, then transfer the cupcakes to the wire rack and cool to room temperature (about 30 minutes) before frosting.
- Make the peanut butter frosting: in the bowl of an electric mixer fitted with the paddle attachment, combine 1 cup powdered sugar, 1 cup creamy peanut butter, 5 tablespoons unsalted butter (at room temperature), ¾ teaspoon vanilla extract, and ¼ teaspoon kosher salt. Mix on medium-low speed until creamy, stopping to scrape down the bowl as needed.
- Add ⅓ cup heavy cream to the frosting and beat on high speed until the frosting is light and smooth.
- Frost the cooled cupcakes using an offset spatula or a piping bag and tip. Store frosted cupcakes at room temperature in an airtight container for up to 4 days.
Equipment
- Oven
- standard-size muffin pan
- Paper liners
- medium heatproof bowl
- Saucepan
- Whisk
- Sifter
- Wire Rack
- electric mixer (paddle attachment)
- offset spatula or piping bag and tip
Notes
If you do not have sour cream, you can substitute plain yogurt or buttermilk.
