This pineapple cake is a moist, tender single-layer sheet cake topped with a tangy cream cheese icing. It works because crushed pineapple adds sweetness and moisture to the batter, while the icing balances the fruit with a rich, slightly sour finish. Baked in a 9×13-inch pan, it is an easy dessert for a crowd.
Ingredients
- 2 cups (250 g) all-purpose flour
- 2 teaspoons baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon salt
- 1/2 cup (115 g) unsalted butter, softened
- 1 cup (200 g) granulated sugar
- 2 large eggs, at room temperature
- 1 teaspoon vanilla extract
- 1 can (20 oz / 565 g) crushed pineapple, undrained
- 1/2 cup (120 ml) buttermilk, at room temperature
For the Cream Cheese Icing
- 8 oz (225 g) cream cheese, softened
- 1/2 cup (115 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar, sifted
- 1 teaspoon vanilla extract
- 1–2 tablespoons milk, as needed
Instructions
- Preheat your oven to 350°F (175°C). Grease a 9x13x2-inch metal baking pan (about 14 cups capacity) with butter or nonstick spray.
- In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
- In a large bowl, beat the softened butter and granulated sugar with an electric mixer on medium speed until light and fluffy, about 2–3 minutes.
- Add the eggs one at a time, beating well after each addition. Mix in the vanilla extract.
- With the mixer on low speed, add the flour mixture in three additions, alternating with the buttermilk, starting and ending with the flour. Mix just until combined; do not overmix.
- Fold in the crushed pineapple (with its juice) using a spatula until evenly distributed. The batter will be loose.
- Pour the batter into the prepared pan and spread it evenly. The pan will be about half full.
- Bake for 30–35 minutes, or until the top is golden brown and a toothpick inserted into the center comes out with a few moist crumbs. The center should spring back when lightly pressed.
- Let the cake cool completely in the pan on a wire rack, about 1 hour. Do not add the icing while the cake is warm or it will melt.
- While the cake cools, make the icing. In a large bowl, beat the cream cheese and butter together until smooth and creamy, about 2 minutes.
- Gradually add the powdered sugar, beating on low speed until incorporated. Add the vanilla extract. If the icing is too thick to spread, add milk one tablespoon at a time until it reaches a spreadable consistency.
- Spread the icing evenly over the cooled cake. Slice and serve.
Tips
- Use undrained pineapple: Do not drain the crushed pineapple. The juice is essential for the cake’s moist crumb. If you only have pineapple chunks, pulse them in a food processor until crushed, juice included.
- Room temperature ingredients: Bring the butter, eggs, and buttermilk to room temperature before starting. This helps the batter emulsify and bake evenly.
- Don’t overmix: Once you add the flour, mix only until no streaks remain. Overmixing develops gluten and makes the cake tough.
- Cool completely before icing: Warm cake will cause the cream cheese icing to slide off and turn runny. If you are in a hurry, place the cake in the refrigerator for 20–30 minutes to speed cooling.
Serving Suggestions
Serve this cake at room temperature for the best flavor and texture. It pairs well with a cup of coffee or black tea. For a tropical touch, top each slice with a sprinkle of toasted coconut or a few chopped macadamia nuts. It also works nicely as a dessert after a barbecue or a potluck dinner.
Variations
- Add coconut: Fold 1 cup (85 g) of sweetened shredded coconut into the batter along with the pineapple for a piña colada flavor.
- Use a different pan: You can bake this in two 8-inch round pans (about 6 cups each). Divide the batter evenly and bake for 25–28 minutes. The layers will be slightly thicker, so check doneness with a toothpick. Frost the top of each layer and stack them.
- Make it a poke cake: After baking and while still slightly warm, poke holes in the cake with a skewer and pour 1/2 cup (120 ml) of pineapple juice over the top. Let it absorb before cooling and icing.
- Spice it up: Add 1 teaspoon of ground cinnamon and 1/4 teaspoon of ground nutmeg to the dry ingredients for a warmer flavor profile.
Storage and Reheating
Store leftover cake covered in the refrigerator for up to 4 days. Because of the cream cheese icing, it must stay chilled. Let slices sit at room temperature for 15–20 minutes before serving to soften. To freeze, wrap the unfrosted cake tightly in plastic wrap and then foil; freeze for up to 2 months. Thaw overnight in the refrigerator, then bring to room temperature before icing. Do not freeze the frosted cake, as the icing will separate when thawed. Reheat individual slices in the microwave for 10–15 seconds if you prefer a warm cake, though it is usually served cold or at room temperature.
Frequently Asked Questions
Can I use a different type of pineapple?
Yes. Crushed pineapple in its own juice is best. If you use pineapple in heavy syrup, reduce the granulated sugar by 2 tablespoons to balance sweetness. Fresh pineapple can be used, but it must be very ripe and crushed finely; blanch it briefly in boiling water for 1 minute to deactivate enzymes that can prevent the cake from setting.
Why did my cake sink in the middle?
A sunken center usually means the batter was overmixed or the cake was underbaked. Overmixing develops too much gluten, which can cause the structure to collapse. Also, make sure your baking powder is fresh; if it is older than 6 months, it may have lost strength. Check your oven temperature with an oven thermometer, as an oven that runs cool will leave the center underdone.
Can I make this cake gluten-free?
You can substitute a 1:1 gluten-free all-purpose flour blend for the regular flour. The texture may be slightly more crumbly, and you may need to add 1–2 tablespoons of milk to the batter if it seems too thick. Bake time may also increase by a few minutes, so rely on the toothpick test.
My icing is too runny. How do I fix it?
Runny icing usually comes from warm cream cheese or too much milk. Make sure the cream cheese and butter are softened but not melted. If the icing is already runny, chill it in the refrigerator for 15–20 minutes, then beat it again. You can also add more powdered sugar, one tablespoon at a time, until it thickens.
Can I use a glass baking dish instead of metal?
Yes, but glass heats more slowly and retains heat longer. Lower the oven temperature by 25°F (15°C) and check the cake a few minutes earlier, as the edges can brown faster in glass. The center may take slightly longer to set, so rely on the toothpick test.
Do I need to refrigerate the cake?
Yes, because the cream cheese icing is dairy-based. The cake itself can sit at room temperature for a day, but the icing requires refrigeration after 2 hours at room temperature. Always store it covered in the refrigerator and bring to room temperature before serving for best flavor.