Rhizobia can be used to enhance the phytoremediation of cadmium-contaminated soils by legumes, and a symbiotic nitrogen-fixing system has been shown to reshape the structure of rhizosphere microbiota in a mining area. However, little is known about the temporal dynamics and possible roles of rhizosphere microbiota in rhizobia-enhanced phytoremediation. A rhizobox experiment was conducted using Robinia pseudoacacia alone or inoculated with Mesorhizobium loti HZ76 under greenhouse conditions. Rhizosphere bacterial communities were characterized over a 90-day period at three levels of cadmium (determined by the distance from the mining area; uncontaminated: 0.08 mg kg−1, contaminated: 0.39 and 1.72 mg kg−1). Rhizobial inoculation considerably improved the phytoremediation efficiency, such as increasing plant biomass and cadmium accumulation by approximately two times at 90 days after planting. The bacterial community structure shifted remarkably with increasing duration of remediation. Bacterial diversity exhibited a decreasing trend in the first 60 days and then recovered at 90 days. Despite having no discernible impact on the bacterial community structure in the rhizosphere, rhizobial inoculation enabled the enrichment of potentially beneficial taxa (e.g., Microvirga, Mesorhizobium, Diaphorobacter, Steroidobacter, Brevundimonas) with resistance to heavy metals and involvement in nutrient cycling. The bacterial co-occurrence networks of low and high cadmium-contaminated soils showed the highest average degree and clustering coefficient at 60 and 30 days, respectively. Some bacterial taxa involved in nitrogen fixation (e.g., Rhizobacter, Mesorhizobium), denitrification (e.g., Niastella, Nitrospira), and carbon turnover (e.g., Solirubrobacter, Brevundimonas) were found to be potential keystone taxa. The collective findings clarify possible mechanisms by which rhizosphere bacteria participate in phytoremediation of cadmium-contaminated mining soils using the R. pseudoacacia–M. loti symbiotic system.