Peanut butter and chocolate were meant to be together, and these cupcakes prove it. They’re rich without being heavy, sweet without going overboard, and full of that nostalgic, peanutty warmth. The batter comes together easily, and the frosting pipes beautifully whether you’re a seasoned baker or a casual weekend cook.
You’ll get tender, moist cupcakes with a creamy swirl on top that tastes like a peanut butter cup in cupcake form. Perfect for birthdays, bake sales, or a quiet night in.
Why This Recipe Works
The cupcake base uses oil and buttermilk for a tender, moist crumb that stays soft for days. Cocoa powder gives deep chocolate flavor without making the batter fussy.
A touch of hot coffee amplifies the chocolate notes—no coffee taste, just more chocolate. The frosting blends creamy peanut butter with butter for a silky texture that’s easy to pipe and not overly sweet. Finally, the salt balance keeps everything tasting rich and complex instead of cloying.
Ingredients
- All-purpose flour – for structure
- Unsweetened cocoa powder – natural or Dutch-processed
- Granulated sugar
- Light brown sugar
- Baking powder
- Baking soda
- Kosher salt
- Large eggs – room temperature
- Buttermilk – or milk plus lemon juice/vinegar
- Neutral oil – canola, vegetable, or light olive oil
- Vanilla extract
- Hot brewed coffee – or hot water
- Creamy peanut butter – not natural-style for the frosting
- Unsalted butter – room temperature
- Powdered sugar
- Heavy cream or milk – for frosting consistency
- Mini chocolate chips or chopped peanuts (optional, for garnish)
- Mini peanut butter cups (optional, for garnish or filling)
Instructions
- Prep the pan and oven. Heat your oven to 350°F (175°C).Line a 12-cup muffin tin with paper liners. This recipe makes about 14–16 cupcakes, so have a second tin or bake in batches.
- Whisk the dry ingredients. In a large bowl, whisk 1 1/2 cups flour, 1/2 cup cocoa powder, 3/4 cup granulated sugar, 1/2 cup packed brown sugar, 1 teaspoon baking powder, 1/2 teaspoon baking soda, and 1/2 teaspoon kosher salt until no lumps remain.
- Mix the wet ingredients. In another bowl, whisk 2 large eggs, 1/2 cup buttermilk, 1/3 cup neutral oil, and 2 teaspoons vanilla until smooth.
- Combine wet and dry. Pour the wet mixture into the dry and whisk just until mostly combined. Don’t overmix; a few streaks are fine.
- Loosen with hot liquid. Slowly whisk in 1/2 cup hot coffee (or hot water) until the batter is smooth and pourable.The batter will be thin—that’s good for moisture.
- Fill the liners. Divide batter evenly, filling each liner about 2/3 full. For neat tops, use a large cookie scoop.
- Bake. Bake 16–19 minutes, until a toothpick comes out with a few moist crumbs. Don’t wait for it to be completely dry.
- Cool completely. Let cupcakes cool in the pan 5 minutes, then transfer to a rack.Cool fully before frosting.
- Make the frosting. Beat 3/4 cup creamy peanut butter with 1/2 cup unsalted butter on medium speed until fluffy, 2–3 minutes. Gradually add 2 1/2–3 cups powdered sugar, a pinch of salt, and 2–3 tablespoons cream or milk, beating until thick, smooth, and pipeable. Adjust with more cream for softness or more sugar for stiffness.
- Frost and finish. Pipe or spread the frosting onto cooled cupcakes.Top with mini chocolate chips, chopped peanuts, or a mini peanut butter cup. For extra indulgence, press a mini peanut butter cup into the center of the cupcake before baking.
Keeping It Fresh
These cupcakes stay moist at room temperature for up to 2 days when stored in an airtight container. If your kitchen is warm, refrigerate them and bring to room temp before serving for the best texture.
For longer storage, freeze unfrosted cupcakes up to 2 months; thaw at room temp and frost later. You can also freeze the frosting separately in an airtight bag for 1 month—thaw in the fridge and rewhip before using.
Health Benefits
While these are a treat, they do offer a few perks. Peanut butter provides protein and healthy fats, which can help with satiety. Cocoa powder adds flavanols and antioxidants.
Using oil instead of butter in the batter keeps the crumb tender and reduces saturated fat slightly compared to all-butter cakes. You can also moderate portion size or use mini liners for built-in balance.
What Not to Do
- Don’t use natural peanut butter in the frosting. The oil separation leads to splitting and a greasy texture.
- Don’t overmix the batter. Once the liquids go in, stir just until combined to avoid tough cupcakes.
- Don’t skip the hot liquid. It blooms the cocoa and keeps the batter light and smooth.
- Don’t overbake. Dry cupcakes won’t be saved by frosting.Pull them when the tester shows moist crumbs.
- Don’t frost warm cupcakes. Heat melts the butter in the frosting and causes sliding or curdling.
Variations You Can Try
- Salted Caramel Drizzle: Add a thin ribbon of warm caramel over the peanut butter frosting and finish with flaky salt.
- Crunch Factor: Fold crushed pretzels or chopped roasted peanuts into the frosting or sprinkle on top.
- Double Chocolate: Add chocolate chips to the batter for pockets of melted chocolate.
- Banana Twist: Replace half the buttermilk with mashed ripe banana for a chocolate-peanut-banana vibe.
- Gluten-Free: Use a 1:1 gluten-free baking flour blend with xanthan gum. Let the batter rest 10 minutes before baking.
- Dairy-Free: Swap buttermilk for oat milk mixed with 1 teaspoon vinegar, and use dairy-free butter and chocolate.
- Mini Cupcakes: Bake 10–12 minutes in a mini pan and top with a small kiss of frosting.
FAQ
Can I make the cupcakes ahead?
Yes. Bake and cool the cupcakes, then store them airtight at room temperature for up to 2 days or freeze up to 2 months.
Frost the day you plan to serve for the freshest look and texture.
What if I don’t have buttermilk?
Mix 1/2 tablespoon lemon juice or white vinegar into just under 1/2 cup milk. Let it sit 5 minutes to thicken slightly, then use as directed. It won’t be identical, but it works well.
Can I reduce the sugar?
You can cut each sugar in the batter by about 2 tablespoons without hurting texture.
For the frosting, reduce powdered sugar slightly and adjust with a splash less cream to keep it thick.
How do I get bakery-style swirls?
Use a large piping tip like an open star or round tip. Fill a piping bag, hold it vertically, and pipe from the outside in, building height with steady pressure. Chill the frosted cupcakes 10 minutes to set clean edges.
Why add hot coffee to chocolate batter?
Hot liquid blooms the cocoa for deeper flavor.
Coffee enhances chocolate’s bitterness in a good way, making it taste richer without adding a coffee flavor.
My frosting is too stiff or too loose. How do I fix it?
If it’s stiff, beat in 1 teaspoon cream at a time until soft and smooth. If it’s loose, add powdered sugar by the tablespoon, or chill for 10 minutes and rewhip.
Can I stuff the cupcakes with peanut butter?
Yes.
Core cooled cupcakes with a small knife, spoon in a teaspoon of creamy peanut butter or a peanut butter cup half, then cap with the removed piece before frosting.
How do I make them nut-free?
Use sunflower seed butter in the frosting and skip nut garnishes. Check labels for cross-contact if allergies are severe.
In Conclusion
These Peanut Butter Chocolate Cupcakes bring together a soft, chocolatey base and a creamy peanut butter crown that never fails to impress. The steps are simple, the ingredients are familiar, and the results taste like a bakery treat made at home.
Whether you’re baking for a crowd or sneaking one after dinner, this recipe hits that sweet spot of rich, balanced, and comforting. Keep the tips handy, try a variation or two, and enjoy every bite.







