Prep Time 20 minutes mins
Cook Time 18 minutes mins
Resting Time 30 minutes mins
Total Time 1 hour hr 8 minutes mins
To get the best texture and flavor, use room-temperature ingredients for the batter and frosting, and avoid overmixing once the dry ingredients are added so the cupcakes stay tender. Strong, freshly brewed coffee deepens the chocolate flavor without making the cupcakes taste overly like coffee, but you can reduce the espresso in the frosting if you prefer a milder mocha taste. If the frosting is too soft, chill it briefly in the refrigerator and rewhip; if it’s too stiff, add a splash of cream. Store frosted cupcakes in an airtight container at cool room temperature for up to 2 days, or refrigerate in warm weather and let them sit out 20 minutes before serving for the creamiest frosting.