Prep Pans: Grease and line cake pans for easy removal.
Mix Dry Ingredients: Whisk flour, baking powder, baking soda, salt, cinnamon, and nutmeg.
Cream Sugars and Oil: Combine granulated and brown sugar with oil for a smooth base.
Add Eggs and Vanilla: Beat eggs in one by one, then add vanilla for flavor.
Combine Dry and Wet: Gently fold in flour mixture to keep cake light.
Fold in Carrots and Pineapple: Add shredded carrots, crushed pineapple, and optional nuts.
Bake: Divide batter evenly and bake at 350°F for 45–50 minutes. Check with toothpick.
Cool Cakes: Let cool in pans 10 minutes, then transfer to wire rack.
Make Icing: Beat cream cheese and butter until creamy, then add powdered sugar and vanilla. Adjust with milk if needed.
Frost Cake: Frost between layers, top, and sides evenly.