Xyloglucan endotransglycosylase/hydrolase (XTH) genes play an important role in plant resistance to abiotic stress. However, systematic studies of the response of Boehmeria nivea (ramie) XTH genes (BnXTHs) to cadmium (Cd) stress are lacking. We sought to identify the BnXTH-family genes in ramie through bioinformatics analyses and to investigate their responses to Cd stress. We identified 19 members of the BnXTH gene family from the ramie genome, referred to as BnXTH1-19, among which BnXTH18 and BnXTH19 were located on no chromosomes and the remaining genes were unevenly distributed across 11 c...