Metallothioneins (MTs) are small cysteine-rich peptides involved in metal homeostasis and detoxification. We have characterized two MT genes, HcMT1 and HcMT2, from the ectomycorrhizal fungus Hebeloma cylindrosporum in this study. Expression of HcMT1 and HcMT2 in H. cylindrosporum under metal stress conditions was studied by competitive reverse transcription-PCR analysis. The full-length cDNAs were used to perform functional complementation in mutant strains of Saccharomyces cerevisiae. As revealed by heterologous complementation assays in yeast, HcMT1 and HcMT2 each encode a functional polypeptide capable of conferring increased tolerance against Cd and Cu, respectively. The expression levels of HcMT1 were observed to be at their maximum at 24 h, and they increased as a function of Cu concentration. HcMT2 was also induced by Cu, but the expression levels were lower than those for HcMT1. The mRNA accumulation of HcMT1 was not influenced by Cd, whereas Cd induced the transcription of HcMT2. Zn, Pb, and Ni did not affect the transcription of HcMT1 or of HcMT2. Southern blot analysis revealed that both of these genes are present as a single copy in H. cylindrosporum. While the promoters of both HcMT1 and HcMT2 contained the standard stress response elements implicated in the metal response, the numbers and varieties of potential regulatory elements were different in these promoters. These results show that ectomycorrhizal fungi encode different MTs and that each of them has a particular pattern of expression, suggesting that they play critical specific roles in improving the survival and growth of ectomycorrhizal trees in ecosystems contaminated by heavy metals.