Large-scale and rapid improvement in wastewater treatment is common practice in developing countries, yet this influence on nutrient regimes in receiving waterbodies is rarely examined at broad spatial and temporal scales. Here, we present a study linking decadal nutrient monitoring data in lakes with the corresponding estimates of five major anthropogenic nutrient discharges in their surrounding watersheds over time. Within a continuous monitoring dataset covering the period 2008 to 2017, we find that due to different rates of change in TN and TP concentrations, 24 of 46 lakes, mostly located in China's populated regions, showed increasing TN/TP mass ratios; only 3 lakes showed a decrease. Quantitative relationships between in-lake nutrient concentrations (and their ratios) and anthropogenic nutrient discharges in the surrounding watersheds indicate that increase of lake TN/TP ratios is associated with the rapid improvement in municipal wastewater treatment. Due to the higher removal efficiency of TP compared with TN, TN/TP mass ratios in total municipal wastewater discharge have continued to increase from a median of 10.7 (95% confidence interval, 7.6 to 15.1) in 2008 to 17.7 (95% confidence interval, 13.2 to 27.2) in 2017. Improving municipal wastewater collection and treatment worldwide is an important target within the 17 sustainable development goals set by the United Nations. Given potential ecological impacts on biodiversity and ecosystem function of altered nutrient ratios in wastewater discharge, our results suggest that long-term strategies for domestic wastewater management should not merely focus on total reductions of nutrient discharges but also consider their stoichiometric balance.