Preheat the oven to 350°F. Grease a 9-inch springform pan with butter and line the bottom with a round of parchment paper. Dust with cocoa powder and tap out in excess.
Add the Guinness and butter to a large saucepan and heat over medium-high heat until the butter has melted. Whisk in the cocoa powder, sugars and espresso powder and mix until there are no lumps. Remove from heat and let come to room temperature.
In a medium bowl, beat together the sour cream, eggs and vanilla extract until combined. Add the stout mixture, whisking together.
In a medium bowl, whisk together the flour, baking soda and salt. Fold into the stout mixture until just combined.
Pour the batter into the prepared cake pan. Bake for 40-50 minutes or until a cake tester comes out clean.
Allow cake to cool before frosting.
Irish Cream Frosting
Using the whisk attachment of a mixer, whip the butter on medium-high speed for 5 minutes, scraping the sides of the bowl after every minute. Reduce the speed to medium-low and gradually add the powdered sugar until it is all incorporated. Add the Baileys, increase the speed to medium-high and whip for another 2-3 minutes until it is light and fluffy.
Notes
The Guinness cake can also be baked in an 8-inch or 10-inch springform pan but the baking time will vary.