Desserts
This ananas cake recipe delivers the perfect balance of tropical sweetness and tender layers—no dry crumbs in sight. 🌴 The secret lies in pineapple juice-infused batter that keeps the cake impossibly moist while caramelized pineapple slices add natural sweetness and texture. I've perfected this version after years of testing, ensuring every slice stays tender and flavorful for days.
The beauty of this recipe is its simplicity: just five key ingredients transform into a cake that tastes like a vacation in every bite. A lightly spiced batter with pineapple juice replaces water, creating that signature tropical moisture, while the caramelized pineapple topping adds a restaurant-quality finish. No fancy techniques required—just precise measurements and patience for the perfect bake.
What you'll end up with is a golden, layered cake with a velvety texture and bursts of pineapple flavor in every forkful. The caramelized topping adds a subtle crunch that contrasts beautifully with the soft cake beneath. This isn't just dessert—it's an experience that transports you to a sunny beach with every slice.
Perfect for birthdays, tropical-themed parties, or simply treating yourself to something special. The recipe scales easily, so you can adjust the size to fit your needs. Let's get baking!
Ingredients for ananas cake
Five key ingredients transform into a tropical paradise of golden layers and velvety texture.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted for light texture |
| Granulated Sugar 🍚 | 2 cups | White or light brown |
| Pineapple Juice 🍍 | 1 cup | Freshly squeezed, no pulp |
| Unsalted Butter 🧈 | 1 cup | Softened to room temperature |
| Large Eggs 🥚 | 4 whole | Room temperature for even mixing |
| Vanilla Extract 🌿 | 2 tsp | Pure, high-quality extract |
| Baking Powder 🧂 | 2 tsp | Diamond Crystal preferred |
| Ground Cinnamon 🌶️ | 1 tsp | Freshly ground for warmth |
| Salt 🧂 | ½ tsp | Fine sea salt preferred |
| Fresh Pineapple 🍍 | 2 cups | Diced, for caramelized topping |
| Brown Sugar 🍚 | ¼ cup | Light or dark, packed |
| Coconut Oil 🥥 | ¼ cup | Melted for caramelization |
The pineapple juice is non-negotiable—freshly squeezed from a whole pineapple at Trader Joe's or your local market delivers that signature tropical brightness. The fresh pineapple for the topping should be ripe but firm; look for vibrant yellow flesh with no bruising. For the butter, Plugrá is my go-to for its rich flavor and consistent quality, but any high-fat, unsalted brand works. The baking powder matters too—Diamond Crystal is lighter than most, so if that's not available, use one-fourth teaspoon less of another brand to avoid over-leavening.
No fresh pineapple juice? Canned pineapple juice (like Del Monte) works in a pinch, but strain out any fibrous bits. Swapping the brown sugar for white sugar in the topping? Add one teaspoon of molasses to mimic the depth. The coconut oil can be replaced with more butter if you prefer, but it adds a lovely tropical note. For the flour, if you don't have sifted, just whisk it vigorously in the bowl to aerate. And trust me on the room-temperature eggs—they mix in so much smoother, and the cake turns out tender every time.
This cake keeps beautifully—covered at room temperature for 3 days or wrapped tightly in the fridge for up to 5 days. The caramelized topping stays crisp for the first day, so slice it then if you're impatient. For longer storage, freeze the whole cake (unfrosted) for up to 3 months. Thaw at room temperature, then gently reheat slices in the oven for 10-15 seconds to restore that caramelized crunch. Leftovers? Toss them in a paper bag and freeze—perfect for quick tropical treats later.
Why You'll Love This Recipe
- Pantry-Friendly Magic: I swear by this one—no specialty ingredients, just flour, sugar, butter, eggs, and that bright pineapple juice. If your kitchen has basics, you’ve got this.
- Tropical Twist: The pineapple juice doesn’t just moisten—it gives this cake a tangy brightness that cuts through the richness of the butter. It’s like a vacation in every bite.
- Weekend or Weeknight: Slice it fresh for brunch or bake a batch ahead for lunches. The texture holds up surprisingly well, and honestly? It’s my go-to for potlucks when I don’t want to fuss.
- Budget Baked Goods: A whole cake for under $5? With pantry staples and no fancy substitutions, this is my secret weapon for feeding a crowd without breaking the bank. Leftovers? They’re the best part.
Step-by-step instructions for ananas cake layers
Here's how to create tropical perfection with layers that stay moist for days.
👨🍳 Step 1: Whisk Dry Ingredients for Lightness
In a medium bowl, sift together the 2.5 cups all-purpose flour, 2 cups granulated sugar, 2 tsp baking powder, 1 tsp ground cinnamon, and 0.5 tsp salt. I like to use a fine-mesh sieve for this step—it aerates the flour and prevents dense layers. Whisk gently to combine without creating lumps, but don't overmix or you'll develop gluten that makes the cake tough.
Set the bowl aside while you prepare the wet ingredients. The reason for sifting is simple: it incorporates air into the flour, which helps create that light, airy texture we want in tropical cakes. Don't skip this—it's what separates good cakes from great ones.
🍳 Step 2: Cream Butter and Sugar for Maximum Moisture
In a stand mixer fitted with the paddle attachment, beat the 1 cup softened unsalted butter and 1 cup pineapple juice on medium speed for 3-4 minutes until light and fluffy. This step is crucial because the pineapple juice adds natural moisture while the butter creates that tender crumb. You'll know it's ready when the mixture nearly doubles in volume and leaves light ribbons when the beaters are lifted.
Add the 4 whole large eggs, one at a time, mixing well after each addition. Then stir in the 2 tsp vanilla extract. The eggs provide structure while keeping the cake moist—this is the secret to that perfect tropical texture. I always use room-temperature eggs because they incorporate more smoothly, preventing lumps that can make the cake dense.
🥘 Step 3: Combine Wet and Dry Ingredients Gently
With the mixer on low speed, gradually add the dry ingredients to the wet mixture. Mix just until combined—you should still see some flour streaks. Overmixing develops gluten, which makes cakes tough. The goal here is to create a smooth, slightly thick batter that holds its shape when poured.
Here's the thing—pineapple cakes can sometimes be gummy if overmixed. To prevent this, I use a silicone spatula to gently fold in any remaining dry ingredients by hand after mixing. The batter should be thick enough to hold its shape when dropped from a spoon, but still pourable. If it's too thick, add 1-2 tablespoons of pineapple juice to loosen it.
🔥 Step 4: Bake in Layers for Even Cooking
Preheat your oven to 350°F and grease three 8-inch round cake pans (or line them with parchment paper). Divide the batter evenly among the pans. Bake for 25-30 minutes or until a toothpick inserted in the center comes out clean. I like to rotate the pans halfway through for even baking—this is especially important with tropical cakes that can sometimes develop hot spots.
Don't overbake! The cakes will continue cooking slightly as they cool. When you remove them from the oven, let them cool in the pans for 10 minutes before transferring to a wire rack. This prevents them from cracking as they cool completely. The cakes should be golden on top with slightly domed centers—this is your visual cue that they're perfectly baked.
🍍 Step 5: Caramelize Pineapple for Topping
While the cakes cool, make the caramelized pineapple topping. In a saucepan over medium heat, combine the 2 cups fresh pineapple, 0.25 cup brown sugar, and 0.25 cup melted coconut oil. Cook for 8-10 minutes until the pineapple softens and the mixture thickens slightly, releasing those amazing tropical aromas. You want it to be syrupy but not dry—this will be our glaze and filling.
Here's where the magic happens: spread this caramelized mixture between the cake layers and on top. The coconut oil adds richness while the brown sugar creates a beautiful caramelized crust. I like to let the cakes cool completely before assembling so the filling doesn't make them soggy. Once assembled, let the cake chill in the refrigerator for at least 2 hours before serving—this allows all the flavors to meld together perfectly.
Pro Tips For Making Ananas Cake
- Whisk Eggs Until Pale: DESCRIPTION: I learned this the hard way—overbeaten eggs turn your pineapple cake dense and tough. Beat the eggs and sugar until they’re thick but still pale yellow (about 3–5 minutes with a hand mixer). Stop when they’re ribbon-like, not frothy. The cake will rise higher and stay moist longer.
- Strain That Juice: DESCRIPTION: Skip this, and your cake might taste gritty or uneven. Strain the pineapple juice through a fine-mesh sieve to remove pulp and seeds before mixing it into the batter. (Yes, even if you’re impatient—it makes a real difference.)
- Butter Should Be Soft: DESCRIPTION: Cold butter creates pockets in the cake, while melted butter makes it greasy. Press the butter between two sheets of parchment and microwave in 10-second bursts until it’s just soft enough to press with a finger—not liquid, not rock-hard. Room temperature takes too long; this is the lazy chef’s shortcut.
- Don’t Overmix the Batter: DESCRIPTION: After adding the flour, mix just until combined—lumps and all. Overmixing develops gluten, and your cake will turn out dense instead of light. One more fold after the flour disappears is all you need. (Trust me, your future self will notice the difference.)
Serving suggestions for leftovers
Tropical Garnishes
Top your cake with fresh pineapple slices arranged in a sunburst pattern for a vibrant finish. I like to use a mandolin slicer for even slices—just be careful with the fingers! 🍍 A sprinkle of toasted coconut flakes adds texture, while mint leaves provide a refreshing contrast. For extra flair, drizzle with white chocolate ganache or a simple honey glaze made from ¼ cup honey and 1 tbsp coconut milk, warmed together.
Pairing with Coffee
Serve warm slices with Kona coffee or Hawaiian Kona blend—the natural sweetness and low acidity complement the cake's tropical flavors beautifully. For a non-coffee option, try coconut milk chai tea with a pinch of cinnamon. The warmth of the spices enhances the cake's cinnamon notes, creating a cozy yet tropical experience. 💛
Fruit Platter Pairings
Create a tropical fruit platter with mango chunks, kiwi slices, and passion fruit to serve alongside the cake. The acidity of the passion fruit cuts through the richness, while the sweetness of mango balances the cake's caramelized notes. Use a large wooden board for rustic presentation, and arrange the fruits in concentric circles for visual appeal.
Creamy Frosting Options
For a lighter option, whip cream cheese frosting with 8 oz cream cheese, ½ cup butter, and 2 cups powdered sugar, then fold in 2 tbsp pineapple jam for a fruity twist. For a richer option, try coconut cream frosting made with chilled coconut cream and powdered sugar—it pairs perfectly with the cake's tropical flavors. 🥥
Serving for Special Occasions
For birthdays or celebrations, serve the cake on a three-tiered stand with each layer showcasing a different garnish: pineapple on the bottom, coconut on the middle, and mint on top. Add gold leaf accents for a luxurious touch. For a casual gathering, slice the cake into small squares and serve on a banana leaf** for an authentic tropical presentation.
Nutrition facts
Frequently asked questions about ananas cake
Can I substitute canned pineapple for fresh in this recipe?
Fresh pineapple is ideal for the caramelized topping because it develops better texture and flavor. However, if you must use canned, drain it thoroughly and pat dry with paper towels to remove excess moisture. For the juice in the batter, use 100% pineapple juice (no added water or sugar) to maintain the recipe's balance. The flavor won't be identical, but it will still taste delicious!
Why does my pineapple cake turn out dry?
Overbaking is the most common cause—remove the cake when a toothpick comes out clean, even if it looks slightly underdone. Another culprit is using too much flour or not enough pineapple juice. The juice is what keeps the cake moist, so measure carefully. Also, avoid opening the oven door too often while baking to prevent moisture loss.
How do I make this recipe gluten-free?
Replace the all-purpose flour with a 1:1 gluten-free baking flour blend (like Bob's Red Mill) and add ½ teaspoon xanthan gum if your blend doesn't contain it. You may need to increase the pineapple juice by 1-2 tablespoons since gluten-free flours absorb differently. Test with one layer first to check texture before baking all three.
Can I bake this cake in a different pan size?
Yes, but adjust the baking time. For 9-inch pans, reduce time by 5 minutes; for 6-inch pans, increase by 5 minutes. The key is to bake until the center reaches 205°F (96°C). If using rectangular pans, aim for ½-inch thickness—thinner layers bake faster. Always rotate pans halfway through for even cooking.
What's the best way to store leftovers?
Wrap the cake tightly in plastic wrap, then place it in an airtight container for up to 3 days at room temperature. For longer storage, freeze slices between parchment paper for up to 3 months. To revive, let thaw at room temperature for 1 hour** before serving. The caramelized topping stays best when refrigerated—it softens slightly but remains delicious!
