Hawaiian Carrot Pineapple Cake Recipe

Hawaiian Carrot Pineapple Cake Recipe: Moist, Spiced, and Topped with Cream Cheese Frosting

Some cakes announce themselves the second they come out of the oven. This one does it with a warm cloud of cinnamon, caramelized pineapple, and toasted coconut that drifts through the house and pulls people into the kitchen before the pan has even cooled. This Hawaiian carrot pineapple cake recipe started as a mistake. I ran out of raisins one Sunday and had a can of crushed pineapple sitting in the pantry, so I tossed it in. The crumb came out tender and almost custardy, with a gentle tropical sweetness that regular carrot cake never quite had. I haven’t gone back to the old version since.

Why You’ll Love This

  • The crushed pineapple keeps the crumb moist for days, so you never have to worry about a dry slice.
  • Everything mixes in one bowl with a whisk and a spatula, no stand mixer needed.
  • The cream cheese frosting is tangy and silky, and it balances the sweetness of the cake.
  • It feeds a crowd, travels well, and tastes even better the next day.
  • Toasted coconut and walnuts add crunch against the soft, spiced cake.

The Backstory

My brother-in-law Marcus has spent fifteen years telling everyone he hates carrot cake. He calls it “a salad pretending to be dessert.” Last spring he showed up at a family barbecue, and I set a slice of this cake in front of him without saying what it was. He took a bite, paused, and asked if it was a pineapple upside-down cake. When I told him it was full of carrots, he looked at his plate, then at me, and quietly asked for another piece. He took the rest of the cake home in a foil-covered pan. Now he texts me every March to ask if it’s cake season yet.

What Makes It Special

  • Crushed pineapple: Adds natural sweetness, bright acidity, and a juicy texture that keeps the crumb moist.
  • Freshly grated carrots: Give the cake a golden-orange color, subtle earthiness, and soft strands of sweetness. Grate them yourself for the best texture.
  • Shredded coconut: Brings a nutty, tropical chew and toasts to a deep golden brown on top.
  • Cinnamon and nutmeg: Provide warm, cozy spice that grounds the fruit.
  • Vegetable oil: Makes the cake more tender and moist than butter would.
  • Cream cheese: Creates a tangy, velvety frosting that cuts through the richness.
  • Chopped walnuts: Add a buttery crunch and a slight bitterness that rounds out the sweetness.

Making It Happen

Start by heating the oven to 350°F and greasing two 9-inch round pans, then lining the bottoms with parchment. Whisk the flour, baking soda, baking powder, salt, cinnamon, and nutmeg together in a medium bowl and set it aside.

In a large bowl, whisk the eggs with the sugars until the mixture looks pale and slightly thickened, about two minutes. Stream in the oil and vanilla, whisking until glossy. Add the dry ingredients in two batches, folding gently until just a few streaks of flour remain. Then fold in the grated carrots, undrained crushed pineapple, coconut, and walnuts. The batter will look thick and chunky, and that’s exactly right.

Divide the batter evenly between the pans and bake for 30 to 35 minutes, until the tops spring back lightly and a toothpick comes out with a few moist crumbs. Let the layers cool in their pans for ten minutes, then turn them out onto a rack and cool completely.

For the frosting, beat the softened cream cheese and butter until smooth and fluffy. Sift in the powdered sugar a little at a time, add the vanilla and a pinch of salt, and beat until silky. Spread a layer of frosting over the first cake, set the second on top, and cover the top and sides. Press toasted coconut around the edges or scatter it over the top.

You Must Know

  • Squeeze out only a little of the pineapple juice. Too much liquid makes the cake gummy, and too little makes it dry. Draining about a tablespoon is plenty.
  • Use cream cheese and butter that are truly at room temperature, or the frosting will turn out lumpy.
  • Cool the cake completely before frosting. Warm layers melt the frosting and slide around.
  • Use the fine side of a box grater for the carrots. Thick shreds leave the cake stringy and uneven.
  • Check for doneness at 30 minutes. Ovens vary, and an overbaked cake loses the moistness that makes this recipe work.

Serving Ideas & Pairings

This cake works as a centerpiece for brunch, holiday dinners, and summer cookouts. Serve it with a cup of strong black coffee or a lightly sweetened iced tea. For something more tropical, try it with a cold glass of passion fruit juice or a splash of coconut water. A spoonful of fresh mango or a few thin slices of grilled pineapple on the side brings extra brightness. If you’re serving it after a heavier meal, cut the slices thin and let people come back for seconds.

Make It Different

  • Gluten-free: Swap the all-purpose flour for a 1-to-1 gluten-free baking blend. Add a teaspoon of xanthan gum if your blend doesn’t include it.
  • Nut-free: Leave out the walnuts and use toasted sunflower seeds or extra coconut.
  • Dairy-free: Use a plant-based cream cheese and vegan butter for the frosting, which works well.
  • Less sweet: Reduce the granulated sugar by a quarter cup. The pineapple still carries plenty of sweetness.
  • Extra tropical: Replace half the vanilla with a teaspoon of rum extract, or fold in chopped macadamia nuts instead of walnuts.
  • Sheet cake: Bake the batter in a 9×13-inch pan for 40 to 45 minutes and frost directly in the pan for easy transport.
  • Cupcakes: Fill liners two-thirds full and bake for 18 to 22 minutes.

Storage & Reheating

Store the frosted cake in an airtight container in the refrigerator for up to five days. Cream cheese frosting needs to stay cold, so don’t leave it out for more than two hours. For the best flavor and texture, take slices out of the fridge about 20 minutes before serving. Cold cake can taste muted and dense.

