Water treatment ecosystem provides important habitats for various bacterial communities. However, the response mechanism of this ecosystem under ultraviolet rays is not yet clear. In the study, 16S rRNA gene sequencing is used to study the bacterial community structure and metabolic pathways under 5 samples of ultraviolet irradiation times. In general, the bacterial communities of the five samples are different, which indicates that the ultraviolet radiation time has an impact on the bacterial community structure. Analysis of driving factors shows that UV, COD, pH, TN and NH3-N have an impact on the relative abundance of key species. Key species under ultraviolet irradiation are Bacteroidetes, Proteobacteria, Actinobacteria, Firmicutes, Chloroflexi, and Chlamydiae, accounting for 96.69%ཞ98.30%, and ultraviolet irradiation has a significant inhibitory effect on the relative abundance. As the dominant bacterial phyla in Plateau environment, Chlamydiae is discovered for the first time. The network co-occurrence diagrams constructed under different ultraviolet radiation show that each sample is composed of three independent network diagrams. There are 6 common dominant phyla and 33 common dominant bacterial genera in each sample, which reveals that the structure of the ecosystem is composed of more similar microorganisms, rather than random phenomena. It also reflects the competitive relationship between species and the adaptability of bacteria to the environment. Through the analysis of metabolic pathways, it is found that the dominant metabolic pathways in high altitude habitats have certain changes under ultraviolet radiation. Further analysis of carbon, nitrogen and phosphorus metabolic pathways shows that the relative abundance of related metabolic pathways has a certain change, but the difference in metabolic maps is small, that is, the effect of ultraviolet radiation is mainly reflected in the relative abundance of metabolic pathways. These findings indicate that ultraviolet radiation in Plateau environment as an important influencing factor has an impact on microbial structure and metabolic pathways. This research provides an important theoretical basis for further understanding of water treatment ecosystem in Plateau environment, and also provides a new perspective for the development of water treatment ecosystem.