Abstract. Let W be an extended affine Weyl group. We prove that minimal length elements w O of any conjugacy class O of W satisfy some special properties, generalizing results of Geck and Pfeiffer [8] on finite Weyl groups. We then introduce the "class polynomials" for affine Hecke algebra H and prove that T w O , where O runs over all the conjugacy classes of W , forms a basis of the cocenter H/ [H, H]. We also classify the conjugacy classes satisfying a generalization of Lusztig's conjecture [23].