Spatial planning law is an important guarantee for the scientific development of the planning, orderly implementation of the plan, and its effective management. Based on the summary of the Chinese and international spatial planning laws and regulations, this study analyzed the legislative logic of the national spatial planning law and discussed the legislative framework of the national spatial planning law. In terms of legislative orientation, the spatial planning law belongs to the category of public law (administrative law) and has the characteristics of promoting public welfare, and being compulsory and administrative; in terms of the legislative intent, it embodies the will of the state, promotes sustainable use, improves governance, and optimizes the spatial pattern of use; in terms of the spirit of legislation, it should pay attention to plan administration and power allocation, space justice and administrative efficiency, planning guidance and space control, and the rule of law and procedural justice. The overall framework of legislation can be designed from the aspects of planning system, plan development, plan review, plan implementation, and plan supervision. According to the legislative sequence and the urgency of legislation, this article proposes a gradually advanced legislative path from simple to difficult, in order to provide references for the formulation of the national spatial planning law.