Preheat your oven to 350°F. Lightly spray a 9x13-inch baking dish or line it with parchment paper. Set the baking dish aside.
For the Hummingbird Cake
In a large mixing bowl, whisk together 3 cups of all-purpose flour, 2 cups granulated sugar, 1 teaspoon baking soda, 1 teaspoon ground cinnamon, and ½ teaspoon kosher salt until all the ingredients are combined.
Add 3 large eggs and 1 cup vegetable oil directly to the dry mixture. Stir gently with a wooden spoon or rubber spatula until the ingredients are just combined. The mixture will be fairly thick but will thin out after the next step.
Fold in 1 cup crushed pineapple with juice, 2 cups mashed bananas, 2 teaspoons pure vanilla extract, and 1 cup chopped pecans (optional) until all of the ingredients are combined. Don’t overmix the batter.
Pour the batter into the prepared 9x13-inch baking dish and smooth out the top of the batter so that it is even.
Place in the oven and bake for 40-45 minutes, or until a cake tester or toothpick comes out clean from the center. Let it cool completely in the pan on a cooling rack.
For the Cream Cheese Frosting
To make the cream cheese frosting, beat (2) 8-ounce blocks of softened cream cheese and ½ cup (1 stick) of softened unsalted butter together in a large bowl using a hand or stand mixer until smooth and creamy (about 2-3 minutes).
Add 1 tablespoon pure vanilla extract, then gradually mix in 4 ½ cups of sifted powdered sugar until the frosting is thick and fluffy. If your frosting feels too thick to spread easily, beat in 1-2 tablespoons of heavy cream, a little at a time, until you reach your desired consistency.
Spread the frosting over the cooled cake, making sure to go thick and even across the top. Sprinkle the remaining ¼ cup of chopped pecans over the frosting, if using, and then slice into squares.
Video
Notes
This cake gets even better the next day after the flavors have had time to mingle.