During mammalian spermatogenesis, spermatogenic cells undergo mitotic division and are subsequently divided into haploid spermatids by meiotic division, but the dynamics of sex chromosomes during spermatogenesis are unclear in vivo. To gain insight into the distribution of sex chromosomes in the testis, we examined the localization of sex chromosomes before and after meiosis in mouse testis sections. Here, we developed a method of fluorescence in situ hybridization (FISH) using specific probes for the X and Y chromosomes to obtain their positional information in histological testis sections. FISH analysis revealed the sex chromosomal position during spermatogenesis in each stage of seminiferous epithelia and in each spermatogenic cell. In the spermatogonia and leptotene spermatocytes, sex chromosomes were distantly positioned in the cell. In the zygotene and pachytene spermatocytes at prophase I, X and Y chromosomes had a random distribution. After meiosis, the X and Y spermatids were random in every seminiferous epithelium. We also detected aneuploidy of sex chromosomes in spermatogenic cells using our developed FISH analysis. Our results provide further insight into the distribution of sex chromosomes during spermatogenesis, which could help to elucidate a specific difference between X and Y spermatids and sex chromosome-specific behavior.