Pin it
This cake stays soft for days thanks to a can of crushed pineapple and a generous dose of ground pistachios. It is the kind of low-fuss dessert you can mix in one bowl, bake in a sheet pan, and bring to a potluck without worrying about layers or fancy decorating.
The pineapple does more than add flavor. Its natural acidity tenderizes the crumb, while the pistachios give the cake a pale green tint and a mellow nuttiness that pairs beautifully with tangy cream cheese frosting. If you keep a bag of shelled pistachios in the pantry, you are already halfway there.
A soft crumb from real pistachios
Good pistachios make the difference here. Buy raw or roasted shelled nuts and pulse them yourself so you control the texture. Pre-ground pistachio flour can work in a pinch, but it often lacks the fresh oils that give this cake its subtle perfume.
- Ground pistachios. They tint the batter pale green and add a delicate nuttiness that almond extract alone cannot replicate.
- Crushed pineapple. The juice keeps the crumb exceptionally moist and adds a gentle sweetness without making the cake heavy.
- Sour cream. A small amount adds richness and helps activate the baking soda for a lighter texture.
- All-purpose flour. Just enough to give the cake structure without turning it dense.
- Unsalted butter and sugar. The base of the batter, creamed until fluffy to trap air.
- Eggs and extracts. Two eggs bind the batter, while vanilla and almond extracts deepen the flavor.
- Cream cheese and powdered sugar. For a tangy frosting that balances the sweetness of the pineapple.
Mix and bake the batter
- Prep the pan. Preheat the oven to 350°F (175°C) and grease a 9x13 inch baking pan. Line the bottom with parchment if you want easy removal.
- Grind the nuts. Pulse 1/2 cup of shelled pistachios in a food processor until they resemble fine crumbs. Do not overprocess or you will end up with pistachio butter.
- Whisk the dry ingredients. In a medium bowl, combine the flour, ground pistachios, baking powder, baking soda, and salt.
- Cream the butter and sugar. Beat the softened butter and sugar in a large bowl until light and fluffy, about 3-4 minutes. Add the eggs one at a time, followed by the vanilla and almond extracts.
- Combine wet and dry. Add half the dry mixture to the butter and beat on low until just combined. Mix in the sour cream, then the remaining dry mixture.
- Fold in the pineapple. Stir in the crushed pineapple with its juice until evenly distributed. The batter will be thick but pourable. Do not overmix.
- Bake. Spread the batter into the prepared pan and bake for 30-35 minutes. The top should be golden and a toothpick inserted in the center should come out clean. Cool completely in the pan on a wire rack.
The nut grinding trick
The biggest mistake when baking with pistachios is turning them into paste. Pulse them in short bursts with a tablespoon of the measured flour to absorb the oils. The mixture should look like damp sand, not peanut butter. If you see clumps forming, stop immediately and scrape the bowl.
Why pineapple keeps it soft
Canned crushed pineapple brings acid and enzymes that tenderize the gluten in the flour. It also adds moisture that survives baking better than plain water or milk. Use the fruit packed in juice rather than heavy syrup. The syrup will make the cake cloying and can cause the edges to overbrown before the center is set.
The frosting that ties it together
Beat softened cream cheese and butter together until completely smooth, then add powdered sugar and a spoonful of ground pistachios for color. A splash of milk loosens the consistency if it feels too stiff. Spread it in a thin, even layer over the cooled cake and shower the top with roughly chopped pistachios. The contrast of crunchy nuts against the tangy frosting is what makes people reach for a second slice.
Swaps and make-ahead notes
If pistachios are pricey, replace up to half with finely ground walnuts or almonds. You can also fold in 1/2 cup of sweetened shredded coconut with the pineapple for a tropical twist. The baked cake stays moist under a covered dome at room temperature for about 6 hours, but after that it should be refrigerated because of the cream cheese topping. If you enjoy pineapple desserts, our Pistachio Pineapple Delight Cake and Juicy Pineapple Cake use similar flavors in different forms. Nut lovers should also try the Lemon Pistachio Cake. For general food safety guidelines, refer to the FDA food safety resources.
How to serve it
Cut the cake into squares and serve slightly chilled or at room temperature. A cup of strong coffee or hot tea is the classic pairing. For something extra, add a thin slice of fresh pineapple on the side. The cake is sweet enough that it does not need any additional sauce or whipped cream.
FAQs
- Can I use pistachio pudding mix instead of grinding nuts?
Yes, but the flavor and texture will differ. Pudding mix adds a brighter green color and a more artificial pistachio taste. For the best flavor, use finely ground raw or roasted shelled pistachios and a drop of green food coloring if you want the tint.
- Do I need to drain the crushed pineapple?
No. The juice is essential for moisture. Use the pineapple and its juice straight from the can. If you drain it, the cake will be drier and the batter thicker than intended.
- Can I bake this in a Bundt pan?
You can, but increase the bake time to 45-55 minutes and grease the pan very thoroughly. A toothpick inserted near the center should come out clean before you remove it from the oven.
- How do I store leftovers?
Cover the pan tightly and refrigerate for up to 5 days. The cream cheese frosting requires refrigeration. Let slices sit at room temperature for 15 minutes before serving so the crumb softens.
- Can I freeze this cake?
Freeze the unfrosted cake wrapped in plastic wrap for up to 2 months. Thaw overnight in the refrigerator and frost just before serving. The finished cake does not freeze well because the frosting can weep.
- Why did my cake sink in the middle?
This usually means the batter was overmixed after adding the pineapple, or the oven door was opened too early. Mix until just combined and avoid peeking before the 25-minute mark.