
This tropical carrot pineapple cake is my secret weapon for turning any gathering into a mini vacation. It’s a wonderfully moist, flavor packed twist on a classic, bringing the bright tastes of pineapple and coconut to the familiar comfort of a spiced carrot cake.
I first baked this for a friend’s summer barbecue, and it completely stole the show. Now, it’s the most requested dessert I make whenever we have company over.
Ingredients
- All purpose flour: provides the main structure for the cake
- Baking powder and baking soda: work together to give the cake a perfect, fluffy lift
- Ground cinnamon and nutmeg: add that essential warm, spiced flavor that pairs so well with carrots
- Granulated and brown sugar: a combination that provides sweetness and a hint of molasses flavor for depth
- Vegetable oil: the key to an exceptionally moist cake crumb that never dries out
- Large eggs: they bind the ingredients and add richness, so make sure they are at room temperature
- Grated carrots: use fresh, finely grated carrots for the best texture and moisture, not the pre shredded kind
- Crushed pineapple: a well drained can is perfect for adding tropical sweetness and incredible moisture
- Shredded coconut: this is optional but adds a lovely chew and authentic tropical flavor
- Softened cream cheese: the base for the tangy, luxurious frosting, choose a full fat block for the best results
- Unsalted butter: adds richness and stability to the cream cheese frosting
- Powdered sugar: for sweetening the frosting, sift it if it seems lumpy
- Vanilla extract: a little splash enhances all the other flavors
- Milk or pineapple juice: just a touch to thin the frosting to a perfect spreading consistency
Step by Step Instructions
- Prepare the Oven and Pans:
- First things first, get your oven preheating to 350°F or 175°C. Proper temperature is key. While it heats, prepare your pans. You can use two 9 inch round pans for a layer cake or one 9x13 inch pan for a sheet cake. Grease them thoroughly with butter or shortening, then dust them with flour, tapping out any excess. For a foolproof release, I always line the bottoms with a piece of parchment paper.
- Combine the Dry Ingredients:
- In a large bowl, whisk together your dry ingredients, the flour, baking powder, baking soda, cinnamon, nutmeg, and salt. Whisking them together now ensures the leavening agents and spices are evenly distributed, so you won’t get a pocket of salt or a bland bite. This is a small step that makes a big difference.
- Mix the Wet Ingredients:
- In a separate, even larger bowl, combine the granulated sugar, brown sugar, and vegetable oil. Whisk them vigorously until the mixture is smooth and well combined. Now, add the eggs one at a time, making sure to mix thoroughly after each one is added. This process creates a stable emulsion that forms the rich foundation of your cake batter.
- Bring It All Together:
- Gently pour the dry ingredient mixture into the wet ingredient bowl. Stir with a wooden spoon or spatula just until you no longer see streaks of flour. It is so important not to overmix here. Overmixing develops the gluten in the flour and can make your cake tough and dense instead of light and tender.
- Fold in the Stars of the Show:
- Now for the best part. Using your spatula, gently fold in the grated carrots, the well drained crushed pineapple, and the shredded coconut if you are using it. Folding means using gentle, sweeping motions from the bottom of the bowl up and over the top to incorporate the ingredients without deflating the batter.
- Bake to Perfection:
- Pour the finished batter evenly into your prepared pan or pans and use the spatula to smooth the top. Place it in the center of your preheated oven. For round pans, bake for 30 to 35 minutes. For a 9x13 pan, it will take a bit longer, around 40 to 45 minutes. You’ll know it’s done when a toothpick inserted into the center comes out clean. Let the cake cool in the pan on a wire rack for about 15 minutes before turning it out to cool completely.
- Whip the Cream Cheese Frosting:
- While the cake cools, make the frosting. In a mixing bowl, beat the softened cream cheese and softened butter together on medium speed until the mixture is completely smooth and fluffy. Scrape down the sides of the bowl. Gradually add the powdered sugar, one cup at a time, mixing on low speed until it’s incorporated before adding the next. Once all the sugar is in, add the vanilla and a tablespoon of milk or juice, then beat on high speed until the frosting is light and spreadable. Add another splash of liquid if it’s too stiff. Only frost the cake once it has cooled completely, otherwise the frosting will melt right off.

My favorite ingredient here is definitely the crushed pineapple. It's such a simple pantry item, but it completely transforms the cake, keeping it from being just another carrot cake. I remember my grandmother adding it to her recipe, and it always felt like her little secret to making the most delicious cake on the block.
Ingredient Substitutions
If you don’t have vegetable oil, you can use another neutral oil like canola or even melted coconut oil for an extra tropical note. For a bit of crunch, feel free to add a half cup of chopped walnuts or pecans to the batter when you fold in the carrots. If you aren't a fan of coconut, you can simply leave it out without any other adjustments.
Storage Tips
Once frosted, this cake should be stored in an airtight container in the refrigerator. It will stay fresh and delicious for up to four days. If you want to make it ahead, you can bake the cake layers, let them cool completely, and wrap them tightly in plastic wrap. They can be stored at room temperature for a day or frozen for up to two months. Just thaw them before frosting and serving.
Serving Suggestions
This cake is fantastic all on its own, but for a special touch, I love to decorate the top with a sprinkle of toasted coconut. Toasting brings out a nutty, deeper flavor. Simply spread shredded coconut on a baking sheet and bake at 350°F for 5 to 7 minutes, watching it carefully until it’s golden brown. A few chopped macadamia nuts or fresh pineapple chunks also make a beautiful and tasty garnish.
Frequently Asked Questions
- → Can I use canned pineapple instead of crushed?
Yes, but make sure to drain it well. Crushed pineapple is preferred for its texture, but if using canned slices or chunks, chop them finely and drain thoroughly to prevent a soggy cake.
- → What is the best way to store this cake?
Store the frosted cake in the refrigerator for up to 4 days. You can also freeze unfrosted layers for up to 2 months, well wrapped.
- → Can I make this cake ahead of time?
Absolutely! Bake the cake layers a day in advance and frost them just before serving. This allows the flavors to meld and makes it easier to handle when frosting.
- → What can I use if I don't have vegetable oil?
You can substitute with another neutral-flavored oil like canola oil or melted coconut oil. The texture might slightly change, but the cake should still be delicious.
- → How do I prevent the cake from sticking to the pan?
Grease and flour your cake pans thoroughly, or line them with parchment paper. This will ensure that the cake releases easily after baking.
- → Can I add nuts to this cake?
Yes! Chopped macadamia nuts or walnuts work well for a Hawaiian-inspired twist. Add about 1/2 cup to the batter before baking.