In this article, the impact of an anthropogenically transformed environment on the content of pharmaceutically valuable biologically active compounds in medicinal plants is analyzed. The studied biologically active substances included phenolic compounds (flavonoids, anthocyanins, tannins, and phenolic acids). The number of transmissible forms of heavy metals (HMs), including cadmium, lead, and mercury, were discharged from factories that are present in the soil. Plants uptake these toxic metals from the soil. HM causes changes in the activity of the several enzymes such as phenylalanine ammonia lyase (PAL), chalcone synthase (CHS), chalcone isomerase (CHI) and other enzymes. These enzymes play an important role in biosynthesis of phenolic compounds in medicinal plants. It has been demonstrated that plant materials possess high antioxidant potential due to their high phenolic content. As a result, the present review discusses a thorough investigation of anthropogenically transformed environment effects on the quantity of pharmaceutically valuable phenolic compounds in medicinal plants.