N-nitrosamines are widespread in various bodies of water, which is of great concern due to their carcinogenic risks and harmful mutagenic effects. Livestock rearing, domestic, agricultural, and industrial wastewaters are the main sources of N-nitrosamines in environmental water. However, information on the amount of N-nitrosamines these different wastewaters contribute to environmental water is scarce. Here, we investigated eight N-nitrosamines and assessed their mass loadings in the Desheng River to quantify the contributions discharged from different anthropogenic activities. N-nitrosodimethylamine (NDMA) (< 1.6-18ng/L), N-nitrosomethylethylamine (NMEA) (< 2.2ng/L), N-nitrosodiethylamine (NDEA) (< 1.7-2.4ng/L), N-nitrosopyrrolidine (NPYR) (< 1.8-18ng/L), N-nitrosomorpholine (NMOR) (< 2.0-3.5ng/L), N-nitrosopiperidine (NPIP) (< 2.2-2.5ng/L), and N-nitrosodi-n-butylamine (NDBA) (< 3.3-16ng/L) were detected. NDMA and NDBA were the dominant compounds contributing 89% and 92% to the total N-nitrosamine concentrations. The mean cumulative concentrations of N-nitrosamines in the livestock rearing area (26 ± 11ng/L) and industrial area (24 ± 4.8ng/L) were higher than those in the residential area (16 ± 6.3ng/L) and farmland area (15 ± 5.1ng/L). The mean concentration of N-nitrosamines in the tributaries (22ng/L) was slightly higher than that in the mainstem (17ng/L), probably due to the dilution effect of the mainstem. However, the mass loading assessment based on the river's flow and water concentrations suggested the negligible mass emission of N-nitrosamines into the mainstem from tributaries, which could be due to the small water flow of tributaries. The average mass loads of N-nitrosamines discharged into the mainstem were ranked as the livestock rearing area (742.7g/d), industrial area (558.6g/d), farmland area (93.9g/d), and residential areas (83.2g/d). In the livestock rearing, residential, and industrial area, NDMA (60.9%, 53.6%, and 46.7%) and NDBA (34.6%, 33.3%, and 44.9%) contributed the most mass loads; NDMA (23.4%), NDEA (15.8%), NPYR (10.1%), NPIP (12.8%), and NDBA (37.8%) contributed almost all the mass loads in the farmland area. Photodegradation amounts of NDMA (0.65 ~ 5.25µg/(m3·day)), NDBA (0.37 ~ 0.91µg/(m3·day)), and NDEA (0 ~ 0.66µg/(m3·day)) were also calculated according to the mass loading. Quantifying the contribution of different anthropogenic activities to the river will provide important information for regional river water quality protection. Risk quotient (RQ) values showed the negligible ecological risks for fish, daphnid, and green algae.