Ingredients
Method
- Heat the oven to 350°F (175°C) with a rack in the middle. Butter two 9-inch round pans and line the bottoms with parchment.
- Peel and finely grate the carrots; measure 2 1/2 cups (about 275 g). Chop the nuts, if using.
- Whisk the flour, baking soda, baking powder, salt, cinnamon, and nutmeg in a medium bowl until evenly combined.
- In a large bowl, whisk the eggs and both sugars for about 1 minute. Whisk in the oil in a thin stream, then stir in the vanilla, until glossy with no pooled oil.
- Add the dry mixture to the wet mixture and fold until a few streaks of flour remain. Add the carrots and nuts and fold just until no dry flour remains.
- Divide the batter between the pans, smooth the tops, and bake for 25 to 35 minutes, until a toothpick in the center comes out clean or with a few moist crumbs.
- Cool in the pans for 15 minutes. Turn the layers out, peel off the parchment, and cool right side up until completely room temperature, about 1 hour.
- Beat the butter and cream cheese until smooth, about 2 minutes. Beat in the powdered sugar, then the vanilla and salt, just until fluffy. If the frosting is too soft to spread, chill it 20 to 30 minutes.
- Level the layers if domed. Stack with about one-third of the frosting between the layers, the second layer upside down, then frost the top and sides. Press nuts around the top edge, if using.
- Chill the cake for 30 minutes, then slice with a clean, sharp knife.
Notes
Cool about 1 hour 15 minutes before frosting; chill 30 minutes after frosting. Storage: Refrigerate leftovers, covered, for 3 to 4 days.
