This easy Chocolate Peanut Butter Cupcakes recipe makes 24 moist, deeply chocolatey cupcakes topped with fluffy peanut butter buttercream. The scratch-made batter takes about 25–30 minutes to prepare, bakes in 18–22 minutes, and uses everyday ingredients plus hot coffee for a richer cocoa flavor.
Every bite combines tender chocolate cake with smooth, salty-sweet peanut butter frosting. Finish the cupcakes with mini peanut butter cups, chopped peanuts, or melted chocolate for a bakery-worthy dessert that is perfect for birthdays, bake sales, holidays, and casual family treats.
Jump to RecipeWhy You’ll Love This Recipe

These chocolate peanut butter cupcakes deliver the classic candy-shop combination in a soft, homemade cake. The chocolate crumb is moist and tender rather than dense, while the frosting is rich, creamy, and pleasantly salty against the sweetness of the cupcake.
The recipe is also practical for entertaining because it makes 24 cupcakes. You can prepare the cakes earlier in the day, cool them completely, and frost them shortly before serving.
Hot brewed coffee is the quiet secret in the batter. It intensifies the cocoa flavor without giving the finished cupcakes a noticeable coffee taste, creating a fuller chocolate profile with very little extra effort.
If you love baking with this classic nutty flavor, keep our easy peanut butter cookie recipe nearby for another simple dessert idea.
Ingredients You’ll Need

Start with standard all-purpose flour, granulated sugar, unsweetened cocoa powder, baking soda, baking powder, and salt. These dry ingredients give the cupcakes structure, sweetness, chocolate flavor, and a balanced rise.
Room-temperature eggs and buttermilk blend more easily into the batter. Vegetable or canola oil keeps the crumb soft, while vanilla extract rounds out the cocoa and peanut butter flavors.
- Chocolate base: Flour, sugar, cocoa powder, baking soda, baking powder, and salt.
- Wet ingredients: Eggs, buttermilk, oil, vanilla, and hot coffee or boiling water.
- Frosting: Softened unsalted butter, creamy peanut butter, sifted powdered sugar, vanilla, and heavy cream or milk.
- Finishing touches: Mini peanut butter cups, chopped peanuts, melted chocolate, or ganache.
Choose creamy peanut butter for the smoothest buttercream. Natural peanut butter that separates may make the frosting less consistent unless it is thoroughly stirred before measuring.
For another chocolate-forward cupcake idea, you can also browse our chocolate bark cupcake recipe when planning a dessert assortment.
How to Make It Step-by-Step

Step 1: Heat the oven to 350°F (175°C), then line two 12-cup muffin tins with paper liners. Preparing both pans before mixing keeps the thin batter ready to portion without delay.
Step 2: In a large bowl, whisk together the flour, sugar, unsweetened cocoa powder, baking soda, baking powder, and salt. Break up any cocoa lumps so the dry mixture distributes evenly through every cupcake.
Step 3: Add the room-temperature eggs, buttermilk, oil, and vanilla extract to the dry ingredients. Beat or whisk only until the mixture is combined; excessive mixing can make the finished cakes less tender.
Step 4: Slowly pour in the hot brewed coffee or boiling water while mixing carefully. The batter will become quite thin, but this is expected and helps produce moist, delicate cupcakes.
Step 5: Divide the batter among the prepared liners, filling each one about two-thirds full. A large cookie scoop or measuring cup makes the portions more even and helps keep the cupcakes a similar height.
Step 6: Bake for 18–22 minutes, checking near the shorter end of the baking range. The cupcakes are ready when their tops spring back lightly and a toothpick comes out with a few moist crumbs rather than wet batter.
Step 7: Let the cupcakes cool in the pans for 5–10 minutes. Move them to a wire rack afterward and wait until they are completely cool, since warm cake can soften or melt the buttercream.
Step 8: To make the frosting, beat the softened butter and creamy peanut butter until smooth and creamy. Scrape the bowl once or twice so the mixture has no streaks of plain butter.
Step 9: Add the sifted powdered sugar gradually, mixing after each addition to prevent a cloud of sugar. Add the vanilla, optional salt, and heavy cream or milk, then beat for 2–3 minutes until the frosting is fluffy.
Step 10: Pipe the peanut butter buttercream onto the cooled cupcakes or spread it with a small spatula. Finish with a mini peanut butter cup, chopped peanuts, melted chocolate, or ganache just before serving.
Pro Tips for Moist Cupcakes and Fluffy Frosting
Measure flour by spooning it into a measuring cup and leveling the top, or use a kitchen scale for the most reliable result. Too much flour can make a chocolate cupcake heavy and dry.
Do not wait for a perfectly clean toothpick. A few moist crumbs indicate that the cakes are baked while retaining moisture; baking until the tester is completely clean can lead to dry cupcakes.
Room-temperature butter is important for the frosting. Cold butter will not whip smoothly, while melted butter will create a loose mixture that may not hold a piped shape.
- Sift the powdered sugar for a smoother buttercream.
- Add the cream or milk gradually so you can control the consistency.
- Use a little more milk for softer frosting or more powdered sugar for firmer frosting.
- Scrape the mixing bowl during preparation to eliminate uneven streaks.
If the frosting feels too soft, chill it briefly before piping. If it seems too firm, mix in a small amount of milk until it spreads easily.
For a special candy-inspired dessert table, pair these cupcakes with homemade peanut butter cups. The matching flavors make the two desserts especially appealing together.
Decorating Ideas and Serving Suggestions

