Pineapple Cake
Pineapple cake is one of those delightful desserts that can instantly transport you to a sunny beach with its sweet and tropical flavor. The combination of fresh pineapple and a light, fluffy cake makes for a treat that’s both indulgent and refreshing. Each slice is bursting with juicy pineapple goodness, perfectly balanced by a soft and tender crumb. Whether you’re celebrating a special occasion or simply satisfying a sweet tooth, this recipe is sure to impress.
Table of Contents

I first stumbled upon this pineapple cake recipe at a family gathering, where the tantalizing aroma seemed to wrap around everyone like a warm hug. The look of pure joy as friends and family took their first bites was enough to inspire me to bring this sunshine-infused delight into my own kitchen. It’s a simple yet impressive cake that not only looks beautiful but also tastes incredible. I can hardly wait for you to try this amazing treat!
Why You’ll Love This Recipe
- Simple & Quick: This pineapple cake can be made in under an hour, making it perfect for last-minute gatherings!
- Irresistible Flavor: The combination of fresh pineapple and hints of lime adds a refreshing twist that you’ll love.
- Eye-Catching Appeal: With its vibrant pineapple topping, this cake is a stunner on any dessert table.
- Flexible Serving: Enjoy it as a dessert, snack, or even for breakfast—it’s that versatile!
- Diet-Friendly Options: You can easily swap out ingredients for healthier options like Greek yogurt.
Ingredients You’ll Need
- 15 oz fresh pineapple, peeled and cored: A fresh pineapple provides the best flavor, but if you’re in a pinch, 20 oz of canned pineapple in juice works as well.
- 2 large eggs, at room temperature: These help create a fluffy texture; room temperature eggs blend smoothly into the batter.
- 1 ¼ cup granulated sugar: Adds sweetness to the cake; you can use coconut sugar for a slight caramel flavor.
- ½ cup vegetable oil: Keeps the cake moist; feel free to substitute with melted coconut oil for a tropical feel.
- 1 cup sour cream or Greek yogurt, at room temperature: Adds richness and moisture; either can work well, but use Greek yogurt for lower fat content.
- 1 teaspoon vanilla extract: Enhances all the flavors; using pure vanilla extract makes a noticeable difference.
- 1 lime, juice and zest (or lemon): The citrus brightens the cake’s flavor; if using lemon, stick with the zest from one lemon and 2 tablespoons of juice.
- 2 ¼ cups all-purpose flour: The foundation for your cake; for a lighter option, you can use a gluten-free mix.
- 2 teaspoons baking powder: Helps the cake rise; ensure it’s fresh for the best results.
- ⅛ teaspoon fine salt: Balances the sweetness; a small amount is all you need.
How to Make Pineapple Cake Recipe
- Prep the Pineapple: Begin by carefully coring and peeling half a fresh pineapple. Slice it in half again, then dice one half for the batter and slice the other for topping. If you choose canned pineapple, be sure to drain it well.
- Preheat Your Oven: Set your oven to 355°F (180°C) and position a rack in the center. Grab a 9-inch springform pan, line its bottom with parchment paper, and generously grease the sides with butter and a dusting of flour. This will help ensure an easy release after baking.
- Make the Batter: In a stand mixer or with an electric hand mixer, beat the room temperature eggs and granulated sugar together for 3-4 minutes until they turn pale and fluffy. Gradually add the vegetable oil, sour cream (or Greek yogurt), vanilla extract, and lime juice and zest, mixing until the batter is smooth. Next, gently fold in the flour, baking powder, and salt using a spatula. Be careful not to overmix; a few lumps are okay.
- Layer the Ingredients: Pour half of the batter into your prepared cake pan, leveling it off with a spatula. Scatter the diced pineapple over the batter, then pour the remaining batter atop the pineapple. Use gentle pressure to arrange the sliced pineapple on top so that it bakes beautifully.
- Bake the Cake: Slide the cake into the preheated oven and bake for about 40 minutes. To test for doneness, insert a toothpick into the center—if it comes out clean, your cake is finished. If it still looks wet, add 5 more minutes and check again; every oven is slightly different.
- Cool & Serve: Once done, immediately place the cake on a cooling rack for about 10 minutes. Carefully remove it from the pan to allow it to cool completely on the rack or transfer it to a serving plate. For a lovely finish, dust the top with powdered sugar or brush it with warm honey or apricot jam for that glossy look. Enjoy every delightful slice!
Storing & Reheating
To keep your pineapple cake fresh, store it at room temperature for up to 3 days in an airtight container. For longer storage, move it to the refrigerator where it can last for about a week. If you want to freeze any leftovers, wrap individual slices in plastic wrap and store them in a freezer bag for up to 3 months. When you’re ready to enjoy, simply thaw at room temperature. You may notice slight changes in texture, but a brief time in the oven can help bring back a comforting warmth.
Chef’s Helpful Tips
- Make sure your eggs and dairy are at room temperature; this helps with even mixing and a fluffy cake.
- If you want the cake to be extra moist, brush it with lime syrup right before serving.
- Avoid overmixing the batter once you add the flour; this can lead to a dense texture instead of airy.
- If using canned pineapple, make sure to drain it on a paper towel before adding to the batter to prevent excess moisture.
- You can easily double this recipe to make a larger cake for a party—just adjust baking times as needed.
Pineapple cake is a treasure that brings joy and warmth to any occasion. Experiment with the ingredients and make this dish your own by swapping flavors and toppings. Each slice tells a story infused with sunshine, and it’s perfect for sharing with friends and family. I can’t wait for you to savor this cake that’ll have everyone asking for the recipe!

