Amazing Peanut Butter Chocolate Cupcakes
Peanut Butter Chocolate Cupcakes taste like a warm hug in dessert form — rich chocolate cake with a creamy peanut butter kiss on top. I still remember baking these on a rainy Sunday, the house smelling like cocoa and roasted peanuts while my kids argued over who would lick the bowl. If you love the peanut butter + chocolate combo, you might also enjoy my peanut butter brownie swirl cookies for another twist on the same cozy flavors. Let’s bake it together!
Why make this recipe
These cupcakes pair deep chocolate flavor with smooth, slightly salty peanut butter for a perfect sweet-and-savory balance. The cake is tender and moist, while the peanut butter buttercream adds a creamy, dreamy finish. They’re straightforward to make with everyday pantry staples and come together quickly — ideal for weeknight baking or special occasions. This version stands out because it folds peanut butter into the batter for a subtle peanut note, then doubles down with a fluffy peanut butter buttercream.
Ingredient spotlight / baking notes
Use creamy peanut butter for the best texture in both the batter and the buttercream. Natural peanut butter (with oil separation) can be runnier and change the batter consistency; if you prefer natural, stir it well first and reduce any added milk slightly. Creamy commercial-style peanut butter adds stability and helps the buttercream hold a satin, pipe-able texture. This small choice makes a big difference in final mouthfeel and frosting appearance.
What you’ll need
This recipe uses simple pantry ingredients most home bakers keep on hand — flour, cocoa, sugar, butter, eggs, and milk — plus peanut butter for that golden twist. Gather your measuring cups and a standard 12-cup cupcake pan so you can get started without surprises.
How to make Peanut Butter Chocolate Cupcakes
Here’s a friendly, step-by-step guide to get these cupcakes from bowl to plate. For another peanut butter-chocolate treat you can make alongside these, check out my peanut butter brownie swirl cookies recipe for inspiration.
Ingredients
- 1 1/2 cups all-purpose flour
- 1/2 cup cocoa powder
- 1 cup sugar
- 1 tsp baking soda
- 1/2 tsp baking powder
- 1/2 tsp salt
- 1/2 cup unsalted butter, softened
- 2 large eggs
- 1 tsp vanilla extract
- 1 cup milk
- 1/2 cup creamy peanut butter
- 3 cups powdered sugar
- 1/2 cup unsalted butter, softened (for buttercream)
- Milk (as needed for consistency)
- Chocolate shavings or sprinkles (optional, for decoration)

Directions
- Preheat your oven to 350°F (175°C) and line a cupcake pan with cupcake liners.
- In a large bowl, whisk together the flour, cocoa powder, sugar, baking soda, baking powder, and salt until evenly combined.
- In another bowl, beat together the softened butter, eggs, and vanilla extract until smooth and slightly pale.
- Gradually add the dry ingredients to the wet mixture, alternating with the milk, starting and ending with the dry ingredients. Mix just until combined.
- Fold in the creamy peanut butter until evenly distributed throughout the batter; small streaks are okay but try not to overmix.
- Fill the cupcake liners about 2/3 full with batter.
- Bake for 18–20 minutes or until a toothpick inserted in the center comes out clean or with a few moist crumbs.
- Let the cupcakes cool completely on a wire rack before frosting.
- For the buttercream, beat together the softened butter and powdered sugar until fluffy, then beat in the peanut butter. Add milk, a tablespoon at a time, until you reach a smooth, pipe-able consistency.
- Once the cupcakes are cool, frost them with the peanut butter buttercream and top with chocolate shavings or sprinkles if desired.
- Enjoy your delicious peanut butter chocolate cupcakes!
Pro Tip
Room-temperature butter and eggs blend more easily, giving you a lighter, more even cake — don’t rush this step.
Common mistakes to avoid
- Overmixing the batter after adding flour, which can make cupcakes tough.
- Skipping the room-temperature step for butter and eggs; cold ingredients won’t emulsify well.
- Filling liners too full — cupcakes can spill and bake unevenly.
- Frosting warm cupcakes, which will cause the buttercream to melt and slide off.
Tips to make Peanut Butter Chocolate Cupcakes
- Don’t overmix once the flour is added; stir until just combined.
- Use room temperature butter, eggs, and milk for a smooth batter.
- Weighing flour or using the spoon-and-level method prevents dry, dense cupcakes.
- If your buttercream seems soft, chill briefly before piping to firm it up.
Variation (if any)
- Flavor variations: swirl a tablespoon of melted chocolate into the batter for extra richness, or fold in mini peanut butter chips.
- Gluten-free option: swap the flour for a 1:1 gluten-free baking blend and add a teaspoon xanthan gum if your blend doesn’t contain it.
- Dairy-free option: use dairy-free butter and your favorite non-dairy milk; make sure powdered sugar is vegan-friendly.
- Ingredient swaps: swap creamy peanut butter for almond butter (similar measure) for a nuttier twist; reduce added milk slightly if using natural nut butter.
How to serve Peanut Butter Chocolate Cupcakes
Serve these warm (briefly microwave 8–10 seconds) so the buttercream softens slightly and the chocolate smells heavenly, or chill them for a firmer frosting texture. They pair wonderfully with a strong cup of coffee or a glass of cold milk. Bring them to potlucks, birthday parties, or an after-school treat — they’re a crowd-pleaser any season. For fall, add a sprinkle of sea salt and caramel drizzle; in spring, top with fresh berries for color.
how to store Peanut Butter Chocolate Cupcakes
- Room temperature: Store in an airtight container for up to 2 days if kept out of direct heat.
- Fridge: Keep frosted cupcakes in a covered container for up to 5 days — let them come to room temperature before serving for best flavor.
- Freezer: Freeze unfrosted cupcakes wrapped individually for up to 3 months; thaw and frost when ready. You can also freeze frosted cupcakes on a tray, then transfer to a container once firm.
- Reheating tips: Warm for a few seconds in the microwave (6–10 seconds) to revive a just-baked feel.
make-ahead option
Prepare the batter and freeze the unbaked batter scooped into liners on a tray, then store in a freezer bag for up to a month; bake from frozen adding a few minutes to the baking time. You can also make the buttercream ahead and refrigerate it for up to 5 days — bring to room temperature and re-whip before spreading to fluff it back up.
Reader love
Everyone who tries it says it’s a keeper!

