Hummingbird Cake Recipe: Classic Southern Pineapple-Banana Layer Cake

Updated November 6, 2026

Total time
3 hr 15 min
prep 30 min · cook 35 min
Serves
12
portions as written

Jump to recipe

Hummingbird Cake Recipe: Classic Southern Pineapple-Banana Layer Cake

Hummingbird cake is a beloved Southern classic—a moist, spice-flecked layer cake packed with ripe bananas, crushed pineapple, and toasted pecans, all tied together with a tangy cream cheese frosting. It gets its name from the way the sweet, fruity aroma seems to attract hummingbirds, and it’s become a staple for birthdays, brunches, and holidays. This recipe delivers a perfectly balanced cake: not too sweet, with a tender crumb and a rich, creamy frosting that complements the fruit and nuts beautifully.

Ingredients

  • 3 cups (360 g) all-purpose flour
  • 2 cups (400 g) granulated sugar
  • 1 teaspoon baking soda
  • 1 teaspoon ground cinnamon
  • 1/2 teaspoon salt
  • 3 large eggs, at room temperature
  • 1 cup (240 ml) vegetable oil
  • 1 1/2 teaspoons vanilla extract
  • 1 1/2 cups (340 g) mashed ripe bananas (about 3 large bananas)
  • 1 cup (225 g) crushed pineapple, with juice
  • 1 cup (120 g) chopped pecans, toasted
  • For the frosting:
  • 16 oz (450 g) cream cheese, softened
  • 1/2 cup (115 g) unsalted butter, softened
  • 4 cups (480 g) powdered sugar
  • 2 teaspoons vanilla extract

Instructions

  1. Preheat your oven to 350°F (175°C). Grease and flour three 9-inch round cake pans, or line the bottoms with parchment paper.
  2. In a large bowl, whisk together the flour, sugar, baking soda, cinnamon, and salt. Set aside.
  3. In a separate bowl, beat the eggs, oil, and vanilla extract until well combined. Add the mashed bananas and crushed pineapple with its juice, and stir until mixed.
  4. Pour the wet ingredients into the dry ingredients and stir just until combined—do not overmix. Fold in the toasted pecans.
  5. Divide the batter evenly among the prepared pans. Bake for 28–35 minutes, or until a toothpick inserted into the center comes out clean. The cakes should be golden brown and pull away slightly from the sides of the pans.
  6. Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely. This is crucial—frosting a warm cake will cause the frosting to melt.
  7. While the cakes cool, make the frosting: In a large bowl, beat the cream cheese and butter together until smooth and creamy. Gradually add the powdered sugar, beating until fluffy. Stir in the vanilla extract.
  8. Once the cakes are completely cool, place one layer on a serving plate. Spread about 1 cup of frosting over the top. Repeat with the second layer, then place the third layer on top. Frost the top and sides of the cake with the remaining frosting.
  9. For best flavor, refrigerate the assembled cake for at least 1 hour before slicing. This helps the frosting set and makes clean cuts easier.

Tips

  • Use very ripe bananas: The spottier the bananas, the sweeter and more flavorful your cake will be. If your bananas aren’t ripe enough, you can speed up the process by placing them in a warm oven (200°F/95°C) for 15–20 minutes until the skins darken.
  • Toast the pecans: Toasting the pecans in a dry skillet over medium heat for 3–5 minutes, or in the oven at 350°F (175°C) for 5–7 minutes, brings out their nutty flavor and keeps them crunchier in the cake.
  • Don’t overmix the batter: Overmixing develops gluten, which can make the cake tough. Stir just until the flour is incorporated; a few lumps are fine.
  • Room temperature ingredients: For the frosting, make sure the cream cheese and butter are truly softened to room temperature to avoid lumps. Cold cream cheese will leave you with a grainy frosting.

Serving Suggestions

Hummingbird cake is delicious on its own, but you can elevate it with a few extras. Serve each slice with a dollop of lightly sweetened whipped cream or a scoop of vanilla bean ice cream. A sprinkle of toasted coconut or extra chopped pecans on top adds texture. For a brunch spread, pair it with fresh coffee or a cold glass of milk—the tangy frosting balances the sweetness perfectly.

Variations

  • Add coconut: Fold 1 cup (85 g) of sweetened shredded coconut into the batter for a tropical twist.
  • Make it a sheet cake: Bake the batter in a 9×13-inch pan for 40–45 minutes, and spread the frosting over the top. This is great for feeding a crowd.
  • Swap the nuts: Walnuts or macadamia nuts work well in place of pecans. If you have a nut allergy, simply omit them—the cake is still delicious.
  • Add warm spices: Try adding 1/2 teaspoon of ground nutmeg or allspice to the dry ingredients for extra warmth.
  • Make it a cupcake: Divide the batter among 24 lined muffin cups and bake for 18–22 minutes. Frost as desired.

Storage and Reheating

Store the frosted cake in an airtight container in the refrigerator for up to 4 days. Because of the cream cheese frosting, it must stay chilled. Let slices sit at room temperature for 15–20 minutes before serving to soften the frosting and bring out the flavors. You can also freeze the unfrosted cake layers (wrapped tightly in plastic wrap and foil) for up to 3 months; thaw overnight in the fridge before frosting. Frosted cake can be frozen for up to 1 month, but the texture of the frosting may change slightly.

Frequently Asked Questions

Can I use fresh pineapple instead of crushed? Yes, but you’ll need to crush it finely and measure 1 cup (225 g) with its juice. Canned crushed pineapple is more consistent in moisture, so if using fresh, make sure it’s very ripe and well-drained if it seems too watery.

Why did my cake sink in the middle? This can happen if the oven temperature is too low, the batter is overmixed, or the cake is underbaked. Always preheat your oven fully and use an oven thermometer to verify the temperature. Also, avoid opening the oven door during baking.

Can I make this cake gluten-free? Yes, you can substitute a 1:1 gluten-free all-purpose flour blend. The texture may be slightly more delicate, so handle the layers gently when assembling.

How do I keep the frosting from being too runny? Make sure the cream cheese and butter are softened but not melted. If your kitchen is very warm, you can chill the frosting for 15–20 minutes before spreading. Also, beat in the powdered sugar gradually—if the frosting seems too soft, add a little more powdered sugar.

Can I reduce the sugar? You can reduce the sugar in the cake to 1 3/4 cups (350 g) without major issues, but the frosting needs the full amount for structure. The pineapple and bananas add natural sweetness, so the cake will still be plenty sweet.

How far ahead can I assemble the cake? You can assemble the cake 1 day in advance. Keep it refrigerated, and take it out about 30 minutes before serving. The flavors actually meld together nicely overnight.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).