The xyloglucan endotransglucosylase/hydrolase (XET/XEH, also named XTH) family is a multigene family, the function of which plays a significant role in cell-wall rebuilding and stress tolerance in plants. However, the specific traits of the XTH gene family members and their expression pattern in different tissues and under stress have not been carried out in sweet potato. Thirty-six XTH genes were identified in I. batatas, all of which had conserved structures (Glyco_hydro_16). Based on Neighbor-Joining phylogenetic analysis the IbXTHs can be divided into three subfamilies-the I/II, IIIA, and IIIB subfamilies, which were unevenly distributed on 13 chromosomes, with the exception of Chr9 and Chr15. Multiple cis-acting regions related to growth and development, as well as stress responses, may be found in the IbXTH gene promoters. The segmental duplication occurrences greatly aided the evolution of IbXTHs. The results of a collinearity analysis showed that the XTH genes of sweet potato shared evolutionary history with three additional species, including A. thaliana, G. max, and O. sativa. Additionally, based on the transcriptome sequencing data, the results revealed that the IbXTHs have different expression patterns in leaves, stems, the root body (RB), the distal end (DE), the root stock (RS), the proximal end (PE), the initiative storage root (ISR), and the fibrous root (FR), and many of them are well expressed in the roots. Differentially expressed gene (DEG) analysis of FRs after hormone treatment of the roots indicated that IbXTH28 and IbXTH30 are up-regulated under salicylic acid (SA) treatment but down-regulated under methyl jasmonate (MeJA) treatment. Attentionally, there were only two genes showing down-regulation under the cold and drought treatment. Collectively, all of the findings suggested that genes from the XTH family are crucial for root specificity. This study could provide a theoretical basis for further research on the molecular function of sweet potato XTH genes.