If you have a soft spot for tropical flavors and moist, comforting cakes, then you are absolutely going to adore this Hawaiian Pineapple Cake Recipe. It’s a sweet, luscious treat bursting with tender pineapple pieces, a touch of vanilla, and a dreamy cream cheese frosting that brings everything together beautifully. This cake not only boasts a tropical vibe that transports you straight to a sunny island but also comes together with surprisingly simple ingredients to create a show-stopping dessert perfect for any occasion. Whether you’re sharing it with family or bringing it to a friend’s gathering, this pineapple cake will surely become a treasured favorite.

Ingredients You’ll Need
Every ingredient in this Hawaiian Pineapple Cake Recipe plays a key role, from delivering moistness to adding just the right level of sweetness and texture. These pantry staples come together to create a cake that’s as flavorful as it is delightful.
- 2 cups all-purpose flour: Provides the perfect base structure to hold all the delicious flavors together.
- 2 cups granulated sugar: Adds the right amount of sweetness to balance the tangy pineapple.
- 2 large eggs: Bind the batter and contribute to a tender crumb.
- 1 teaspoon baking soda: Helps the cake rise beautifully and stay light.
- 1/2 teaspoon salt: Enhances the flavor by balancing sweetness.
- 1 teaspoon vanilla extract: Infuses warmth and depth into the cake’s flavor.
- 1 can (20 ounces) crushed pineapple in juice (undrained): The star ingredient for moisture and tropical zing.
- 1 cup chopped walnuts (optional): Adds a delightful crunch and nutty richness.
- 1/2 cup sweetened shredded coconut (optional): Introduces texture and extra tropical flair.
- 1 package (8 ounces) cream cheese (softened): For the luscious, creamy frosting that crowns the cake.
- 1/2 cup unsalted butter (softened): Makes the frosting smooth and spreadable.
- 2 cups powdered sugar: Sweetens the frosting without any graininess.
- 1 teaspoon vanilla extract (for frosting): Adds a hint of extra flavor to the creamy finish.
How to Make Hawaiian Pineapple Cake Recipe
Step 1: Prepare Your Baking Dish and Oven
Start by preheating your oven to 350°F (175°C) and greasing a 9×13-inch baking dish to ensure your cake bakes evenly and releases easily when done. This simple step sets the foundation for a perfect bake.
Step 2: Combine the Dry Ingredients
In a large mixing bowl, whisk together the all-purpose flour, granulated sugar, baking soda, and salt. This dry mix forms the cake’s framework and helps distribute the leavening agents evenly throughout the batter.
Step 3: Add Eggs and Vanilla
Crack in the eggs and pour in the vanilla extract, then stir everything together until the mixture starts to come together. These add richness and flavor, creating a smooth base for the pineapple to shine.
Step 4: Incorporate the Crushed Pineapple
Next, add the can of crushed pineapple along with its juice. Stir gently but thoroughly to combine, as the pineapple juice adds natural sweetness and incredible moisture to the cake, giving it that signature tropical softness.
Step 5: Fold in Nuts and Coconut (Optional)
If you’re using walnuts and shredded coconut, now’s the time to fold them into the batter. These add delightful texture and deepen the cake’s island-inspired character.
Step 6: Bake the Cake
Pour the batter into your prepared baking dish and spread it evenly. Bake for 35 to 40 minutes, or until a toothpick inserted into the center comes out clean. The kitchen will soon be filled with an irresistible aroma that signals your cake is nearly perfect.
Step 7: Make the Cream Cheese Frosting
While the cake cools, prepare the frosting by beating the softened cream cheese and butter together until smooth and creamy. Gradually add powdered sugar and vanilla extract, beating until fluffy and spreadable. This frosting complements the tropical flavors perfectly with its tangy richness.
Step 8: Frost and Serve
Once the cake has completely cooled, evenly spread the cream cheese frosting over the top. Slice up your masterpiece and get ready to enjoy every moist, flavorful bite.
How to Serve Hawaiian Pineapple Cake Recipe

