An imaging lens substantially consists of negative first lens, positive second lens, negative third lens, positive fourth lens, positive fifth lens, and negative sixth lens in this order from an object side. At least one of second lens through sixth lens satisfies the following conditional expression (1), and the imaging lens, as a whole, satisfies the following conditional expression (2):(1/τi)×(f/fi)<0 (1); andΣ(1/τi)×(f/fi)<0 (i=1 through 6) (2).