Preheat oven to 350℉.
Grease two 9" cake pans and line the bottoms with parchment paper.
In a large bowl, using either a stand mixer with a beater attachment or a handheld electric mixer, cream together the butter and sugar until light and fluffy.
1 ½ cups butter, at room temperature, 2 cups granulated sugar
Add the eggs one at a time, then stir in the vanilla, milk, and the brewed coffee.
2 large eggs, 1 teaspoon vanilla extract, ½ cup whole milk, 1 cup freshly brewed coffee
In a separate bowl, whisk together the flour, cocoa powder, salt, baking soda, and baking powder.
2 cups all purpose flour, ¾ cup cocoa powder, 2 teaspoons baking soda, ¾ teaspoon salt, 1 teaspoon baking powder
With the mixer turning on low speed, slowly add the dry ingredients to the wet ingredients and mix just until everything's combined.
Pour the batter evenly into two greased and lined 9-inch cake pans.
Bake for about 30 minutes, or until a toothpick in the center comes out mostly clean.
Let the cakes cool completely before frosting.