First, I gather all ingredients and bring eggs and butter to room temperature. This step ensures everything mixes evenly without lumps. I always preheat the oven to 350°F (175°C) before starting.
In a medium bowl, I sift together flour, baking powder, and salt. This keeps the batter light and prevents clumps from forming in the cupcakes.
Using a mixer, I beat the softened butter and sugar until it’s pale and fluffy. This adds air to the batter, giving cupcakes their soft, tender texture.
Next, I mix in the eggs one at a time, followed by vanilla extract. Beating after each addition ensures the batter stays smooth and homogeneous.
I gradually add the dry mixture to the butter mixture, alternating with milk. I always start and end with the dry ingredients to maintain a smooth, lump-free batter.
I line a cupcake pan with paper liners and spoon the batter evenly into each cup, about two-thirds full. This prevents overflowing and helps them bake evenly.
Bake the cupcakes for 18-20 minutes, checking doneness with a toothpick. Once baked, I let them cool in the pan for 5 minutes, then transfer to a wire rack.
I beat butter until creamy, then add cocoa powder, powdered sugar, and a pinch of salt. I mix in vanilla and heavy cream until smooth, adjusting cream to reach a piping consistency.
Once the cupcakes are completely cooled, I pipe or spread the chocolate frosting on top. I love swirling it for a professional look!