Somewhere between a snack cake and a proper dessert sits this Hawaiian pineapple cake, and it is hard to put into a single category. The batter comes together in one bowl, the crushed pineapple goes in juice and all, and the result is a cake that stays genuinely moist for days. It is one of those summer easy desserts that requires almost no equipment and still manages to taste like you put real effort in.
The texture is dense but not heavy, almost like a cross between a snack cake and a sheet cake with a tender crumb throughout. Topped with a simple cream cheese frosting and a handful of toasted coconut, it leans into that Hawaiian delight style of dessert, tropical without being overdone.
Ingredients for Hawaiian Pineapple Cake
This is a one-bowl cake using pantry staples. The pineapple here is canned crushed pineapple with its juice – do not drain it. That liquid is what keeps the crumb so soft after baking and contributes most of the sweetness naturally.
- 2 cups all-purpose flour
- 2 cups granulated sugar
- 2 teaspoons baking soda
- 1/2 teaspoon salt
- 2 large eggs, room temperature
- 1 can (20 oz) crushed pineapple in juice, undrained
- 1 teaspoon vanilla extract
- 1/2 cup chopped walnuts or pecans (optional)
- 8 oz cream cheese, softened (for frosting)
- 1/2 cup unsalted butter, softened (for frosting)
- 2 cups powdered sugar, sifted (for frosting)
- 1 teaspoon vanilla extract (for frosting)
- 1/2 cup sweetened shredded coconut, toasted (for topping)
Why Undrained Pineapple Matters
The juice from the canned pineapple acts as the liquid in this batter. Draining it leaves the cake dry and dense in the wrong way. You also lose the natural fruit sugar that helps with browning and flavor. If you only have pineapple chunks, pulse them briefly in a blender to get a roughly crushed texture, and keep all the juice in the bowl.
Baking the Hawaiian Pineapple Cake From Start to Finish
- Preheat oven to 350°F. Grease a 9×13 inch baking pan lightly with butter or cooking spray and dust with flour, tapping out the excess.
- In a large mixing bowl, whisk together flour, sugar, baking soda, and salt until evenly combined.
- Add eggs, the full can of undrained crushed pineapple, and vanilla extract. Stir until just combined – do not overmix. A few small lumps are fine.
- Fold in chopped nuts if using.
- Pour batter into the prepared pan and spread evenly. The batter will be fairly loose and wet, which is correct.
- Bake for 35 to 40 minutes, until the top is deep golden brown and a toothpick inserted in the center comes out clean.
- Cool completely in the pan before frosting, at least 1 hour. Frosting a warm cake will melt the cream cheese layer.
- Beat cream cheese and butter together until smooth and fluffy. Add powdered sugar and vanilla, then beat again until the frosting is light and spreadable.
- Spread frosting evenly over the cooled cake. Scatter toasted coconut over the top before serving.
Easy Swaps and Variations
For a lighter version closer to a pineapple fluff cake texture, swap the cream cheese frosting for a whipped topping mixed with a small box of instant vanilla pudding. It sets up firm in the fridge and has a much airier feel. This variation works especially well as a pineapple icebox cake style dessert when chilled overnight before slicing.
Adding a layer of pineapple chunks recipes desserts style – arranging pineapple rings directly on the bottom of a greased pan before pouring in the batter – gives you a pineapple upside-down effect when flipped. Skip the cream cheese frosting if going that route and serve warm with a scoop of vanilla ice cream instead. A sprinkle of maraschino cherries or cake with candy on top like crushed macadamia brittle also adds a nice textural contrast to the soft crumb.
Mistakes to Avoid and Fixes
- Overmixing the batter builds gluten and makes the cake tough. Stir only until no dry streaks remain.
- Under-baking is common with this recipe because the top browns quickly. Test with a toothpick rather than relying on color alone.
- Frosting too early melts everything and creates a runny layer. Patience here is worth it – let the cake cool fully.
- Using cold cream cheese makes lumpy frosting. Soften it at room temperature for at least 45 minutes before beating.
Storing and Serving This Cake
Because of the cream cheese frosting, this cake needs to be stored covered in the refrigerator. It keeps well for up to five days and the flavor actually deepens by day two as the pineapple moisture settles through the crumb. Serve cold or let slices sit at room temperature for 15 minutes before eating – both work, though the texture is slightly softer when not straight from the fridge.
For serving as one of the more crowd-friendly desserts with pineapple recipes, cut into squares directly from the pan. The cake holds its shape cleanly once cooled and chilled, making it easy to plate without crumbling. It travels well covered tightly with plastic wrap, which makes it practical for potlucks or casual outdoor meals in summer.
FAQ
Can I use fresh pineapple instead of canned? Fresh pineapple contains an enzyme called bromelain that can interfere with the baking soda and affect how the cake sets. Canned pineapple has been heat-processed which neutralizes this enzyme, making it the more reliable choice for baking. If using fresh, cook it briefly first or add an extra tablespoon of flour to compensate.
Can this cake be made without nuts? Absolutely. The nuts are optional and the cake works perfectly without them. The crumb stays soft and moist either way. If you want a bit of crunch without nuts, the toasted coconut topping provides that texture instead.
How do I toast coconut for the topping? Spread shredded coconut in a single layer on a dry baking sheet. Bake at 325°F for 5 to 7 minutes, stirring once halfway through, until light golden. Watch it closely because coconut goes from golden to burnt quickly. Let it cool before scattering over the frosting.
Is this the same as traditional Hawaiian desserts? This cake is inspired by Hawaiian flavors, particularly the use of pineapple as a primary ingredient, but it is a mainland American adaptation. Traditional Hawaiian desserts vary widely across the islands. This version is closest to what you might find at a Hawaiian-themed potluck or cookout.
Can I make this into cupcakes? Yes. Divide the batter into lined muffin tins, filling each about 2/3 full. Bake at 350°F for 18 to 22 minutes until a toothpick comes out clean. Cool completely before frosting. The yield is approximately 24 standard cupcakes from this batter amount.
Does this cake freeze well? The unfrosted cake freezes well for up to two months wrapped tightly in plastic and foil. Thaw overnight in the refrigerator, then frost before serving. Frosted slices can also be frozen individually, though the cream cheese layer may weep slightly after thawing – blotting gently with a paper towel fixes this.

Hawaiian Pineapple Cake
Ingredients
Equipment
Method
- Preheat oven to 350°F. Grease and flour a 9×13 inch baking pan.
- Whisk flour, sugar, baking soda, and salt together in a large bowl.
- Add eggs, the full can of undrained crushed pineapple, and vanilla. Stir until just combined. Fold in nuts if using.
- Pour into the prepared pan and bake for 35 to 40 minutes until golden and a toothpick comes out clean.
- Cool completely in the pan, at least 1 hour, before frosting.
- Beat cream cheese and butter until smooth. Add powdered sugar and vanilla and beat until fluffy. Spread over the cooled cake.
- Scatter toasted coconut over the frosted cake before slicing and serving.
Notes
- Do not drain the pineapple – the juice is essential to the cake’s moisture.
- Do not overmix the batter or the cake will be tough.
- Cool cake fully before frosting or the cream cheese layer will melt and slide.
- Store covered in the refrigerator for up to 5 days.
