Let k be a field of characteristic p > 0 and let G be a finite abelian group. We determine the structure of the Hochschild cohomology ring of the group algebra kG. Moreover, we prove that for any finite group G the Krull dimension of HH*(kG) equals the p-rank of G.