There’s just something undeniably delightful about a pineapple cake. With its rich tropical flavor, moist texture, and easy-to-make appeal, it’s no wonder this classic dessert remains a staple at potlucks, family gatherings, and weeknight indulgences. Whether you’re craving a sweet treat with a fruity twist or you’re looking to impress your guests with a homemade dessert, this old-fashioned pineapple cake hits all the right notes. In this guide, we’ll take you through a flavorful journey, teaching you everything from ingredients and preparation to tips, variations, and expert secrets. Buckle up, because this is more than just a recipe—this is your ultimate pineapple cake playbook.
Why Pineapple Cake Is So Special
There are cakes—and then there’s pineapple cake. Unlike many traditional cakes that rely on butter and milk for moistness, pineapple cake draws its exceptional texture from the natural juices of crushed pineapple. This isn’t just convenient—it also makes for an incredibly flavorful dessert.
Here’s what makes pineapple cake stand out:
- Moisture-rich batter without needing additional liquids.
- Natural sweetness that doesn’t require excessive sugar.
- A balanced blend of tanginess and richness.
- Can be dressed up with frosting, nuts, or coconut flakes.
- Versatile enough to be made as a sheet cake, layer cake, or cupcakes.
Whether served chilled or at room temperature, homemade pineapple cake has an undeniable charm that wins over even those who aren’t fruit-cake fans.
Ingredients You’ll Need (with Optional Add-Ins)
Let’s begin with a breakdown of everything you’ll need to make the best pineapple cake from scratch.
For the Cake:
- 2 cups all-purpose flour
- 2 cups granulated sugar
- 1 teaspoon baking soda
- 1/2 teaspoon salt
- 2 large eggs
- 1 (20 oz) can crushed pineapple in juice (do not drain!)
- 1 teaspoon vanilla extract
- 1/2 cup chopped walnuts or pecans (optional for texture and crunch)
For the Frosting:
- 1/2 cup (1 stick) unsalted butter
- 1 (8 oz) package cream cheese, softened
- 2 cups powdered sugar
- 1 teaspoon vanilla extract
- 1/2 cup chopped pecans or coconut flakes (optional for topping)

