Moist Carrot Pineapple Cake with Coconut – Classic Cream Cheese Frosting

Posted on

Baking

There’s something magical about a cake that feels like sunshine on a plate. Hawaiian Carrot Pineapple Cake is the kind of dessert that instantly transports you to a warm island afternoon, where tropical flavors mingle with comforting home-baked goodness. It’s perfect for spring gatherings, summer celebrations, birthdays, or even as a bright centerpiece for a weekend family dinner. This recipe was inspired by the classic carrot cake many of us grew up loving—but with a tropical twist. The addition of sweet crushed pineapple adds incredible moisture and natural sweetness, while warm spices and freshly grated carrots create depth and richness. Finished with a luscious cream cheese frosting, this cake becomes an unforgettable dessert that’s both nostalgic and refreshingly different.

Why You’ll Love This Hawaiian Carrot Pineapple Cake

This isn’t just another carrot cake. It’s:
  • Incredibly moist thanks to crushed pineapple and freshly grated carrots
  • Packed with warm spices for cozy flavor
  • Perfectly balanced between sweet and tangy
  • Ideal for holidays, potlucks, birthdays, and special gatherings
  • Easy to make with simple pantry ingredients
The pineapple doesn’t overpower the cake—it enhances it. The result is a tender crumb with subtle tropical notes that pair beautifully with the creamy frosting.

What Makes This Cake So Moist?

The secret lies in two powerhouse ingredients:
  1. Freshly grated carrots (2 cups / about 250 g) Carrots release natural moisture while baking, creating a soft, tender crumb.
  2. Crushed pineapple (1 cup / 240 g, undrained) The juice blends into the batter, ensuring the cake stays moist for days.
Unlike dry carrot cakes that need heavy frosting to compensate, this one stays soft and flavorful on its own.

Ingredients for Hawaiian Carrot Pineapple Cake

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
  • 1 cup (200 g) granulated sugar
  • 1/2 cup (100 g) brown sugar
  • 1 cup (240 ml) vegetable oil
  • 3 large eggs, room temperature
  • 1 teaspoon vanilla extract
  • 2 cups (250 g) freshly grated carrots
  • 1 cup (240 g) crushed pineapple, undrained
  • 1/2 cup (60 g) chopped walnuts or pecans (optional)
  • 1/2 cup (40 g) shredded coconut (optional but recommended)

For the Cream Cheese Frosting

  • 8 oz (225 g) cream cheese, softened
  • 1/2 cup (115 g) unsalted butter, softened
  • 3 cups (360 g) powdered sugar
  • 1 teaspoon vanilla extract
  • 1–2 tablespoons (15–30 ml) milk, if needed for consistency

Step-by-Step Instructions

1. Prepare the Oven and Pans

Preheat your oven to 350°F (175°C). Grease and line two 9-inch (23 cm) round cake pans with parchment paper.

2. Mix Dry Ingredients

In a medium bowl, whisk together flour, baking soda, baking powder, salt, cinnamon, and nutmeg.

3. Combine Wet Ingredients

In a large bowl, whisk together granulated sugar, brown sugar, and vegetable oil until smooth. Add eggs one at a time, mixing well after each addition. Stir in vanilla extract.

4. Add Carrots and Pineapple

Fold in grated carrots and crushed pineapple (with juice). If using nuts and coconut, fold them in at this stage.

5. Combine and Bake

Gradually add the dry ingredients to the wet mixture, stirring just until combined. Divide batter evenly between prepared pans. Bake for 30–35 minutes, or until a toothpick inserted in the center comes out clean.

6. Cool Completely

Allow cakes to cool in pans for 10 minutes, then transfer to wire racks to cool completely before frosting.

Making the Perfect Cream Cheese Frosting

Beat softened cream cheese and butter together until smooth and fluffy (about 2–3 minutes). Gradually add powdered sugar, mixing on low speed. Add vanilla extract and beat until creamy. If needed, add 1–2 tablespoons milk to reach a spreadable consistency. Spread frosting over the first cake layer, place the second layer on top, and frost the top and sides evenly. For a tropical finish, garnish with:
  • Lightly toasted coconut
  • Chopped nuts
  • Thin pineapple pieces
  • A sprinkle of cinnamon

Tips for the Best Tropical Carrot Cake

  • Use freshly grated carrots—not pre-shredded. They contain more moisture.
  • Do not drain the pineapple. The juice is essential.
  • Don’t overmix the batter to keep the cake tender.
  • Let the cake cool fully before frosting to prevent melting.
  • Refrigerate for at least 30 minutes before slicing for cleaner cuts.

Serving Suggestions

This cake pairs beautifully with:
  • Fresh tropical fruit
  • A scoop of vanilla ice cream
  • A hot cup of coffee or tea
It’s excellent served chilled or at room temperature. The flavor actually deepens after a day in the refrigerator.

Frequently Asked Questions

1. Can I Make Hawaiian Carrot Pineapple Cake Ahead of Time?

