The combination of pineapple, carrot, and coconut creates a moist and flavorful cake.
Naturally sweet and packed with texture.
Perfect for celebrations, holidays, or afternoon dessert.
Easy to make with simple ingredients.
The tropical flavors make it unique and refreshing.
Pairs wonderfully with cream cheese frosting.
Ingredients
(Tip: You’ll find the full list of ingredients and measurements in the recipe card below.)
all-purpose flour baking powder baking soda salt ground cinnamon granulated sugar brown sugar eggs vegetable oil vanilla extract crushed pineapple, drained grated carrots shredded coconut chopped walnuts or pecans (optional)
For the frosting cream cheese unsalted butter powdered sugar vanilla extract shredded coconut for topping (optional)
Directions
Preheat your oven to 350°F (175°C) and grease and line two round cake pans with parchment paper.
In a large bowl, whisk together the flour, baking powder, baking soda, salt, and ground cinnamon.
In another bowl, beat the eggs with granulated sugar and brown sugar until well combined.
Add the vegetable oil and vanilla extract, mixing until smooth.
Stir in the crushed pineapple, grated carrots, and shredded coconut.
Gradually fold the dry ingredients into the wet mixture until just combined.
If desired, fold in chopped walnuts or pecans.
Divide the batter evenly between the prepared cake pans.
Bake for about 30–35 minutes, or until a toothpick inserted into the center comes out clean.
Allow the cakes to cool completely before frosting.
To prepare the frosting, beat the cream cheese and butter until smooth and creamy.
Gradually add powdered sugar and vanilla extract, beating until fluffy.
Spread the frosting between the cake layers and over the top and sides.
Sprinkle shredded coconut over the top if desired.
Servings and timing
Servings: about 10–12 slices
Preparation time: 20 minutes Cooking time: 30–35 minutes Cooling and assembly time: 40 minutes Total time: about 1 hour 35 minutes
Variations
Tropical pineapple coconut cake Add diced pineapple pieces and extra coconut for stronger tropical flavor.
Carrot pineapple sheet cake Bake the batter in a 9×13-inch pan for a simpler sheet cake version.
Nut-free version Omit walnuts or pecans if you prefer a smoother texture.
Spiced version Add nutmeg and ginger for a warm spice flavor.
Cream topping version Use whipped cream frosting instead of cream cheese frosting for a lighter finish.
Storage/Reheating
Store the cake in an airtight container in the refrigerator for up to 4 days.
Before serving, allow the cake to sit at room temperature for about 15–20 minutes for the best texture.
The cake can also be frozen for up to 2 months. Wrap slices tightly and store in a freezer-safe container. Thaw overnight in the refrigerator before serving.
FAQs
Why is this cake so moist?
The pineapple, carrots, and oil all contribute moisture, creating a soft and tender crumb.
Can I use fresh pineapple instead of canned?
Yes, finely chopped fresh pineapple can be used if excess juice is drained.
Do I have to add coconut?
No, the coconut is optional but adds texture and flavor.
Can I make this cake as cupcakes?
Yes, bake the batter in cupcake liners for about 18–22 minutes.
What nuts work best in this cake?
Walnuts or pecans are commonly used.
Can I make the cake ahead of time?
Yes, the cake layers can be baked a day ahead and stored before frosting.
Can I make this cake dairy-free?
Yes, use dairy-free cream cheese and butter alternatives for the frosting.
Why should the cake cool before frosting?
Frosting a warm cake can cause the frosting to melt.
Can I add raisins?
Yes, raisins can be added for extra sweetness and texture.
What frosting pairs best with this cake?
Cream cheese frosting is the most popular pairing for carrot-based cakes.
Conclusion
Pineapple Carrot Coconut Cake is a deliciously moist dessert filled with tropical flavors and comforting spices. With its tender crumb, sweet fruit notes, and creamy frosting, it makes a wonderful treat for celebrations or everyday indulgence. Easy to prepare and packed with flavor, this cake is sure to become a favorite for anyone who enjoys rich, homemade desserts.
Pineapple Carrot Coconut Cake is a moist and flavorful dessert combining sweet pineapple, freshly grated carrots, and shredded coconut in a soft, tender cake. This pineapple carrot coconut cake recipe is topped with creamy cream cheese frosting, creating a rich tropical-inspired dessert perfect for celebrations, holidays, or everyday treats.
Ingredients
For the Cake
2 cups all-purpose flour
1 teaspoon baking powder
1 teaspoon baking soda
½ teaspoon salt
1 teaspoon ground cinnamon
¾ cup granulated sugar
½ cup brown sugar
3 large eggs
¾ cup vegetable oil
1 teaspoon vanilla extract
1 cup crushed pineapple, drained
1 ½ cups grated carrots
1 cup shredded coconut
½ cup chopped walnuts or pecans (optional)
For the Frosting
8 oz cream cheese, softened
¼ cup unsalted butter, softened
2 ½ cups powdered sugar
1 teaspoon vanilla extract
¼ cup shredded coconut (optional topping)
Instructions
Preheat your oven to 350°F (175°C) and grease two 8-inch round cake pans, lining them with parchment paper.
In a large bowl, whisk together flour, baking powder, baking soda, salt, and cinnamon.
In another bowl, beat the eggs with granulated sugar and brown sugar until smooth.
Add vegetable oil and vanilla extract, mixing until fully combined.
Stir in the crushed pineapple, grated carrots, and shredded coconut.
Gradually fold the dry ingredients into the wet mixture until just combined.
If using, fold in chopped walnuts or pecans.
Divide the batter evenly between the prepared cake pans.
Bake for 30–35 minutes, or until a toothpick inserted in the center comes out clean.
Allow the cakes to cool completely before frosting.
For the frosting, beat cream cheese and butter together until smooth and creamy.
Gradually add powdered sugar and vanilla extract, beating until light and fluffy.
Spread frosting between the cake layers and over the top and sides of the cake.
Sprinkle shredded coconut on top if desired before serving
Notes
Drain the pineapple well to prevent the cake from becoming too wet.Freshly grated carrots provide the best texture and flavor.Let the cake cool completely before frosting to prevent melting.This cake tastes even better the next day as the flavors blend together.