With the implementation of the rural revitalization strategy and the continuous promotion of modernization of rural education, rural education is gradually shifting from "Two basic" education to urban-rural integration and balanced development, from focusing on changes in quantity to emphasizing the improvement of quality. Nevertheless, the focus of rural secondary school education still leans towards cultural courses, while moral and legal courses, which cultivate students' basic moral concepts and legal thinking, are often overlooked. Analyzing the reasons behind it, exploring new methods for moral and legal education in rural middle schools, and forming a new atmosphere of rural education revitalization guided by ideology are of great significance for promoting the development of rural education, cultivating successors in the new era, and promoting rural revitalization.