Absolutely. In fact, this cake often tastes even better the next day. The pineapple and spices continue to blend, enhancing the overall flavor. You can bake the cake layers up to two days in advance. Wrap them tightly in plastic wrap and store at room temperature if unfrosted, or refrigerate if already frosted. If you want to prepare it further in advance, you can freeze the unfrosted layers for up to two months. Wrap each layer in plastic wrap and then in foil to prevent freezer burn. When ready to use, thaw overnight in the refrigerator and bring to room temperature before frosting. The cream cheese frosting can also be made ahead and stored in the refrigerator for up to three days. Just let it soften slightly and rewhip before using.

2. Can I Turn This into Cupcakes Instead?

Yes, this recipe works wonderfully as cupcakes. Simply line a muffin tin with paper liners and fill each about two-thirds full. Bake at 350°F (175°C) for 18–22 minutes, or until a toothpick inserted into the center comes out clean. This recipe makes approximately 20–24 cupcakes. The tropical flavors shine beautifully in individual portions, making them ideal for parties and bake sales. Be sure to allow cupcakes to cool completely before piping frosting on top. You can also sprinkle them with toasted coconut for extra texture.

3. How Should I Store Hawaiian Carrot Pineapple Cake?

Because of the cream cheese frosting, the cake should be stored in the refrigerator. Cover it loosely with plastic wrap or keep it in an airtight cake container. It will stay fresh for up to 5 days. The moisture from the pineapple helps prevent it from drying out, even after refrigeration. Before serving, allow slices to sit at room temperature for about 20–30 minutes. This softens the frosting slightly and enhances the flavor and texture.

4. Can I Make This Cake Without Nuts or Coconut?

Definitely. The walnuts, pecans, and coconut are completely optional. If you prefer a smoother texture or have allergy concerns, simply omit them. You can also customize the cake by adding:
  • 1/2 cup (75 g) raisins
  • 1/2 teaspoon ground ginger for extra spice
  • A pinch of cloves for deeper warmth
The base recipe is versatile and forgiving, making it easy to adapt to your personal taste.

Final Thoughts

Hawaiian Carrot Pineapple Cake is more than just a dessert—it’s a celebration of flavor and texture. The balance of sweet pineapple, earthy carrots, warm spices, and tangy cream cheese frosting creates a cake that feels both comforting and exotic at the same time. What makes this recipe truly special is its versatility. It can be dressed up as a beautiful layer cake for special occasions or baked as simple cupcakes for casual gatherings. It’s equally suited for holiday tables, birthday parties, and weekend treats. The moist crumb ensures every bite is soft and tender, while the cream cheese frosting adds the perfect finishing touch. Unlike overly sweet cakes, this one strikes a delightful balance that keeps you coming back for another slice. If you’re looking for a cake that stands out from traditional carrot cake while still offering that beloved classic flavor, this tropical version is the perfect choice. Once you try it, it may just become your new go-to dessert for celebrations and beyond. Now let’s wrap everything up with a quick-reference recipe card. Print

Moist Carrot Pineapple Cake with Coconut – Classic Cream Cheese Frosting

A soft and moist tropical carrot cake blended with sweet crushed pineapple and cozy warm spices, then topped with luscious cream cheese frosting. It’s the perfect sunny dessert for celebrations, holidays, or anytime you’re craving a bright and flavorful treat.

  • Author: Clara

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
1 cup (200 g) granulated sugar
1/2 cup (100 g) brown sugar
1 cup (240 ml) vegetable oil
3 large eggs
1 teaspoon vanilla extract
2 cups (250 g) freshly grated carrots
1 cup (240 g) crushed pineapple, undrained
1/2 cup (60 g) chopped walnuts or pecans (optional)
1/2 cup (40 g) shredded coconut (optional)

For the Cream Cheese Frosting:
8 oz (225 g) cream cheese, softened
1/2 cup (115 g) unsalted butter, softened
3 cups (360 g) powdered sugar
1 teaspoon vanilla extract
1–2 tablespoons (15–30 ml) milk, if needed

Instructions

  • Preheat oven to 350°F (175°C). Grease and line two 9-inch (23 cm) cake pans.

  • In a bowl, whisk flour, baking soda, baking powder, salt, cinnamon, and nutmeg.

  • In a large bowl, mix granulated sugar, brown sugar, and oil. Add eggs one at a time, then vanilla.

  • Fold in grated carrots and crushed pineapple. Stir in nuts and coconut if using.

  • Gradually mix dry ingredients into wet mixture until just combined.

  • Divide batter between pans and bake 30–35 minutes. Cool completely.

  • Beat cream cheese and butter until smooth. Add powdered sugar gradually, then vanilla. Add milk if needed.

  • Frost cooled cake layers and decorate as desired.

Notes

Store cake in the refrigerator for up to 5 days. For best flavor, allow slices to come to room temperature before serving. Cake layers can be frozen unfrosted for up to 2 months.

Did you make this recipe?

Share a photo and tag us — we can't wait to see what you've made!

You might also like these recipes

Leave a Comment

Recipe rating