In the context of the “United Nations Decade on Ecosystem Restoration”, optimizing spatiotemporal arrangements for ecological restoration is an important approach to enhancing overall socioecological benefits for sustainable development. However, against the background of ecological degradation caused by the human use of most natural resources at levels that have approached or exceeded the safe and sustainable boundaries of ecosystems, it is key to explain how to optimize ecological restoration by classified management and optimal total benefits. In response to these issues, we combined spatial heterogeneity and temporal dynamics at the national scale in China to construct five ecological performance regimes defined by indicators that use planetary boundaries and ecological pressures which served as the basis for prioritizing ecological restoration areas and implementing zoning control. By integrating habitat conservation, biodiversity, water supply, and restoration cost constraints, seven ecological restoration scenarios were simulated to optimize the spatial layout of ecological restoration projects (ERPs). The results indicated that the provinces with unsustainable freshwater use, climate change, and land use accounted for more than 25%, 66.7%, and 25%, respectively, of the total area. Only 30% of the provinces experienced a decrease in environmental pressure. Based on the ecological performance regimes, ERP sites spanning the past 20 years were identified, and more than 50% of the priority areas were clustered in regime areas with increased ecological stress. As the restoration area targets doubled (40%) from the baseline (20%), a multi-objective scenario presents a trade-off between expanded ERPs in areas with highly beneficial effects and minimal restoration costs. In conclusion, a reasonable classification and management regime is the basis for targeted restoration. Coordinating multiple objectives and costs in ecological restoration is the key to maximizing socio-ecological benefits. Our study offered new perspectives on systematic and sustainable planning for ecological restoration.