This old fashioned hummingbird cake recipe is a soft cake packed with moisture from mashed banana and crushed pineapple. With toasted nuts for texture and a luscious cream cheese frosting slathered on top and between the layers, there are lots of flavors in this cake, but they work together beautifully. This moist cake is sure to delight your guests on any special occasion!
One important thing to remember for the best hummingbird cake recipe ever: The bananas need to be overripe. The browner, spottier, and softer, the better! If your bananas aren’t quite ripe enough, I have two easy shortcuts to ripen them in minutes in the Pro Tips section below. For more cake recipes, try my carrot cake, banana cake, and pineapple upside down cake.
What you need to make this recipe
Flour — no need for cake flour; this recipe for hummingbird cake works great with all-purpose flour!
Leavening — a combination of baking powder and baking soda helps the hummingbird cake rise and gives it a fluffy texture.
Salt — salt complements and balances the sweetness in this cake recipe.
Cinnamon — cinnamon adds warmth and a comforting element that makes hummingbird cake so popular. You could also add other warming spices like nutmeg, ginger, or allspice.
Oil — oil adds plenty of moisture, so you end up with a perfect “stick to your fork” cake. It also keeps the cake tender when refrigerated. Opt for a neutral-flavored oil like vegetable oil or canola oil.
Sugar — granulated sugar and brown sugar add the right amount of sweetness to the cake and a hint of caramel-like flavor from the brown sugar.
Eggs — ensure they’re room temperature eggs, so they incorporate into the batter well.
Vanilla — use a good vanilla extract for superior flavor.
Banana — you need overripe bananas that are very brown. You can ripen bananas faster by placing them in a paper bag with an apple or avocado.
Pineapple — an 8-ounce can of crushed pineapple with its juices, when paired with sweet mashed banana, gives the cake its signature tropical flair, and helps it stay moist for days.
Pecans — you can use them raw if needed, but I prefer toasting pecans for this recipe. It crisps them up and enhances their nuttiness. Learn how to toast pecans in a few different (and easy) ways!
Frosting — to make my favorite cream cheese frosting, you need softened unsalted butter, room temperature cream cheese, vanilla extract, and powdered sugar.
How to make hummingbird cake
1. Preheat the oven to 350°F and grease three 9-inch round cake pans lightly with baking spray or butter, and line the bottoms with parchment paper. Start by whisking together the dry ingredients in a large bowl, namely the all-purpose flour, baking soda, baking powder, salt, and cinnamon.
2. In a separate medium bowl, whisk together the wet ingredients: vegetable oil, white and brown sugar, eggs, and vanilla extract.
3. Stir in the mashed bananas and crushed pineapple.
4. Pour the wet ingredients into the dry ingredients mixture.
5. Stir together until just combined. A few streaks of flour should remain — don’t overmix the cake batter.
6. Add the toasted chopped pecans and fold them into the batter until all of the flour is mixed in and the pecans are well distributed.
7. Divide the batter evenly among the prepared pans. Bake for 25 to 30 minutes, or until a toothpick inserted into the center comes out clean. Set the cake pans on a wire rack and let the cake layers cool completely. Once cooled, invert the cake layers and remove the parchment paper. Set aside while you prepare the cream cheese frosting.
8. Make the rich cream cheese frosting in a large mixing bowl using a hand mixer, or a stand mixer fitted with the paddle attachment. Beat the softened butter on medium speed until very soft and smooth, about 1 minute. Add the room temperature cream cheese and beat until fluffy for about 30 seconds. Reduce to low speed and gradually add in the powdered sugar. Scrape down the bowl once combined and add the vanilla extract. Beat for about 1 minute on medium-low speed until fluffy and easily spreadable.
9. Place one cooled cake layer top-side up on a cake stand and spread ¾ cup of frosting over the top, all the way to the edge of the cake, but not down the sides. Place another cake layer top-side up on top of that layer of cream cheese frosting. Spread another ¾ cup of frosting on top of that. Place the last cake layer bottom-side up on top. Spread the remaining frosting over the top and side of the cake.
10. You can save some of the frosting to pipe decorations onto the cake if you like. Or, decorate the top of the cake with toasted pecans. Chill it for 30 minutes to allow the frosting to set, then slice and serve.
Pro tips for making this recipe
- Weigh the flour. Using too much flour is a surefire way to end up with dry, crumbly hummingbird cake. The best and most accurate way to measure flour is to weigh it with a kitchen scale. If you don’t have one, fluff up the flour in its container and spoon it into your measuring cup, using a knife to level off the top. Don’t scoop directly from the flour container.
- Use room temperature ingredients. Set the refrigerated ingredients out onto your kitchen counter 30 minutes or so before you start baking so they can warm to room temperature. This will allow the eggs to incorporate better with the other cake batter ingredients, and the butter and cream cheese to whip up into a velvety, smooth frosting.
- Shortcut to ripen bananas. If you don’t have very ripe bananas, you can soften and sweeten them up by placing them in a 300°F oven or air fryer for 10 to 15 minutes or until black and very soft. Let them cool completely before opening and removing the fruit inside.
- Don’t overmix the cake batter. Mix the wet and dry ingredients together until they’re just combined. You’ll likely see a few streaks of flour, and that is okay. Over-mixing yields a tough cake. The rest of the flour will be fully incorporated when you mix in the pecans.
- To change the consistency of the cream cheese frosting: You’ll notice that the recipe calls for 6 to 8 cups of powdered sugar. More sugar will give you a firmer, sweeter frosting. Less sugar yields a runnier frosting. Add more or less, depending on your preference!
- If you don’t want to use cream cheese frosting, then you can whip up a batch of vanilla buttercream frosting instead.
- Use fabric baking strips for perfectly flat and extra tender layers. Using these strips helps protect the outside of the cake, creating an even rise and a much softer exterior. You can find these strips online or at many craft stores in the baking supply aisle. Be sure to soak them well in cold water, then wring them out, and wrap them around the outside of the baking pans before filling them with batter. Find more tips for how to get perfectly flat cake layers in my tutorial!
- To bake an 8-inch layer cake: Divide the batter among three 8-inch round cake pans (greased and lined as directed in the recipe) and bake for 30-35 minutes. Frost as directed in the recipe. A smaller cake pan will give you taller layers.
Frequently asked questions
Hummingbird cake originated in Jamaica. There, it was called Doctor Bird Cake, named after the country’s national bird, which is a type of hummingbird. It made its way to the US and rose to popularity here after Southern Living Magazine published a recipe submitted by Mrs. L.H. Wiggins of Greensboro, North Carolina. There’s also a theory that the cake got its name because it’s sweet enough to attract hummingbirds.
You can definitely make hummingbird cake a night ahead of time. Cover the cake and refrigerate it overnight. Allow it to come to room temperature before serving. Thanks to all of the fruit and vegetable oil, the cake stays moist for many days, so it’s an excellent one to make ahead!
Overripe bananas that are too ripe to eat are ideal for hummingbird cake. They should be brown, spotty, and soft. Think of bananas you would use for banana bread; those are perfect for this cake recipe! See the Pro Tips section above for how to quickly ripen bananas.
If you would prefer to make this cake without nuts, simply leave the pecans out of the batter and do not decorate the cake with them. You can also swap them out for pumpkin or sunflower seeds for a similar texture without nuts.
Due to the cream cheese frosting, leftovers need to be refrigerated. Keep leftovers covered and refrigerated for up to 1 week. Be aware that as time passes, the cake will start to dry out in the fridge.
If you’ve tried this hummingbird cake recipe, then don’t forget to rate it and let me know how you got on in the comments below. I love hearing from you!
Hummingbird Cake
Video
Ingredients
For the Cake:
- 3 cups all-purpose flour (360g)
- 1 teaspoon baking soda
- ½ teaspoon baking powder
- 1 teaspoon salt
- 1 teaspoon ground cinnamon
- 1½ cups vegetable oil (360ml)
- 1 cup granulated sugar (200g)
- ¾ cup packed light brown sugar (165g)
- 3 large eggs room temperature
- 2 teaspoons vanilla extract
- 2 cups mashed very ripe bananas (about 4 large bananas/450g)
- 1 (8-ounce/227g) can crushed pineapple undrained
- 1 cup chopped pecans toasted (120g)
For the Frosting:
- 1½ cups unsalted butter softened (340g)
- 2 (8-ounce/227g) blocks cream cheese room temperature
- 1 teaspoon vanilla extract
- 6 to 8 cups powdered sugar (720-960g)
Instructions
For the Cake:
- Preheat the oven to 350°F. Lightly grease three 9-inch round cake pans with baking spray or butter, and line the bottoms with parchment paper.
- In a large mixing bowl, whisk together the flour, baking soda, baking powder, salt, and cinnamon.
- In a separate medium bowl, whisk together the oil, sugars, eggs, and vanilla until well combined. Stir in the bananas and pineapple.
- Pour the wet ingredients into the dry mixture and stir together just until combined and only a few streaks of flour remain. Add the pecans and fold them into the batter. Divide the batter evenly among the prepared pans.
- Bake for 25 to 30 minutes, or until a toothpick inserted into the center comes out clean. Allow the cake layers to cool completely in the pans set on a wire cooling rack. Once cooled, invert the layers and remove the parchment paper.
For the Cream Cheese Frosting:
- In a large mixing bowl with a hand mixer or a stand mixer fitted with the paddle attachment, beat the butter on medium speed until very soft and smooth, about 1 minute. Add the cream cheese and beat until fluffy, about 30 seconds.
- With the mixer on low speed, gradually add in the powdered sugar. (Use more sugar for a firmer, sweeter frosting.) Once combined, scrap down the bowl and add the vanilla. Beat on medium-low speed until fluffy and easily spreadable, about 1 minute.
For the Assembly:
- Place one cooled cake layer top-side up on a cake stand or serving platter and spread ¾ cup of frosting over the top, all the way to the edge of the cake. Place another cake layer top-side up on top. Spread another ¾ cup of frosting on top. Place the remaining cake layer bottom-side up on top. Spread the remaining frosting over the top and side of the cake.
- If you desired, you can save some of the frosting to pipe decorations onto the cake or decorate with toasted pecans. Chill the cake for 30 minutes to set the frosting before slicing. Keep leftovers covered and refrigerated for up to 1 week.
Notes
- Weigh the flour. Using too much flour is a surefire way to end up with dry, crumbly hummingbird cake. The best and most accurate way to measure flour is to weigh it with a kitchen scale. If you don’t have one, fluff up the flour in its container and spoon it into your measuring cup, using a knife to level off the top. Don’t scoop directly from the flour container.
- Use room temperature ingredients. Set the refrigerated ingredients out onto your kitchen counter 30 minutes or so before you start baking so they can warm to room temperature. This will allow the eggs to incorporate better with the other cake batter ingredients, and the butter and cream cheese to whip up into a velvety, smooth frosting.
- Shortcut to ripen bananas. If you don’t have very ripe bananas, you can soften and sweeten them up by placing them in a 300°F oven or air fryer for 10 to 15 minutes or until black and very soft. Let them cool completely before opening and removing the fruit inside.
- Don’t overmix the cake batter. Mix the wet and dry ingredients together until they’re just combined. You’ll likely see a few streaks of flour, and that is okay. Over-mixing yields a tough cake. The rest of the flour will be fully incorporated when you mix in the pecans.
- To change the consistency of the cream cheese frosting: You’ll notice that the recipe calls for 6 to 8 cups of powdered sugar. More sugar will give you a firmer, sweeter frosting. Less sugar yields a runnier frosting. Add more or less, depending on your preference!
- If you don’t want to use cream cheese frosting…you can whip up a batch of vanilla buttercream frosting instead.
- Use fabric baking strips for perfectly flat and extra tender layers. Using these strips helps protect the outside of the cake, creating an even rise and a much softer exterior. You can find these strips online or at many craft stores in the baking supply aisle. Be sure to soak them well in cold water, then wring them out, and wrap them around the outside of the baking pans before filling them with batter. Find more tips for how to get perfectly flat cake layers in my tutorial!
- To bake an 8-inch layer cake: Divide the batter among three 8-inch round cake pans (greased and lined as directed in the recipe) and bake for 30-35 minutes. Frost as directed in the recipe. A smaller cake pan will give you taller layers.
Melissa DIaz says
Hi
I made this cake and i loved it. Can I know if this can be used in a 3 tier cake as a middle-tier? Or will it sink as it is a soft frosting?
John Kanell says
If you have supports it will be fine.
Dwayne says
I made this a couple weeks ago and used a mandoline on the thinnest setting for the pineapple flowers. They turned out great and I was almost embarrassed to tell friends how easy it was to get this beautiful effect. Delicious, as usual.
Carmen Van Loock says
Hi, loving this cake! Going to make this tonight!
Question- can I substitute the sour cream for buttermilk as well ? Forgot to get some !
John Kanell says
I bet you could.
B.Johnson says
Made this cake for a birthday party
Turned out great.
Best cake ever was the comments I received!
lama says
i made it, it was so delicious.
But when I put three layers of cake on top of each other, the bottom layer exploded!
I do not know why!
The hight of each cake after baking was 2”.
thank you for the best recipes ever
Jagdish K Fujimoto says
How long do you toast your pecans?
John Kanell says
10 min in the oven but make sure to move them around.
Bill Brown says
Made this today for a social gathering. Rather than a cake I used the batter to make 24 cupcakes. They were amazing. After piping on the frosting I used some additional chopped pecans to sprinkle on top before popping them in the frig. The pecans added some nice texture (and flavor ) to the frosting. As an FYI, 21:00 minutes at 350 and they came out perfectly. I used the timing you gave for your apple cupcakes since these also contained fruit and the added moisture that goes along with it. As a side note, everything I have made from your site as been excellent. Thank you so much.
Sophie LANDAIS says
Hello I made this cake and it s delicious. I didnโt manage to do the cream cheese. It was almost liquid. Maybe I use too much the batter? Excuse my English Iโm french
John Kanell says
It might have gotten a bit warm or needed some more sugar whipped in.
Julie says
Can’t wait to make this recipe! I want to make cupcakes, but not a full batch – can the recipe be halved?
John Kanell says
yes it can ๐
Jessica says
This cake was so delicious! Moist with just the right amount of fruit and pecans. The cream cheese icing was the BEST I have ever had. My husband loved this cake! I will definitely be making this cake again.
jkanell says
So happy you liked it!!
Maryam says
Can we use any other nuts instead of pecans? Almonds or walnuts may be?
John Kanell says
walnuts ๐
Maria Ivone says
Adorei esse bolo de beija flor! Muito lindo mesmo obrigada por compartilhar ?????โค๏ธ?