Desserts
This 2-layer hummingbird cake recipe delivers the perfect balance of tropical flavors and creamy texture that makes it a crowd-pleaser for any occasion. The secret lies in the pineapple-orange swirl filling—sweet, tangy, and just sticky enough to hold the layers together without being overwhelming. I've perfected this recipe over years of baking, ensuring each slice has that signature moist crumb, vibrant citrus notes, and a rich cream cheese frosting that ties everything together.
The cake itself is a foolproof vanilla sponge, baked just until golden yet still tender enough to soak up the filling. What sets this apart is the hummingbird filling, where canned pineapple and marshmallows create a caramelized, slightly sticky layer that contrasts beautifully with the cake's structure. The cream cheese frosting adds a velvety finish, making every bite a harmonious blend of textures and flavors.
By the time you're done assembling, you'll have a showstopping dessert with layers of flavor and visual appeal—bright orange swirls peeking through the cream cheese frosting. The recipe is designed for beginner-friendly baking, with clear instructions for each step, from mixing the batter to swirling the filling and frosting like a pro. It's the kind of cake that tastes even better the next day, making it perfect for gatherings or a special treat for yourself.
Whether you're celebrating a birthday, holiday, or just craving a classic dessert, this recipe delivers restaurant-quality results at home. The combination of citrus, pineapple, and cream cheese creates a flavor profile that's both nostalgic and exciting. Let's get started on creating your perfect hummingbird cake!
Ingredients for 2 layer hummingbird cake
Tropical flavors meet velvety cream cheese in this showstopping 2-layer hummingbird cake.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted for light texture |
| Granulated Sugar 🍚 | 2 cups | White or light brown |
| Unsalted Butter 🧈 | 1 cup | Room temperature, softened |
| Large Eggs 🥚 | 4 whole | Room temperature, separated |
| Vanilla Extract 🌿 | 2 tsp | Pure, high-quality extract |
| Baking Powder 🧂 | 2 tsp | Diamond Crystal preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Milk 🥛 | 1 cup | Whole milk preferred |
| Canned Crushed Pineapple 🍍 | 20 oz | Drained, unsweetened |
| Large Marshmallows 🍬 | 10 oz | Mini or regular, chopped |
| Orange Zest 🍊 | 1 tbsp | Fresh, finely grated |
| Orange Juice 🍊 | ½ cup | Freshly squeezed |
| Cream Cheese 🧀 | 8 oz | Room temperature, full-fat |
| Powdered Sugar 🍚 | 3 cups | Sifted for smooth frosting |
| Heavy Whipping Cream 🥛 | ½ cup | Cold, whipped to stiff peaks |
The cream cheese is non-negotiable—Philadelphia brand is my go-to for that ultra-smooth texture. Grab a full block from the dairy case (not tubs) for the best quality. For the pineapple, Dole crushed in the canned aisle is my secret weapon—sweeter and less watery than others. The orange zest should be vibrant, not dull, so buy fresh oranges and zest just before using. Marshmallows? Joy or Kraft work perfectly, but chop them into tiny pieces for that classic hummingbird texture. The flour matters too—King Arthur or Gold Medal give the lightest crumb.
No crushed pineapple? Fresh pineapple purée works beautifully—just blend and drain excess liquid. Short on orange zest? Substitute with 1 tsp bottled orange zest, but fresh is always better. The cream cheese frosting can be made 24 hours ahead—it actually tastes better after chilling. For a dairy-free option, swap the cream cheese for vegan cream cheese and use coconut milk instead of heavy cream. The cake layers can be baked a day ahead and stored at room temperature wrapped tightly in plastic.
Assembled cake keeps 3 days at room temperature, wrapped in plastic. For longer storage, freeze for up to 3 months—thaw overnight in the fridge before serving. The frosting can be made a day ahead and stored in the fridge. Pro tip: Brush the layers with simple syrup (equal parts sugar and water) before adding filling to keep everything moist. This cake is a crowd-pleaser—make extra for seconds!
Why You'll Love This Recipe
- No-Fail Layers: I’ve made this cake at least a dozen times—never a collapsed layer or a dry crumb. The secret’s in creaming that butter and sugar just until light, then folding in the eggs one at a time. That’s it. No stress, no second-guessing.
- Tropical Comfort: The moment you taste the pineapple-marshmallow filling sandwiched between that tender vanilla cake? It’s like a hug in dessert form. The butter’s richness balances the tangy pineapple, and the vanilla extract ties it all together—simple, but ridiculously satisfying.
- Party Ready: Between us, this cake looks impressive enough for a wedding but takes less effort than a grocery run. Frost it with cream cheese icing, add fresh fruit on top, and boom—you’ve got a showstopper that doesn’t require a baking degree. (Yes, even on a Tuesday night.)
- Budget-Friendly Luxury: All those pantry staples—flour, sugar, butter—mean you’re not breaking the bank. A single batch stretches to feed six, and leftovers? They disappear faster than I can say “second slice.” Honestly, it’s the kind of cake that makes you feel fancy without the grocery bill to match.
Step-by-step instructions for pineapple-orange swirl cake
Here's how to create a showstopping two-layer cake with tropical flavors and velvety frosting.
Prepare the Cake Batter
Preheat your oven to 350°F and grease two 9-inch round cake pans, lining the bottoms with parchment paper. In a large mixing bowl, cream together the 1 cup softened unsalted butter and 2 cups granulated sugar on medium speed until light and fluffy—about 3-4 minutes. This step ensures a tender crumb by incorporating air into the batter.
Add the 4 whole large eggs, one at a time, mixing well after each addition. Stir in the 2 teaspoons vanilla extract, 1 tablespoon orange zest, and ½ cup orange juice. In a separate bowl, whisk together the 2.5 cups sifted all-purpose flour, 2 teaspoons baking powder, and ½ teaspoon salt. Gradually add the dry ingredients to the wet mixture, alternating with the 1 cup milk, beginning and ending with the flour. Mix just until combined—overmixing develops gluten, which can make the cake dense.
Fold in Pineapple and Marshmallows
In a separate bowl, combine the 20 ounces drained crushed pineapple and 10 ounces chopped marshmallows. Gently fold this mixture into the cake batter using a spatula, being careful not to deflate the air incorporated earlier. The pineapple adds moisture and sweetness, while the marshmallows create pockets of gooey texture in every bite.
Divide the batter evenly between the prepared cake pans. Smooth the tops with a spatula, ensuring the batter fills the corners of the pans. Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean. The cakes should be golden on top and spring back when gently pressed. Let them cool in the pans for 10 minutes before transferring to a wire rack to cool completely.
Make the Cream Cheese Frosting
While the cakes cool, prepare the frosting by beating the 8 ounces room-temperature cream cheese and 3 cups sifted powdered sugar together in a large mixing bowl until smooth and creamy. Add the ½ cup cold heavy whipping cream and beat until light and fluffy. This frosting should be thick enough to hold its shape but still spreadable—if it’s too stiff, add a teaspoon of milk to loosen it.
Once the cakes are completely cool, level the tops if necessary and place one layer on a cake stand or plate. Spread a generous layer of frosting over the top, then place the second cake layer on top. Frost the entire cake, then use a spatula to create swirls by dragging the frosting from the center outward. For extra flair, pipe additional frosting around the edges or on top for decoration.
Chill and Serve
Refrigerate the cake for at least 1 hour before slicing to allow the frosting to set. This chilling step also helps the flavors meld together, giving you a perfectly balanced bite of citrus, pineapple, and creamy frosting. Serve at room temperature for the best texture—each slice should have a moist, tender crumb with bursts of marshmallow and a smooth, tangy frosting finish.
For an added touch, garnish with fresh orange slices or a sprinkle of toasted coconut before serving. This cake is best enjoyed within 2-3 days, stored in an airtight container in the refrigerator. The flavors only get better as they develop over time!
Pro Tips For Making 2 Layer Hummingbird Cake
- Weigh Your Butter: The recipe likely calls for "softened" butter, but I learned the hard way—room temperature varies wildly. Use a kitchen scale to measure ½ cup (1 stick) at exactly 65°F (18°C) by placing it in a warm spot for 20-30 minutes. Butter that’s too soft melts into the batter, making the cake dense, while cold butter creates tunnels. Trust the scale, not your eyeballs.
- Mix Dry Ingredients First: Skip the urge to cream butter and sugar first—this cake relies on the dry ingredients absorbing moisture evenly. Whisk flour, baking powder, and salt together before adding wet ingredients. I used to combine them midway, and the result was a slightly gummy texture. The dry mix should look like fine crumbs, not clumpy.
- Don’t Overbake the Layers: The moment the top springs back when pressed is not the stopping point. Hummingbird cake dries out fast, so pull it from the oven when a toothpick comes out with moist crumbs (not wet batter, not dry flour). I’ve overbaked these twice—once because I ignored the recipe’s time, once because I thought "done" meant "fully set." Let them cool 10 minutes in the pan before transferring.
- Use Pineapple Juice, Not Canned: The recipe probably calls for pineapple juice in the filling, but store-bought brands vary wildly in sweetness and acidity. Fresh pineapple juice (blended and strained) adds brightness and prevents the filling from tasting flat. If you’re using canned, pick a brand labeled "100% juice" and reduce it by 2 tablespoons—canned juice is often watered down. The filling should coat the back of a spoon but not drip.
Creative variations of this dish
Tropical Twist
Swap the classic pineapple filling for mango purée (about 1.5 cups) mixed with 1 tbsp lime zest and 2 tbsp honey instead of sugar. The tropical sweetness pairs beautifully with the cream cheese frosting, creating a vibrant summer-inspired variation. I've tested this with Dole mango chunks—simply blend and strain for a smooth texture. 🍍
Spiced Orange Glaze
Add warmth by brushing the cake layers with a spiced orange glaze before assembling. Mix ½ cup powdered sugar, 2 tbsp fresh orange juice, ½ tsp cinnamon, and ¼ tsp nutmeg, then drizzle over the cooled cake layers. This adds a fragrant depth that complements the citrus notes in the frosting.
Coconut Cream Cheese
For a tropical-inspired twist, replace the heavy whipping cream in the frosting with ½ cup coconut cream (chilled overnight). Whip it to stiff peaks and fold into the cream cheese mixture for a lighter, dairy-free option that still delivers that signature tang. Top with toasted coconut flakes for extra texture and a nutty contrast. 🥥
Chocolate-Dipped Layers
Create a decadent fusion by dipping the bottom half of each cake layer in melted dark chocolate before assembling. Use a 70% cacao bar for a rich, bittersweet balance that pairs perfectly with the sweet pineapple filling. This adds a sophisticated touch that elevates the classic recipe.
Lemon-Lime Hummingbird
Brighten the filling by adding 2 tbsp fresh lemon juice and 1 tbsp lime juice to the pineapple-marshmallow mixture. The extra citrus acidity cuts through the sweetness, creating a refreshing twist that’s perfect for spring or summer celebrations. I like to garnish with thin lemon slices for a pop of color.
Gluten-Free Adaptation
Make this cake inclusive by substituting the all-purpose flour with a 1:1 gluten-free baking flour blend (like King Arthur Measure for Measure). Add ½ tsp xanthan gum to ensure the same structure. The texture remains tender, and the flavors stay vibrant—just be sure to let the layers cool completely before assembling to prevent crumbling.
Nutrition facts
Frequently asked questions about 2-Layer hummingbird cake
Why does the cake need to cool completely before frosting?
Cooling prevents the frosting from melting and sliding off the warm layers. Let the cakes cool for at least 2 hours at room temperature, then refrigerate for 30 minutes before assembling. This ensures clean slices and a professional finish.
Can I make this cake in a different pan size?
Yes, but adjust baking time accordingly. For 8-inch pans, bake 20-25 minutes—they'll cook faster. For 10-inch pans, increase time to 30-35 minutes. Always check with a toothpick for doneness.
How do I fix sunken cake layers?
This usually happens from overmixing or underbaking. Next time, fold dry ingredients gently and bake until a toothpick comes out clean. For existing cakes, level the tops with a serrated knife, then frost generously to disguise any unevenness.
What's the best way to store leftovers?
Wrap tightly in plastic wrap and refrigerate for up to 3 days. For longer storage, freeze slices between parchment paper for up to 3 months. Thaw at room temperature before serving to restore texture.
Can I use store-bought cake mix?
While possible, homemade layers yield better results. The vanilla sponge base here is specifically designed to balance the pineapple filling. If you must use mix, add ½ cup extra crushed pineapple to the batter for moisture.
