Heavy metals are often present naturally in soils, but many human activities (e.g. mining, agriculture, sewage processing, the metal industry and automobiles) increase their prevalence in the environment resulting in concentrations that are toxic to animals and plants. Excess heavy metals affect plant physiology by inducing stress symptoms, but many plants have adapted to avoid the damaging effects of metal toxicity, using strategies such as metal chelation, transport and compartmentalization. Understanding the molecular basis of heavy metal tolerance in plants will facilitate the development of new strategies to create metal-tolerant crops, biofortified foods and plants suitable for the phytoremediation of contaminated sites.