Preheat the oven to 350°F and grease an 8×4-inch loaf pan or line it with parchment paper.
In a large bowl, cream the butter and sugar together until light and fluffy, about 1-2 minutes.
Beat in the eggs and vanilla and mix until just combined, but avoid whipping.
Stir in the milk and mashed bananas.
In a separate bowl, whisk together the flour, baking powder, baking soda, and salt.
Add the dry ingredients and mix just until combined. Don't overmix.
Fold in the chopped pecans.
Pour the batter into the prepared loaf pan and spread it into an even layer. Sprinkle a few extra chopped pecans and/or some coarse sugar over the top (optional).
Bake for 60–70 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs.
Let the bread cool in the pan for 15 minutes before transferring it to a wire rack to cool completely.
Notes
To toast the pecans, spread them on a baking sheet and bake at 350°F for 7–9 minutes, stirring once, until fragrant. Let them cool before adding them to the batter.