The Labiatae family is one of the largest and most distinctive families of flowering plants, with about 220 genera and almost 4000 species worldwide. The genus Stachys is one of the largest representative genera of the Labiatae family and includes about 300 species, in the subtropical and tropical regions of both hemispheres. In Iran this genus is represented by 34 species. Isfahan province also that have different medical plants such as species Stachys lavandulifolia vahl. This study was aimed at investigating of phytochemical of Stachys lavandulifolia vahl. In relation to habitat conditions in the west of Isfahan province.Samples of Stachys lavandulifolia vahl were taken from five site in the west of Isfahan province: (Horestaneh, Siahdarreh, Fraidonshahr, Afos, Golestankooh). The most important chemical compounds in essential oils of this plant were specified. In order to extract essential oil, the Clevenger system and GC/MS for chemical compound determination , were used. Ninety compounts were identified of the essential oil, in which the major compounts were Germacrene-D, Thymol, ?- Cadinene, Isospathulenol, Trans- Caryophyllene and Phytol. To investigate relations of quality indices with some ecologic factors, 25 of most important ecologic attributes of investigated areas were determined in three groups: climate,soil and physiographic (10, 10 and 5 factors respectively). To study existing similarity between investiagated areas an ltr" Keywords : Stachys lavandulifolia Vahl., Essential oils, Ecological factors, Ordination, Cluster Analysis,