Saline lakes, characterized by high salinity and limited nutrient availability, provide an ideal environment for studying extreme halophiles and their biogeochemical processes. The present study examined prokaryotic microbial communities and their ecological functions in lentic sediments (with the salinity gradient and time series) using 16S rRNA amplicon sequencing and a metagenomic approach. Our findings revealed a negative correlation between microbial diversity and salinity. The notable predominance of Archaea in high-salinity lakes signified a considerable alteration in the composition of the microbial community. The results indicate that elevated salinity promotes homogeneous selection pressures, causing substantial alterations in microbial diversity and community structure, and simultaneously hindering interactions among microorganisms. This results in a notable decrease in the complexity of microbial ecological networks, ultimately influencing the overall ecological functional responses of microbial communities such as carbon fixation, sulfur, and nitrogen metabolism. Overall, our findings reveal salinity drives a notable predominance of Archaea, selects for species adapted to extreme conditions, and decreases microbial community complexity within saline lake ecosystems.