Begin by preheating your oven to 350°F (175°C). Prepare a 9x5-inch loaf pan by greasing it or lining it with parchment paper for easy removal.
In a mixing bowl, blend the softened cream cheese and butter until they form a smooth and fluffy mixture.
Gradually incorporate the granulated sugar, mixing until the combination is light and airy.
Add the eggs one at a time, ensuring each is fully incorporated before adding the next, then stir in the vanilla extract.
In another bowl, mix the mashed bananas with baking soda and salt until well combined.
Carefully combine the banana mixture with the cream cheese blend, stirring gently until just mixed.
Slowly fold in the flour until the batter is smooth, taking care not to overmix. If desired, add the chopped nuts at this stage.
Transfer the batter into the prepared loaf pan, smoothing the top with a spatula for an even bake.
Bake in the preheated oven for 55-65 minutes, checking for doneness with a toothpick; it should come out clean when inserted into the center.
Once baked, let the loaf cool in the pan for about 10 minutes before moving it to a wire rack to cool completely.