With the change of social environment in China, the influence of bad social atmosphere on the mental health of teenagers and children is becoming more and more obvious, and the mental health status of primary school students is worrying. High-quality talents should not only have knowledge, but also have a healthy psychology. Primary school is the first step of talent training, so it is necessary to carry out mental health education for primary school students. Mental health education is an important part of quality education, which affects the formation of students' values and social views.