This tender gluten-free pineapple coconut cake is full of tropical flavor in every bite. The sweet pineapple keeps the crumb moist, while the shredded coconut adds just the right texture and flavor. It’s an easy, crowd-pleasing cake you can bake in a loaf pan, round cake pan, or even as cupcakes. Top it with a creamy vanilla icing and shredded coconut.

Two slices of the gluten-free coconut pineapple cake on small white plates.

This recipe came together after a recent pantry dive. Once a year, I empty out my kitchen pantry and pull out the expired foods. I found a can of crushed pineapple that only had a month left, so I came up with a cake to put this can to use. If you have a can of crushed pineapple in your pantry, you will want to make this gluten-free coconut cake with canned pineapple.

If you love baking cake, I have over 100 incredible gluten-free cake recipes for you to try. Drop a comment and let me know which one you try next!

Allergen Information:

This easy gluten-free tropical loaf cake is:

Photos of the pineapple cake ingredients.

Ingredient Notes and Swaps:

For the full list of ingredients and amounts, please go to the recipe card below.

  • Gluten-Free Flour Blend – I tested this gluten-free cake recipe with King Arthur Measure for Measure and Bob’s Red Mill 1:1 Blend. Both worked great. Other blends will work, but you may need to tweak the batter. My rule of thumb is if your batter or dough is too runny, add more flour; if it is too thick, add more liquids. 
  • Binder – If your flour blend doesn’t contain a binder, add 3/4 teaspoon of xanthan gum to the dry ingredients.
  • Cane Sugar – Cane sugar adds sweetness and helps create a tender crumb by locking in moisture. You can swap coconut sugar, but know it will turn your cake brown.
  • Baking Soda – Baking soda is needed when there are acidic ingredients to help the cake rise.
  • Coconut – Use unsweetened shredded coconut for the best texture and to avoid making the cake overly sweet.
  • Pineapple – I used canned crushed pineapple, but fresh pineapple can be used. Be sure to chop it finely if using fresh.
  • Eggs – Use large eggs. Eggs help with binding to hold the cake together and help keep the cake moist.
  • Butter – Butter adds richness and helps keep the cake moist. Use unsalted butter so you can control the salt level. Use plant-based butter if you are dairy-free.
  • Milk or Non-Dairy Milk – Use any unflavored milk or non-dairy milk. I used Oatly Simple, but almond, soy, or regular milk all work.

Tips for Making Gluten-Free Pineapple Coconut Cake

1. Do not overmix the cake batter; the cake will turn out denser.
2. Partially melt the butter, but don’t make it too hot, or it can cook the eggs when mixing the wet ingredients.
3. I prefer to line the loaf pan with parchment paper so the cake is easy to lift out of the pan.

Step-By-Step Photos and Directions:

Note From The Kitchen: Every gluten-free flour blend absorbs liquid a little differently. If your batter looks thicker or thinner than mine, add 1–2 tablespoons of milk or flour to adjust. This is totally normal in gluten-free baking and will help you get consistent results.

Photos of the dry ingredients in one mixing bowl and the wet ingredients in another bowl.

Email This Recipe To Me!

I will email this recipe to you, so you can come back to it later!

Step 1: Preheat the oven to 350º F on the bake setting. Combine the flour, shredded coconut, sugar, baking soda, and salt in a large mixing bowl. Use a whisk to thoroughly mix.

Step 2: Partially melt the butter. Add the eggs, pineapple, and milk. Whisk to blend.

Photos of the wet and dry ingredients mixed, and the batter in the loaf pan.

Step 3: Pour the wet ingredients into the dry ingredients and gently mix to make the batter.

Step 4: Line a loaf pan with parchment paper. Pour the batter into the pan and use a rubber spatula to smooth the batter evenly in the pan.

Step 5: Bake the gluten-free pineapple coconut cake for 40-42 minutes. The actual baking time will vary depending on the size and type of pan you use.

The cake is finished baking when the top is golden. Insert a toothpick into the top of the cake. If it comes out clean, the cake is finished baking. If you see batter or crumbs, it needs to bake longer.

Step 6: Move the cake to a cooling rack. Let it sit in the pan for five minutes, then use the parchment paper to gently lift the cake out of the pan onto the cooling rack.

Do not slice the cake until it is cooled. If you slice it when it is hot, the cake will crumble because it hasn’t set. When the cake is cooled, mix the icing ingredients and drizzle the icing over the cake.

A baked pineapple coconut cake on a cutting board.

This easy gluten-free pineapple cake with coconut is a winner recipe that everyone will love. Add in blueberries, chocolate chips, or any other mix-ins you like!

Frequently Asked Questions:

How many cupcakes will this recipe make?

This recipe will make 12 cupcakes.

Can you make this recipe egg-free?

I haven’t tested this recipe with an egg replacer. If you bake this cake with an egg replacer, please drop a comment.

Can I use fresh pineapple instead of canned?

Yes! Just chop it finely and drain any excess juice. The texture may be slightly different, but it will still taste great.

Gluten-free baking is like a science experiment. There are so many things you need to understand the different components of baking without gluten. My Gluten-Free Resources Section is here to help teach you the tools you need to know to become a confident gluten free baker.

