Mining tailing areas may contain metal minerals such as Cu, Pb, Zn, Cr, and Cd at high concentrations and low nutrients for the growth of plants. This kind of conditions of the area, as well as lack of tailing structure, may limit the development of plants on these areas. Thus, the present study determined the metal, macronutrient, and micronutrient concentrations in the tissues of the roots and shoots of the Solanum viarum Dunal species as well as it evaluated the potential use of the plant for phytoremediation of mining tailing areas contaminated with heavy metals. The macronutrients, micronutrients, and heavy metals in the roots and shoots were determined by the digestion method with nitric and perchloric acid (HNO3-HClO4) and quantified by the ICP-OES. In S. viarum, the average concentrations of the metals presented in the dry biomass varied between the shoots and roots, being higher in the roots for metals such as Cu (229mgkg-1), Zn (232mgkg-1), Mn (251mgkg-1), Cr (382mgkg-1), Ni (178mgkg-1), Pb (33mgkg-1), and Ba (1123mgkg-1). S. viarum indicates the possibility of a potential application in phytoremediation and treatment of areas contaminated with heavy metals.