Go Back
A slice of pineapple cake served on a plate with a scoop of vanilla ice cream and a fork

Best Pineapple Cake Recipe – Moist & Easy Homemade Dessert

This pineapple cake recipe is soft, moist, and packed with tropical flavor! Made with crushed pineapple and topped with a creamy frosting, this homemade cake is perfect for any occasion. It’s simple to make, requiring just a few basic ingredients. Whether served plain, with frosting, or as an upside-down cake, this is a must-try dessert for pineapple lovers!
Prep Time 10 minutes
Cook Time 35 minutes
Total Time 45 minutes
Course Dessert
Cuisine American, Tropical
Servings 12

Equipment

  • Large mixing bowls
  • Hand mixer or stand mixer
  • Measuring cups and spoons
  • Whisk
  • Rubber spatula
  • 9x13-inch cake pan (or two 9-inch round cake pans)
  • Cooling rack
  • Oven

Ingredients
  

  • 2 cups 250g all-purpose flour
  • 1 ½ teaspoons baking powder
  • ½ teaspoon baking soda
  • ½ teaspoon salt
  • 1 cup 200g granulated sugar
  • 2 large eggs
  • ½ cup 120ml vegetable oil (or melted butter)
  • 1 teaspoon vanilla extract
  • 1 can 20 oz crushed pineapple (with juice)
  • ½ cup 120ml sour cream or Greek yogurt (optional, for extra moisture)
  • ½ teaspoon cinnamon optional
  • Frosting Optional – Cream Cheese Frosting:
  • 8 oz 225g cream cheese, softened
  • ½ cup 115g unsalted butter, softened
  • 2 cups 240g powdered sugar
  • 1 teaspoon vanilla extract

Instructions
 

  • 1️⃣ Preheat oven to 350°F (175°C). Grease and flour a 9x13-inch baking pan (or two 9-inch round pans).
  • 2️⃣ In a medium bowl, whisk together the flour, baking powder, baking soda, salt, and cinnamon (if using).
  • 3️⃣ In a large mixing bowl, beat the eggs, sugar, and oil until well combined. Add the vanilla extract.
  • 4️⃣ Add the crushed pineapple (with juice) and sour cream to the wet ingredients. Mix until combined.
  • 5️⃣ Gradually add the dry ingredients to the wet mixture, stirring until just combined. Do not overmix.
  • 6️⃣ Pour the batter into the prepared pan and spread evenly.
  • 7️⃣ Bake for 30-35 minutes (or until a toothpick inserted in the center comes out clean).
  • 8️⃣ Let the cake cool completely in the pan before frosting.
  • 9️⃣ Prepare the frosting by beating cream cheese and butter until smooth. Add powdered sugar and vanilla extract, and mix until fluffy.
  • 🔟 Frost the cake, slice, and enjoy!

Notes

For a pineapple upside-down cake, layer pineapple slices and brown sugar at the bottom of the pan before pouring the batter.
Add shredded coconut or chopped nuts for extra texture.
Store in an airtight container at room temperature for up to 2 days, in the fridge for 5 days, or freeze for 3 months.
Keyword pineapple cake recipe, homemade pineapple cake, easy pineapple cake, moist pineapple cake, pineapple dessert, tropical cake, pineapple upside-down cake