Desserts
This ananas cake recipe transforms simple ingredients into layers of tropical vanilla heaven with juicy pineapple chunks at every bite. The secret lies in balancing tender cake layers with a moist, flavorful filling that keeps the pineapple perfectly sweet—not cloying.
I’ve perfected this recipe over years of baking, ensuring the texture stays light yet sturdy enough to hold up to frosting without crumbling.
What sets this apart is the 350°F bake that yields golden layers with just the right crispness on the edges, while the filling remains luscious and slightly sticky. Fresh pineapple purée (not canned) infuses the batter with natural sweetness, and a touch of vanilla bean elevates the flavor to restaurant-quality.
The cake’s simplicity—just flour, sugar, eggs, butter, and pineapple—makes it foolproof for beginners but impressive enough for gatherings.
By the time it emerges from the oven, you’ll have a cake that’s moist, fragrant, and bursting with tropical flavor, ready to be topped with whipped cream or a glossy pineapple glaze.
The contrast of warm cake, cool cream, and fresh pineapple garnishes makes every slice feel like a vacation in your mouth. Serve it at brunch, potlucks, or as a special dessert—it’s always a crowd-pleaser.
For extra flair, dust the top with powdered sugar or add a sprinkle of toasted coconut before serving. The cake keeps well for up to three days, making it perfect for meal prep or ahead-of-time baking. Let’s get started on creating your own slice of tropical paradise.
Ingredients for ananas cake
Fresh pineapple, rich butter, and vanilla make this cake taste like tropical vacation.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 3 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 blending |
| Fresh Pineapple Purée 🍍 | 1 cup | From fresh pineapple only |
| Vanilla Extract 🌿 | 2 tsp | Pure vanilla bean preferred |
| Baking Powder 🧂 | 2 tsp | Diamond Crystal preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Fresh Pineapple Chunks 🍍 | 2 cups | Drained, for filling |
| Heavy Whipping Cream 🥛 | 1 cup | Cold, for frosting |
| Powdered Sugar 🍚 | 2 cups | For dusting |
| Toasted Coconut Flakes 🥥 | ½ cup | Optional garnish |
The pineapple is non-negotiable here—fresh is a must. Grab a whole pineapple from Costco or your local market (they usually have pre-cut chunks in the produce section). For the purée, blend fresh chunks with a splash of water, then strain. The butter should be room temperature—cold lumps won’t blend smoothly. I always buy Land O’Lakes unsalted butter for baking, but any good brand works. The vanilla extract? Pure Madagascar bourbon vanilla makes a world of difference, but regular extract is fine if that’s what you’ve got.
No fresh pineapple? Canned pineapple juice works in a pinch—just reduce it by simmering to concentrate the flavor. For the cake layers, substitute cake mix for one layer if you’re short on time (but trust me, homemade is worth it). The coconut flakes can be swapped for crushed macadamia nuts if you’re feeling fancy. The whipping cream should be very cold when you whip it—pull it from the fridge right before using. If you want extra moisture, add 1 tbsp of pineapple juice to the batter—it keeps the cake tender.
This cake keeps beautifully for 3 days in the fridge, covered loosely. For longer storage, wrap each layer in plastic wrap and freeze for up to 3 months. The filling stays fresh for 2 days in the fridge, so make it the day before if you can. To reheat, warm slices in the microwave for 10 seconds—just enough to melt the frosting without drying the cake. The toasted coconut? Toast it in a dry pan for 2-3 minutes until golden—it adds the perfect crunch.
Why You'll Love This Recipe
- No Blender Needed: I’ll be real—this cake doesn’t demand a food processor or fancy tools. Just mix the pineapple purée right into the batter with a whisk or sturdy spoon, and the butter and sugar blend smooth in minutes. That fresh purée does all the work of keeping it moist without any fuss.
- Tropical Twist: Honestly, the pineapple purée isn’t just an add-in—it’s the star. That bright, tangy sweetness cuts through the richness of the butter, and the eggs bind it all into a cake that’s light but still satisfying. It’s like a vacation in every bite, and no one will guess it’s basically a vanilla cake with a secret weapon.
- Weeknight or Party: Between us, this cake is my go-to for when I need something special but don’t want to slave away. Slice it for breakfast with a cup of coffee, pack slices for lunch, or serve it at a brunch—it’s always a hit. The best part? It bakes in one pan, so you’re not juggling a dozen dishes.
- Budget-Friendly Magic: I make this all the time because it’s cheap but feels indulgent. Pineapple purée is dirt cheap (or use canned if you’re in a pinch), and the rest are pantry staples. Plus, the leftovers stay fresh for days, so you’re not wasting anything. That’s a win in my book.
Step-by-step instructions for ananas cake recipe
Here's how to build this tropical cake with juicy pineapple layers and fluffy vanilla frosting.
Prepare the Cake Layers
Preheat your oven to 350°F and grease two 8-inch round cake pans, lining the bottoms with parchment paper. In a large mixing bowl, combine the 3 cups all-purpose flour, 2 cups granulated sugar, 2 tsp baking powder, and 0.5 tsp salt. Whisk until evenly distributed—this ensures a light, airy texture without lumps.
In a separate bowl, beat the 1 cup unsalted butter and 4 whole large eggs until smooth and slightly pale, about 3-4 minutes. Gradually add the dry ingredients while mixing on low speed, alternating with the 1 cup fresh pineapple purée and 2 tsp vanilla extract. The batter should be thick but pourable—if it's too stiff, add 1-2 tablespoons of milk to loosen it.
Bake and Assemble the Layers
Divide the batter evenly between the prepared pans. Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean. Let the cakes cool in the pans for 10 minutes, then transfer to a wire rack to cool completely. This prevents them from becoming soggy when assembling.
Once cooled, level the tops if needed and place one layer on a serving plate. Spread 1 cup of the 2 cups fresh pineapple chunks evenly over the first layer, leaving a ½-inch border. Repeat with the second layer, then top with the remaining pineapple chunks. This creates a juicy, flavorful center that keeps the cake moist.
Make the Vanilla Frosting
In a chilled mixing bowl, whip the 1 cup heavy whipping cream and 2 cups powdered sugar until soft peaks form. Add 1 tsp vanilla extract and continue whipping until the frosting is thick and spreadable. For extra flavor, fold in 2 tablespoons of the fresh pineapple purée—this adds a subtle tropical twist without altering the texture.
Spread the frosting evenly over the top and sides of the cake, creating a smooth finish. For a decorative touch, pipe a simple border around the edges or swirl the frosting on top. The frosting should be thick enough to hold its shape but still soft enough to spread easily.
Garnish and Serve
Sprinkle the 0.5 cup toasted coconut flakes evenly over the frosting while it's still wet to help them stick. Let the cake sit at room temperature for 30 minutes before slicing—this allows the frosting to set slightly and the layers to meld together.
Slice into 8 equal wedges and serve immediately. The cake should have a tender, moist crumb with bursts of juicy pineapple in every bite. For the best experience, enjoy it within 2-3 days, stored in an airtight container in the refrigerator. The flavors only deepen as it sits!
Pro Tips For Making Ananas Cake
- Strain That Purée: Fresh pineapple purée is a game-changer, but chunks in your batter mean a gummy cake—no one wants that. After blending, strain it through a fine-mesh sieve or cheesecloth. If you’re lazy (like me), at least press it with a spoon to remove the bulk of the fiber. The smoother the purée, the lighter the texture.
- Cream Butter Slowly: Your mixer’s on high, the butter’s still in clumps, and now you’ve got greasy flour everywhere. Beat the butter and sugar on medium until properly creamed—about 2-3 minutes—before adding eggs. This ensures the butter incorporates fully, not just looks fluffy. Trust me, skipping this step makes the cake denser.
- Don’t Overmix the Batter: I used to beat the flour mixture until it looked like pancake batter. Wrong. Once you fold in the dry ingredients, stop after just combining—lumps are fine. Overmixing develops gluten, and your cake will turn out tough instead of tender. Think "dust it in, stir it out," and call it done.
- Test for Doneness Early: Pineapple cake’s moist, so it won’t brown like a vanilla cake. Insert a toothpick at the center when the edges pull away—if it comes out clean or with a few moist crumbs, that’s your cue. Bake another 2-3 minutes if needed, but don’t wait for a "dry" test. Overbaking turns it into a sad, dry brick.
Perfect pairings for this ananas cake
Tropical Drink Pairings
Serve this cake with a piña colada for the ultimate tropical experience. Mix 2 oz white rum, 2 oz coconut cream, 4 oz pineapple juice, and ice in a blender.
Garnish with a pineapple wedge to echo the cake’s flavors. For a non-alcoholic version, swap rum for coconut water and add ½ cup crushed ice. 🍹
Creamy Coffee Contrast
A cup of Kona coffee cuts through the cake’s sweetness beautifully. Brew a medium-dark roast and serve it chilled or iced with a splash of vanilla syrup. The bitterness balances the cake’s tropical richness, making each bite feel like a dessert-and-coffee moment.
I always keep a jar of Blue Bottle Kona blend on hand for this pairing.
Fruity Tea Harmony
Pair the cake with hibiscus iced tea for a refreshing, tangy contrast. Steep 2 tbsp dried hibiscus flowers in 4 cups hot water> for 10 minutes, then chill.
Add 1 tbsp honey> and serve over ice. The tea’s floral notes complement the pineapple’s brightness without overpowering it. 🌸
Warm Spiced Wine
For a cozy twist, serve the cake with mulled wine spiked with cinnamon and orange. Simmer 1 bottle red wine, 1 orange sliced,> 2 cinnamon sticks, and 1 star anise> for 15 minutes.
Strain and serve warm. The spices enhance the cake’s vanilla and coconut flavors, creating a surprising yet harmonious combo.
Light Dessert Wine
A glass of Moscato d’Asti adds effervescence to the meal. Its light sweetness and floral notes mirror the cake’s tropical essence. Chill the wine to 45°F> and serve in small glasses to complement the cake’s delicate texture. I always reach for La Giustiniana—it’s my go-to for dessert pairings.
Seasonal Adaptations
In summer, swap the coconut frosting for a mango purée glaze—blend 1 cup ripe mango> with 2 tbsp lime juice> and 1 tbsp honey>. Drizzle over the cake for a brighter, fruitier finish.
In winter, add a sprinkle of cinnamon to the frosting and serve with spiced apple cider for a cozy contrast. 🍎
Nutrition facts
Frequently asked questions
Can I substitute canned pineapple for fresh in this recipe?
The recipe calls for fresh pineapple purée and chunks because canned versions contain added sugars and water that can make the cake too moist or alter the flavor. If you must use canned, drain the chunks well and reduce the sugar in the batter by 2 tablespoons. For the purée, simmer canned pineapple juice until it thickens slightly to mimic fresh purée.
How do I prevent my cake layers from cracking?
Cracking usually happens when the cake cools too quickly or isn't baked evenly. Avoid opening the oven door during the first 20 minutes of baking, and let the cakes cool in the pans for 10 minutes before transferring. Also, ensure your oven racks are positioned in the middle for even heat distribution. If cracks appear, cover them with extra frosting or a decorative glaze.
Can I make this cake in a single layer instead of two?
Yes! For a single-layer cake, use a 9-inch round pan and reduce the batter by 25% (about 1.5 cups). Bake for 30-35 minutes and add the pineapple filling after cooling. The texture will be slightly denser, but it still tastes delicious. This works well for smaller gatherings or when you prefer a taller cake.
Why did my pineapple filling make the cake soggy?
Sogginess happens when the pineapple chunks release too much liquid before the frosting sets. Drain the chunks thoroughly before assembling, and pat them dry with a paper towel. Also, let the cake layers cool completely before adding the filling. If needed, chill the assembled cake for 1 hour before frosting to help everything set properly.
How can I make this cake gluten-free?
Replace the all-purpose flour with a 1:1 gluten-free baking flour blend (like Bob's Red Mill) and add 1 tsp xanthan gum to improve texture. Reduce the pineapple purée by 2 tablespoons since gluten-free batters can be drier. Test the recipe first with a small batch to adjust moisture levels, as gluten-free flours absorb liquids differently.
