Hummingbird Cake with Pineapple
The first hummingbird cake I ever tasted was at a church homecoming dinner, set out on a long table between a coconut cake and a pan of banana pudding. I went back for a second slice before I had finished my first, and the lady who made it just smiled like she had seen that happen a hundred times. It is that kind of cake.
Hummingbird cake is a banana and pineapple spice cake, studded with pecans and covered in cream cheese frosting. The bananas keep it tender, the crushed pineapple keeps it moist, and a little cinnamon warms the whole thing up. It bakes into three soft layers that stack tall and slice like a celebration.
Some folks say the cake got its name because it is sweet enough to attract hummingbirds. I cannot say about the birds, but it has never failed to attract a crowd at our house. It is the cake I make when a birthday needs something a little special and a plain yellow cake will not do.
Why You’ll Love This Recipe
- The batter stirs together in one bowl with a spoon, no mixer needed for the cake itself.
- Banana and pineapple keep every layer moist for days, so it is a great make ahead cake.
- Cream cheese frosting and crunchy pecans hit the sweet and tangy balance people remember.
- Three layers look impressive on a cake stand but bake in under half an hour.
- It feeds a crowd, which makes it a natural fit for birthdays, holidays, and potlucks.

Ingredient Notes and Easy Substitutions
The bananas should be ripe, with plenty of brown spots on the peel. Ripe bananas mash easily and bring the sweetness and moisture this cake depends on. Green or just yellow bananas will leave the cake bland and a little dry, so this is the recipe to save for the bunch that got away from you on the counter. Mash them with a fork and leave a few small lumps for texture.
Use crushed pineapple with its juice, straight from the can, and do not drain it. The juice is part of the liquid in the batter, and draining it throws off the moisture. If all you have is pineapple chunks or tidbits, give them a rough chop and use them with their juice. The oil keeps the crumb soft even straight from the refrigerator. Vegetable oil is standard, but melted coconut oil works, and a mild olive oil will do in a pinch. Pecans are the classic nut here. Walnuts are a fine swap, and the cake still works with the nuts left out for anyone who cannot have them.
For the frosting, full fat cream cheese and real butter give the best flavor and the sturdiest spread. Set both out ahead of time so they soften properly, because cold cream cheese beats up lumpy and no amount of mixing quite fixes it. If the frosting feels too soft to spread, chill it for fifteen minutes and it will firm right up.
Step by Step Overview and Practical Kitchen Tips
Heat the oven to 350 degrees F. Grease three 9 inch round cake pans, line the bottoms with parchment, and grease the parchment. This batter is moist and likes to stick, so the parchment is cheap insurance. Whisk the flour, sugar, baking soda, cinnamon, and salt in a large bowl. Add the beaten eggs and oil and stir just until the dry ingredients are moistened. The batter will be thick. Fold in the vanilla, the pineapple with its juice, the mashed bananas, and the pecans.
Divide the batter evenly among the pans. An ice cream scoop or a measuring cup helps keep the layers even. Bake for 25 to 28 minutes, until a toothpick in the center comes out clean and the tops spring back when touched. Cool the layers in the pans for 10 minutes, then turn them out onto racks and let them cool completely. Warm layers will melt the frosting and slide around, so do not rush this part.
Beat the cream cheese and butter until smooth, then beat in the powdered sugar and vanilla until the frosting is fluffy and spreadable. Set the first layer on your plate, spread frosting over the top, and repeat with the second layer. Frost the top and sides of the whole cake and press the remaining pecans over the top. A thirty minute chill before slicing gives you clean cuts. If you love a good layer cake, our Carrot Cake with Cream Cheese Frosting is a close cousin, the Pineapple Upside Down Cake uses the same canned pineapple in a different direction, and the Banana Pudding with Vanilla Wafers is there for the banana lovers who want a no bake option.
Storage, Freezing, and Reheating
Because of the cream cheese frosting, this cake belongs in the refrigerator. Covered well, it keeps for up to 5 days, and the layers honestly get moister and better on the second day as the flavors settle in together.
To freeze, wrap individual slices in plastic wrap and then foil, or freeze the whole unfrosted layers wrapped tightly for up to 3 months. Thaw slices on the counter for about an hour, or overnight in the refrigerator.
There is no reheating needed. Take the cake out of the refrigerator about 30 minutes before serving so the frosting softens and the crumb loses its chill. Cold slices straight from the fridge are still good with coffee, and nobody here judges.

FAQs
Do I really need three cake pans?
Three pans give you even layers that bake at the same rate. If you only have two, bake two layers and then the third in the cleaned pan, or use two pans and add a few minutes to the baking time for thicker layers.
Why did my cake turn out dense?
The usual causes are overmixing after the flour went in, bananas that were not ripe enough, or baking soda that has lost its strength. Stir just until the batter comes together and check the date on your baking soda.
Can I bake this in a 9 by 13 inch pan?
Yes. Pour all the batter into a greased 9 by 13 inch pan and bake for 35 to 40 minutes. Frost it right in the pan for an easy potluck version that travels well.
Can I leave the pineapple out?
The pineapple is part of what makes it a hummingbird cake, and it adds moisture you would miss. If you must, replace it with an extra half cup of mashed banana and a splash of milk, but the classic version is worth trying first.

Hummingbird Cake with Pineapple
Ingredients
- 3 cups all purpose flour
- 2 cups granulated sugar
- 1 teaspoon baking soda
- 1 teaspoon ground cinnamon
- 1 teaspoon salt
- 3 large eggs beaten
- 1 1/4 cups vegetable oil
- 2 teaspoons vanilla extract
- 1 can (8 ounces) crushed pineapple undrained
- 2 cups mashed ripe bananas (about 4 bananas)
- 1 cup chopped pecans
- 8 ounces cream cheese softened
- 1/2 cup unsalted butter softened
- 4 cups powdered sugar
- 2 teaspoons vanilla extract
- 1/2 cup chopped pecans for the top
Instructions
- Heat the oven to 350 degrees F. Grease three 9 inch round cake pans, line the bottoms with parchment, and grease the parchment.
- Whisk the flour, granulated sugar, baking soda, cinnamon, and salt in a large bowl. Add the eggs and oil and stir just until moistened.
- Fold in the 2 teaspoons vanilla, the pineapple with its juice, the mashed bananas, and the 1 cup pecans. Divide the batter evenly among the pans.
- Bake for 25 to 28 minutes, until a toothpick inserted in the center comes out clean. Cool in the pans for 10 minutes, then turn out onto racks and cool completely.
- Beat the cream cheese and butter until smooth. Beat in the powdered sugar and 2 teaspoons vanilla until fluffy.
- Frost between the layers, then frost the top and sides. Sprinkle the remaining pecans over the top. Chill for 30 minutes before slicing for clean cuts.