This study investigates the diversity and composition of soil bacterial communities in the rhizosphere of Attapadi and Nelliyampathy, prominent hill stations in Palakkad district, Kerala, India. The persistent flooding and landslides in 2018 and 2019 significantly impacted agricultural productivity in these regions. Utilizing high-throughput 16S rRNA gene sequencing (Illumina MiSeq), we conducted a comprehensive analysis of soil samples. Correlative assessments between soil parameters and microbial relative abundance at the phylum level revealed noteworthy positive associations. Notably, nitrogen (N) exhibited a positive relation with Crenarchaeota, Chloroflexi, Actinobacteriota, and Acidobacteriota; pH correlated with Firmicutes; organic carbon (OC) with WPS-2; and phosphorous with Proteobacteria. A total of 31,402 operational taxonomic units (OTUs) were identified, with the highest feature counts observed in undisturbed soils from Attapadi (AUD) and Nelliyampathy (NUD) (13,007 and 12,915, respectively). Disturbed soils in Nelliyampathy (ND) and Attapadi (AD) displayed a substantial decline in microbial diversity and composition, harbouring 1409 and 4071 OTUs, respectively. Alpha and beta diversity indices further underscored the more severe impairment of ND soils compared to AD soils. Interestingly, a majority of ND samples were landslide-affected (four out of five), while flood-affected soils accounted for four out of six AD samples. This indicates that landslides exert a more pronounced impact on microbial diversity and composition than floods. The observed decline in microbial count, composition, and diversity, even after 2years of the disaster, raises concerns about potential threats to agricultural output. The findings emphasize the need for corrective measures, including the incorporation of microbial inoculum, to restore soil fertility in post-disaster landscapes.