01 - Set oven to 350°F. Grease a 9x5-inch loaf pan and line with parchment paper to facilitate removal.
02 - In a medium bowl, whisk together flour, cocoa powder, baking soda, and salt until evenly blended.
03 - In a large bowl, blend mashed bananas, melted butter, sugar, eggs, and vanilla extract until smooth.
04 - Fold dry mixture into wet ingredients gently until just combined, avoiding overmixing.
05 - Fold in chocolate chips and chopped nuts if using, ensuring even distribution.
06 - Pour batter into prepared pan, leveling the top with a spatula.
07 - Bake for 50 to 60 minutes, until a toothpick inserted near the center comes out with moist crumbs attached.
08 - Allow bread to cool in pan for 10 minutes before transferring to a wire rack to cool completely.