With the rapid development of science and technology and the advent of the digital age, digital technology has been widely applied in various fields. The empowerment of digital technology in ideological and political education provides extremely broad opportunities, brings various values, enriches the content of ideological and political education, innovates the methods of ideological and political education, and achieves precise supply and intelligent promotion of high-quality resources; However, at the same time, due to the risk of the disintegration of the subjectivity of the educated, the relatively reclusive status of teachers, and the leakage of information between teachers and students, there are many risks in this empowerment process. Therefore, effective empowerment of ideological and political education through digital technology should be achieved through measures such as improving subject literacy, building a high-quality new type of ideological and political education teacher team, and protecting data privacy in the process of empowering ideological and political education through digital technology.