In this paper, a clustering method for handwritten digit recognition is studied. The digit samples, firstly are processed and features are extracted. Based on these features, a clustering method is designed and implemented to cluster the digit samples. Experiments finally show that the clustering method is efficient in handwritten digit recognition.