Since the 18th National Congress of the Communist Party of China, colleges and universities have continuously innovated the ideological and political education of college students and created a new stage in the development of China"s higher education. However, how to practice the thought on socialism with Chinese characteristics for a new era into textbooks, classrooms and minds, and effectively promote the integration of professional education and ideological and political education, is the focus and difficulty of the current ideological and political education reform in colleges and universities. By excavating the moral education elements contained in the civil engineering profession, taking the reform of the general course of the “Construction Engineering Laws” as an example, study the construction path of "course ideology" in civil engineering major and put forward several suggestions for further exploring the reform of ideological and political education construction in civil engineering specialty: 1. Combine the course characteristics, focus on the reform of teaching mode and the innovation of teaching methods, and concretize the content of ideological and political education; 2. Emphasize implicit education and give full play to teachers" value leading role of affecting students spontaneously and silently; 3. Improve students" self-knowledge and cultivate their consciousness of studying politics consciously.