Ice, water, and sediment represent three interconnected habitats in lake ecosystems, and bacteria are crucial for maintaining ecosystem equilibrium and elemental cycling across these habitats. However, the differential characteristics and driving mechanisms of bacterial community structures in the ice, water, and sediments of seasonally frozen lakes remain unclear. In this study, high-throughput sequencing technology was used to analyze and compare the structure, function, network characteristics, and assembly mechanisms of bacterial communities in the ice, water, and sediment of Wuliangsuhai, a typical cold region in Inner Mongolia. The results showed that the bacterial communities in the ice and water phases had similar diversity and composition, with Proteobacteria, Bacteroidota, Actinobacteria, Campilobacterota, and Cyanobacteria as dominant phyla. The bacterial communities in sediments displayed significant differences from ice and water, with Chloroflexi, Proteobacteria, Firmicutes, Desulfobacterota, and Acidobacteriota being the dominant phyla. Notably, the bacterial communities in water exhibited higher spatial variability in their distribution than those in ice and sediment. This study also revealed that during the frozen period, the bacterial community species in the ice, water, and sediment media were dominated by cooperative relationships. Community assembly was primarily influenced by stochastic processes, with dispersal limitation and drift identified as the two most significant factors within this process. However, heterogeneous selection also played a significant role in the community composition. Furthermore, functions related to nitrogen, phosphorus, sulfur, carbon, and hydrogen cycling vary among bacterial communities in ice, water, and sediment. These findings elucidate the intrinsic mechanisms driving variability in bacterial community structure and changes in water quality across different media phases (ice, water, and sediment) in cold-zone lakes during the freezing period, offering new insights for water environmental protection and ecological restoration efforts in such environments.