Tropical Carrot Pineapple Cake

Featured in Irresistible Desserts.

This Tropical Carrot Pineapple Cake is a moist and flavorful twist on a classic. Packed with juicy pineapple, grated carrots and a hint of coconut, it's perfect for any occasion.

Bake in either round cake pans or a 9x13 dish. Don't forget the cream cheese frosting!

Garnish with toasted coconut, pineapple chunks or chopped nuts for the perfect final touch.

Casey
Updated on Tue, 07 Oct 2025 17:01:31 GMT
A slice of cake with white frosting and orange slices on top. Pin it
A slice of cake with white frosting and orange slices on top. | cookingwithcasey.com

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.
A cake with white icing and orange slices on top. Pin it
A cake with white icing and orange slices on top. | cookingwithcasey.com

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.

Tropical Carrot Pineapple Cake

Enjoy a slice of paradise with this moist carrot and pineapple cake. Easy to bake and bursting with tropical flavors.

Prep Time
20 Minutes
Cook Time
45 Minutes
Total Time
65 Minutes
By: Casey


Difficulty: Intermediate

Cuisine: Tropical

Yield: 12 Servings (1 cake)

Dietary: Vegetarian

Ingredients

→ Cake Components

01 300g all-purpose flour
02 10g baking powder
03 5g baking soda
04 5g ground cinnamon
05 2.5g ground nutmeg
06 2.5g salt
07 200g granulated sugar
08 100g packed brown sugar
09 240ml vegetable oil
10 4 large eggs
11 250g grated carrots
12 200g crushed pineapple, well-drained
13 50g shredded coconut (optional)

→ Cream Cheese Frosting

14 225g cream cheese, softened
15 115g unsalted butter, softened
16 360-480g powdered sugar
17 5ml vanilla extract
18 15-30ml milk or pineapple juice (for consistency)

Instructions

Step 01

Preheat oven to 175°C. Grease and flour two 23cm (9-inch) round cake pans or a 23x33cm (9x13-inch) baking dish. Line the bases with parchment paper for effortless release.

Step 02

In a spacious mixing bowl, thoroughly whisk together the all-purpose flour, baking powder, baking soda, ground cinnamon, ground nutmeg, and salt until uniformly blended.

Step 03

In a separate large bowl, combine the granulated sugar, brown sugar, and vegetable oil; whisk vigorously until the mixture is smooth. Incorporate the large eggs one at a time, ensuring each egg is fully integrated into the batter before adding the next.

Step 04

Gradually introduce the prepared dry ingredient mixture into the wet ingredients, stirring gently with a spatula until just combined. Exercise caution to avoid overmixing, which can affect the cake's texture.

Step 05

Using a rubber spatula, carefully fold in the grated carrots, well-drained crushed pineapple, and the optional shredded coconut, distributing them evenly throughout the batter.

Step 06

Divide the prepared batter evenly between your chosen cake pans and smooth the surfaces. Bake for 30–35 minutes for round pans or 40–45 minutes for the 9x13-inch baking dish, or until a wooden skewer inserted into the center emerges clean.

Step 07

Allow the baked cakes to cool within their pans for 10–15 minutes before carefully inverting them onto a wire rack to cool completely. Ensure the cakes are entirely cool before proceeding to frost.

Step 08

For the frosting, beat the softened cream cheese and butter together in a bowl using an electric mixer until the mixture is smooth and aerated. Gradually add the powdered sugar, approximately 120g (1 cup) at a time, until the desired sweetness and consistency are achieved. Incorporate the vanilla extract and then add milk or pineapple juice incrementally until the frosting reaches a smooth, spreadable consistency.

Step 09

Once the cake layers are thoroughly cooled, generously spread the prepared cream cheese frosting over the top surface and sides (if assembling a layered cake). Optionally, garnish with toasted coconut, fresh pineapple pieces, or finely chopped nuts for added visual appeal and flavor.

Notes

  1. Utilize fresh carrots for optimal texture and moisture within the cake.
  2. Prevent overmixing the batter; this critical step helps maintain a light and fluffy cake crumb.
  3. Ensure the crushed pineapple is thoroughly drained to preclude the cake from becoming overly moist or soggy.
  4. Toasting the shredded coconut prior to mixing enhances its flavor profile; alternatively, it can be omitted for a smoother cake texture.
  5. Briefly chill the cooled cake layers before frosting for easier handling and a more refined finish.
  6. For variations, consider incorporating 60g of chopped macadamia nuts or walnuts to create a Hawaiian Nut Cake. Add ground ginger or cloves for a deeper, more complex spice profile. A 1:1 gluten-free flour blend can be successfully substituted for a gluten-free adaptation. For a vegan rendition, replace eggs with flax eggs and utilize plant-based cream cheese and milk alternatives.
  7. Store the frosted cake in the refrigerator for up to 4 days to maintain freshness. Unfrosted cake layers can be frozen for up to 2 months. Baking layers a day in advance allows for easier assembly and frosting just before serving.

Tools You'll Need

  • Oven
  • Two 23cm (9-inch) round cake pans or one 23x33cm (9x13-inch) baking dish
  • Parchment paper
  • Large mixing bowls (2)
  • Whisk
  • Electric mixer (stand or hand-held)
  • Rubber spatula
  • Wire cooling rack

Allergy Information

Please check ingredients for potential allergens and consult a health professional if in doubt.
  • Wheat (Gluten)
  • Eggs
  • Dairy (Milk, Cream Cheese, Butter)
  • Coconut

Nutrition Facts (Per Serving)

It is important to consider this information as approximate and not to use it as definitive health advice.
  • Calories: 450
  • Total Fat: 24 g
  • Total Carbohydrate: 55 g
  • Protein: 5 g