Grease and flour a loaf pan and preheat the oven to 350 F.
In a medium bowl, whisk the dry ingredients together: flour, sugar, salt, baking soda, and spices.
In a large bowl, mix the wet ingredients: shredded carrots, eggs, oil, milk, and vanilla.
Stir the dry ingredients into the wet, using a wooden spoon, just until combined. Do not overmix the batter.
Gently fold in the chopped pecans.
Pour batter into the prepared loaf pan and bake for 55-60 minutes or until a toothpick inserted in the middle comes out clean.