A large star tip creates a classic bakery swirl, while a round tip gives the cupcakes a clean, modern finish. You can also use an offset spatula for a simple rustic mound of frosting.
Press a mini peanut butter cup into the frosting while it is still soft. A sprinkle of chopped peanuts adds crunch, and a thin drizzle of melted chocolate or ganache brings extra visual contrast.
Serve the cupcakes at room temperature so the cake is soft and the buttercream is creamy. They are especially tempting alongside cold milk, hot coffee, or a scoop of vanilla ice cream.
For seasonal baking inspiration, compare the decorating approach with these cream cheese filled pumpkin cupcakes. Both recipes are festive options for parties and family gatherings.
Storage and Make-Ahead Advice

Store frosted cupcakes in an airtight container at room temperature for a short serving window, provided your kitchen is not especially warm. If you need to keep them longer, refrigerate them in a covered container and allow them to come toward room temperature before serving.
The unfrosted cupcakes can be made ahead and cooled completely before being covered tightly. Prepare the buttercream separately, then frost the cakes when you are ready to serve for the freshest texture.
Keep decorated cupcakes away from strong-smelling foods in the refrigerator because buttercream can absorb odors. Add candy pieces and chocolate drizzle close to serving time for the crispest, neatest finish.
For a larger dessert spread, these cupcakes can sit beside fruit-based treats such as our stovetop caramel apples.

Easy Chocolate Peanut Butter Cupcakes
Ingredients
Method
- Heat the oven to 350°F (175°C). Line two 12-cup muffin tins with paper liners.
- Whisk the flour, sugar, cocoa powder, baking soda, baking powder, and salt together in a large bowl.
- Add the eggs, buttermilk, oil, and vanilla extract. Beat or whisk just until the mixture is combined.
- Slowly pour in the hot coffee or boiling water while mixing carefully. The batter will be thin, and that consistency is normal.
- Divide the batter among the liners, filling each about two-thirds full.
- Bake for 18–22 minutes, until the tops spring back lightly and a toothpick inserted in the center comes out with a few moist crumbs.
- Cool the cupcakes in the pans for 5–10 minutes, then transfer them to a wire rack and cool completely.
- Beat the softened butter and peanut butter together until smooth and creamy.
- Add the powdered sugar gradually, then mix in the vanilla, optional salt, and heavy cream or milk. Beat for 2–3 minutes until fluffy.
- Pipe or spread the frosting onto the completely cooled cupcakes. Add mini peanut butter cups, chopped peanuts, melted chocolate, or ganache if desired.
Notes
Final Thoughts
This easy Chocolate Peanut Butter Cupcakes recipe is a dependable way to satisfy both chocolate and peanut butter cravings. The batter is simple to mix, the coffee brings out the cocoa, and the creamy peanut butter frosting turns each tender cupcake into a memorable dessert.
Remember the three most important details: keep the batter from being overmixed, remove the cupcakes when a toothpick shows a few moist crumbs, and wait until the cakes are completely cool before frosting. Those small steps make a noticeable difference in texture and presentation.
Add your favorite finishing touch, gather everyone around, and enjoy these cupcakes fresh. Whether you serve all 24 at a celebration or save a few for later, this is a recipe worth returning to whenever a classic chocolate-peanut butter treat is calling.