There’s something incredibly satisfying about a moist, tropical-flavored cake that melts in your mouth. Pineapple cake is one such treat that brings a burst of fruity sweetness, perfect for any occasion. Whether you’re a seasoned baker or a beginner, this easy pineapple cake recipe will guide you step by step to create a delicious homemade dessert.
The combination of crushed pineapple, a soft cake base, and a luscious pineapple glaze makes this cake incredibly moist and flavorful. Unlike traditional cakes, pineapple cake doesn’t require butter or milk to stay soft, as the natural fruit juices add all the moisture needed. With its light and fluffy texture, it’s a great alternative to heavier cakes.
In this article, you’ll find a detailed recipe, tips for success, and creative variations to customize your cake. Whether you prefer a classic pineapple cake, an upside-down version, or a cream cheese frosting twist, this guide has got you covered.

Super Moist & Flavorful – The natural sweetness and tang of pineapple keep the cake soft.
One-Bowl Recipe – Easy to mix and prepare with minimal effort.
No Fancy Equipment Needed – Just a mixing bowl, whisk, and baking pan!
Perfect for Any Occasion – A great cake for birthdays, potlucks, and family gatherings.
Now, let’s dive into the ingredients and step-by-step instructions to make the best homemade pineapple cake! 🍍🎂
Ingredients for the Best Pineapple Cake Recipe
Ingredients
To make this deliciously moist pineapple cake, you’ll need simple pantry staples. Below is a breakdown of the ingredients for both the cake and the glaze.
Cake:
- 2 cups all-purpose flour – Provides the cake’s structure.
- 1 ½ cups granulated sugar – Adds sweetness and enhances the pineapple flavor.
- 1 teaspoon baking soda – Helps the cake rise.
- ½ teaspoon salt – Balances the sweetness.
- 2 large eggs – Adds moisture and structure.
- 1 cup crushed pineapple (with juice) – The star ingredient that keeps the cake moist.
- 1 teaspoon vanilla extract – Enhances the overall flavor.
- ½ cup sour cream or Greek yogurt – Adds extra moisture and a slight tang.
Pineapple Glaze:
- 1 cup powdered sugar – The base of the glaze.
- 2 tablespoons pineapple juice – Brings in more tropical sweetness.
- 1 teaspoon vanilla extract – Adds a hint of warmth and depth.
Step-by-Step Instructions
Follow these simple steps to create the perfect pineapple cake
Prepare the Pineapple Glaze
- While the cake is baking, whisk together the powdered sugar, pineapple juice, and vanilla extract until smooth.
- If you prefer a thicker glaze, add more powdered sugar. For a lighter drizzle, add a little extra pineapple juice.
Glaze and Serve
- Once the cake is done, let it cool for about 10 minutes in the pan.
- Drizzle the glaze evenly over the warm cake, letting it soak in for maximum flavor.
- Slice and serve warm or at room temperature.

