Hawaiian Carrot Pineapple Cake Recipe: Moist & Easy
In this article
This Hawaiian carrot pineapple cake is a tropical twist on the classic, with crushed pineapple and shredded coconut folded into a spiced, tender crumb. The pineapple keeps it exceptionally moist, while the cream cheese frosting adds a tangy balance. It's an easy, one-bowl cake that works for birthdays, potlucks, or just because.
Ingredients
- 2 cups (250 g) all-purpose flour
- 2 teaspoons baking powder
- 1 teaspoon baking soda
- 1 teaspoon ground cinnamon
- 1/2 teaspoon ground nutmeg
- 1/2 teaspoon salt
- 1 cup (200 g) granulated sugar
- 1/2 cup (100 g) packed brown sugar
- 3 large eggs, at room temperature
- 1 cup (240 ml) vegetable oil (or melted coconut oil)
- 2 teaspoons vanilla extract
- 2 cups (about 250 g) finely grated carrots (from about 3 medium carrots)
- 1 cup (225 g) crushed pineapple, well drained (reserve 2 tablespoons of juice)
- 1/2 cup (40 g) sweetened shredded coconut
- For the frosting: 8 oz (226 g) cream cheese, softened
- 1/2 cup (113 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar, sifted
- 1 teaspoon vanilla extract
- Pinch of salt
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line them with parchment paper.
- In a medium bowl, whisk together the flour, baking powder, baking soda, cinnamon, nutmeg, and salt. Set aside.
- In a large bowl, whisk the granulated sugar, brown sugar, eggs, oil, vanilla, and the reserved 2 tablespoons of pineapple juice until smooth and well combined.
- Add the dry ingredients to the wet mixture and stir with a spatula until just combined—do not overmix.
- Fold in the grated carrots, drained pineapple, and shredded coconut until evenly distributed.
- Divide the batter evenly between the prepared pans. Bake for 28–35 minutes, or until a toothpick inserted in the center comes out clean (the top should spring back when lightly pressed).
- Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely before frosting.
- For the frosting: In a large bowl, beat the cream cheese and butter together until smooth and creamy. Gradually add the powdered sugar, beating on low speed until incorporated. Add the vanilla and salt, then beat on medium-high for 1–2 minutes until fluffy.
- Once the cakes are completely cool, place one layer on a serving plate, spread a generous amount of frosting on top, then place the second layer on top. Frost the top and sides of the cake with the remaining frosting.
- Refrigerate for at least 30 minutes before slicing to help the frosting set.
Tips
- Drain the pineapple well: Squeeze out as much juice as possible (reserve a couple tablespoons for the batter). Too much liquid makes the cake dense and soggy.
- Grate your own carrots: Pre-shredded carrots are often dry and coarse; freshly grated carrots give better moisture and texture.
- Don't overmix the batter: Stir just until the flour disappears. Overmixing develops gluten, which makes the cake tough.
- Room temperature ingredients: Eggs and cream cheese blend more smoothly and create a better crumb when they're not cold.
Serving Suggestions
Serve this cake chilled or at room temperature. It pairs beautifully with a cup of coffee or tea. For a tropical touch, garnish with toasted coconut flakes or a few chopped macadamia nuts. It's also delicious with a scoop of vanilla ice cream or a dollop of whipped cream.
Variations
- Add nuts: Fold in 1/2 cup of chopped walnuts or pecans with the carrots.
- Spice it up: Add 1/2 teaspoon of ground ginger or allspice to the dry ingredients.
- Make it a sheet cake: Bake in a 9x13-inch pan for 35–40 minutes; no need to layer.
- Skip the frosting: Dust with powdered sugar for a lighter option.
- Use coconut oil: Substitute the vegetable oil with melted coconut oil for a more pronounced tropical flavor.
Storage and Reheating
Store the frosted cake in an airtight container in the refrigerator for up to 5 days. Let it sit at room temperature for 15–20 minutes before serving to soften the frosting. Unfrosted cake layers can be wrapped tightly in plastic wrap and frozen for up to 3 months; thaw overnight in the fridge before frosting. To reheat individual slices, microwave for 10–15 seconds (without frosting) or warm in a 300°F oven for 5 minutes.
Frequently Asked Questions
Can I use fresh pineapple instead of canned?
Yes, but you'll need about 1 cup of finely chopped fresh pineapple. Drain it well in a sieve, pressing out excess juice, and reduce the sugar by 2 tablespoons since fresh pineapple is less sweet than canned in syrup.
Why is my cake dense or soggy?
This usually happens when the pineapple isn't drained well enough, or the batter is overmixed. Make sure to squeeze out most of the juice, and stir only until the flour disappears.
Can I make this cake gluten-free?
Yes, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend that contains xanthan gum. The texture will be slightly more delicate, but it works well.
Do I need to refrigerate the cake?
Yes, because the cream cheese frosting is perishable. Keep it refrigerated and take it out 15–20 minutes before serving for best flavor.
Can I use a different frosting?
Absolutely. A simple vanilla buttercream, a cream cheese glaze, or even a whipped coconut cream frosting would all work well with this cake.
How do I know when the cake is done?
Insert a toothpick into the center—it should come out clean or with a few moist crumbs, not wet batter. The edges will also pull away slightly from the pan.