The rhizosphere microbiota contributes immensely to nutrient sequestration, productivity and plant growth. Several studies have suggested that environmental factors and high nutrient composition of plant’s rhizosphere influence the structural diversity of proximal microorganisms. To verify this assertion, we compare the functional diversity of bacteria in maize rhizosphere and bulk soils using shotgun metagenomics and assess the influence of measured environmental variables on bacterial diversity. Our study showed that the bacterial community associated with each sampling site was distinct, with high community members shared among the samples. The bacterial community was dominated by Proteobacteria, Actinobacteria, Acidobacteria, Gemmatimonadetes, Bacteroidetes and Verrucomicrobia. In comparison, genera such as Gemmatimonas, Streptomyces, Conexibacter, Burkholderia, Bacillus, Gemmata, Mesorhizobium, Pseudomonas and Micromonospora were significantly (p ≤ 0.05) high in the rhizosphere soils compared to bulk soils. Diversity indices showed that the bacterial composition was significantly different across the sites. The forward selection of environmental factors predicted N-NO3 (p = 0.019) as the most influential factor controlling the variation in the bacterial community structure, while other factors such as pH (p = 1.00) and sulfate (p = 0.50) contributed insignificantly to the community structure of bacteria. Functional assessment of the sampling sites, considering important pathways viz. nitrogen metabolism, phosphorus metabolism, stress responses, and iron acquisition and metabolism could be represented as Ls > Rs > Rc > Lc. This revealed that functional hits are higher in the rhizosphere soil than their controls. Taken together, inference from this study shows that the sampling sites are hotspots for biotechnologically important microorganisms.