Tips for a Moist and Fluffy Pineapple Cake
Making a perfectly moist and flavorful pineapple cake is easy when you follow these expert tips. Whether you’re a beginner or an experienced baker, these tricks will help you get the best results every time.
1. Use Crushed Pineapple with Juice
- The juice adds moisture and enhances the tropical flavor.
- If using fresh pineapple, blend it with a bit of water to create a similar consistency.
2. Don’t Overmix the Batter
- Overmixing can make the cake dense instead of light and fluffy.
- Stir just until the flour disappears to keep the cake soft.
3. Use Sour Cream or Greek Yogurt for Extra Moisture
- This prevents the cake from drying out and adds a subtle tangy flavor.
- If you don’t have sour cream, you can substitute with buttermilk.
4. Let the Cake Cool Before Adding the Glaze
- Pouring glaze over a slightly warm cake helps it absorb better.
- However, avoid adding it while the cake is too hot, or the glaze will become too runny.
5. Adjust the Glaze Thickness
- If you prefer a thicker glaze, add more powdered sugar.
- For a lighter drizzle, add extra pineapple juice.
6. Enhance the Flavor with Spices or Coconut
- A dash of cinnamon or nutmeg can add warmth to the cake.
- Mixing in shredded coconut gives an extra tropical twist.
7. Store Properly for Long-Lasting Freshness
- Keep the cake at room temperature in an airtight container for up to 3 days.
- Refrigerate for up to a week if you want it to last longer.
- Freeze individual slices for up to 3 months, wrapped tightly in plastic wrap.
Delicious Variations of Pineapple Cake You Must Try
One of the best things about this pineapple cake recipe is its flexibility! Whether you want to try a different style, make it healthier, or adjust for dietary restrictions, there are plenty of ways to customize this delicious treat.
1. Pineapple Upside-Down Cake 🍍
If you love caramelized fruit flavors, try turning this recipe into a pineapple upside-down cake.
🔹 How to make it:
- Instead of mixing the pineapple into the batter, arrange pineapple rings and maraschino cherries at the bottom of the baking pan.
- Melt ¼ cup butter and mix with ½ cup brown sugar, then pour it over the fruit.
- Pour the cake batter on top and bake as usual.
- Flip the cake upside down after baking for a stunning golden, caramelized pineapple topping.
2. Vegan Pineapple Cake 🌱
If you want to make this cake dairy-free and egg-free, you can easily swap out some ingredients.
🔹 Substitutions:
- Replace eggs with flax eggs (1 tbsp flaxseed meal + 3 tbsp water per egg).
- Use coconut oil or a plant-based butter substitute instead of vegetable oil.
- Swap sour cream or yogurt for coconut yogurt or applesauce.
3. Gluten-Free Pineapple Cake 🌾
Want to make it gluten-free? No problem!
🔹 How to make it:
- Replace all-purpose flour with a 1:1 gluten-free baking flour blend.
- Ensure your baking soda and other ingredients are labeled gluten-free.
- Add ¼ teaspoon xanthan gum if your gluten-free flour doesn’t already contain it, to help with texture.
4. Pineapple Coconut Cake 🥥
For an even more tropical twist, add shredded coconut!
🔹 How to make it:
- Add ½ cup shredded coconut to the cake batter.
- Toast some coconut flakes and sprinkle them on top after glazing the cake.
5. Pineapple Cake with Cream Cheese Frosting 🎂
If you prefer a richer and creamier topping instead of glaze, try a classic cream cheese frosting.
🔹 How to make it:
- Beat together 8 oz cream cheese, ½ cup butter, 2 cups powdered sugar, and 1 tsp vanilla extract.
- Spread the frosting over a completely cooled cake.
- Add a sprinkle of toasted coconut or crushed pecans for extra texture.
6. Adding Nuts or Raisins 🌰
If you enjoy a bit of crunch or extra sweetness, add:
✔ ½ cup chopped pecans or walnuts to the batter.
✔ ¼ cup raisins for a chewy texture.
If you love crispy textures, you might enjoy these Philly Cheesesteak Egg Rolls – a perfect savory snack to pair with your sweet pineapple cake.
Looking for more classic comfort foods? Check out Gratin Dauphinois – a rich and creamy French potato dish that complements a light pineapple dessert.
Want to explore Italian flavors? Try Tagliatelle Pasta – a delicious homemade pasta recipe perfect for dinner before indulging in pineapple cake.
Frequently Asked Questions
1. What is the secret ingredient for moist cake?
The secret to a moist cake lies in using the right combination of ingredients. In this pineapple cake, the key ingredients that ensure moisture are:
Crushed pineapple with juice – The natural fruit juice keeps the cake soft and flavorful.
Sour cream or Greek yogurt – Adds richness and prevents dryness.
Vegetable oil or melted butter – Helps retain moisture better than butter alone.
Eggs – Provide structure while keeping the cake tender.
Avoid overbaking – Overbaking dries out the cake, so always check with a toothpick for doneness.
2. What is the most delicious cake in the world?
The title of the most delicious cake is subjective and depends on personal taste! However, some of the most beloved cakes worldwide include:
Pineapple Cake – A tropical favorite with a sweet and moist texture.
Chocolate Lava Cake – Rich, decadent, and oozing with melted chocolate.
Cheesecake – Creamy and smooth, with a crunchy graham cracker crust.
Black Forest Cake – A classic German cake made with chocolate, cherries, and whipped cream.
Tiramisu – A beloved Italian dessert with coffee-soaked layers and mascarpone cheese.
Each cake has its own unique flavors and textures, but if you’re a fan of fruity, moist cakes, pineapple cake is definitely one of the best!
3. What pairs well with pineapple cake?
Pineapple cake pairs wonderfully with a variety of flavors and beverages, making it a versatile dessert. Here are some great pairings:
☕ Drinks:
- Coffee – Balances the cake’s sweetness with its bold, roasted flavor.
- Iced Tea or Lemonade – Refreshing drinks that complement the tropical notes.
- Coconut Milk or Piña Colada – Enhances the tropical experience.
🍨 Dessert Complements:
- Vanilla Ice Cream – A scoop of ice cream adds a creamy contrast to the cake’s texture.
- Whipped Cream – Light and airy, making each bite even more delicious.
- Caramel or Butterscotch Drizzle – A sweet drizzle adds an extra layer of flavor.
🥥 Toppings & Additions:
- Toasted Coconut – Enhances the tropical vibe.
- Chopped Nuts (Pecans or Walnuts) – Adds crunch and richness.
- Fresh Pineapple Slices – A beautiful and tasty garnish.
4. Can I use pineapple juice instead of water in a cake mix?
Yes! Pineapple juice is a great substitute for water in a cake mix. It adds extra moisture and a natural sweetness that enhances the flavor of the cake.
✔ How to do it:
- Replace water with an equal amount of pineapple juice in any cake mix recipe.
- Works especially well in yellow cake, vanilla cake, or even carrot cake.
- If using a boxed cake mix, also consider replacing oil with melted butter for a richer taste.
Using pineapple juice instead of water makes any cake more flavorful and gives it a hint of tropical goodness! 🍍

