Under the background of the new era, primary and secondary school students are the key force of national development and social progress, so it is extremely important to increase the corresponding patriotic education of primary and secondary school students. Primary and secondary schools are the golden stage of students’ development, and it is teachers’ unshirkable responsibility to help children in primary schools establish patriotic consciousness in class activities. Of course, students’ patriotic education needs certain media, and class activities are excellent material carriers. Only by making full use of classes and using class activities to cultivate students’ patriotic thoughts, education will not become a land without roots and foundations. This paper aims to analyze the infiltration strategy of patriotism in primary school class activities, and help to promote the cultivation of patriotic feelings of primary school students by developing patriotic theme curriculum design, creating positive class integration activities, participating in social welfare activities, integrating traditional culture education and strengthening communication and cooperation between home and school.