Inves tigating the effectiveness and relationship between environmental factors and the quality of the educational environment in the s tudents’ mental health is the main S tatement of the problem in current research. Intending to recognize environmental quality components and their role in predicting the s tudents’ mental health in the educational environments, the present s tudy has proposed the following hypotheses: There seems to be a direct and significant relationship between the environmental quality and the s tudents’ mental health. and It seems that the functional component of the environmental quality has the greates t influence on mental health prediction. The research method is descriptive of correlation type using s tructural equation model. The s tatis tical population of the s tudy was selected from the coeducational Highschool s tudents of Sama schools related to the Islamic Azad University of Arak, and 270 individuals were selected using the convenience sampling technique. To collect the data, texts, and documents, as well as two ques tionnaires of Goldberg’s mental health and environmental quality, were used. Also, for the data analysis, factor analysis, and SPSS software were employed along with descriptive (mean and s tandard deviation) and inferential (Pearson’s correlation coefficient and multiple regression) s tatis tical methods. The results indicate that there is a significant relationship between environmental quality and the s tudents’ mental health. It was also found that 51% of mental health changes are predictable based on the mental health in the educational environment. Moreover, it was concluded that the functional component of environmental quality has the greates t impact on predicting the s tudents’ mental health.