Microorganisms in lakes are sensitive to salinity fluctuations. Despite extensive prior research on bacterial communities, our understanding of their characteristics and assembly mechanisms in lakes, especially in desert lakes with different salinities. To address this issue, we collected three samples from freshwater lakes, six from brackish lakes, and five from salt lakes in the Badanjilin Desert. The 16S rRNA gene sequencing was applied to investigate the bacterial interactions with rising salinity, community coexistence patterns, and assembly mechanisms. Our findings suggested that the increased lake salinity significantly reduces the bacterial community diversity and enhanced the community differentiation. Significant variations were observed in the contribution of biomarkers from Cyanobacteria, Chloroflexi, and Halobacterota to the composition of the lake bacterial communities. The bacterial communities in the salt lakes exhibited a higher susceptibility to salinity limitations than those in the freshwater and brackish lakes. In addition, the null modeling analyses confirmed the quantitative biases in the stochastic assembly processes of bacterial communities across freshwater, brackish, and saline lakes. With the increasing lake salinity, the significance of undominated and diffusion limitation decreased slightly, and the influence of homogenizing dispersal on community assembly increased. However, the stochasticity remained the dominant process across all lakes in the Badanjilin Desert. The analysis of co-occurring networks revealed that the rising salinity reduced the complexity of bacterial network structures and altered the interspecific interactions, resulting in the increased interspecies collaboration with increasing salinity levels. Under the influence of salinity stress, the key taxon Cyanobacteria in freshwater lakes (Schizothrix_LEGE_07164) was replaced by Proteobacteria (Thalassobaculum and Polycyclovorans) in brackish lakes, and Thermotogota (SC103) in salt lakes. The results indicated the symbiotic patterns of bacterial communities across varying salinity gradients in lakes and offer insights into potential mechanisms of community aggregation, thereby enhancing our understanding of bacterial distribution in response to salinity changes.