This Moist Pineapple Cake with Cream Cheese Frosting is a delicious homemade dessert combining tender pineapple cake, creamy frosting, juicy pineapple pieces, and crunchy caramelized pecans.
The pineapple and its juice are added directly to the batter, helping create a wonderfully moist texture and a naturally fruity flavor. Once baked and cooled, the cake is sliced into two layers and filled with a generous cream cheese frosting.
Finished with extra pineapple and caramelized pecans, this cake is an elegant dessert for birthdays, family gatherings, holidays, or weekend baking.
Recipe Overview
| Category | Details |
| Recipe | Pineapple Cake with Cream Cheese Frosting |
| Prep Time | 25 minutes |
| Bake Time | 30–35 minutes |
| Chilling Time | 2 hours |
| Total Time | About 3 hours |
| Yield | 1 layered cake |
| Servings | 10–12 |
| Oven Temperature | 175°C / 350°F |
| Difficulty | Easy |
Why You’ll Love This Recipe
This pineapple cake is incredibly easy to prepare because the canned pineapple and its juice go directly into the batter. There is no need to prepare a separate pineapple syrup.
The finished cake has a soft, moist crumb with a delicious tropical flavor. The creamy frosting adds richness while the caramelized pecans provide a satisfying crunchy contrast.
It is also a beautiful make-ahead dessert because chilling the assembled cake allows the frosting to firm up and the flavors to blend together.
Ingredients
For the Pineapple Cake
| Ingredient | Amount |
| All-purpose flour | 250 g |
| Granulated sugar | 200 g |
| Large eggs | 2 |
| Baking soda | 1 teaspoon |
| Vanilla extract | 1 teaspoon |
| Canned pineapple chunks with juice | 1 can, about 400 g |
Use the entire can, including the juice, as specified in the recipe.
For the Cream Cheese Frosting
| Ingredient | Amount |
| Cream cheese, softened | 200 g |
| Unsalted butter, softened | 100 g |
| Powdered sugar | 150 g |
For Decoration
| Ingredient | Amount |
| Extra pineapple pieces | As needed |
| Chopped caramelized pecans | 50 g |
Step-by-Step Instructions
1. Prepare the Oven and Pan
Preheat your oven to 175°C / 350°F.
Grease your cake pan thoroughly with butter. You can also line the bottom with parchment paper to make removing the cake easier.
A round cake pan around 20–22 cm (8–9 inches) works well for this recipe.
2. Make the Pineapple Cake Batter
In a large mixing bowl, combine the flour, granulated sugar, and baking soda.
Add the eggs and vanilla extract.
Pour in the entire can of pineapple chunks along with its juice.
Gently mix everything together until the ingredients are evenly incorporated and you have a smooth, consistent batter.
Do not overmix once the flour has been incorporated. Overmixing can make the cake less tender.
3. Bake the Cake
Pour the batter into the prepared cake pan and spread it evenly.
Place the pan in the preheated oven and bake for approximately 30–35 minutes.
The cake should look golden and feel set in the center.
Insert a toothpick into the middle. If it comes out clean or with only a few moist crumbs, the cake is ready.
If the toothpick contains wet batter, continue baking for a few more minutes and check again.
4. Cool Completely
Remove the cake from the oven and allow it to cool in the pan for several minutes.
Transfer it to a wire rack and let it cool completely before attempting to cut or frost it.
The cake must be completely cool before adding the cream cheese frosting. A warm cake can cause the frosting to soften or melt.
5. Slice the Cake
Once completely cooled, carefully cut the cake horizontally through the middle to create two even cake layers.
A long serrated knife works particularly well for this step.
Take your time and try to keep the knife level so the two layers remain even.
6. Prepare the Cream Cheese Frosting
Place the softened cream cheese and softened butter in a large bowl.
Beat them together until smooth, creamy, and well combined.
Gradually add the powdered sugar while continuing to mix.
Beat until the frosting becomes light, smooth, and spreadable.
Avoid overbeating once the frosting reaches the desired consistency.
7. Assemble the Cake
Place the first cake layer on a serving plate or cake stand.
Spread a generous layer of cream cheese frosting over the surface.
Add a few small pieces of pineapple over the frosting for an extra burst of fruit flavor.
Carefully place the second cake layer on top.
Press very gently to secure the layers without squeezing out the filling.
8. Frost the Cake
Use the remaining cream cheese frosting to cover the top and sides of the cake.
Spread it evenly using a spatula or cake scraper.
The finish can be perfectly smooth or slightly rustic depending on the look you prefer.
9. Decorate
Arrange additional pineapple pieces over the top of the cake.
Sprinkle the chopped caramelized pecans over the surface.
The combination of creamy frosting, juicy pineapple, and crunchy pecans makes the final cake both attractive and flavorful.
10. Chill Before Serving
Place the finished cake in the refrigerator for at least 2 hours before serving.
This chilling time helps the frosting firm up and makes the cake easier to slice.
For the best texture, remove the cake from the refrigerator for approximately 10–15 minutes before serving.
Best Tips for Perfect Pineapple Cake
Make sure the cream cheese and butter are softened before preparing the frosting. This helps create a smooth mixture without lumps.
Allow the cake to cool completely before cutting it into layers. If the cake is still warm, it can crumble and make assembly difficult.
Do not overmix the cake batter. Mix only until the ingredients are combined for a softer and more tender crumb.
Use the pineapple juice in the batter. It contributes moisture and helps give the cake its characteristic pineapple flavor.
When cutting the cake horizontally, use a serrated knife and rotate the cake as you work to create an even cut.
For a neat finish, chill the assembled cake before slicing.
Best Ingredient Options
Canned pineapple is convenient and works particularly well because the juice provides additional moisture to the batter.
You can use regular full-fat cream cheese for a rich and creamy frosting.
Unsalted butter allows you to control the flavor of the frosting without adding unnecessary salt.
For the pecans, freshly chopped pecans provide the best texture. If you prefer, you can lightly toast them before caramelizing for a deeper nutty flavor.
Recipe Variations
Coconut Pineapple Cake
Add 50–75 g of shredded coconut to the cake batter for an extra tropical flavor.
Pineapple Coconut Frosting
Mix a small amount of shredded coconut into the cream cheese frosting before spreading it over the cake.
Walnut Version
Replace the pecans with chopped walnuts for a slightly different nutty flavor and crunchy texture.
Pineapple Layer Cake
For a more impressive celebration cake, bake the batter in two separate pans rather than cutting one cake horizontally.
Tropical Fruit Cake
Add a small amount of finely chopped mango or toasted coconut to the filling for a more tropical dessert.
What to Serve With Pineapple Cake
This cake is delicious served with a cup of coffee, black tea, or a lightly sweetened herbal tea.
For a special dessert presentation, serve each slice with a few fresh pineapple pieces or a small spoonful of whipped cream.
The cake can also be served as part of a dessert table alongside fruit-based desserts, cookies, or small pastries.
Make-Ahead Instructions
You can prepare the cake a day before serving.
Bake the cake, allow it to cool completely, and store it covered until you are ready to assemble it.
The frosting can also be prepared ahead of time and refrigerated in an airtight container. Allow it to soften slightly at room temperature before spreading if it becomes too firm.
Once assembled, keep the cake refrigerated until serving.
Storage
Because the frosting contains cream cheese, this cake should be stored in the refrigerator.
Keep it covered in an airtight cake container or loosely covered with plastic wrap.
It will generally keep well in the refrigerator for approximately 3–4 days.
For the best texture and flavor, allow refrigerated slices to sit at room temperature for about 10–15 minutes before serving.
Reheating
This cake is best served chilled or slightly cool and does not require reheating.
If you prefer a softer cake texture, simply let a slice sit at room temperature for a few minutes before eating.
Avoid heating the entire frosted cake because the cream cheese frosting can soften excessively.
Freezing
The unfrosted pineapple cake can be frozen successfully.
Allow the cake to cool completely, wrap it tightly in plastic wrap, and place it in a freezer-safe container or bag.
For best quality, use within approximately 2–3 months.
Thaw the cake in the refrigerator overnight, then prepare and add the frosting.
A fully assembled cake can also be frozen, but the texture of the cream cheese frosting and pineapple decoration may change slightly after thawing.
Common Mistakes to Avoid
Do not frost the cake while it is warm. The frosting needs a completely cooled cake so it remains thick and stable.
Avoid adding too much extra pineapple between the layers. Excess moisture can make the filling slippery and difficult to keep stable.
Do not overmix the batter after adding the flour. A gentle mix is enough.
Make sure your baking soda is fresh. Old leavening agents may not provide the expected rise.
Do not skip the chilling period after assembly. Refrigeration helps the frosting firm up and makes the cake much easier to slice neatly.
Nutrition Estimate
These values are approximate and will vary depending on the specific ingredients and serving size.
| Nutrient | Approximate Amount Per Serving |
| Calories | 450 kcal |
| Carbohydrates | 58 g |
| Protein | 6 g |
| Fat | 22 g |
| Saturated Fat | 10 g |
| Sugar | 40 g |
| Fiber | 2 g |
| Sodium | 250 mg |
Frequently Asked Questions
Can I use fresh pineapple instead of canned pineapple?
Yes, but the recipe was designed around canned pineapple and its juice. If using fresh pineapple, you will need enough additional liquid to replace the pineapple juice used in the original recipe.
Can I make this cake without pecans?
Absolutely. You can leave them out or replace them with walnuts, almonds, or shredded coconut.
Why did my cake become too moist?
Pineapple cake naturally has a moist texture because of the fruit and juice. However, adding excessive additional pineapple or underbaking the cake can make the center overly wet.
Can I use low-fat cream cheese?
You can, but full-fat cream cheese generally produces a richer and creamier frosting with better consistency.
How long should the cake chill?
Chill the assembled cake for at least 2 hours. You can also prepare it the day before and leave it refrigerated overnight.
Can I make this cake in advance?
Yes. This is an excellent make-ahead dessert. Prepare and assemble it the day before serving and keep it refrigerated.
How do I keep the layers from sliding?
Do not add too much filling or pineapple between the layers. Chilling the cake before serving also helps the frosting firm up and stabilize the layers.
Can I use a different frosting?
Yes. Whipped cream, vanilla buttercream, or a simple powdered-sugar glaze can all work, although cream cheese frosting provides the classic creamy contrast to the pineapple.
Final Thoughts
This Moist Pineapple Cake with Cream Cheese Frosting is a simple yet impressive homemade dessert. The soft pineapple-infused cake, creamy frosting, juicy fruit, and crunchy caramelized pecans create a wonderful combination of textures and flavors.
Whether you’re preparing it for a birthday, holiday gathering, family dinner, or simply want a special homemade dessert, this pineapple cake is a delicious choice that can be prepared ahead of time and served beautifully chilled.