Metallothioneins (MTs), a group of cysteine-rich proteins, are effective chelators of cadmium (Cd) and play a key role in plant Cd detoxification. However, little is known about the role of single cysteine (Cys) residues in the MTs involved in the adaptation of plants to Cd stress, especially, in hyperaccumulators. In the present study, we functionally characterised SaMT3 in S. alfredii, a Cd/Zn hyperaccumulator native to China. Our results showed that the C- and N- terminal regions of SaMT3 had differential functional natures in S. alfredii and determined its Cd hypertolerance and detoxification. Two CXC motifs within the C-terminal region were revealed to play a crucial role in Cd sensing and binding, whereas the four Cys-residues within the N-terminal region were involved in scavenging reactive oxygen species (ROS). An S. alfredii transgenic system based on callus transformation was developed to further investigate the in-planta gene function. The SaMT3-overexpressing transgenic plant roots were more tolerant to Cd than those of wild-type plants. Knockout of SaMT3 resulted in significantly decreased Cd concentrations and increased ROS levels after exposure to Cd stress. We demonstrated the SaMT3-mediated adaptation strategy in S. alfredii, which uses metal chelation and ROS scavenging in response to Cd stress. Our results further reveal the molecular mechanisms underlying Cd detoxification in hyperaccumulating plants, as well as the relation between Cys-related motifs and the metal binding properties of MTs. This research provides valuable insights into the functions of SaMT3 in S. alfredii, and improves our understanding of Cd hyperaccumulation in plants.