Nothing beats that first bite of a cake that’s soft, sweet, and just a little tropical. I still remember wondering how bakers got that perfect moist texture without drying out the crumb.
Turns out, the secret’s been hiding in plain sight this whole time, and a pineapple cake recipe is easier to pull off than most people think. No fancy equipment or baking degree required here, just a can of fruit and a few pantry staples.
Birthday, a potluck, or simply because a craving hit, this pineapple cake delivers every single time. Ready to see exactly how it comes together? Here’s everything laid out below.
Why Does Pineapple Make a Cake Moist?
Pineapple makes a cake moist because it contains plenty of natural juice that adds extra liquid to the batter. As the cake bakes, this moisture spreads through the crumb and helps keep it soft instead of dry.
Crushed pineapple works especially well because the fruit and juice are distributed throughout the mixture. Pineapple also contains natural sugars, which help the cake hold onto moisture after baking.
The fruit adds more than moisture, too. Its mild acidity can balance rich ingredients while its sweetness gives the cake a fresh, fruity flavor without making it feel too heavy.
Let’s Make a Pineapple Cake Step By Step
Pineapple cake is simple to put together, but small details can affect how evenly it rises and how tender it feels when sliced. Work through the stages below in order for consistent results from start to finish:
Ingredients You’ll Need
|
Cake Ingredients |
Optional Frosting |
Optional Toppings |
|---|---|---|
|
2 cups all-purpose flour |
8 oz cream cheese, softened |
Pineapple slices (fresh or canned) |
|
1 cup granulated sugar |
ยผ cup butter, softened |
Maraschino cherries |
|
2 large eggs |
2 cups powdered sugar |
ยผ cup brown sugar |
|
1ยฝ tsp baking powder |
1 tsp vanilla extract |
Toasted coconut flakes |
|
ยฝ tsp baking soda |
1 tbsp heavy cream |
Whipped cream |
|
1 can (20 oz) crushed pineapple, undrained |
1 tsp lemon juice |
Chopped pecans or walnuts |
|
ยฝ cup vegetable oil or melted butter |
Pinch of salt |
Powdered sugar dusting |
|
1 tsp vanilla extract |
ยฝ tsp pineapple extract |
Caramel drizzle |
ย
1. Prepare Your Pan and Preheat the Oven
A well-prepared setup helps the cake release cleanly once it is finished. I like to get this part done first so everything is ready when the mixture comes together.
- Preheat the oven: Set it to 350ยฐF (175ยฐC).
- Choose the pan: Use a 9×13-inch baking pan.
- Grease the surface: Coat the bottom and sides with butter or non-stick spray.
- Dust with flour: Add a light layer, then tap out the excess.
- Check the corners: Make sure they are coated so the cake does not stick.
- Set it aside: Keep the pan ready near your mixing area.
2. Prepare the Cake Batter
Good texture starts with controlled mixing. Keeping the ingredients organized at this point also makes it easier to create a smooth, balanced mixture without working it too much.
- Mix the dry ingredients: Whisk flour, baking powder, and baking soda together.
- Break up lumps: Stir until the flour mixture looks even.
- Beat the wet ingredients: Combine eggs, sugar, oil or melted butter, and vanilla.
- Mix until smooth: Continue until the liquid mixture looks uniform.
- Combine gradually: Pour the wet mixture into the dry ingredients in stages.
- Stir gently: Mix only until the dry streaks disappear.
- Avoid overmixing: Stop as soon as the batter comes together.
3. Add Pineapple and Fill the Pan
This is where the fruit becomes evenly distributed throughout the mixture. I use a light hand here because rough stirring can affect the finished crumb.
- Use crushed pineapple: Add it directly to the prepared batter.
- Keep the juice: Do not drain the pineapple before adding it.
- Fold gently: Turn the mixture until the fruit is evenly spread.
- Scrape the bowl: Bring any batter from the sides back into the mixture.
- Pour into the pan: Transfer the batter evenly across the baking dish.
- Smooth the top: Level the surface with a spatula.
- Tap the pan: Give it one or two light taps to release larger air pockets.
4. Bake and Check for Doneness
The center needs enough time to set without the edges becoming overcooked. Since ovens can behave differently, checking near the end gives you a better indication than appearance alone.
- Use the center rack: Place the pan in the middle of the oven.
- Bake undisturbed: Leave it for about 30 to 35 minutes.
- Start checking early: Test around the 28-minute mark.
- Check the center: Insert a toothpick into the thickest part.
- Look for a clean tester: A few soft crumbs are fine, but wet batter is not.
- Bake longer if needed: Add another 3 to 5 minutes.
- Check again: Repeat the toothpick test before removing the cake.
5. Cool and Add Toppings
Finishing the cake at the right stage keeps the top neat and easier to decorate. I always give it enough time to settle before adding anything creamy.
- Cool in the pan: Leave the cake undisturbed for about 15 minutes.
- Move to a rack: Let air circulate around it as it cools.
- Wait until fully cool: Allow roughly 30 to 45 minutes.
- Check the surface: It should no longer feel warm before frosting.
- Spread the frosting: Add an even layer of cream cheese frosting.
- Add pineapple: Arrange slices or small pieces on top if desired.
- Add cherries: Use maraschino cherries for extra decoration.
- Finish with sugar: Sprinkle a little brown sugar over the top if preferred.
Serve the finished pineapple cake at room temperature for a softer texture or chilled for a firmer bite.
What to Serve with Pineapple Cake?
- Vanilla ice cream: Adds a cool, creamy contrast, especially with warm cake.
- Fresh berries: Bring freshness and a slight tartness that balances the sweetness.
- Toasted coconut or chopped pecans: Add crunch and extra flavor.
- Greek yogurt or whipped cream: Give each slice a creamy but lighter finish.
- Fresh pineapple: Works well for brunch or daytime events.
- Homemade lemonade: Adds a cold, citrusy drink option that works especially well when serving pineapple cake at a warm-weather gathering.
- Coffee or black tea: Helps balance the cakeโs sweet, fruity flavor.
Perfect Frosting Pairings for Pineapple Cake