Step-by-Step Instructions
Let’s walk through how to create this irresistible pineapple cake recipe from start to finish.
Step 1: Preheat and Prepare
Preheat your oven to 350°F (175°C). Lightly grease and flour a 9×13-inch baking dish to prevent sticking and promote even baking.
Step 2: Mix Dry Ingredients
In a large bowl, whisk together the flour, sugar, baking soda, and salt. This helps distribute the baking soda and salt evenly.
Step 3: Add Wet Ingredients
Add in the eggs, undrained crushed pineapple, and vanilla extract. Stir gently until just combined. Be careful not to overmix. If you’re using chopped nuts, fold them in now.
Step 4: Bake the Cake
Pour the batter into your prepared baking dish and smooth the top. Bake for 30–35 minutes, or until a toothpick inserted in the center comes out clean. Let the cake cool completely in the pan.
Step 5: Prepare the Frosting
While the cake is cooling, beat together the butter and cream cheese until smooth and fluffy. Add powdered sugar and vanilla extract, continuing to beat until the mixture is creamy and light.
Step 6: Frost and Finish
Once the cake is fully cooled, spread the frosting evenly over the top. Sprinkle with chopped pecans or coconut flakes for added texture and decoration.
Tips for the Perfect Pineapple Cake
Even though this is a simple recipe, these tips will take your pineapple cake from good to unforgettable:
- Don’t drain the pineapple. The juice is essential for flavor and moisture.
- Avoid overmixing to keep the texture light and tender.
- Cool completely before frosting to prevent melting.
- Use room temperature ingredients for smoother mixing.
- Want more tang? Add a tablespoon of lemon zest to the batter.
Frosting Variations to Try
The cream cheese frosting in this recipe is a match made in heaven for the tangy pineapple cake, but here are a few options if you want to get creative:
- Coconut Whipped Cream – Add shredded coconut to whipped cream.
- Pineapple Glaze – Mix powdered sugar with pineapple juice.
- Lemon Cream Cheese Frosting – Add lemon zest and juice to standard cream cheese frosting.
- Buttercream – For a sweeter finish, go with classic vanilla buttercream.
Pineapple Cake Variations for Every Occasion
The beauty of pineapple cake is its adaptability. Here are some creative spins you can try:
- Pineapple Upside-Down Cake – Place pineapple rings and cherries on the bottom before adding batter.
- Pineapple Sheet Cake – Keep it simple and easy for crowds.
- Pineapple Cupcakes – Bake in muffin tins and top with piped frosting.
- Pineapple Carrot Cake – Add grated carrots and spices.
- Pineapple Coconut Cake – Add shredded coconut to the batter and topping.
Storage and Serving Tips
Once you’ve made this homemade pineapple cake, here’s how to store and serve it for best results:
- Refrigerate leftovers in an airtight container. It will stay fresh for 4–5 days.
- Serve chilled or at room temperature, depending on your preference.
- This cake also freezes well (unfrosted). Wrap tightly in plastic and foil.
- Add toppings like fresh pineapple, maraschino cherries, or even whipped cream for presentation.
Healthier Alternatives
Want to enjoy this delightful dessert without guilt? Try these swaps:
- Use whole wheat flour instead of all-purpose.
- Replace some sugar with honey or maple syrup.
- Use low-fat cream cheese or a Greek yogurt frosting alternative.
- Add crushed carrots or zucchini for a nutrition boost.
FAQs About Pineapple Cake
1. Can I make pineapple cake without eggs?
Yes! Substitute each egg with 1/4 cup unsweetened applesauce or a commercial egg replacer.
2. Should the pineapple be drained?
No. Keep the juice for optimal flavor and moisture.
3. Can I use fresh pineapple instead of canned?
Yes, just ensure it’s finely crushed and includes juice.
4. How do I make the cake more fluffy?
Don’t overmix the batter and use room temperature ingredients.
5. Can I make this ahead of time?
Absolutely. Bake and frost the day before, then refrigerate.
6. Is pineapple cake good for birthdays or holidays?
Definitely! It’s festive, flavorful, and easy to dress up.
7. Can I add other fruits?
Yes! Try mixing in shredded coconut, diced mango, or banana.
Conclusion: A Pineapple Cake You’ll Keep Coming Back To
This old-fashioned pineapple cake is a true gem—easy to make, loaded with flavor, and endlessly versatile. Whether you serve it as a weeknight dessert, a party centerpiece, or a sweet treat just for yourself, it never disappoints. The moist crumb, the tropical burst of pineapple, and that velvety frosting make this a cake you’ll bake over and over again.
With the right ingredients, a few simple steps, and the passion to make something memorable, this homemade pineapple cake will become a cherished recipe in your kitchen. So preheat that oven, grab your mixing bowl, and bring a little sunshine to your day—one delicious slice at a time.
Don’t forget to bookmark this guide and share it with your fellow dessert lovers!
Print
Classic Pineapple Cake Recipe: Moist, Easy, and Irresistibly Delicious
Ingredients
For the Cake:
2 cups all-purpose flour
2 cups granulated sugar
1 teaspoon baking soda
1/2 teaspoon salt
2 large eggs
1 (20 oz) can crushed pineapple in juice (do not drain)
1 teaspoon vanilla extract
1/2 cup chopped walnuts or pecans (optional)
For the Frosting:
1/2 cup (1 stick) unsalted butter
1 (8 oz) package cream cheese, softened
2 cups powdered sugar
1 teaspoon vanilla extract
1/2 cup chopped pecans or coconut flakes (optional, for topping)
Instructions
-
Preheat the Oven: Preheat your oven to 350°F (175°C). Grease and flour a 9×13-inch baking dish.
-
Make the Batter: In a large bowl, mix flour, sugar, baking soda, and salt. Add eggs, crushed pineapple (with juice), and vanilla. Stir until just combined. Fold in nuts if using.
-
Bake the Cake: Pour the batter into the prepared pan and smooth the top. Bake for 30–35 minutes, or until a toothpick inserted in the center comes out clean. Let the cake cool completely in the pan.
-
Make the Frosting: In a bowl, beat together butter and cream cheese until smooth. Add powdered sugar and vanilla, and beat until creamy.
-
Frost the Cake: Once the cake is completely cooled, spread frosting evenly over the top. Sprinkle with chopped pecans or coconut if desired.
-
Serve: Slice and enjoy! Store leftovers in the refrigerator.