Many rivers in China and other newly industrialized countries have suffered from severe degradation of water quality in the context of rapid economic growth. An accounting method was developed to investigate the source and mass fluxes of the main contaminants in the Ziya River, a severely polluted and heavily modified river in a semiarid area of the North China Plain, where chemical oxygen demand (COD) and ammonia nitrogen (NH 4 -N) were the most important indicators of pollution. The results showed that the urban sewage with high concentration of COD and NH 4 -N dominated the streams, contributing to 80.7 % of the streamflow, 92.2 % of COD, and 94.5 % of NH 4 -N. The concentrations of COD and NH 4 -N in streams varied from 24.0-195.0 to 5.8-43.8 mg/L, respectively. Mass fluxes of COD and NH 4 -N of all pathways were quantified. Much of the polluted water was diverted to irrigation, and some eventually flowed into the Bohai Sea. Installation of adequate wastewater treatment facilities and making strict discharge standards can help improve the water quality. Our findings imply that a simple accounting method provides an extremely well-documented example for load estimation and can be useful for intervention strategies in heavily polluted and modified rivers in newly industrialized countries.