Changes in salinity have a profound influence on ecological services and functions of inland freshwater ecosystems, as well as on the shaping of microbial communities. Bacterioplankton, generally classified into free-living (FL) and particle-attached (PA) forms, are main components of freshwater ecosystems and play key functional roles for biogeochemical cycling and ecological stability. However, there is limited knowledge about the responses of community stability of both FL and PA bacteria to salinity fluctuations. Here, we systematically explored changes in community stability of both forms of bacteria based on high-frequency sampling in a shallow urban reservoir (Xinglinwan Reservoir) in subtropical China for 3 years. Our results indicated that (1) salinity was the strongest environmental factor determining FL and PA bacterial community compositions – rising salinity increased the compositional stability of both bacterial communities but decreased their α-diversity. (2) The community stability of PA bacteria was significantly higher than that of FL at high salinity level with low salinity variance scenarios, while the opposite was found for FL bacteria, i.e., their stability was higher than PA bacteria at low salinity level with high variance scenarios. (3) Both bacterial traits (e.g., bacterial genome size and interaction strength of rare taxa) and precipitation-induced factors (e.g., changes in salinity and particle) likely contributed collectively to differences in community stability of FL and PA bacteria under different salinity scenarios. Our study provides additional scientific basis for ecological management, protection and restoration of urban reservoirs under changing climatic and environmental conditions.