FAQs
Q: Can I use natural peanut butter in the batter and frosting?
A: Yes, you can, but natural peanut butter is oilier and can change the texture of both the batter and the buttercream. Stir it very well before measuring and reduce any added milk by a tablespoon or two if the batter looks too loose. For the frosting, chill briefly after mixing if it seems soft, then re-whip to get a fluffy texture. Beginners should taste and adjust sugar or salt to balance flavor.
Q: How do I know when cupcakes are done without a toothpick?
A: Look for cupcakes that spring back slightly when touched in the center and have edges that pull away from the liner. The top should feel set, not jiggly. If you’re unsure, test one cupcake with a clean toothpick; a few moist crumbs are okay, but wet batter means they need more time.
Q: Can I make this recipe into a layer cake instead of cupcakes?
A: Absolutely. Double-check your pan size: this batter would fit a 9-inch round pan or two 8-inch rounds with adjusted bake times. Bake at the same temperature but increase bake time (start checking around 20–25 minutes). Use the same frosting recipe, but you may need to increase it slightly for full coverage on a larger cake.
Nutrition Facts (per serving)
| Calories | Protein | Carbs | Fat | Fiber | Sodium |
|—:|—:|—:|—:|—:|—:|
| 450 kcal | 7 g | 52 g | 28 g | 3 g | 220 mg |
"Nutrition information is provided as a general estimate. The values may vary based on the exact ingredients, brands, and measurements you use in your own kitchen. Cooking methods, optional add-ins, and portion sizes can also change the final numbers. For the most accurate results, consider using your own nutrition calculator with the specific products you have on hand."
Final Thoughts
These Peanut Butter Chocolate Cupcakes are a cozy, family-friendly treat that feel special but bake up with ease. I hope they become a go-to recipe in your kitchen — share a batch, savor the smiles, and keep baking.

Peanut Butter Chocolate Cupcakes
Ingredients
Method
- Preheat your oven to 350°F (175°C) and line a cupcake pan with cupcake liners.
- In a large bowl, whisk together the flour, cocoa powder, sugar, baking soda, baking powder, and salt until evenly combined.
- In another bowl, beat together the softened butter, eggs, and vanilla extract until smooth and slightly pale.
- Gradually add the dry ingredients to the wet mixture, alternating with the milk, starting and ending with the dry ingredients. Mix just until combined.
- Fold in the creamy peanut butter until evenly distributed throughout the batter.
- Fill the cupcake liners about 2/3 full with batter.
- Bake for 18–20 minutes or until a toothpick inserted in the center comes out clean or with a few moist crumbs.
- Let the cupcakes cool completely on a wire rack before frosting.
- For the buttercream, beat together the softened butter and powdered sugar until fluffy.
- Beat in the peanut butter. Add milk, a tablespoon at a time, until you reach a smooth, pipe-able consistency.
- Once the cupcakes are cool, frost them with the peanut butter buttercream and top with chocolate shavings or sprinkles if desired.