Conclusion
Pineapple cake is a deliciously moist, tropical treat that’s perfect for any occasion. With its soft texture, natural sweetness, and refreshing pineapple flavor, it’s a great alternative to heavier desserts. Whether you enjoy it with a light pineapple glaze, a creamy frosting, or as an upside-down cake, this recipe is versatile and easy to customize.
By following the tips in this guide, you can ensure that your cake stays moist, flavorful, and perfectly baked every time. From vegan and gluten-free variations to adding coconut or nuts for extra texture, there are so many ways to make this cake your own. Plus, pairing it with coffee, vanilla ice cream, or a sprinkle of toasted coconut takes it to the next level.
So, why not give this best pineapple cake recipe a try? It’s easy, made with simple ingredients, and guaranteed to impress your family and friends. Happy baking! 🍍🎂✨

Best Pineapple Cake Recipe – Moist & Easy Homemade Cake
Equipment
- ✔ Large mixing bowls
- ✔ Whisk or hand mixer
- ✔ Measuring cups and spoons
- ✔ 9×13-inch baking pan
- ✔ Spatula
- ✔ Cooling rack
- ✔ Sifter (for powdered sugar in glaze)
Ingredients
- For the Cake:
- 2 cups all-purpose flour
- 1 ½ cups granulated sugar
- 1 teaspoon baking soda
- ½ teaspoon salt
- 2 large eggs
- 1 cup crushed pineapple with juice
- ½ cup vegetable oil or melted butter
- 1 teaspoon vanilla extract
- ½ cup sour cream or Greek yogurt
- For the Pineapple Glaze:
- 1 cup powdered sugar
- 2 tablespoons pineapple juice from canned pineapple or fresh
- 1 teaspoon vanilla extract
Instructions
- Step 1: Preheat and Prepare
- Preheat oven to 350°F (175°C).
- Grease and flour a 9×13-inch baking pan or line it with parchment paper.
- Step 2: Mix Dry Ingredients
- In a large bowl, whisk together flour, sugar, baking soda, and salt.
- Step 3: Combine Wet Ingredients
- In another bowl, whisk the eggs, crushed pineapple (with juice), vegetable oil, vanilla extract, and sour cream until well combined.
- Step 4: Mix the Batter
- Gradually fold the wet ingredients into the dry ingredients, stirring until just combined. Avoid overmixing.
- Step 5: Bake the Cake
- Pour the batter into the prepared baking pan.
- Bake for 30-35 minutes, or until a toothpick inserted in the center comes out clean.
- Step 6: Prepare the Glaze
- While the cake bakes, whisk together the powdered sugar, pineapple juice, and vanilla extract until smooth.
- Step 7: Glaze and Serve
- Let the cake cool for 10 minutes before drizzling the glaze on top.
- Serve warm or at room temperature.
Notes
✔ Don’t overmix the batter – Overmixing can lead to a dense cake.
✔ For extra flavor, add shredded coconut or chopped pecans to the batter.
✔ Storage: Keep in an airtight container at room temperature for 3 days or refrigerate for up to a week.
✔ Freeze: Wrap tightly and freeze for up to 3 months.