The integration of nature-based solutions into land use optimization has emerged as a focal point of current research, primarily due to its efficacy in mitigating flooding impacts and fostering sus-tainable development in both urban and rural areas. Utilizing Shanghai Pujiang Country Park as a case study, this paper conducts a simulation analysis to assess the flood mitigation effectiveness of three distinct land use patterns (Natural scenario, Scenario N; Complete urbanization scenario, Scenario U; Country Park Planning scenario, Scenario P) under five stormwater scenarios with re-turn periods of 2, 5, 10, 20, and 50 years. The findings reveal that Scenario P exhibits superior flood mitigation performance, particularly under stormwater scenarios with a return period of less than 50 years. Building upon these results, the paper proposes recommendations for optimizing land use with a focus on mitigating the impact of flooding. This study is crucial for comprehending the mechanisms involved in urban stormwater logging mitigation through land use methods and holds significance for decision-making in land use and planning at the micro level.