If you have never tried a hummingbird cake, you are in for something special. This gluten-free hummingbird cake stays moist and delicious from the crushed pineapple and ripe bananas that are baked in. It is a tender, layered cake unlike anything else. It is sweet, fruity, and deeply flavorful in a way that is hard to describe until you taste it. I brought this cake to our weekly neighborhood get-together, and not one person guessed it was gluten free.
This post may contain affiliate links. Please read our Disclosure Policy.

❤️ Sandi’s Recipe Summary
The Quick Bite: This elegant cake is suitable for any occasion, including weddings. It is made with simple ingredients, and has that classic hummingbird cake flavor. The batter can also be used to make cupcakes or a sheet cake.
If you are looking for an extra special cake full of flavor, this gluten free hummingbird cake is the cake to make! This recipe makes a big cake, so I took it to our weekly neighborhood get-together. Our whole cul-de-sac devoured this delicious layer cake!
I don’t bake something for our cul-de-sac, unless I am at the end of my recipe testing and I want taste opinions from non-gluten-free folks. Everyone raved that this cake had incredible flavors from the crushed pineapple and bananas. If they didn’t know me so well, nobody would have known this cake is gluten-free.
Wait until you make and try this cake. The pineapple keeps the crumb incredibly moist, the banana adds a natural caramel-like sweetness, and the cream cheese frosting brings just enough tang to balance it all out.
If you are new to cake baking, here is a good write-up of my favorite Kitchen Tools For Baking Cakes. I also have lots of Gluten Free Baking Tips to take your cake to the next level.
Ingredient Notes:
For the full list of ingredients and amounts, please go to the recipe card below.
- Gluten Free Flour Blend – I tested this recipe using King Arthur Measure for Measure and Bob’s Red Mill 1:1. Other blends will work, but you may need to add more flour or milk, depending on the starch to grain ratio of the blend you use. Read Why Gluten-Free Flour Blends Vary to learn more about this.
- Binder – If your gluten free flour blend doesn’t contain xanthan gum or guar gum, please add 1 teaspoon.
- Milk or Non-Dairy Milk – Either is acceptable. I tested this recipe with almond milk and Oatly Super Basic, but other dairy-free milk types will work. I do not recommend canned coconut milk because it is too thick.
- Crushed Pineapple – You can use canned or crushed fresh pineapple. Use unsweetened pineapple if you are using canned. Be sure to drain the pineapple and save the juice!
- Pecans – Use unsalted toasted pecans. To make this cake nut-free, omit the pecans.
How to Make a Gluten-Free Hummingbird Cake (Step-By-Step)

Step 1: Add the gluten free flour blend, white and brown sugar, cinnamon, baking soda, and sea salt to a large
Step 2: In a smaller bowl, add the ripe bananas and mash them with a fork or pastry blender. Next, add the drained crushed pineapple, eggs, oil, milk or non-dairy milk, and vanilla extract. Mix well.
HINT: If you use a food processor to crush fresh pineapple, make the chunks very small.

Step 3: Pour the wet ingredients into the dry ingredients. Add the chopped pecans if you are including them.
Step 4: Mix the ingredients until just barely combined. The secret to a fluffy gluten free cake is not to overmix the cake batter!! Use the photo above to compare the batter you have to mine.
📢 Sandi says: Every flour blend varies. If your cake batter is too runny, add more flour, and if it is too thick, add more liquid. Make adjustments 1 tablespoon at a time.

Step 5: Add the cake batter to two prepared 9-inch round cake pans. I coated my pans with gluten free baking spray. Use a large spoon to spread the batter evenly.
Step 6: Bake the cakes for 30 minutes at 350º F. Baking time will vary depending on the size of your pans.
Step 7: Move the cakes in their pans to a cooling rack. After 5 minutes, gently remove the cakes from the pans onto a wire cooling rack.
Email This Recipe To Me!

Step 8: Add the softened cream cheese, powdered sugar, vanilla extract, and milk to a standing mixer bowl. Start mixing at a low speed, gradually increasing it as the powdered sugar mixes in.
Whip the frosting for 20 more seconds and turn the mixer off. Do not frost the cake until it is thoroughly cooled.

Decide how you want to frost your cake. I decided to do a naked frosting style, which involves frosting the top of the cake and minimal frosting on the sides. I have a LOT of cake decorating tips in this Gluten-Free Wedding Cake recipe post.
Step 9: Add a dollop of frosting to your cake stand. Add the bottom layer of the cake. Add frosting to the top of this layer, then place another layer of cake on top of the frosting.
Frost the top of the cake. Add frosting to the side of the cake. I used a frosting smoother to scrape most of the frosting off the sides of the cake, as seen in the photo above. If you want to decorate further, add the rest of the frosting to a piping bag and pipe on the top of the cake. Top with finely chopped pecans or coconut.
Step 10: Chill in the refrigerator for 30 minutes to set the frosting. Store the cake in a cake storage container to protect it. It will keep fresh in the refrigerator for up to 4 days.
If you love pineapple in cakes like this, try my Gluten Free Pineapple Upside Down Cake recipe.

