We classify, up to isomorphism, gradings by abelian groups on nilpotent filiform Lie algebras of nonzero rank. In case of rank 0, we describe conditions to obtain non trivial $Z_k$-gradings.