A good topping can bring out the fruitiness of the cake without overpowering it. The best choice depends on how sweet, creamy, or light you want each slice to taste.
|
Frosting |
Flavor Profile |
Best For |
|---|---|---|
|
Cream Cheese Frosting |
Rich, tangy, and sweet |
Celebrations and layer cakes |
|
Whipped Cream Topping |
Light, airy, and mild |
Everyday serving and beginners |
|
Coconut Frosting |
Sweet with a tropical finish |
Summer gatherings and themed cakes |
|
Vanilla Buttercream |
Buttery, smooth, and sweet |
Kids’ parties and simple decorating |
|
Brown Sugar Glaze |
Warm, caramel-like, and thin |
Upside-down cake and quick finishes |
If you’re putting together a kids’ party dessert table, sprinkle cookies can sit alongside pineapple cake as another simple baked option.
Classic Pineapple Upside Down Cake Version

This version takes the base pineapple cake recipe one step further. The toppings go in first, the batter goes on top, and the whole thing flips once it comes out of the oven.
The result is a sticky, caramelized top with pineapple rings and cherries already in place. No decorating needed.
- Preheat your oven to 350ยฐF (175ยฐC).
- Melt butter directly in the cast iron skillet over low heat.
- Sprinkle brown sugar evenly over the melted butter.
- Arrange pineapple rings in a single layer over the brown sugar.
- Place one maraschino cherry in the center of each ring.
- Slowly pour the prepared cake batter over the pineapple layer.
- Spread evenly with a spatula without disturbing the fruit below.
- Bake for 30 to 35 minutes or until a toothpick comes out clean.
- Cool in the pan for exactly 10 minutes before flipping.
- Place a large plate face-down over the skillet and flip in one quick motion.
- The caramel soaks into the cake as it cools, giving every slice a sticky, golden top.
Note: This version needs a cast iron skillet or a heavy oven-safe pan. A standard 9×13 baking pan will not give you the same caramelized base.
Pineapple Cake Ideas Beyond Just the Classic One
Small changes can give the same dessert a completely different feel without making it complicated. If you like fruit-based cakes for celebrations, a berry first birthday cake is another option to keep in mind alongside pineapple.
1. Pineapple Sheet Cake

For a sheet cake, spread the pineapple batter in a wide 9×13-inch pan instead of using smaller or layered pans. The shallower depth gives you an even cake that is easy to portion for a crowd.
Finish the entire surface with a smooth layer of cream cheese frosting. I like adding chopped pecans or walnuts on top when I want a little extra texture without changing the batter.
2. Pineapple Carrot Cake

