Preheat the oven to 350°F. Grease and flour a 9-by-5-inch loaf pan.
In a large bowl, whisk together flour, baking soda, baking powder, and salt.
In a separate bowl, beat butter and brown sugar until well combined. Add eggs one at a time, beating well after each. Stir in vanilla.
In another bowl, stir together stout beer, sour cream, and 4 tablespoons maple syrup.
Alternately stir flour mixture and stout mixture into butter mixture, beginning and ending with flour mixture. Pour batter into the prepared pan.
Bake for 45–50 minutes, until golden brown and a toothpick inserted in the center comes out mostly clean.
Cool in pan for 10 minutes. Turn out onto a rack and cool completely.
Make glaze: stir remaining 1 tablespoon maple syrup with powdered sugar and milk (adjust consistency as needed). Pour over cooled bread and let set before slicing.