The mammalian Y chromosome is essential for spermatogenesis, which is characterized by sperm cell differentiation and chromatin condensation for acquisition of correct shape of the sperm. Deletions of the male-specific region of the mouse Y chromosome long arm (MSYq), harboring multiple copies of a few genes, lead to sperm head defects and impaired fertility. Using chromatin immunoprecipitation on promoter microarray (ChIP-chip) on mouse testis, we found a striking in vivo MSYq occupancy by heat shock factor 2 (HSF2), a transcription factor involved in spermatogenesis. HSF2 was also found to regulate the transcription of MSYq resident genes, whose transcriptional regulation has been unknown. Importantly, disruption of Hsf2 caused a similar phenotype as the 2/3 deletion of MSYq, i.e., altered expression of the multicopy genes and increased mild sperm head abnormalities. Consequently, aberrant levels of chromatin packing proteins and more frequent DNA fragmentation were detected, implying that HSF2 is required for correct chromatin organization in the sperm. Our findings define a physiological role for HSF2 in the regulation of MSYq resident genes and the quality of sperm.