Turn the base recipe into pineapple carrot cake by folding freshly grated carrots into the batter along with the crushed pineapple. Add a little cinnamon and nutmeg to give the fruit-and-carrot combination a warmer flavor. You can also fold in chopped walnuts or pecans for extra crunch.
Tip: Fresh carrots are better than packaged shredded carrots because they soften more easily and contribute additional moisture.
3. Pineapple Coconut Cake

Add shredded coconut when you fold the pineapple into the batter so both ingredients are spread throughout the cake. Use sweetened coconut for a richer result or unsweetened coconut if you prefer less added sweetness.
For more coconut flavor, sprinkle lightly toasted coconut over the finished frosting. Toasting brings out a nuttier taste and adds a slight crunch.
4. Pineapple Cupcakes

Divide the pineapple batter between lined cupcake wells instead of transferring it to one large pan. Fill each liner about two-thirds full, so there is enough space for the cupcakes to rise.
Because the portions are smaller, they usually need only 18 to 22 minutes at 350ยฐF. Finish each cupcake with cream cheese frosting, vanilla buttercream, shredded coconut, or a small pineapple garnish.
Little Tricks to Help You Make a Better Pineapple Cake
A few thoughtful choices can improve the overall finish without making the recipe feel more complicated. Paying attention to the small details also gives you more consistent results from one batch to the next.
- Use room-temperature ingredients: They blend more smoothly into the batter.
- Measure flour carefully: Spoon it into the cup and level the top.
- Keep the pineapple liquid: It adds extra moisture and fruit flavor.
- Choose crushed pineapple: Smaller pieces spread more evenly through the cake.
- Mix only until combined: Overmixing can make the crumb dense.
- Check your leavening: Fresh baking powder and soda help the cake rise properly.
- Use the right pan size: Changing the pan can affect thickness and bake time.
- Avoid opening the oven early: Sudden heat loss can make the center sink.
- Watch the edges: Browning around the sides can signal the cake is nearly done.
- Test the center: Insert a toothpick into the thickest part before removing it.
- Let it rest before slicing: Warm cake can break apart more easily.
- Cover leftovers well: Airtight storage helps keep the cake from drying out.
- Chill cream cheese frosting: Refrigerate the cake if it has a dairy-based topping.
How to Store Pineapple Cake?
Store pineapple cake in an airtight container to keep it moist and protect it from drying out. If the cake has no dairy-based frosting, it can usually stay at room temperature for about 1 to 2 days in a cool kitchen.
For longer storage, keep it in the refrigerator for up to 4 to 5 days. Cover the cake well so it does not absorb other food odors. If it has cream cheese frosting, refrigeration is the safer choice from the start.
You can also freeze unfrosted pineapple cake for up to 2 to 3 months. Wrap individual slices tightly before freezing.
Wrapping It Up
Honestly, once you make this at home, you will understand why it keeps coming back on the table.
The fruit does more than add flavor. It changes the whole texture of the cake in a way that is hard to replicate with anything else.
I hope the frosting options, variations, and storage tips gave you enough to work with for any occasion. There is no single right way to serve this. It holds up plain, frosted, flipped, or cupcaked.
Give this pineapple cake recipe a go this week.
Start with the classic version if you are new to it, then experiment from there. You might be surprised how quickly it becomes a regular in your kitchen.
Frequently Asked Questions
Can You Use Fresh Pineapple Instead of Canned?
Yes, fresh pineapple works but needs to be crushed or blended first. It has more natural acidity than canned, which can slightly affect the batterโs texture and sweetness.
Does Pineapple Cake Rise Well Without Eggs?
It can, using flax eggs or applesauce as a substitute. The rise may be slightly lower, but the pineapple moisture helps keep the texture soft and acceptable.
Can You Make Pineapple Cake in a Bundt Pan?
Yes, a bundt pan works well. Grease it thoroughly and increase baking time by 8 to 12 minutes. Check doneness with a toothpick before removing from the oven.
Is Pineapple Cake Suitable for Meal Prepping Ahead of Events?
Yes, it bakes well one to two days in advance. Store it unfrosted and covered, then add frosting on the day of serving for the best texture and presentation.