To freeze, wrap unfrosted layers tightly in plastic and then foil. They keep for up to three months. Thaw overnight in the refrigerator before frosting. You can also freeze individual frosted slices on a tray until firm, then wrap them. If you want a warm slice, microwave it for 8 to 10 seconds. Any longer and the frosting turns runny.

Success Tips

Toast the coconut in a dry skillet over medium heat, stirring constantly, until it smells nutty and turns light gold. It burns fast, so stay close. Toasting the walnuts as well deepens their flavor and keeps them crisp inside the soft crumb.

Measure the flour by spooning it into your cup and leveling it off. Scooping straight from the bag packs in extra flour and makes the cake heavy. If you have a kitchen scale, 300 grams is the target.

Let the finished cake rest in the fridge for an hour before slicing. The frosting firms up, and the cuts come out clean and neat. For a smoother finish, apply a thin crumb coat first, chill it for 15 minutes, then add the final layer of frosting.

Frequently Asked Questions (FAQ)

Can I use fresh pineapple instead of canned?
Yes, but chop it very finely and pat it with a paper towel to remove excess juice. Fresh pineapple contains an enzyme that can affect texture, so canned crushed pineapple is the more reliable choice.

Why did my cake sink in the middle?
Usually the oven door was opened too early, or the batter had too much liquid. Keep the door closed for the first 25 minutes and drain a little of the pineapple juice.

Can I make this cake ahead of time?
Absolutely. Bake and cool the layers a day ahead, wrap them well, and frost the day you serve. The flavors actually deepen overnight.

Do I have to use oil instead of butter?
Oil gives the moistest result, and it keeps the cake soft even when cold. Butter will produce a drier, denser crumb, so I don’t recommend swapping it.

Can I leave out the nuts and coconut?
Yes. The cake will still be moist and flavorful, though a bit less textured. Replace them with extra grated carrot or a handful of golden raisins if you like.

Prep time: 25 minutes
Cook time: 35 minutes
Total time: 1 hour 30 minutes (including cooling)
Servings: 12
Category: Dessert
Difficulty: Easy
Cuisine: American with Hawaiian influence
Yield: One 9-inch two-layer cake
Equipment: Two 9-inch round cake pans, parchment paper, large mixing bowl, whisk, rubber spatula, box grater, wire cooling rack, electric hand mixer, small skillet

Ingredients

For the cake:

  • 2 cups (250 g) all-purpose flour
  • 2 teaspoons baking soda
  • 1 teaspoon baking powder
  • 1/2 teaspoon salt
  • 2 teaspoons ground cinnamon
  • 1/2 teaspoon ground nutmeg
  • 4 large eggs, room temperature
  • 1 cup (200 g) granulated sugar
  • 1/2 cup (100 g) packed light brown sugar
  • 3/4 cup (180 ml) vegetable oil
  • 2 teaspoons vanilla extract
  • 2 cups (220 g) finely grated carrots
  • 1 can (8 oz / 227 g) crushed pineapple, lightly drained
  • 1 cup (85 g) sweetened shredded coconut
  • 1/2 cup (60 g) chopped walnuts

For the cream cheese frosting:

  • 16 oz (450 g) cream cheese, softened
  • 1/2 cup (115 g) unsalted butter, softened
  • 3 1/2 cups (420 g) powdered sugar, sifted
  • 2 teaspoons vanilla extract
  • Pinch of salt

For the topping:

  • 1/2 cup toasted shredded coconut
  • Extra chopped walnuts (optional)

Directions

Step 1: Preheat the oven to 350°F (175°C). Grease two 9-inch round cake pans and line the bottoms with parchment paper.

Step 2: In a medium bowl, whisk together the flour, baking soda, baking powder, salt, cinnamon, and nutmeg. Set aside.

Step 3: In a large bowl, whisk the eggs, granulated sugar, and brown sugar for about two minutes until pale and slightly thickened.

Step 4: Whisk in the oil and vanilla until the mixture is glossy and smooth.

Step 5: Add the dry ingredients in two batches, folding gently until just combined.

Step 6: Fold in the carrots, pineapple, coconut, and walnuts until evenly distributed.

Step 7: Divide the batter between the prepared pans and smooth the tops.

Step 8: Bake for 30 to 35 minutes, until a toothpick inserted in the center comes out with a few moist crumbs.

Step 9: Cool in the pans for 10 minutes, then turn out onto a wire rack and cool completely.

Step 10: Beat the cream cheese and butter together until smooth and fluffy, about 2 minutes. Gradually add the powdered sugar, vanilla, and salt, beating until silky.

Step 11: Place one cake layer on a serving plate and spread with about a third of the frosting. Top with the second layer and frost the top and sides.

Step 12: Press toasted coconut onto the sides or scatter it over the top. Chill for one hour before slicing.

Notes

  • Drain only about one tablespoon of juice from the pineapple. Keeping some moisture is what makes the cake tender.
  • Toast the coconut in a dry skillet over medium heat for 3 to 4 minutes, stirring often.
  • The cake keeps in the refrigerator for up to 5 days and in the freezer (unfrosted) for up to 3 months.
  • For a 9×13-inch sheet cake, bake for 40 to 45 minutes.

Nutrition

Per slice (1 of 12 servings), approximate values:

  • Calories: 560
  • Total fat: 32 g
  • Saturated fat: 12 g
  • Carbohydrates: 65 g
  • Sugar: 48 g
  • Fiber: 2 g
  • Protein: 6 g
  • Sodium: 380 mg

Nutrition values are estimates and will vary based on the specific ingredients and brands used.