Abstract:President Xi Jinping points out that various courses and ideological and political theory courses should be teaching in the same way and implements the coordination effect. It is an important work for ideological and political education. "Engineering Geology" is one of basic courses for undergraduate majors in Civil, Hydraulic, and Marine engineering. Based on the content and characteristics of this course, the necessity and urgency of integrating into the course ideological and political education was analyzed. The elements of the ideological and political education were excavated and designed. Practical teaching in the construction of the first-class undergraduate course "Engineering Geology" was carried out. The practical teaching results and accumulated experiences providing useful reference for the ideological and political course teaching of Civil, Hydraulic, and Marine engineering majors.