Step 1: Preheat and Prepare : Preheat your oven to 350°F (175°C). Line a 12-cup muffin pan with cupcake liners. Bring ingredients (especially butter and eggs) to room temperature for even mixing.
Step 2: Mix Dry Ingredients : In a medium bowl, whisk together flour, cocoa powder, baking powder, baking soda, and salt. Set aside.
Step 3: Cream Butter and Sugar : In a large mixing bowl, beat butter and sugar with a hand or stand mixer until light and fluffy (about 2–3 minutes). Add the eggs, one at a time, mixing well after each addition. Beat in vanilla extract.
Step 4: Combine Wet and Dry Ingredients : Alternate adding the dry ingredients and buttermilk to the butter mixture, beginning and ending with dry ingredients. Mix on low speed until just combined — don’t overmix. Stir in the hot espresso and instant espresso powder (if using). The batter will be slightly thin — that’s perfect for a moist texture.
Step 5: Fill and Bake : Divide batter evenly among the cupcake liners, filling each about 2/3 full. Bake for 18–20 minutes, or until a toothpick inserted in the center comes out clean.
Let cupcakes cool in the pan for 5 minutes, then transfer to a wire rack to cool completely before frosting.
Step 6: Make the Chocolate Ganache : In a small saucepan, heat heavy cream over medium heat until it just begins to simmer (do not boil). Pour hot cream over chocolate chips in a heatproof bowl. Let sit for 2–3 minutes, then whisk until smooth and glossy. Stir in butter if you want extra shine. Let the ganache cool for 10–15 minutes until thickened but still pourable.
Step 7: Assemble the Cupcakes : Dip the tops of each cooled cupcake into the ganache or spoon it over for a smooth, glossy coating. Allow the ganache to set slightly at room temperature or refrigerate for 10–15 minutes before serving.