I made this for my birthday last week! It was a big hit!!!
Shelly S., Facebook comment
Why did my gluten-free cake turn out dense or crumbly?
There is nothing more frustrating than having your gluten free cake turn out dense. This can be caused by a few potential issues.
- Avoid using a stand mixer to mix the cake batter because it overmixes easily and results in a denser crumb. A whisk or hand mixer gives you much better control. Save the stand mixer for the frosting.
- Another reason for a dense cake is that every gluten-free flour blend has a high starch-to-grain ratio. This will greatly affect the cake’s moisture level. If you are using a flour blend I didn’t test, you may need to adjust the liquid or flour amount to get the right batter consistency.
Why did my gluten-free cake sink in the middle?
- Did you open the oven door while your cake was baking in it? This is the biggest reason cake sinks in the middle. Cakes need a consistent, steady baking temperature. Opening the oven door lets cooler air into the oven, slowing the baking process.
- Always check the expiration date of your baking powder or baking soda before using it. An expired leavener can cause all sorts of issues in baking.
- Is the cake underbaked? Know that the cake bakes from the outside in, so if you take it out of the oven too soon, the middle hasn’t had a chance to finish baking. Do the toothpick test to ensure your cake is thoroughly baked. Insert a toothpick into the center of the cake. If the toothpick comes out clean, it is done baking. If you see batter or crumbs, the cake needs to bake longer.
For more cake troubleshooting help and tips, see my Gluten-Free Cake Troubleshooting Guide.

More Gluten Free Cake Recipes:
- This decadent Gluten Free Chocolate Pound Cake can be made as a bundt or loaf cake.
- Homemade Gluten Free Sponge Cake (It is perfect for Gluten Free Tiramisu!)
- Everyone loves this easy Gluten Free Honey Cake recipe.
- This Gluten Free Carrot Cake makes an incredible birthday cake.
Love This Recipe?
If you made and enjoyed this recipe, I would be incredibly grateful if you could leave a comment below. Please include which flour blend you used. This will help others know this recipe is delicious. Thank you!

Gluten Free Hummingbird Cake With Cream Cheese Frosting
Ingredients
- 2 ¾ cups gluten free flour blend * see note
- ¾ cup cane sugar
- ½ cup brown sugar
- 1 teaspoon ground cinnamon
- 1 teaspoon baking soda
- ½ teaspoon sea salt
- 3 large eggs
- ⅔ cup light cooking oil * see note
- 2 teaspoons pure vanilla extract
- 8 ounces crushed pineapple
- 1 cup toasted pecans optional
- ½ cup milk or non-dairy milk * see note
- 2 ripe bananas
- 8 ounces cream cheese full-fat
- 1 teaspoon pure vanilla extract
- 2 cups powdered sugar
- 1-2 teaspoons of milk if needed
Equipment
Method
- Preheat the oven to 350º F. Be sure the oven rack is set to the middle of the oven.
- Add 2 3/4 cups gluten free flour blend, 3/4 cup cane sugar, 1/2 cup brown sugar, 1 teaspoon ground cinnamon, 1 teaspoon baking soda, and 1/2 teaspoon sea salt to a large mixing bowl. Use a whisk to blend the dry ingredients together. If you see any lumps in the brown sugar, be sure to break them up.
- In a smaller bowl, add the 2 ripe bananas and mash them with a fork. Next, add the 8 ounces crushed pineapple, 3 large eggs,2/3 cup light cooking oil, 1/2 cup milk or non-dairy milk, and 2 teaspoons pure vanilla extract. Mix well.
- Pour the wet ingredients into the dry ingredients. Add the 1 cup toasted pecans if you are including them.
- Mix the ingredients until they are just barely mixed.
- Add the cake batter to two prepared 9-inch round cake pans. I coated my pans with gluten free baking spray. Use a large spoon to spread the cake batter around so it is evenly dispersed.
- Bake the cakes for 30 minutes at 350º F. Baking time will vary depending on the size of your cake pans.
- To test to see if the cakes are finished baking, insert a toothpick into the center of the cakes. If the toothpick comes out clean, it is done baking. If you see batter or crumbs, the cakes need to bake longer.
- Move the cakes to a cooling rack. After 5 minutes, remove the cakes gently out of the pans onto a wire cooling rack.
- Add the softened 8 ounces cream cheese, 2 cups powdered sugar, 1 teaspoon pure vanilla extract, and 1-2 teaspoons of milk to a standing mixer bowl. Start mixing at a low speed and gradually increase the speed as the powdered sugar mixes in.
- Whip the frosting for 20 more seconds and turn the mixer off. Do not frost the cake until the cake is fully cooled.
- Frost the cake as you like. I did a naked style of cake where I kept the frosting minimal on the sides.
Nutrition
Notes
- I have tested this recipe with King Arthur Measure for Measure GF. That doesn’t mean others will not work; I just have not tested other flours. Note that every flour blend is different and has a different starch-to-grain ratio. It is normal to have to make adjustments. If your batter is too wet, add more flour. If your batter seems too thick, add more milk.
- Binder – If your gluten free flour blend does not contain xanthan gum or guar gum, please add 1 teaspoon.
- Use a light oil that doesn’t have a strong flavor. Canola and avocado are both good for cake.
- I tested both Oatly Super Basic and almond milk in this recipe, but other dairy-free kinds of milk will work but I do not recommend canned coconut milk because it is too thick. Regular milk also works.
- This cake will keep for up to 4 days in an airtight container or up to 4 months in the freezer. Freeze it unfrosted, unassembled.
Private Notes
Tried this recipe?
Let us know how it was!I truly hope you enjoy this recipe. I have been testing and creating gluten-free recipes for over 15 years. Creating gluten-free recipes that do not taste gluten-free is my goal for every recipe. Sometimes I only have to test a new recipe a couple of times, and others it takes multiple times. I do this so you get reliable, delicious results every time!


