It is constitutionally determined that the People's Republic of China is governed according to the law and becomes a socialist State governed by the rule of law. With the coming to power of the current leader of China, Xi Jinping's ideas about socialism with Chinese characteristics of the new era have gained decisive importance, one of the key aspects of which is the concept of government based on law (the Chinese version of the rule of law). These ideas, being included in the preamble of the Basic Law and becoming a central component of the state ideology, have a comprehensive impact on all areas of legal regulation, including lawmaking and judicial practice. The study of the mechanisms and specific manifestations of this influence is necessary for a deep understanding of the modern Chinese legal model and its prospects. The article is devoted to a comprehensive analysis of the role of Xi Jinping's ideas about socialism with Chinese characteristics of the new era in the formation and implementation of legislative and law enforcement policy of the PRC. The author consistently examines the legal foundations for the consolidation of these ideas, their institutionalization in the scientific and educational space, as well as specific channels for their penetration into the legislative process and judicial activities. The development of scientific views and ideas of the PRC leader is carried out, among other things, in his speeches, which can perform several functions in the field of legal practice in the PRC. Thus, Xi Jinping's ideas play the role of a tool to ensure the necessary commitment of the judicial system to the current political course. In practical terms, the author demonstrates that Xi Jinping's ideas are increasingly being directly reflected in the texts of new legislative acts (for example, in the Laws "On Control (Supervision)" and "On Patriotic Education"). Mentioning these ideas in the preamble or goals of the law serves not only as a declaration of political loyalty, but also as an important tool for subsequent interpretation of the act, allowing courts and law enforcement agencies to understand the true goals of the legislator through the prism of the official political and legal course. In addition, the ideas of socialism with Chinese characteristics of the new era are perceived by the People's Courts of the People's Republic of China as important theoretical developments and guidelines for improving law enforcement, which is embodied in the development of solutions to specific legal problems in judicial practice. At the same time, this is not expected to lead to the revival of "citation proceedings" in China, which existed during some years of Mao Zedong's rule. At the same time, Xi Jinping's speeches become a way of explaining the composition and content of modern socialist values, which judges of the People's Courts of the People's Republic of China should be guided by. The author declares no conflicts of interests.