Prep Time 20 minutes mins
Cook Time 20 minutes mins
Resting Time 30 minutes mins
Total Time 1 hour hr 10 minutes mins
For best results, use room-temperature ingredients for a smoother batter and frosting, and avoid overmixing the cupcake batter after adding the dry ingredients to keep the crumb tender. Hot coffee deepens the chocolate flavor but does not make the cupcakes taste like coffee, so use it instead of water if possible. Let the cupcakes cool fully before frosting to prevent the peanut butter frosting from melting. If your kitchen is warm, chill the frosted cupcakes for 10–15 minutes so the frosting sets slightly, and store leftovers in an airtight container at cool room temperature for up to 2 days or in the fridge for up to 5 days, bringing them to room temperature before serving for the best texture.