Preheat the oven to 350°F (180°C). Line cake pans with parchment paper and lightly grease the sides.
In a large bowl, whisk together flour, cocoa powder, sugar, baking soda, baking powder, and salt.
Add eggs, vegetable oil, milk, and vanilla extract to the dry ingredients. Stir gently until combined.
Slowly pour in the hot coffee while stirring. The batter will be thin.
Divide the batter evenly between prepared pans and tap gently to remove air bubbles.
Bake for 25–35 minutes, until the cake springs back when touched and a toothpick shows moist crumbs.
Let cakes cool in the pan for 10 minutes, then turn out and cool completely before frosting.