Recipe FAQs
Can I substitute the fresh pineapple with canned pineapple?
Absolutely! You can use a 20 oz can of pineapple in juice as a substitute for fresh pineapple. Just be sure to drain it well to maintain the proper moisture level in your cake.
How can I make this recipe gluten-free?
To make a gluten-free version of the pineapple cake, swap out the all-purpose flour for a 1:1 gluten-free baking mix. This will typically work well, but it’s a good idea to check that your baking powder is also gluten-free if you’re accommodating dietary restrictions.
How do I know when my cake is baked properly?
The best way to check for doneness is by inserting a toothpick into the center of the cake. If it comes out clean or with just a few crumbs attached, it’s ready. Keep an eye on it near the end of the baking time, as oven temperatures can vary.
How can I enhance the flavor of my pineapple cake?
Adding some shredded coconut or a sprinkle of cinnamon to your batter can deepen the flavor for a delightful twist. You can also experiment with different citrus zests, like orange, to complement the pineapple beautifully.
PrintMore Desserts & Appetizers Recipes
- Carrot Cake Sheet Cake with Thick Cream Cheese Frosting
- Carrot Cake Bars
- Carrot Cake Cupcakes
- Hummingbird Cake
- Carrot Cake Bars with Cream Cheese Frosting
Did You Enjoy Making This Recipe? Please rate this recipe with ⭐⭐⭐⭐⭐ or leave a comment.
📖 Recipe Card

Pineapple Cake
- Prep Time: 10 minutes
- Cook Time: 40-45 minutes
- Total Time: 0 hours
- Yield: 10 servings 1x
- Category: Desserts & Appetizers
- Method: Baking
- Cuisine: American
Description
This Pineapple Cake features a delightful combination of fresh pineapple and a fluffy batter, making it a perfect treat for any occasion. The easy preparation and rich flavors will make it a hit at gatherings or casual dinners.
Ingredients
- 15 oz (425 grams) fresh pineapple, peeled and cored
- 2 large eggs, at room temperature
- 1 ¼ cup (125 grams) sugar
- ½ cup (120 ml) vegetable oil
- 1 cup (240 grams) sour cream, at room temperature
- 1 teaspoon vanilla extract
- 1 lime, juice and zest
- 2 ¼ cup (260 grams) all-purpose flour
- 2 teaspoon baking powder
- ⅛ teaspoon fine salt
Instructions
- Core and peel the pineapple, cut it in half, dice one half, and slice the other. Alternatively, use a drained 20-oz can of pineapple.
- Preheat the oven to 355°F (180°C) and line a 9-inch spring-form pan with parchment paper and grease with butter and flour.
- In a mixer, beat the eggs and sugar until fluffy. Gradually add vegetable oil, sour cream, vanilla, and lime juice. Mix until smooth.
- Pour half of the batter into the pan, spread diced pineapple on top, then layer with the remaining batter and arrange sliced pineapple on top.
- Bake for 40-45 minutes, checking doneness with a toothpick.
- Remove from oven, cool for 10 minutes in the pan, then transfer to a plate. Dust with powdered sugar or brush with honey or apricot jam.
Notes
Using fresh pineapple enhances the flavor, but canned pineapple works as a convenient alternative.
Be careful not to overmix the batter; mix just until combined for a light cake texture.
Dusting with powdered sugar or using a glaze adds a beautiful finish to the cake.
Nutrition
- Serving Size: 1 slice
- Calories: 290
- Sugar: 16g
- Sodium: 150mg
- Fat: 15g
- Saturated Fat: 2g
- Unsaturated Fat: 10g
- Trans Fat: 0g
- Carbohydrates: 35g
- Fiber: 1g
- Protein: 4g
- Cholesterol: 45mg
