Intraflagellar transport (IFT) is an evolutionarily conserved mechanism essential for the assembly and maintenance of most eukaryotic cilia and flagella. In mice, mutations in IFT proteins have been shown to cause several ciliopathies including retinal degeneration, polycystic kidney disease, and hearing loss. However, little is known about its role in the formation of the sperm tail, which has the longest flagella of mammalian cells. IFT27 is a component of IFT-B complex and binds to IFT25 directly. In mice, IFT27 is highly expressed in the testis. To investigate the role of IFT27 in male germ cells, the floxed Ift27 mice were bred with Stra8-iCre mice so that the Ift27 gene was disrupted in spermatocytes/spermatids. The Ift27:Stra8-iCre mutant mice did not show any gross abnormalities, and all of the mutant mice survive to adulthood. There was no difference between testis weight/body weight between controls and mutant mice. All adult homozygous mutant males examined were completely infertile. Histological examination of the testes revealed abnormally developed germ cells during the spermiogenesis phase. The epididymis contained round bodies of cytoplasm. Sperm number was significantly reduced compared to the controls and only about 2% of them remained significantly reduced motility. Examination of epididymal sperm by light microscopy and SEM revealed multiple morphological abnormalities including round heads, short and bent tails, abnormal thickness of sperm tails in some areas, and swollen tail tips in some sperm. TEM examination of epididymal sperm showed that most sperm lost the “9+2” axoneme structure, and the mitochondria sheath, fibrous sheath, and outer dense fibers were also disorganized. Some sperm flagella also lost cell membrane. Levels of IFT25 and IFT81 were significantly reduced in the testis of the conditional Ift27 knockout mice, and levels of IFT20, IFT74, and IFT140 were not changed. Sperm lipid rafts, which were disrupted in the conditional Ift25 knockout mice, appeared to be normal in the conditional Ift27 knockout mice. Our findings suggest that like IFT25, IFT27, even though not required to ciliogenesis in somatic cells, is essential for sperm flagella formation, sperm function, and male fertility in mice. IFT25 and IFT27 control sperm formation/function through many common mechanisms, but IFT25 has additional roles beyond IFT27.