Desserts
This 6-inch hummingbird cake recipe delivers the perfect balance of tender pineapple-walnut layers and velvety cream cheese frosting rivers—ideal for intimate gatherings or personal treats. 💛 The secret lies in perfectly baked layers that stay moist while holding their shape, topped with a rich frosting that creates those signature rivers when sliced. I’ve refined this recipe over years to ensure it’s foolproof, with precise baking times and layering techniques that guarantee success every time.
The cake itself combines sweetened pineapple, finely chopped walnuts, and a moist batter that bakes to a golden finish at 350°F for 30–40 minutes. The cream cheese frosting, made with butter and powdered sugar, is spread between layers and piped on top for that iconic swirled effect. What makes this version special is the 6-inch size, perfect for serving 6–8 guests without overwhelming portions.
By the time you’re done, you’ll have a beautifully layered cake with tender, slightly sweet layers and a smooth, creamy frosting that holds its shape while still feeling indulgent. The walnuts add a satisfying crunch, and the pineapple keeps the texture light and airy. This cake is elegant enough for celebrations but simple enough for a weeknight dessert.
Serve it at room temperature with a dollop of whipped cream or a sprinkle of toasted walnuts for extra flair. The frosting rivers create a stunning presentation, making it perfect for special occasions or when you want to impress with minimal effort. Let’s get baking!
Ingredients for 6 inch hummingbird cake
Sweet pineapple, buttery walnuts, and velvety cream cheese frosting—this 6-inch cake is pure joy in every bite.
| Ingredient | Amount | Notes |
|---|---|---|
| Sweetened Canned Pineapple 🍍 | 1 can | Drained, crushed with fork |
| All-Purpose Flour 🌾 | 1 ½ cups | Sifted for light texture |
| Granulated Sugar 🍚 | 1 ½ cups | White or light brown |
| Unsalted Butter 🧈 | ½ cup | Room temperature, full-fat |
| Large Eggs 🥚 | 2 whole | Room temperature, separated |
| Vanilla Extract 🌿 | 1 tbsp | Pure, high-quality |
| Walnuts 🥜 | 1 cup | Finely chopped, toasted |
| Baking Powder 🍞 | 2 tsp | Aluminum-free preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| 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 |
| Lemon Juice 🍋 | 1 tbsp | Freshly squeezed |
The pineapple should be Dole brand if you can find it—it’s the sweetest and crushes perfectly. Walnuts make or break this cake, so toast them first in a dry pan until fragrant (about 3 minutes). For the cream cheese, Philadelphia brand is my go-to—it whips up silky smooth. If your frosting looks too thick, add a splash of milk (about 1 tsp at a time). The butter and cream cheese need to be room temperature, so take them out 30 minutes before baking.
No sweetened pineapple? Unsweetened crushed pineapple + 2 tbsp extra sugar works in a pinch. Walnuts too expensive? Pecans or macadamias add a nice twist. The frosting can be made 24 hours ahead—it actually tastes better after resting. For extra richness, add 1 tbsp lemon zest to the frosting. If your cake layers sink slightly in the middle, they’re still fine—just bake them 5 minutes longer next time. The secret to those perfect frosting rivers? Pipe the frosting in a spiral and then swirl with a knife before slicing.
Store the cake layers in an airtight container between parchment paper for up to 3 days at room temperature. The frosting can be refrigerated for 5 days or frozen for 3 months—just thaw at room temperature before serving. For extra flair, toast extra walnuts and sprinkle on top before serving. This cake is even better the next day—trust me on that one—as the flavors meld together beautifully.
Why You'll Love This Recipe
- Pantry-Friendly Magic: I swear by this cake because it uses what’s already in my cupboard—no specialty trips. That can of pineapple? The flour and sugar I already own? It’s the kind of recipe that turns "I don’t feel like baking" into "I’ll just grab these five things."
- Tropical in Two Layers: The moment I taste the buttery cake layers with that sweet-tart pineapple filling, I’m transported. No fancy fruit salad—just warm, spiced cake that makes every bite feel like a vacation. (Yes, even on a Tuesday night.)
- Birthday or Brunch: Slice it for a kid’s party or stack it with coffee for a lazy weekend. The 6-inch size is perfect for sharing—no one feels shortchanged, and it’s easy to adjust for crowds. Honestly, I’ve served it at everything from potlucks to "just because" afternoons.
- Leftovers That Don’t Suck: Unlike cakes that dry out or taste sad the next day, this one stays moist and delicious for days. I’ve packed it for lunches, reheated slices with whipped cream, and even turned extra into trifle. Budget win? Absolutely. Time win? Even better.
Step-by-step instructions for pineapple-walnut layers with cream cheese frosting rivers
Here's how to create a showstopping 6-inch cake with moist layers and that signature creamy frosting.
👨🍳 Step 1: Prepare the Pineapple-Walnut Filling
Drain the 1 can sweetened canned pineapple thoroughly, then crush it with a fork until you have a chunky texture—no need for smooth puree. In a small bowl, combine the crushed pineapple with 1 tbsp lemon juice and set aside. This brightens the pineapple flavor and balances the sweetness.
Toast the 1 cup walnuts in a dry skillet over medium heat for 3-4 minutes until fragrant and lightly golden. Watch closely—they'll darken quickly! Let them cool completely, then finely chop them. This step adds incredible texture contrast to the cake layers.
🍳 Step 2: Bake the Cake Layers
Preheat your oven to 350°F and grease two 6-inch round cake pans (or line them with parchment rounds). In a large mixing bowl, cream together the 0.5 cup unsalted butter and 1.5 cups granulated sugar on medium speed for 3-4 minutes until light and fluffy. Scrape down the sides as needed.
Add the 2 whole large eggs, one at a time, mixing well after each addition. Stir in the 1 tbsp vanilla extract and the 1.5 cups sifted all-purpose flour mixed with 2 tsp baking powder and 0.5 tsp salt. Fold in half of the chopped walnuts and half of the crushed pineapple mixture. Divide the batter evenly between the prepared pans.
⏰ Step 3: Bake to Perfect Doneness
Bake for 25-30 minutes or until a toothpick inserted in the center comes out clean. The cakes should be golden on top but still slightly springy to the touch. Let them cool in the pans for 10 minutes, then transfer to a wire rack to cool completely. This gradual cooling prevents cracking.
While the cakes cool, prepare the cream cheese frosting by beating the 8 oz cream cheese and 3 cups powdered sugar together until smooth. In a separate bowl, whip the 0.5 cup cold heavy whipping cream to stiff peaks, then gently fold it into the cream cheese mixture. This creates the signature river-like frosting texture.
🥘 Step 4: Assemble the Cake
Place one cake layer on a cake stand or plate. Spread half of the frosting evenly over the top, then add the second layer. Spread the remaining frosting over the top and sides, creating those beautiful frosting rivers by dragging a spatula through the frosting in gentle waves. Sprinkle the remaining walnuts and pineapple mixture over the top for decoration.
For extra drama, pipe additional frosting in swirls around the edges. Chill the cake in the refrigerator for 30 minutes before serving to let the frosting set slightly. This mini cake serves 6 and makes an incredible centerpiece for any celebration!
Pro Tips For Making 6 Inch Hummingbird Cake
- Drain & Pat Dry: The pineapple juice in the can is liquid gold—but it’ll sink your cake if you don’t handle it right. Drain the pineapple thoroughly, then pat it dry with paper towels. I learned this the hard way when my first attempt turned into a soggy mess. Trust me, the extra 30 seconds saves you from a dense, gummy cake.
- Room-Temp Butter: If your butter’s straight from the fridge, it’ll fight you every step of the way. Take it out 30 minutes before you start—just enough to soften but not melt. Creaming cold butter with sugar means more air, but it also means more mixing time and frustration. Your mixer will thank you (and so will your arms).
- Check Doneness Early: A toothpick test is standard, but this cake’s tricky—it’ll look set but still be undercooked inside. After 30 minutes, stick in a toothpick. If it comes out clean but the edges are pulling away, tent with foil and bake another 5–10 minutes. Rushing it leads to a cake that collapses like a house of cards.
- Layer the Juice: That pineapple syrup? Don’t pour it all over the cake at once—it’ll make the frosting slide off like an ice cream cone in July. Brush half the syrup between layers and half on top before frosting. The rest? Save it for the sides or drizzle it over the frosting for a glossy finish. This keeps the cake moist without turning it into a syrup-soaked disaster.
Troubleshooting this recipe
Dense Cake Layers
If your hummingbird cake layers are too dense, it’s usually from overmixing the batter or using too much flour. I’ve found that sifting the flour and folding in the pineapple-walnut mixture gently keeps the texture light. Also, make sure your butter and eggs are room temperature—this ensures proper emulsification. If your cake still feels dense, try reducing the flour by 1-2 tablespoons next time. 💡
Frosting Too Thin
A thin frosting often means the cream cheese wasn’t room temperature or the powdered sugar wasn’t sifted. I recommend using Philadelphia brand cream cheese and sifting the sugar through a fine-mesh sieve. If the frosting is still too runny, chill the bowl for 10 minutes before whipping. For extra stability, add 1 tsp cornstarch to the powdered sugar. The frosting should hold its shape but still be spreadable—like thick pudding.
Cracked Layers
Cracks usually appear when the cake cools too quickly or the oven isn’t properly preheated. Let the cakes cool in the pans for 10 minutes before transferring to a wire rack, and always preheat the oven to 350°F. If cracks happen, don’t panic! They’re mostly cosmetic. For a smoother finish, brush the cooled layers with a simple syrup (equal parts sugar and water) before frosting. This adds moisture and helps seal any gaps. ✨
Frosting Rivers Not Forming
The signature frosting rivers require proper piping and swirling technique. After spreading the frosting, use a long spatula to gently drag lines through the frosting in a spiral motion. Chill the cake for 30 minutes before slicing—this helps the frosting set slightly so the rivers hold. If they still don’t form, try piping a thin border of frosting around the edges first, then filling the center. The contrast in thickness creates the river effect when sliced. 🌟
Pineapple Too Watery
Excess moisture from pineapple can make the cake layers gummy. Always drain the pineapple thoroughly and pat it dry with a paper towel. For extra insurance, simmer the crushed pineapple for 2-3 minutes to reduce moisture before mixing into the batter. If you’re using unsweetened pineapple, add 2 extra tablespoons of sugar to balance the flavor. This step makes a huge difference in texture! 🍍
Walnuts Sinking
Walnuts sink when they’re too heavy or the batter isn’t mixed properly. Toast the walnuts until lightly golden (not dark) and chop them finely—this helps them distribute evenly. Fold them into the batter last and gently to avoid deflating the air bubbles. If they still sink, try soaking the walnuts in 1 tbsp flour before adding them to the batter. This creates a light coating that keeps them suspended. 🥜
Nutrition facts
Frequently asked questions
Can I make this cake with fresh pineapple instead of canned?
Fresh pineapple works but requires extra prep! Use 1.5 cups finely diced fresh pineapple and simmer it with 1 tbsp sugar and 1 tbsp lemon juice for 5 minutes to reduce moisture. Drain well before using. Fresh pineapple has more water content, so this step prevents gummy layers.
How do I adjust the recipe for a 4-inch or 8-inch cake?
For a 4-inch cake, reduce all ingredients by 50% and bake in one 4-inch pan for 20-25 minutes. For an 8-inch cake, double the recipe and bake in two 8-inch pans for 30-35 minutes. Adjust baking time based on your oven—always check with a toothpick! The frosting quantity should scale with the cake size.
Can I substitute walnuts with another nut?
Try pecans or macadamias for a richer flavor. Toast them first for 3-4 minutes until fragrant, then chop finely. Pecans add a buttery sweetness while macadamias bring a delicate crunch. If using almonds, toast them longer (5 minutes) to prevent bitterness.
How long can I store the cake layers before frosting?
Store the baked layers in an airtight container at room temperature for up to 3 days. Wrap them individually in plastic wrap to prevent drying. The frosting can be made 1 day ahead and stored in the fridge—just rewhip it briefly before using. For best texture, assemble the cake within 24 hours of baking.
Why does my frosting taste sour?
Sour frosting usually means the cream cheese wasn't at room temperature or was overmixed. Let the cream cheese sit out for 30-60 minutes until soft but not melted. Also, avoid overbeating—just mix until smooth. If it still tastes tangy, add 1 tsp vanilla extract or 1 tsp powdered sugar to balance the flavor.
