This post may contain affiliate links. For more information, read my disclosure policy.

This Pineapple Cake is the best pineapple-infused cake that’s perfectly moist and has the best pineapple whipped cream cheese frosting. You’re going to absolutely LOVE this cake recipe!

pineapple cake with white frosting on top and with a sliced pineapple.

Moist Cake Recipe with Pineapple

This cake recipe brings in pineapple flavor into the entire recipe: It uses crushed pineapple in the cake and pineapple juice in the frosting. I decided to make this a sheet cake instead of a layer cake because I’m all about EASY recipes.

The cakes flavor is the perfect one to transport you into a tropical oasis. The sweet pineapple keeps the cake texture moist with a tender crumb. The cream cheese cuts the sweetness of the whipped cream frosting, making this the BEST pineapple cake recipe you’ll ever eat!

ingredients in pineapple cake laid out on a marble counter.

Ingredients Needed

  • Canned Crushed Pineapple: You’ll reserve some of the liquid for the frosting and the rest goes into the cake.
  • Cream Cheese: Be sure that it’s softened to avoid lumps.
  • Heavy Whipping Cream: You’ll need this for the frosting. Make sure to use HEAVY whipping cream, not plain whipping cream.

Click to see the recipe card below for full ingredients & instructions!

How to make The Best Pineapple Cake

  • Whisk flour and sugar then add all the wet ingredients to a large bowl. Mix until combined.
  • Pour cake batter into a 9×13-inch baking pan that’s been greased with butter and flour or cooking spray. Bake at 350 degrees f until the cake is dark golden on top and a toothpick comes out clean.
pineapple cake with white frosting on top and with a sliced pineapple.

Expert Tips

  • If you want, you can fold some shredded sweetened coconut to the batter to make more of a Pina colada cake.
  • I garnished this cake with pineapple slices, but you could also use pineapple rings or maraschino cherries!


Can you freeze this recipe?

Yes you can! Freeze this cake in an airtight container for up to 2 months!

Can you use cake flour in this recipe?

I usually only use all-purpose flour because it’s what I always have on hand. This recipe hasn’t been tested with cake flour, so it’s best to use all purpose. You can use 1:1 Gluten Free AP flour in it’s place if you wish.

pineapple cake with white frosting on top and with a sliced pineapple.

Pineapple Cake Recipe

5 from 3 votes
This tropical inspired dessert is perfect for any time you are craving the beach. It has the best tropical flavor throughout the entire dessert and it will have you asking for seconds every time.
Prep Time 30 minutes
Cook Time 45 minutes
Total Time 1 hour 15 minutes
Yield 16 servings
Serving Size 1 serving


For the cake:

  • 2 cups (248g) all-purpose flour
  • 1 ½ cups (300g) granulated sugar
  • 2 large eggs
  • 1 teaspoon vanilla extract
  • 2 teaspoons baking soda
  • 1 20 ounce can crushed pineapple in juice, reserve 1 tablespoon of the juice

For the frosting:

  • 8 ounces (226g) cream cheese
  • 1 cup (113g) powdered sugar
  • 1 teaspoon vanilla extract
  • 1 tablespoon reserved juice from the canned pineapple
  • 1 ½ cups cold heavy whipping cream
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!


  • Preheat oven to 350°F. Grease a 9×13-inch pan with nonstick baking spray (the kind with flour) or grease and flour it.
  • Make sure to reserve 1 tablespoon of the juice from the can of pineapple; set aside for the frosting.
  • Add flour and sugar to a large bowl, whisk to combine. Then add eggs, vanilla, baking soda and pineapple to the dry ingredients. Whisk or mix with a hand mixer until combined (batter will be slightly lumpy).
  • Pour batter into prepared cake pan. Bake until a toothpick comes out clean, about 35-42 minutes.
  • The top will turn a dark golden color. Cool completely before frosting.
  • To make the frosting, mix cream cheese and sugar with a hand or a stand mixer until smooth.
  • Add vanilla and pineapple juice and mix on low, then while running the mixer medium, slowly add the heavy cream. Turn the mixer up and beat until stiff peaks form, being sure to scape the sides and bottom of the bowl once during mixing. This will happen faster with a stand mixer and take a while with a hand mixer.
  • Once cooled, frost the cake with the frosting. Garnish as desired.

Recipe Notes

  • Store cake in the refrigerator for up to 3 days. Cake can be frozen, frosted or unfrosted, although the frosting isn’t as good once it thaws

Recipe Nutrition

Serving: 1serving | Calories: 386kcal | Carbohydrates: 61g | Protein: 5g | Fat: 14g | Saturated Fat: 8g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 4g | Trans Fat: 0.002g | Cholesterol: 60mg | Sodium: 196mg | Potassium: 82mg | Fiber: 1g | Sugar: 38g | Vitamin A: 548IU | Vitamin C: 0.2mg | Calcium: 37mg | Iron: 2mg
Nutritional information not guaranteed to be accurate
Course Dessert
Cuisine American

Other Pineapple Recipes

Last Updated on April 20, 2024

Dorothy Kern

Welcome to Crazy for Crust, where I share recipes that are sometimes crazy, often with a crust, and always served with a slice of life.

Leave a Comment

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

Recipe Rating