Desserts
This ananas cake recipe delivers layers of tropical sweetness with juicy pineapple folded into tender, buttery cake—no soggy middle in sight. 🌴 The secret is baking the cake slightly underdone, then layering it with whipped cream and fresh pineapple chunks for that signature Ananas cake texture. I've perfected this version to stay moist for days while keeping the structure intact, so every slice delivers that perfect balance of cake and fruit.
The beauty of this recipe lies in its simplicity: just a basic vanilla cake batter with crushed pineapple folded in, baked in two thin layers, then assembled with cream cheese frosting. What makes it special is the 30-minute chilling time between layers—this ensures the cake holds its shape while letting the flavors meld beautifully. The result is a dessert that looks elegant enough for a dinner party but comes together with straightforward techniques.
By the time you're done, you'll have a cake with golden layers, creamy frosting, and bursts of juicy pineapple in every bite. The frosting stays smooth and stable thanks to a touch of cornstarch, while the pineapple keeps the cake from feeling too heavy. This version works equally well for celebrations or a special treat—just make sure to let it set for at least 4 hours before serving.
For extra tropical flair, garnish with toasted coconut flakes or fresh mint leaves. The recipe scales perfectly for a crowd, and leftovers keep well for 3 days in the fridge. Here's how to make it—step by step—so you can recreate this classic dessert at home.
Ingredients for ananas cake
Pantry staples plus a few tropical touches—this cake comes together faster than you'd think.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted for light texture |
| Granulated Sugar 🍚 | 2 cups | White or light brown |
| Unsalted Butter 🧈 | 1 cup | Room temperature, full-fat |
| Large Eggs 🥚 | 4 whole | Room temperature for best mixing |
| Vanilla Extract 🌿 | 2 tsp | Pure, not imitation |
| Baking Powder 🧂 | 2 tsp | Aluminum-free preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Crushed Pineapple 🍍 | 1 can | 20 oz, unsweetened (packed) |
| Whole Milk 🥛 | 1 cup | Room temperature |
| Cream Cheese 🧀 | 8 oz | Full-fat, room temperature |
| Powdered Sugar 🍚 | 3 cups | For smooth frosting |
| Cornstarch 🌾 | 1 tbsp | For frosting stability |
| Fresh Pineapple Chunks 🍍 | 2 cups | For layering, fresh or canned |
| Toasted Coconut Flakes 🥥 | ½ cup | For garnish, optional |
The pineapple is everything here. Unsweetened crushed pineapple keeps the cake moist without making it soggy, while the fresh chunks add that signature zing. Trader Joe's and Costco carry the best unsweetened cans—look for bright yellow color, not brownish. Fresh pineapple? Grab one with vibrant green leaves still attached at the top. The cream cheese matters too—Philadelphia brand is my go-to, but any full-fat works. For the coconut flakes, toast them in a dry pan for 2-3 minutes until golden—no butter needed.
No crushed pineapple? Fresh pineapple purée works too—just strain out the juice. Short on cream cheese? Whipped coconut cream gives a similar texture (though less rich). The frosting can be made ahead—it actually tastes better after 24 hours in the fridge. Swapping powdered sugar for confectioners' sugar? Same thing, just make sure it's sifted. And if you're worried about the cake being too sweet, reduce the sugar by 0.25 cup—trust me, the pineapple balances it perfectly.
The cake layers keep 3 days in the fridge, covered tightly. Frosting stays stable for 5 days if stored in an airtight container. For serving, let the cake sit at room temp for 30 minutes—the frosting softens beautifully. Freeze the assembled cake (unfrosted) for 2 months if you're prepping ahead. Pro tip: Wrap each layer in plastic wrap before stacking to keep them moist.
Why You'll Love This Recipe
- No-Mix Needed: This cake comes together with just a few strokes of a fork—no stand mixer, no overmixing. The butter and sugar get whipped smooth in minutes, and the eggs fold right in. Honestly? It’s the kind of recipe where you’ll forget you’re baking at all.
- Sweet-Tart Magic: That pineapple puree (yes, it’s in there!) cuts through the richness of the butter and sugar, giving it a bright, almost tropical twist. The vanilla ties it all together—warm, familiar, and just sweet enough without being cloying.
- Weekday Workhorse: Slice it for breakfast with coffee, pack it in lunchboxes, or serve it at a potluck—this cake handles it all. The crumb stays soft for days, so leftovers taste just as good the third day as they did fresh out of the oven.
- Pantry Staple Power: You’re already using ingredients you have: flour, sugar, butter, eggs. No specialty items, no last-minute grocery runs. Between us, this is the kind of recipe that makes you feel like a baking pro without breaking the bank.
Step-by-step instructions for tropical layers with pineapple zing
Here's how to build this juicy, tropical cake with perfect layers and creamy frosting.
👨🍳 Step 1: Make the Pineapple Cake Batter
In a large mixing bowl, whisk together the 2.5 cups all-purpose flour, 2 tsp baking powder, and 0.5 tsp salt. Set aside. In a separate bowl, cream the 1 cup unsalted butter and 2 cups granulated sugar on medium speed until light and fluffy—about 3-4 minutes. This step is crucial for a tender crumb.
Add the 4 whole eggs one at a time, mixing well after each addition. Stir in the 2 tsp vanilla extract and 1 cup whole milk. Gradually fold in the dry ingredients until just combined—don't overmix or your cake will be dense. Finally, gently fold in the 1 can crushed pineapple (with its juice) to keep the batter moist and flavorful.
🍳 Step 2: Bake Two Perfect Layers
Preheat your oven to 350°F and grease two 9-inch round cake pans. Divide the batter evenly between the pans. Bake for 25-30 minutes or until a toothpick inserted in the center comes out clean. Here's the thing—let the cakes cool in the pans for 10 minutes before transferring to a wire rack to cool completely. This prevents crumbling when you add the filling.
While the cakes cool, drain any excess liquid from the 2 cups fresh pineapple chunks and pat them dry with a paper towel. You want them juicy but not soggy—this keeps your cake layers intact. Save the drained pineapple juice (about ¼ cup) for the filling if needed.
🥘 Step 3: Prepare the Cream Cheese Filling
In a medium bowl, beat the 8 oz cream cheese and 3 cups powdered sugar together until smooth and creamy. Add the 1 tbsp cornstarch and mix well to stabilize the filling. Here's where it gets fun—fold in the 2 cups fresh pineapple chunks and any reserved juice until evenly distributed. The texture should be thick but spreadable—if it's too thick, add 1-2 tsp milk to loosen it.
Taste and adjust sweetness if needed. I like to add a pinch of salt to balance the sweetness and enhance the pineapple flavor. This filling is what makes this cake truly special—creamy, tangy, and bursting with tropical flavor.
🥘 Step 4: Assemble the Tropical Layers
Place one cake layer on a serving plate. Spread about ½ cup of the cream cheese filling evenly over the top, leaving a ½-inch border uncovered. Here's the trick—sprinkle 1-2 tablespoons of the toasted coconut flakes over the filling for texture and flavor. Top with the second cake layer.
Spread the remaining filling over the top and sides of the cake, creating a smooth frosting layer. For extra flair, pipe a decorative border using the leftover filling. Finish with the remaining toasted coconut flakes and any extra pineapple chunks for a beautiful presentation.
⏰ Step 5: Chill and Serve
Refrigerate the cake for at least 2 hours before serving. This chilling time is essential—it allows the filling to set and the flavors to meld together. When you're ready to serve, slice into 12 equal pieces for perfect portions.
The cake should be moist with a tender crumb, and each bite should deliver that perfect balance of sweet pineapple, creamy filling, and toasted coconut. Serve with a glass of cold pineapple juice or coconut milk for the ultimate tropical experience.
Pro Tips For Making Ananas Cake
- Cream Butter Slowly: Beat the butter and sugar until it’s pale and fluffy—at least 3-4 minutes. I used to rush this, and the cake turned dense. Let the mixer do the work; don’t skimp on time here.
- Sift That Flour: Sift the flour before folding it in, even if the recipe doesn’t say to. Pineapple cake batter is wet, and unsifted flour pockets can make it gummy. A quick shake in a sieve makes all the difference.
- Don’t Overmix the Eggs: Whisk the eggs just until combined—no need for stiff peaks. Overmixing adds air that collapses during baking, leaving you with a flat cake. Keep it gentle, like folding in a delicate meringue.
- Test for Doneness Early: Start checking for doneness 10 minutes before the recipe’s suggested time. Pineapple cakes can dry out fast, and a toothpick should come out clean but slightly moist—not bone-dry. If in doubt, pull it sooner.
Best sauces and condiments for ananas cake
Cream Cheese Frosting
This classic filling is the heart of your ananas cake, and I've perfected it with a touch of cornstarch to keep it stable while maintaining that velvety texture. Start with 8 oz full-fat cream cheese (like Philadelphia) at room temperature—never cold, or it'll seize up. Beat it with 3 cups powdered sugar until completely smooth, then fold in the 2 cups fresh pineapple chunks gently to preserve their shape. 🥥
For extra stability, add 1 tbsp cornstarch to the frosting mixture. This prevents the filling from becoming too runny when layered between the cakes. If your frosting feels too thick, loosen it with 1-2 tsp milk at a time. The key is balancing sweetness—taste as you go and adjust with a pinch of salt to enhance the pineapple flavor without overpowering it.
Pineapple Glaze Option
For a lighter alternative, try a pineapple glaze made with 1 cup powdered sugar, 2 tbsp pineapple juice, and 1 tsp lemon juice. Whisk until smooth and drizzle between cake layers. This glaze adds moisture without the heaviness of cream cheese, making it perfect for those who prefer a lighter tropical taste. The acidity from the lemon juice also brightens the pineapple flavor beautifully.
Coconut Cream Swirl
Swap the cream cheese filling for a coconut cream swirl by mixing 1 can (13.5 oz) full-fat coconut milk with 1 cup powdered sugar and 1 tsp vanilla extract. Chill the mixture for 2 hours to thicken, then pipe dollops between cake layers. Top with toasted coconut flakes for a nutty, tropical twist. This version is naturally dairy-free and adds a luxurious creaminess that pairs perfectly with the pineapple.
Chocolate Ganache Drizzle
For a decadent twist, drizzle the assembled cake with a dark chocolate ganache made from ½ cup heavy cream and 4 oz chopped dark chocolate. Heat the cream until steaming, pour over the chocolate, and let sit for 5 minutes before stirring smooth. Drizzle over the cake just before serving for a sophisticated contrast to the tropical flavors. The bitterness of the chocolate cuts through the sweetness, creating a perfect balance.
Lime Curd Filling
Brighten up your ananas cake with a lime curd filling made from ½ cup lime juice, 2 egg yolks, ½ cup sugar, and 2 tbsp butter. Cook the mixture over low heat until thickened, then strain and chill before spreading between cake layers. The tangy citrus complements the pineapple beautifully and adds a refreshing zing that elevates the whole dessert. 🍋
Nutrition facts
Frequently asked questions
Can I use canned pineapple instead of fresh for the filling?
Yes, but with a few adjustments! Use 1 (20 oz) can drained pineapple chunks for the filling, and pat them dry thoroughly to prevent sogginess. For extra flavor, add 1 tsp lime zest to the cream cheese mixture. The texture will be slightly softer than fresh, but still delicious.
Why does my cake turn out dense instead of light?
Overmixing the batter is the most common cause. Mix just until combined—stop when no dry flour streaks remain. Also ensure your butter is room temperature and don't overfill the pans (use 2/3 capacity). Bake at 350°F for 25-30 minutes—overbaking dries out the cake.
How do I prevent the layers from sliding when slicing?
Chill the cake for 4 hours before slicing to let the frosting set completely. Use a hot knife (dip in hot water) for cleaner cuts. For extra stability, brush the cake layers with 1 tbsp apricot jam before adding frosting—this creates a natural glue between layers.
Can I make this cake without an oven?
Not traditionally, but you can try a microwave method for small batches: Mix batter in a microwave-safe dish, cover with plastic wrap, and cook on high for 6-8 minutes (check at 5 minutes). The texture won't be identical, but it's a workable solution for emergencies. For best results, stick to conventional baking.
What's the best way to store leftovers?
Wrap the cake tightly in plastic wrap, then place in an airtight container. Store in the fridge for up to 3 days, or freeze the unfrosted layers for 2 months. To serve frozen cake, thaw at room temperature for 2 hours before adding fresh frosting. The texture remains moist when properly stored!
