Preheat oven to 350°F. Line a 9x5-inch loaf pan with a parchment paper sling or spray with baking spray.
Whisk the sugar, eggs, oil, milk, and vanilla together in a large bowl. Stir in the grated carrots.
1 cup (200g) granulated sugar, 3 large eggs, ¾ cup vegetable oil, ¼ cup milk, 1 teaspoon pure vanilla extract, 2 ½ cups grated carrots
Sprinkle the baking powder, baking soda, cinnamon, salt, nutmeg, and ginger over the wet ingredients. Add flour and walnuts, then stir by hand with a spatula or wooden spoon until combined.
1 ½ teaspoon baking soda, 1 teaspoon baking powder, 1 ½ teaspoons ground cinnamon, 1 teaspoon table salt, 1/4 teaspoon ground nutmeg, 1/4 teaspoon ground ginger, 2 cups (250g) all-purpose flour, ¾ cup chopped walnuts
Transfer the batter into the prepared pan, then bake for 55-65 minutes until a skewer or knife inserted into the center of the bread comes out clean. Cool 10 minutes before turning out of the pan to cool the rest of the way on a cooling rack.