Bacillus megaterium H3 and Neorhizobium huautlense T1-17 immobilized Cd in solution. H3 and T1-17 decreased the available Cd content of the rhizosphere soil. H3 and T1-17 decreased Cd bioconcentration factor and grain Cd uptake of the rice. Strain T1-17 had higher ability to reduce grain Cd uptake of the rice than strain H3.