This cake was such a big hit with my family! I used vanilla bean paste instead of vanilla extract. It was easy to make and came out perfect. Definitely will be making it again.
Hi Maria, I am so glad you loved this cake recipe. I hope it made your celebration extra special.
The 8 oz crushed pineapple is juice and all?
Thanks!!
Hi Pat, Yes, you want to use it with the juice. This adds nice flavor.
why dairy free milk? I just don’t buy other kinds. my aunt is gluten free so I’d love to make this cake for her bday.
Hi Sheryl, I mostly use dairy-free milk because regular milk affects my stomach. You can definitely use non-dairy or regular milk in this recipe.
This is a fantastic, beautiful dessert for anyone. I’ve made it 4 times, usually without dairy as well (almond milk, Kite Hill cream cheese) and it’s always a hit with everybody.
Wow, you are a super fan of this cake :-). I am thrilled you love it, thank you!
What vegan cream cheese did you use to keep the recipe dairy free?
Hi Elisha, I have used both Kite Hill and VioLife brands dairy-free cream cheese.
I’m about to try this recipe, but I’m curious as to the bananas. There’s so much variation in size. Maybe it doesn’t matter? I did nt want a gluey cake.
Hi Jacqueline, I used medium-sized bananas. I rarely buy really big bananas because I tend to only be able to eat half of those at a time. I hope this helps. Note every flour blend is different so use my photos of the batter to guide you on batter consistency if you use a blend I didn’t test.
Hello! I am assuming that this is for regular 9 inch pans if I wanted to use this to make with two 8“ x 2“ pans would you recommend doubling the recipe?
This recipe is for two 9-inch cake pans. If you are going to use smaller pans, I don’t think you need to double the recipes.
Sorry I was t specific. I should have asked if your pans are 9*1 9*2 etc…
To test the recipe I used cupcakes pans. It made 24 and I was also able to use a small size Bundt pan.
Baking now, will see how it turns out! I’m making this in two weeks for a client but will be using two 8*2 pans. I’m sure it will be plenty. Instead of making the cream cheese icing I will be making a crusted pineapple buttercream.
That makes more sense. My pans are 9*2.
If I want to make a 9 x 13 cake with this recipe, could I just leave the cake in the pan rather than removing it to cool? It is so much easier to just keep it in the pan for transport and serving at a potluck. I know that some recipes say to always remove a cake to cool.
Hi Mary, I assume that would be okay. I haven’t done that with this cake.
Can I use regular milk instead of almond milk? Many thanks! Excited to try this recipe.
Hi Myra, you can use regular milk. Thank you!
Very moist and delicious! I did add some extra cinnamon and all spice. I will make it again! Thanks
I am so glad you loved the cake. Thank you!
I made cupcakes with this recipe. I used Pillsbury GF flour mix fresh pineapple I had on hand with my ripe banana. I did omit the nuts, I didn’t have any. This tasted like a regular cake fluffy and moist. I also made the frosting to top them. Absolutely will be making these again.
I love that you used that flour blend. I have just found it and have been experimenting with it. Have a wonderful holiday!