Depression has become a major social issue of global concern, which has seriously threatened the quality of an individual’s life. Although the relationship between community environment and depression has aroused heated debate, the empirical research on the relationship between community environment perception and public depression is still relatively insufficient. Data for this study are from China Family Panel Studies in 2016, which were conducted by the institute of Social Science Survey, Peking University. This paper has tested group differences in the influence of community environment on public depression, as well as the mediating role of subjective social class between community environment perception and depression, so as to further explore the social psychological effect of community environment. The empirical study found that there are group differences in the impacts of community environment perception on depression. Specifically, men, rural residents, and people aged 60 and under are more likely to be depressed which were affected by the perception of community environment. Furthermore, we have found that the subjective social class can partly mediate community environment perception and depression. That is to say, the perception of community environment can induce depression by influencing the individual’s subjective social class. Among them, community living environment and community public facilities have the greatest impact, community emotional attachment and community security situation have the second impact, and neighborhood mutual aid and neighborhood relationship have the least impact. In other words, the community environment is deeply endowed with a social psychological effect. To ameliorate the public’s depression, it is necessary to consider the construction of community physical environment and the cultivation of harmonious community culture as powerful measures not to be ignored. In short, the important role of community environmental intervention in alleviating the public’s depression caused by social class cognition deserves attention.
Although the relationship between environment and public depression has aroused heated debate, the empirical research on the relationship between environmental quality perception and public depression is still relatively insufficient. This paper aims to explore the influence of environmental quality perception on public depression and the mediating role of subjective social class between environmental quality perception and public depression. Using the China Family Panel Studies data of 2016 for empirical analysis, this study’s results show that environmental quality perception has a significant effect on public depression and subjective social class also has a significant effect on public depression. In addition, we found that subjective social class can play a partial mediating role between environmental quality perception and public depression, and the intermediary effect only comes from the contribution of the perception of living environmental quality, not the perception of overall environmental quality. That is to say, the perception of living environment quality deeply affects the subjective social class, and then induces public depression. In order to alleviate the relationship between environmental quality and public depression, it is recommended that the state environmental protection department and civil affairs department strengthen the improvement of public living environment so as to promote individual subjective social class and reduce the risk of public depression. Moreover, it is suggested that research with longitudinal design and comprehensive indicators be undertaken in the future.