Phytoplankton diversity is closely related to environmental variables and has been widely used in ecological health assessment of rivers and lakes. Combining advantages of DNA‐based identification and high‐throughput sequencing technology, environmental DNA (eDNA) metabarcoding permits a new measurement for biodiversity monitoring in aquatic ecosystems. However, it had rarely been used to explore the variability and similarity of phytoplankton diversity between lake and its inflow rivers and the effects of environmental variables on phytoplankton. This study utilized eDNA metabarcoding to investigate the spatial distribution of phytoplankton and the impacts of environmental variables on the phytoplankton diversity in Dianchi Lake (one of the most polluted urban lakes in China) and its main inflow rivers (Panlong River, Baoxiang River, and Chai River). A total of 243 distinct phytoplankton taxa were detected, covering 9 phyla, 30 classes, 84 orders, and 132 families, and the taxonomic richness of rivers was higher than that of Dianchi Lake. Distinct biodiversity patterns (e.g., community structure, dominant taxon, ɑ‐diversity) were exhibited among Dianchi Lake and its three inflow rivers, but similar biodiversity patterns were also observed in Dianchi Lake and the estuarine sites. The patterns of phytoplankton diversity were closely related to environmental variables, which were associated with pollution sources from different anthropogenic activities (e.g., urbanization, water diversion, industrial and agricultural activities). The primary environmental variables correlated with phytoplankton diversity varied in different habitats. The total phosphorus (TP) and chemical oxygen demand (COD) positively correlated with the phytoplankton community structures in Dianchi Lake, whereas negatively correlated in Panlong River and Baoxiang River. The total nitrogen (TN) positively correlated with the phytoplankton community structures in Baoxiang River and Chai River but negatively correlated in Dianchi Lake. Overall, this study provides insights on the phytoplankton diversity monitoring and the conservation of its diversity and healthy management of Dianchi Lake.