In this paper we describe all gradings by a finite abelian group G on the following Lie algebras over an algebraically closed field F of characteristic p not equal 2: sl(n)(F) (n not divisible by p), so(n)(F) (n >= 5, n not equal 8) and sp(n)(F) (n >= 6, n even).