Soil salinity disrupts rhizobacterial communities, threatening agricultural productivity. This study used amplicon-based microbiome analysis to characterize bacterial diversity in rhizosphere soils from high- and low-saline areas of Bangladesh. The physicochemical properties were measured by pH, moisture content, temperature, and electrical conductivity (EC) to understand the soil salinity level in both areas. 16S rRNA gene amplicon sequencing was used to analyze microbial diversity and functional potential. The EC of high-saline soil was greater than 9.00 dS/m, whereas in low-saline soil it was less than 0.35 dS/m. 16S rRNA gene amplicon sequencing analysis showed that the phylum Firmicutes was abundant in both regions. However, alpha-diversity measured by the ACE, Shannon, and Chao1 indices was higher in low-saline areas than in high-saline areas. Moreover, beta diversity analysis revealed distinct community structures and differences in bacterial communities. Analysis of common taxa showed that 798 species were more prevalent in low-saline regions, compared to 196 species in high-saline areas, indicating adaptation to different salinity levels. Pathway abundance analysis highlights distinct metabolic functions between the two areas, with high-saline rhizobacteria favoring HEXITOLDEGSUPER-PWY and ASPASN-PWY. These findings offer insight into how bacteria respond to soil salinity and may help guide sustainable agricultural strategies for saline environments.