Ingredients
Equipment
Method
- Preheat oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line a 9x13-inch pan with parchment paper.
- In a medium bowl, whisk together the flour, baking soda, cinnamon, ginger, nutmeg, and salt. Set aside.
- In a large bowl, whisk the granulated sugar, brown sugar, and oil until well combined.
- Add the eggs one at a time, whisking thoroughly after each addition. Stir in the 1 teaspoon of vanilla extract.
- Add the dry ingredients to the wet ingredients in two additions, folding with a spatula until just a few streaks of flour remain.
- Fold in the grated carrots, drained pineapple, and nuts (if using) until the batter is uniform. Do not overmix.
- Divide the batter evenly between the prepared pans. Bake for 30-35 minutes (or 40-45 for a 9x13 pan), until a toothpick inserted into the center comes out clean.
- Cool the cakes in the pans for 15 minutes, then turn out onto a wire rack to cool completely before frosting.
- For the Frosting: Using a hand mixer or stand mixer, beat the cream cheese and butter on medium speed until completely smooth and creamy, about 2 minutes.
- Beat in the 1 teaspoon of vanilla extract and the ¼ teaspoon of salt.
- With the mixer on low, gradually add the sifted powdered sugar until incorporated.
- Increase the mixer speed to medium-high and beat for 2 more minutes until the frosting is light and fluffy.
- Frost the completely cooled cake layers with the cream cheese frosting.
Notes
For the best texture, use the fine holes on your grater for the carrots and ensure the pineapple is very well-drained. The cake layers must be completely cool before frosting to prevent melting. Store the frosted cake, covered, in the refrigerator for up to 5 days. For a nut-free version, simply omit the walnuts/pecans. You can add ½ cup of raisins or shredded coconut for variation. Allow the cake to sit at room temperature for 30 minutes before serving for optimal flavor and texture.
