Microbial communities living in different environments can affect the transformation of nitrogen and phosphorus in sewage pipes. Two different environments were simulated to investigate the differences in the transformation of nitrogen and phosphorus under different microbial communities in the pipe. Results showed that the concentration of nitrogen and phosphorus changed greatly in the first 25–33 days and the first 21 days, respectively, and then remained stable. The decrease in amino acid nitrogen (AAN) concentration and the increase in ammonia nitrogen (NH4+‐N) concentration in the sediments were evident in the contrast group. The concentrations of total phosphorus (TP), dissolved total phosphorus (DTP), and dissolved reactive phosphorus (DRP) in the overlying water and interstitial water decreased, and that of TP in the sediment increased. Some microorganisms in the sediments of both groups are related to the transformation of nitrogen and phosphorus, such as Clostridium_sensu_stricto_1, Sporacetigenium, Norank_f__Anaerolineaceae, Norank_f__norank_o__PeM15, and Caldisericum. The relative abundance of these microorganisms was remarkably differed between the two groups, which partly caused the difference in nitrogen and phosphorus transformation among overlying water, interstitial water, and sediment in the two environments.Practitioner Points
The concentration of N and P changed greatly in the first 20–30 days.
AAN and NH4+‐N in sediments had greater concentration variation in contrast group.
In two groups, TP, DTP, and DRP of water decreased, and TP of sediment increased.
Microbe related to the transformation of N and P differed between the two groups.