Make the chocolate cake layers first so that they have time to cool. Preheat the oven to 350°F/175°C. Grease and line three eight-inch cake pans.
Sift or whisk together 2 cups flour, 2 cups sugar, 3/4 cup cocoa powder, 2 tsp baking powder, 1 1/2 tsp baking soda, and 1 tsp salt in a large bowl. Set aside.
In a separate, large bowl, add 1 cup warm water, 1 cup sour cream, 1/2 cup oil, 2 eggs, 2 tsp vanilla, and 1 tsp instant espresso and whisk together until fully incorporated.
Mix the dry ingredients into the wet ingredients until they're just combined, and the batter is mostly smooth (a few small lumps are ok).
Divide the batter evenly between the prepared cake pans and bake for 23-26 minutes or until a toothpick comes out with a few moist crumbs.
Remove the cake layers from the oven and let them cool in the pans for about 30 minutes. Gently run an offset spatula around the rim of the cake pans to loosen them, then flip them onto wire racks to finish cooling.
Once cooled, use a serrated knife to level the top of each cake layer. If you are making these in advance, wrap and freeze them at this point.