Ingredients
For the Cake:
- 2 cups (250 g) all-purpose flour
- 1 1/2 teaspoons baking powder
- 1 teaspoon baking soda
- 1 teaspoon ground cinnamon
- 1/2 teaspoon ground nutmeg
- 1/2 teaspoon salt
- 1/2 cup (120 ml) vegetable oil
- 1/2 cup (120 ml) applesauce (unsweetened preferred; adds moisture)
- 1 cup (200 g) granulated sugar
- 1/2 cup (100 g) brown sugar, packed
- 3 large eggs
- 1 teaspoon vanilla extract
- 2 cups (200 g) grated carrots
- 1 cup (240 g) crushed pineapple, drained
- 1/2 cup (50 g) shredded sweetened coconut
- 1/2 cup (60 g) chopped walnuts or pecans (optional)
Alternatives:
- You can use melted butter in place of vegetable oil for a richer flavor.
- Unsweetened shredded coconut works if you prefer less sweetness.
- If you have food allergies or preferences, nuts can be omitted or replaced with sunflower seeds for texture.
For the Cream Cheese Frosting:
- 1 package (225 g / 8 oz) cream cheese, softened
- 1/2 cup (115 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar, sifted
- 1 teaspoon vanilla extract
- 1–2 tablespoons milk (optional, for thinning the frosting)
Instructions
Step 1: Prepare the Cake Batter
Start by preheating your oven to 350°F (175°C). Grease and lightly flour a 9×13-inch (23×33 cm) baking pan or two 8-inch round pans if you want a layer cake.
In a medium-sized bowl, whisk together the flour, baking powder, baking soda, cinnamon, nutmeg, and salt. Mixing dry ingredients first ensures even distribution, especially with spices and leavening agents.
In a separate, larger mixing bowl, beat together the vegetable oil, applesauce, granulated sugar, and brown sugar until the mixture is smooth. You can use a handheld electric mixer or whisk vigorously by hand.
Add the eggs one at a time, mixing well after each addition. This helps the batter stay smooth and emulsified. Stir in the vanilla extract.
Gradually add the dry ingredients into the wet mixture. Use a spatula or mixer on low speed to combine just until there are no visible flour streaks. Overmixing can lead to a dense cake.
Gently fold in the grated carrots, crushed pineapple, shredded coconut, and nuts (if using). Stir until evenly distributed. The batter will be thick but moist.
Step 2: Bake the Cake
Pour the batter into your prepared pan(s), smoothing the top with a spatula. Place the pan(s) in the center of the oven and bake:
-
40–45 minutes for a 9×13-inch pan
-
30–35 minutes for round cake pans
To test for doneness, insert a toothpick or skewer into the center of the cake. If it comes out clean or with a few crumbs (but no wet batter), the cake is done.
Let the cake cool in the pan for about 10 minutes. Then transfer it to a wire rack to cool completely before frosting. Trying to frost a warm cake can cause the frosting to melt or slide.
Step 3: Make the Cream Cheese Frosting
In a large bowl, beat the softened cream cheese and butter together until the mixture is smooth and fluffy. Slowly add the powdered sugar, one cup at a time, mixing thoroughly between additions.
Add the vanilla extract and, if needed, a tablespoon of milk at a time to reach your preferred consistency. The frosting should be creamy and spreadable but not runny.
Step 4: Frost and Decorate
Once the cake has completely cooled, spread the frosting evenly over the top (and sides, if using round pans). For decoration, sprinkle more shredded coconut or chopped nuts. You can also add a pinch of cinnamon or pineapple tidbits on top for flair.
Notes
- Grating Carrots: Use the fine side of a box grater for better texture. Don’t buy pre-shredded carrots—they’re often too dry.
- Draining Pineapple: Place it in a sieve and press gently with a spoon to remove excess juice. Too much liquid can make the batter soggy.
- Overbaking: Keep a close eye during the last 5–10 minutes. Overbaking dries out the cake. Start checking at the earliest suggested time.
- Fixing Dry Frosting: If your frosting is too thick, add a little milk. If too thin, chill it briefly or mix in a bit more powdered sugar.
- Storage: Store frosted cake in an airtight container in the fridge for up to five days. Bring to room temperature before serving.
- Freezing: You can freeze the unfrosted cake layers wrapped tightly in plastic wrap for up to three months.
- Prep Time: 20 minutes
- Cook Time: 40 minutes