Garnishes
For a finishing touch, fresh pineapple slices or a sprinkle of toasted coconut flakes make stunning garnishes that amplify the tropical vibe. Chopped walnuts can add crunch and visual appeal if you like a bit more texture on top.
Side Dishes
This cake pairs wonderfully with a light cup of coffee or a refreshing tropical fruit salad. The contrast between the rich cake and bright fruit keeps each bite balanced and exciting.
Creative Ways to Present
You can dress up the Hawaiian Pineapple Cake Recipe for special occasions by layering it in a trifle dish with whipped cream and pineapple chunks, or even serving it as mini cupcakes topped with the same luscious frosting for easy individual servings—perfect for parties.
Make Ahead and Storage
Storing Leftovers
Keep any leftover cake covered in the refrigerator for up to five days. The cream cheese frosting stays fresh, and the cake remains moist and flavorful when stored properly.
Freezing
If you want to keep the cake longer, slice it into portions and freeze in airtight containers or freezer bags. Thaw in the refrigerator overnight before enjoying to maintain texture and taste.
Reheating
When ready to eat, let refrigerated cake come to room temperature or warm slices slightly in the microwave for about 15 seconds for that just-baked sensation, especially if you’ve frozen it beforehand.
FAQs
Can I make this cake without nuts or coconut?
Absolutely! The walnuts and shredded coconut are optional and can be omitted if you prefer a simpler texture or have allergies. The cake will still be incredibly moist and flavorful thanks to the pineapple.
Is it necessary to use crushed pineapple with juice?
Yes, using the crushed pineapple with its juice ensures the cake gets plenty of moisture and the right amount of sweetness, which is crucial for that signature soft, tropical feel.
Can I make this cake gluten-free?
You can try substituting the all-purpose flour with a gluten-free baking blend, but results may vary. Look for blends that include xanthan gum for better texture and rise.
How long does the cream cheese frosting stay fresh?
When refrigerated, the cream cheese frosting stays fresh for up to 5 days. Keep it tightly covered to avoid absorbing other odors from the fridge.
Can I use fresh pineapple instead of canned?
Fresh pineapple can be used if it’s finely chopped and juicy, but be sure to include the juice as well to keep the cake moist. Canned pineapple is convenient and consistent in flavor and moisture, which is why it’s commonly preferred.
Final Thoughts
This Hawaiian Pineapple Cake Recipe truly feels like a slice of sunshine on your plate. It’s easy to make but generous in flavor, boasting that perfect balance of sweet, tropical, and creamy goodness. Whether you’re treating yourself or sharing with loved ones, this cake is sure to brighten any day. Give it a try—you’ll wonder why it wasn’t your favorite sooner!
Print
Hawaiian Pineapple Cake Recipe
- Prep Time: 15 minutes
- Cook Time: 40 minutes
- Total Time: 55 minutes
- Yield: 12 servings
- Category: Dessert
- Method: Baking
- Cuisine: American
- Diet: Vegetarian
Description
This classic Hawaiian Pineapple Cake is a moist and flavorful dessert featuring crushed pineapple, nuts, and shredded coconut baked into a tender cake, topped with a creamy and fluffy cream cheese frosting. Perfect for tropical-themed parties or anytime you crave a sweet, tropical treat.
Ingredients
Cake Ingredients
- 2 cups all-purpose flour
- 2 cups granulated sugar
- 2 large eggs
- 1 teaspoon baking soda
- 1/2 teaspoon salt
- 1 teaspoon vanilla extract
- 1 can (20 ounces) crushed pineapple in juice (undrained)
- 1 cup chopped walnuts (optional)
- 1/2 cup sweetened shredded coconut (optional)
Frosting Ingredients
- 1 package (8 ounces) cream cheese (softened)
- 1/2 cup unsalted butter (softened)
- 2 cups powdered sugar
- 1 teaspoon vanilla extract
Instructions
- Preheat and Prepare Pan: Preheat your oven to 350°F (175°C) and grease a 9×13-inch baking dish to prevent sticking.
- Mix Dry and Wet Ingredients: In a large bowl, combine the flour, granulated sugar, eggs, baking soda, salt, and vanilla extract. Mix thoroughly.
- Add Pineapple: Stir in the undrained crushed pineapple until the batter is fully combined, ensuring the pineapple is evenly distributed.
- Fold in Nuts and Coconut: Gently fold in the chopped walnuts and shredded coconut if you are using them, providing extra texture and flavor.
- Bake the Cake: Pour the batter into the prepared baking dish and spread it evenly. Bake for 35 to 40 minutes or until a toothpick inserted in the center comes out clean.
- Prepare the Frosting: While the cake cools, beat the softened cream cheese and butter together until smooth and creamy.
- Add Sugar and Vanilla: Gradually add the powdered sugar and vanilla extract to the cream cheese mixture, beating continuously until the frosting is fluffy and well combined.
- Frost the Cake: Once the cake has completely cooled, spread the cream cheese frosting evenly over the top of the cake.
- Serve: Slice the cake into 12 servings and serve. Store leftovers covered in the refrigerator for up to 5 days.
Notes
- For a lighter cake, omit the walnuts and shredded coconut; the cake remains moist and sweet without them.
- Store any leftovers covered and refrigerated, best consumed within 5 days.
- Make sure the cake is completely cool before frosting to prevent the frosting from melting.