Preheat the oven to 350°F (175°C) and grease your cake pans.
In a mixing bowl, whisk together the flour, cocoa powder, baking powder, baking soda, and salt until everything is evenly combined.
Beat the butter and sugar together until the mixture is smooth and fluffy. Then, add the eggs one by one, mixing well after each addition, and stir in the vanilla extract.
Next, alternate adding the dry ingredients and the milk/sour cream mixture, mixing gently until smooth.
The hot brewed coffee is added last, it will thin out the batter, but that’s exactly what you want for a moist texture.
Pour the batter into the prepared pans and bake for 30 minutes, or until a toothpick comes out clean.
Let the cakes cool in their pans for about 10 minutes, then carefully transfer them to a wire rack to cool completely.
While they cool, make the frosting by beating the butter, powdered sugar, cocoa powder, and espresso powder until smooth.
Gradually add the heavy cream and vanilla to get your desired frosting consistency.
Once the cakes have fully cooled, frost them by layering a generous amount of frosting between each layer and on the top.
Allow the cake to rest for about 15 minutes to set, and then it’s ready to serve! Enjoy!