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 (can substitute with plain yogurt or mashed banana)
- 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 (about 3 medium carrots)
- 1 cup (240 g) crushed pineapple, drained (fresh or canned)
- 1/2 cup (50 g) shredded sweetened coconut
- 1/2 cup (60 g) chopped walnuts or pecans (optional)
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 a smoother texture)
Equipment
- 9×13-inch (23×33 cm) baking pan or two 8-inch round cake pans
- Mixing bowls
- Electric mixer or whisk
- Measuring cups and spoons
- Grater for carrots
- Spatula
Instructions
Step 1: Prepare the Cake Batter
Start by preheating your oven to 350°F (175°C). This ensures an even bake from the beginning. Grease and flour your chosen cake pan(s) to prevent sticking, or line them with parchment paper for easier cleanup.
In a medium bowl, whisk together the flour, baking powder, baking soda, cinnamon, nutmeg, and salt. These dry ingredients help form the structure of the cake and distribute the spices evenly.
In a larger mixing bowl, beat together the vegetable oil, applesauce, granulated sugar, and brown sugar. The applesauce adds moisture without extra fat, making this cake feel indulgent but not heavy.
Crack in the eggs one at a time, mixing well after each addition. Stir in the vanilla extract to round out the flavor.
Gradually add the dry mixture to the wet ingredients. Mix just until combined—overmixing can make the cake dense.
Fold in the grated carrots, drained pineapple, coconut, and nuts (if using). Make sure everything is well distributed, but don’t stir too aggressively.
Step 2: Bake the Cake
Pour the batter evenly into the prepared baking pan(s). If using two round pans, try to keep the batter levels consistent for even baking.
Bake for 40-45 minutes for a 9×13-inch pan or 30-35 minutes for round pans. The cake is done when a toothpick inserted in the center comes out clean or with just a few moist crumbs.
Let the cake cool in the pan for about 10 minutes before transferring it to a wire rack to cool completely. This resting time helps it firm up and prevents it from breaking apart.
Step 3: Make the Cream Cheese Frosting
While the cake is cooling, prepare the frosting. In a large bowl, beat the softened cream cheese and butter together until the texture is smooth and fluffy.
Add powdered sugar one cup at a time, mixing slowly at first to avoid a sugar cloud. Once fully incorporated, stir in the vanilla extract.
If the frosting seems too thick, add a tablespoon of milk at a time until you reach a smooth, spreadable consistency.
Step 4: Frost and Decorate the Cake
Once the cake is completely cool, spread the cream cheese frosting evenly across the top. Use an offset spatula or the back of a spoon to create swirls or a smooth finish.
You can decorate the top with extra coconut or a sprinkling of chopped nuts for a rustic look. Keep it simple or get creative—it’s up to you.
Notes
Troubleshooting Common Mistakes
- If your cake sinks in the middle, your oven might be too hot or the batter may have been overmixed. Be sure to measure your ingredients accurately and resist the urge to open the oven door while baking.
- If the cake is too dense, double-check that your baking powder and baking soda are still active (they typically expire after six months). Always whisk dry ingredients thoroughly.
- If your frosting is runny, your cream cheese or butter may have been too warm. Chill it slightly and re-whip before using.
Kitchen Tips
- Grate carrots using the fine side of a box grater for a smoother texture in the cake. Pre-shredded carrots tend to be too dry and coarse.
- To save time, prep ingredients like carrots, pineapple, and nuts before you begin mixing the batter.
- No electric mixer? No problem. Use a sturdy whisk or wooden spoon and mix thoroughly by hand. It might take a bit more effort, but it works.
- You can skip the nuts or swap them for sunflower seeds if allergies are a concern. The cake is flavorful enough on its own.
- Prep Time: 20 minutes
- Cook Time: 40 minutes