Desserts
This ananas cake recipe delivers the perfect balance of sweet pineapple and rich rum swirl, creating a dessert that tastes like a tropical vacation in every bite. 🌴 The secret lies in caramelizing fresh pineapple rings before baking, which infuses the cake with an irresistible aroma and juicy bursts of flavor. Unlike traditional pineapple cakes, this version incorporates a boozy rum layer that adds depth and warmth, making it a standout for gatherings or special occasions.
What sets this recipe apart is the combination of tender cake layers and a luscious cream cheese frosting that complements the tropical notes. The 350°F oven ensures even baking while keeping the cake moist, and the baking time of 30-35 minutes guarantees a perfectly golden finish. Whether you're baking for a celebration or simply craving a taste of the tropics, this cake delivers restaurant-quality results without the fuss.
The magic happens in the finishing touches—caramelized pineapple rings on top add both visual appeal and a sweet-tangy contrast to the cake's richness. The rum swirl layer, made with just a few simple ingredients, ties everything together with its warm, aromatic notes. Each slice offers a harmonious blend of textures and flavors, making it a dessert that's as impressive as it is delicious.
For those looking to add a modern twist, consider a vegan adaptation using plant-based butter and dairy-free cream cheese. The traditional Swedish Ananasbullar-inspired version also works beautifully with a cinnamon-infused rum layer. Ready to bake a cake that's as unforgettable as it is flavorful? Let's get started!
Ingredients for ananas cake
Fresh pineapple, rich rum, and velvety cream cheese frosting create this tropical masterpiece.
| Ingredient | Amount | Notes |
|---|---|---|
| Fresh Pineapple 🍍 | 2 cups | Diced, fresh or canned in juice |
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted, for tender crumb |
| Granulated Sugar 🍚 | 2 cups | White or light brown |
| Unsalted Butter 🧈 | 1 cup | Cold, cubed for cutting |
| Large Eggs 🥚 | 4 whole | Room temperature |
| Vanilla Extract 🌿 | 2 tsp | Pure, high-quality |
| Baking Powder 🧂 | 2 tsp | Diamond Crystal preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Dark Rum 🍹 | ½ cup | 180-proof preferred |
| Powdered Sugar 🍚 | 3 cups | For cream cheese frosting |
| Cream Cheese 🧀 | 8 oz | Room temperature, full-fat |
| Heavy Whipping Cream 🥛 | 1 cup | Cold, for whipping |
| Lemon Juice 🍋 | 1 tbsp | Freshly squeezed |
| Brown Sugar 🍚 | ¼ cup | Packed, for caramelizing |
| Ground Cinnamon 🌿 | 1 tsp | For rum swirl |
The pineapple is non-negotiable—fresh or high-quality canned in juice makes all the difference. Costco often carries premium pineapple chunks, but any ripe, sweet variety works. For the rum, Havana Club or Captain Morgan add authentic depth, though any dark rum will work. The cream cheese must be full-fat for that luscious texture—Philadelphia brand is a safe bet. Sift your flour to prevent dense cake layers, and always use room-temperature eggs for even mixing.
No fresh pineapple? Canned pineapple in juice is fine, but drain and pat dry thoroughly. Substitute rum with apple cider or orange juice for a non-alcoholic version, though the flavor will differ. For a vegan twist, replace butter with Earth Balance vegan butter and use dairy-free cream cheese. The brown sugar in the caramelizing step can be swapped for white sugar plus a pinch of cinnamon if needed. Always use powdered sugar for frosting to achieve that light, fluffy texture.
Store cake layers in an airtight container at room temperature for 2 days, or refrigerate for 5 days. The rum swirl layer can be prepped 1 day ahead and stored in the fridge. Frosting keeps for 3 days refrigerated—whip it just before assembly for the best consistency. For caramelized pineapple rings, make them 1 hour before baking to ensure deep flavor infusion, but don't caramelize too far ahead or they'll lose moisture.
Why You'll Love This Recipe
- No-Fuss Mixing: I swear by this recipe because it only takes blending—no fancy folding or sifting. Just toss the flour, sugar, and eggs into the bowl, then fold in the butter and pineapple juice until it’s just combined. No one’s judging if your batter looks lumpy.
- Tropical Twist: That fresh pineapple isn’t just for flavor—it’s the star. The juice keeps the cake moist, while the chunks add a bright, juicy bite that cuts through the richness of the butter. Honestly, it’s the kind of cake that makes you want to eat it straight from the pan.
- Picnic-Proof Portion: This cake holds up perfectly for potlucks or picnics—no crumbs, no mess. I’ve taken slices wrapped in foil to beach days and they stayed fresh for hours. Plus, the pineapple’s natural sweetness means you can skip extra syrup or frosting.
- Budget Baking: Butter and eggs are the only splurges here, and the rest? Basic pantry staples. A single pineapple lasts for two cakes, so you’re not breaking the bank. Between us, this is my go-to when I need something impressive without the grocery haul.
Step-by-step instructions for tropical rum swirl ananas cake
Master the art of caramelized pineapple layers and velvety rum swirls with these precise techniques.
👨🍳 Step 1: Caramelize the Pineapple for Maximum Flavor
In a medium saucepan, combine the 2 cups Fresh Pineapple with 0.25 cup Brown Sugar and 1 tbsp Lemon Juice. Cook over medium-high heat for 8-10 minutes, stirring occasionally, until the pineapple softens and releases its juices. You'll know it's ready when the mixture reduces slightly and the pineapple becomes tender enough to pierce easily with a fork.
This caramelization step is critical—it develops deep, complex flavors that will shine through the cake layers. Once caramelized, remove from heat and let it cool completely before using. I like to spread it on parchment paper to cool faster, making it easier to handle when layering.
🍳 Step 2: Bake the Cake Layers with Perfect Texture
Preheat your oven to 350°F. Grease and line two 8-inch round cake pans with parchment paper. In a large mixing bowl, cream together the 1 cup Unsalted Butter and 2 cups Granulated Sugar on medium speed until light and fluffy—about 3-4 minutes. Add the 4 whole Large Eggs one at a time, mixing well after each addition.
In a separate bowl, sift together the 2.5 cups All-Purpose Flour, 2 tsp Baking Powder, 0.5 tsp Salt, and 1 tsp Ground Cinnamon. Gradually add the dry ingredients to the butter mixture, alternating with 0.5 cup Dark Rum (begin and end with flour). Mix on low speed just until combined—overmixing develops gluten and makes the cake dense. Divide the batter evenly between the prepared pans.
Bake for 25-30 minutes, or until a toothpick inserted in 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 cooling step is essential—warm layers will create a soggy cake when assembling.
🥘 Step 3: Prepare the Cream Cheese Frosting
In a medium bowl, beat the 8 oz Cream Cheese and 3 cups Powdered Sugar together until smooth and creamy. Add the 1 cup Heavy Whipping Cream and mix until fully incorporated. The frosting should be thick but spreadable—if it's too stiff, add 1 tsp of the reserved pineapple juice to loosen it.
This frosting is the backbone of your cake, providing that signature tangy sweetness that balances the tropical flavors. For extra flavor, you can also add 1 tsp Vanilla Extract at this stage. Whip the frosting until it reaches a smooth, pipeable consistency—it should hold its shape when spread between layers.
🍰 Step 4: Assemble the Cake with Rum Swirl Layers
Once the cake layers and pineapple filling are completely cool, place the first cake layer on a cake stand or plate. Spread an even layer of the cream cheese frosting over the top, leaving a ½-inch border uncovered. This border prevents the frosting from oozing out the sides when you add the pineapple.
Spread the cooled caramelized pineapple evenly over the frosting, then add the second cake layer. Repeat the process with another layer of frosting and the remaining pineapple. For the rum swirl effect, pipe a zigzag line of frosting across the top of the cake, then use a skewer to gently drag the frosting through the layers, creating a marbled effect. This technique adds visual appeal and ensures every bite has that signature rum flavor.
⏰ Step 5: Chill and Serve for Optimal Texture
Cover the assembled cake with plastic wrap and refrigerate for at least 4 hours, or overnight. This chilling time allows the flavors to meld and the cake to set properly. The longer it chills, the more pronounced the rum flavor becomes, and the cleaner the slice will be when you cut into it.
Before serving, let the cake sit at room temperature for 15-20 minutes to soften slightly. This makes it easier to slice and ensures the cream cheese frosting is at its best texture—neither too soft nor too firm. Slice into 8 equal portions** with a sharp serrated knife, wiping the blade between cuts to ensure clean edges. Serve with a dusting of powdered sugar or a sprinkle of toasted coconut for an elegant finish.
Pro Tips For Making Ananas Cake
- PREP THE PINEAPPLE RIGHT: Grate the fresh pineapple fine—like you’re making coleslaw—and squeeze out every last drop of juice with a clean towel. The drier the fruit, the less soggy your cake. (I learned this after one batch turned into a pudding.)
- CREAM THE BUTTER SLOW: Beat the butter and sugar until it’s light and airy, not just pale. Use a stand mixer and let it run for 3–4 minutes—you’re chasing ribbons, not just crumbs. Rushed butter = dense cake.
- FOLD IN DRY FLOUR GENTLY: Mix the flour in thirds with a spatula, not the mixer. Overmixing turns pineapple cake into a brick. Stop when just combined—your future self will notice the difference.
- BAKE UNTIL SPRINGY: Tap the center—it should bounce back, not feel gummy. If the top browns too fast, tent with foil early. Underbaked pineapple cake tastes like a sad muffin. (Yes, even if the recipe says "20 minutes.")
Essential equipment for this recipe
Stand Mixer Must-Have
For this recipe, a stand mixer with a paddle attachment is my absolute game-changer. I use my KitchenAid Artisan Series because it handles the heavy cream cheese frosting effortlessly without overheating. The paddle attachment ensures smooth, lump-free frosting—critical for that silky texture. If you don’t own one, a hand mixer works in a pinch, but expect to work in batches for the frosting. 💫
Precision Baking Tools
An 8-inch round cake pan (I prefer Wilton Perfect Results) is essential for even baking. These pans have a non-stick coating that prevents sticking, and their precise dimensions ensure perfectly proportioned layers. Pair them with parchment paper circles to eliminate any risk of burning. For the caramelized pineapple step, a medium saucepan with a tight-fitting lid helps concentrate the flavors faster.
Cake Assembly Essentials
Assembling this cake requires a few key tools: a cake stand or sturdy plate for stability, an offset spatula for spreading frosting evenly, and a skewer for creating the rum swirl effect. I also recommend a serrated knife for clean slices—dip it in hot water between cuts to prevent crumbs. A bench scraper helps smooth frosting edges like a pro. 🍰
Temperature Control
An instant-read thermometer (like the Thermoworks Thermapen) ensures your cake bakes to 210°F at the center—critical for a moist crumb. For the caramelized pineapple, monitor the temperature closely; it should reach 212°F to soften without burning. A digital kitchen scale (I use OXO Good Grips) guarantees accurate measurements for the flour and sugar, which directly impact texture.
Storage Solutions
After baking, store cake layers in an airtight container (I love Glasslock containers) to maintain freshness. For the assembled cake, wrap it tightly in plastic wrap and refrigerate. A cake dome or clear plastic wrap keeps the frosting from drying out while chilling. When ready to serve, let it sit at room temperature for 15-20 minutes—this ensures clean slices every time. ❄️
Nutrition facts
Frequently asked questions
Can I substitute fresh pineapple with canned for this cake?
Yes, but choose canned pineapple in juice (not syrup) and drain it thoroughly before using. Pat it dry with a paper towel to remove excess moisture, which prevents a soggy cake. For best results, use 2 cups drained canned pineapple and add 1 tbsp extra lemon juice to mimic fresh pineapple's acidity.
How do I make this cake without alcohol?
Replace the 0.5 cup dark rum with 0.5 cup apple cider or orange juice for a non-alcoholic version. For deeper flavor, add 1 tsp vanilla extract to compensate for the rum's aromatic notes. The cake will still taste delicious, though the rum swirl effect will be subtler.
Why did my cake turn out dense instead of light?
Overmixing the batter or using cold butter are the most common causes. Cream the butter and sugar until light and fluffy (about 3-4 minutes), and mix the dry ingredients just until combined. Also, ensure your eggs are room temperature and don't overfill the cake pans. For extra lightness, sift the flour before measuring.
Can I bake this cake in a different-sized pan?
Yes, but adjust the baking time accordingly. For a 9-inch round pan, reduce oven time by 5-7 minutes (check at 22-24 minutes). For square pans, bake 25-30 minutes and expect slightly thicker layers. Always use the toothpick test to confirm doneness.
How long can I keep the cake before serving?
Assembled cake stays fresh for 3-4 days refrigerated in an airtight container. For longer storage, freeze individual layers (without frosting) for up to 3 months. Thaw overnight in the fridge before assembling. The rum flavor actually improves with time, so don't rush to serve!
