The discussion on the legislative purpose of environmental law is insufficient to provide the necessary theoretical support for the compilation of the Ecological Environment Code,necessitating further exploration.A correct understanding of the legislative purpose of environmental law relies on the use of reasonable legal study tools.It is advisable to use the faquanlism that has been proven by practical jurisprudence as a legal study tool.According to the faquanlism,there are three legislative Purposes of Environmental Law from the surface to the inside,taking into account both partial and overall aspects:the first is to ensure human environmental safety interests,which is a direct purpose determined by the principle of safeguarding basic human rights based on people oriented;The second is to enhance the environmental well-being of the entire population,which is a medium-to long-term goal determined by the total amount of social wealth,and should not be expressed as protecting environmental rights;The third is to promote the comprehensive development of human beings based on reasonable values,which is the fundamental goal of building a rule of law country.To achieve these goals,the allocation of environmental faquan,environmental legal obligations,and their corresponding benefits and burdens(or disadvantages)should be fair and balanced.The purpose clause of the Ecological Environment Code should be guided by the policy of the 20th National Congress of the CPC,"harmonious coexistence between human and nature".It should be written in accordance with the Constitution,based on considering its triple legislative purpose.