Abstract:The curriculum of ideological and political education has put forward higher requirements for the teaching and talent cultivation of civil engineering majors. How to integrate professional education and ideological and political education is a requirement for building a high-level talent cultivation system. In order to improve the teaching quality and effectiveness of civil engineering earthquake resistance courses, this article takes the current problems in the teaching of civil engineering earthquake resistance courses as the starting point, introduces the necessity and specific measures of introducing ideological and political elements to carry out curriculum reform, aiming to use typical earthquake resistance cases as the starting point of the course to inspire students to adhere to the " Four Matters of Confidence", deepen their sense of scientific and technological innovation mission with the help of earthquake resistance theory and technology development, awaken their craftsmanship spirit with vibration table experiments, and stimulate their "Guardian" spirit with the help of "National Important Tools". In the actual teaching process, the course adopts a combination of online and offline teaching methods, and innovatively incorporates the teaching process of observing large-scale vibration table experiments, further stimulating students' interest in seismic technology professional knowledge and enthusiasm for national innovation and reform. Teaching practice has proven that the career growth of science and engineering students in the new era is closely related to the needs of national construction and a strong sense of social responsibility. Through curriculum reform, it helps to improve classroom efficiency and effectiveness, inspire students to cultivate a spirit of dedication, lean, focused, and innovative craftsmanship, and a spirit of constantly caring for their country as " escort". This in turn inspires students to adhere to technology as a weapon, dependence, and foundation of the country, and cultivate high-quality civil engineering talents.