Whisking dry ingredients in a glass bowl.

My Best Gluten-Free Baking Tips For Better Baking!

A spoon of psyllium husk gel.

Why Binders Are Important In Gluten-Free Baking

Four storage jars filled with gluten free flour blends.

The Best Gluten Free Flour Blends – And how to use them!

The coconut cake with the icing and shredded coconut on top.

More Gluten Free Loaf Cake Recipes:

Love This Recipe?

💬 Did you make this recipe? Drop a comment below, and let me know how it turned out! ⭐⭐⭐⭐⭐ Please include which flour blend you used. This will help others know this recipe is delicious. Thank you!

Two slices of the gluten-free coconut pineapple cake on small white plates.

Easy Gluten-Free Pineapple Coconut Cake

Sandi Gaertner
This moist and tender gluten-free pineapple coconut cake is loaded with tropical flavor! Bake it in a loaf pan, cake pan, or as cupcakes. This easy summer dessert includes a dairy-free option and freezes well, too.
No ratings yet
gluten free allergy icon
nut free allergen icon
soy free allergy icon
Prep Time 15 minutes
Cook Time 45 minutes
Total Time 1 hour
Course Gluten Free Cake Recipes
Cuisine American
Servings 12 servings
Calories 382 kcal

Ingredients
  

  • 2 ¼ cups gluten free flour blend * see notes
  • 1 ½ cups unsweetened shredded coconut
  • ¾ cup sugar
  • 1 teaspoon baking soda
  • ¼ teaspoon salt
  • 3 large eggs
  • ½ cup melted unsalted butter
  • 1 cup crushed pineapple
  • ¼ cup pineapple juice
  • ½ cup milk or non-dairy milk

Optional Icing

  • 2 cups powdered sugar
  • 2-3 tablespoons milk

Email This Recipe To Me!

I will email this recipe to you, so you can come back to it later!

Instructions
 

  • Preheat the oven to 350º F on the bake, not convection, setting.
  • Combine the 2 1/4 cups gluten free flour blend, 1 1/2 cups unsweetened shredded coconut, 3/4 cup sugar, 1 teaspoon baking soda, and 1/4 teaspoon salt in a large mixing bowl. Use a whisk to thoroughly mix.
  • Combine the 1/2 cup melted unsalted butter 3 large eggs, 1 cup crushed pineapple, 1/4 cup pineapple juice, and 1/2 cup milk or non-dairy milk. Whisk to blend.
  • Pour the wet ingredients into the dry ingredients and gently mix to make the batter. Do not over mix or you can end up with a denser cake.
  • Line a loaf pan with parchment paper. Pour the batter into the pan and use a rubber spatula to smooth the batter evenly in the pan.
  • Bake the gluten-free pineapple coconut cake for 40-45 minutes. The actual baking time will vary depending on the size and type of pan you use.
  • The cake is finished baking when the top is golden. Insert a toothpick into the top of the cake. If it comes out clean, the cake is finished baking. If you see batter or crumbs, it needs to bake longer.
  • Transfer the cake to a cooling rack. Let it sit in the pan for five minutes, then gently lift it out of the pan onto the rack using the parchment paper.
  • Do not slice the cake until it is cooled. If you slice it when it is hot, the cake will crumble because it hasn't set. When the cake is cooled, mix the icing ingredients and drizzle the icing over the cake.

Notes

  1. I tested two flour blends in this recipe, King Arthur Measure for Measure and Bob’s Red Mill 1:1. Other blends will work, but you may need to tweak the ingredients. My rule of thumb is if your batter or dough is too runny, add more flour, and if it is too thick, add more liquids. 
  2. If your blend doesn’t contain a binder, add 3/4 teaspoon of xanthan gum.
  3. Swap plant-based butter to make this recipe dairy-free.
  4. I drain a tiny bit of the juice from the crushed pineapple, but not much. I supplemented the pineapple juice from a can of pineapple juice.
  5. You can use fresh pineapple, but the texture may vary slightly.
  6. Store leftovers in an airtight container. It should stay fresh for up to 4 days. (3 days in the summer if your house is hot.) I recommend freezing the cake in freezer-safe zipper bags.

SPECIAL NOTE

Please know that every gluten free flour blend has a different starch to grain ratio. If you use a blend I didn’t test, my rule of thumb is to add more flour if your dough or batter is wet and add more liquid if the dough or batter is too dry!

Nutrition

Serving: 1sliceCalories: 382kcalCarbohydrates: 56gProtein: 5gFat: 17gSaturated Fat: 12gPolyunsaturated Fat: 1gMonounsaturated Fat: 3gTrans Fat: 0.3gCholesterol: 62mgSodium: 167mgPotassium: 130mgFiber: 4gSugar: 37gVitamin A: 349IUVitamin C: 3mgCalcium: 47mgIron: 2mg
Tried this Recipe? Pin it for Later!Mention @FearlessDining or tag #FearlessDining!

Nutrition Disclaimer

Nutritional information is an estimate provided to you as a courtesy. You should calculate the actual nutritional information with the products and brands you are using with your preferred nutritional calculator.

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating