This pineapple cake is the ultimate pineapple cake! This is a three layer pineapple cake (crushed pineapple inside the cake layers!), filled with a pineapple jam and topped with a pineapple cream cheese frosting. If you are a pineapple lover, you will love this cake!

I call this pineapple sunshine cake!

Pineapple sunshine cake cut into on a cake stand.

This southern pineapple sunshine cake is basically sunshine in a cake. Pineapple is the best during the summer, and would be such a perfect cake for birthday parties, wedding cake, dinner parties, or for the 4th of July!

My favorite part about this pineapple sunshine cake recipe is the frosting. This is a cream cheese frosting filled with some of the pineapple jam. There are little peaks of pineapple all through out the cake! This delicious cake is a real crowd pleaser, especially among my friends who like southern food.

For more summer cakes, try Vanilla Raspberry Cake, Layered Peach Cobbler Cake, and White Forest Cake.

Why This Pineapple Cake Recipe Works

  • Pineapple cake- There is crushed pineapple in the cake. The way it is made is similar to a carrot cake. It has melted butter, oil, sour cream, buttermilk, and crushed pineapple!
  • Pineapple filling- The filling of this cake is a pineapple jam! It helps the cake have a strong pineapple flavor.
  • Pineapple frosting- You have to have a pineapple frosting to go with this cake!
  • Fresh pineapple decoration- It is topped with pineapple circles to complete the look of this sunny cake!
  • Easy recipe- This easy pineapple sunshine cake recipe breaks down each step to make it as simple as possible. It uses simple ingredients to make the perfect treat without being much more work than a box of cake mix.

What Is Pineapple Sunshine Cake?

Pineapple sunshine cake is also known to be called Crushed Pineapple Cake. Usually it is a box of yellow cake mix filled with a crushed pineapple and topped with a whipped topping like cool whip.

I wanted to classy the cake up a bit and make it homemade! So, this is a layered crushed pineapple made from scratch with a pineapple jam and a pineapple frosting. It tastes even better than the traditional cake!

One cake slice on parchment paper.

Ingredient Notes for Pineapple Cake

Here are some notes on the ingredients. For a full list of ingredients, check out the recipe card below.

  • Crushed pineapple- You will need two cans of 20oz of crushed pineapple.
  • Unsalted butter- For the cake, it needs to be melted and cooled before using. For the frosting, it needs to be pulled out 30 minutes before using to be slightly cold.
  • Oil- Use canola oil or vegetable oil.
  • Sour cream- Use full fat sour cream. Pull this out 2 hours before baking.
  • Buttermilk- Use full fat or reduced fat buttermilk. Pull this out 2 hours before baking.
  • Eggs- Pull the large eggs out 2 hours before baking.
  • Cream cheese- Use full fat cream cheese. Pull this out 2 hours before baking.
  • Powdered sugar- Make sure it is sifted to avoid a gritty frosting.

Substitutions

  • Sour cream- Use can use plain full fat greek yogurt.
  • Buttermilk- Use 1/2 cup of milk and 1/2 Tablespoon of lemon juice. Let it sit for 10 minutes before using.
  • Cream cheese- Increase the butter to 2 cups and decrease the powdered sugar to 6 1/2 cups.
One cake slice on a wooden plate.

Step By Step Instructions- Cake Layers

Here is how to make and bake the pineapple cake. You don’t need an electric mixer for this recipe. You will need three 8-inch cake pans, baking spray, 8-inch parchment paper circles, two bowls, a whisk, and a rubber spatula.

STEP 1: Squeeze out the pineapple juice. Place the crushed pineapple into a colander. Use a rubber spatula to squeeze the pineapple juice out.

This process takes several minutes because there is a lot of juice! Continue until most of the juice is out.

Crushed pineapple on a plate.

STEP 2: Mix the dry ingredients. In a large bowl, sift the all-purpose flour. Then, add the baking soda, baking powder, and salt.

STEP 3: Mix the wet ingredients. In a separate bowl, mix the crushed pineapple, melted butter, oil, eggs, sour cream, white sugar, vanilla extract, and buttermilk.

Wet ingredients in a bowl on top of the dry.
Pineapple cake batter in a glass bowl.

Save this Recipe!

Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!

STEP 4: Pour the wet ingredients. Pour the wet ingredients into the flour mixture and whisk until combined, don’t over mix though!

STEP 5: Bake. Pour the cake batter evenly into the three cake pans. Bake for 20-25 minutes until a toothpick in the center of the cake comes out clean.

Cool the cakes in the hot pans for 10 minutes before transferring to a cooling rack. The cakes need to be completely cooled before decorating.

Pineapple cake layers on a wire rack.

Step By Step Instructions- Filling and Frosting

The frosting will need a stand mixer with a paddle attachment or a hand mixer. Make sure to give yourself plenty of cool down time after you make the jam.

STEP 1: Make the jam. In a medium saucepan over medium heat, mix the crushed pineapple (keep the juice), sugar, and cornstarch.

Heat for awhile until the jam thickens, then cool completely.

STEP 2: Beat butter and cream cheese. Using a large mixing bowl, beat the butter and cream cheese on high speed for 3 minutes. Then, slowly add in the powdered sugar on low speed.

STEP 3: Add the wet ingredients. Next, add the vanilla, salt, heavy cream, and pineapple jam. Mix on high speed until creamy.

Pineapple jam in a glass measuring cup.
Pineapple frosting in a glass bowl.

Assembling The Cake

  • To get perfectly even cakes, use a serrated knife or a cake leveler to cut the domes off.
  • Place the 1st cake layer down. Spread 1 cup of frosting over the cake. Using a piping bag, pipe a border of frosting around the edge of the cake. Spread half of the pineapple filling using an offset spatula.
  • Repeat with the second cake layer. Place the last cake layer down with the bottom of the cake facing up.
  • Frost sides of the cake in a very very light layer of frosting. Freeze for 15 minutes to set the filling.
  • For a semi-naked look, frost the cake and use a cake scraper to scrape the frosting smooth, while still seeing bits of the cake poking through.
  • Place extra pineapple slices on top of the cake for decoration.
Frosting on top of 1 cake layer.
Jam on top of cake.

FAQ

Can I use other cake pans?

For the same recipe, you can do two thick 8-inch cake pans, 3 6-inch cake pans, 9X13 cake pan (half the frosting and jam). Half the recipe to make a 8X8-inch cake pan or 9X9-inch cake pan or a small 3 6-inch cake.

Can I make this into cupcakes?

Yes! Half the recipe to make 12 cupcakes. Bake for 18-20 minutes.

Can I make the cake ahead of time?

Yes. After the cake layers cool completely. Wrap the cake in plastic wrap. Freeze up to 30 days. Thaw for 1 hour before decorating. This is the perfect way to use prep time to split this bake up and assemble it the next time.

Pineapple sunshine cake on a cake stand.

Storing and Freezing

Store this pineapple cake in a cake carrier or an airtight container up to 5 days in the fridge.

The cake is best enjoyed at room temperature.

Freezing

Freeze the cake in individual cake slices in an airtight container. Freeze up to 30 days. Thaw for 1-2 hours before eating.

Three slices of pineapple sunshine cake on wooden plates.

Other Layered Cake Recipes To Try

Make sure to leave a STAR REVIEW if you loved this recipe! Make sure to tag me on Instagram @stephaniesweettreats. To get more ideas follow me on Pinterest.

Pineapple sunshine cake cut into on a cake stand.
5 from 9 reviews

Pineapple Cake

This pineapple sunshine cake is the ultimate pineapple cake! This a moist three layer pineapple cake full of pineapple jam. It is topped with a pineapple cream cheese frosting and fresh pineapples.
Print Recipe Pin Recipe Leave a Review

Ingredients
 
 

Pineapple Cake

  • 3 1/2 cups All-purpose flour
  • 2 tsp Baking soda
  • 1 tsp Baking powder
  • 1 tsp Salt
  • 1/2 cup Unsalted butter, melted and cooled
  • 1/2 cup Oil, canola or vegetable
  • 1 1/2 cups White granulated sugar
  • 1/2 cup Sour cream, room temperature
  • 1 tsp Pure vanilla extract
  • 2 cups Crushed pineapple
  • 4 Large eggs, room temperature
  • 1/2 cup Buttermilk, room temperature

Pineapple Jam

  • 20 oz Crushed pineapple, the whole can
  • 3/4 cup White sugar
  • 1 TBSP Cornstarch

Pineapple Cream Cheese Frosting

  • 8 oz Cream cheese, room temperature
  • 1 1/2 cups Unsalted butter, slightly cold
  • 8 1/2 cups Powdered sugar, sifted
  • 1 tsp Pure vanilla extract
  • 1/3 cup Pineapple jam
  • 1 TBSP Heavy cream
  • 3/4 tsp Salt

Instructions
 

Pineapple Cake

  • Preheat the oven to 350°F. Spray three 8-inch cake pans with baking nonstick spray. Line the bottoms of the pan with 8-inch parchment paper circles. Spray again.
  • Pour the crushed pineapple into a colander. Use a rubber spatula to press juice out of the pineapple. There will be a lot of juice, do this as much as you can. Set aside.
    2 cups Crushed pineapple
  • In a medium bowl, sift the flour. Add the baking soda, baking powder, and salt.
    3 1/2 cups All-purpose flour, 2 tsp Baking soda, 1 tsp Baking powder, 1 tsp Salt
  • In a large bowl, mix the melted butter (make sure it is cooled!), oil, sugar, sour cream, vanilla, crushed pineapple, eggs, and buttermilk. Mix using a whisk.
    1/2 cup Unsalted butter, 1/2 cup Oil, 1 1/2 cups White granulated sugar, 1/2 cup Sour cream, 1 tsp Pure vanilla extract, 2 cups Crushed pineapple, 4 Large eggs, 1/2 cup Buttermilk
  • Pour the dry ingredients into the wet ingredients. Whisk until just combined.
  • Pour the batter evenly between the three cake pans. Bake for 20-25 minutes until a toothpick inserted comes out clean.
  • Let the cakes sit in the hot pans for 10 minutes. Then, transfer to a cooling rack. Cool the cakes completely before decorating.

Pineapple Jam

  • In a medium saucepan over medium heat, mix crushed pineapple and sugar. Heat on medium until it thickens.
    20 oz Crushed pineapple, 3/4 cup White sugar
  • Cool completely in a bowl or glass measuring cup. You can speed this process by placing in the fridge.

Pineapple Cream Cheese Frosting

  • Place the butter on the counter for 30 minutes to get slightly cold. Sift the powdered sugar in a large bowl while you wait.
    1 1/2 cups Unsalted butter, 8 1/2 cups Powdered sugar
  • Using a mixer, beat the cream cheese and butter on high speed for 3 minutes. Add the powdered sugar in on low speed slowly. It will be thick.
    8 oz Cream cheese
  • Add the cooled pineapple jam, vanilla, salt, and heavy cream. Mix on high speed for 1-2 minutes until combined.
    1 tsp Pure vanilla extract, 1 TBSP Heavy cream, 3/4 tsp Salt, 1/3 cup Pineapple jam

Assembly

  • Use a serrated knife or a cake leveler to cut the domes off the cakes, so they are even. Place a small amount of frosting on the board you are decorating on.
  • Place the 1st cake layer down. Frost 1 cup of frosting on top of cake. Pipe a border or frosting around the edge. Spread half of the pineapple jam on top of the frosting.
  • Repeat with the second layer. Place the last layer of cake with the bottom of the cake facing up. This gives the flattest surface possible for the top of the cake. Freeze for 10 minutes to set the filling.
  • For a full frosting look: Frost the cake in a very light layer. Freeze for 15 minutes. Then, frost the rest of the cake. Freeze for 10 minutes.
    For a semi-naked look. Frost the cake in a light layer of frosting. Then, freeze for 10 minutes.
  • Decorate the cake with fresh pineapple!

Notes

Flour- Make sure flour is spooned and leveled or use a kitchen scale. Compacted flour can dry out the cake.
High altitude baking- Add an extra 3 TBSP of flour.
Pull out dairy ingredients 2 hours before baking.
Calories: 604kcal, Carbohydrates: 131g, Protein: 5g, Fat: 37g, Saturated Fat: 19g, Polyunsaturated Fat: 3g, Monounsaturated Fat: 12g, Trans Fat: 1g, Cholesterol: 81mg, Sodium: 909mg, Potassium: 162mg, Fiber: 2g, Sugar: 33g, Vitamin A: 1003IU, Vitamin C: 7mg, Calcium: 68mg, Iron: 2mg
Did you make this recipe?Please leave a star rating and review below!