Prep Time 20 minutes mins
Cook Time 18 minutes mins
Resting Time 30 minutes mins
Total Time 1 hour hr 8 minutes mins
For best results, make sure all refrigerated ingredients are at room temperature so the batter mixes evenly and the cupcakes bake with a tender crumb; avoid overmixing once you add the dry ingredients to prevent dense cupcakes, and use hot coffee if possible to intensify the chocolate flavor without making the cupcakes taste like coffee. If you live in a warm climate, chill the frosting for 5 to 10 minutes if it becomes too soft to pipe, and add the crushed candy canes just before serving if you’re storing the cupcakes longer than a few hours, as peppermint pieces can absorb moisture and become sticky. These cupcakes can be made a day ahead, stored covered at room temperature without the candy cane garnish, and the frosting can be refrigerated separately; just bring the frosting back to room temperature and rewhip briefly before decorating.