Microbial remediation can maintain the sustainability of farmlands contaminated with heavy metals (HMs). However, the effects of bacterial consortium on crop growth and potential risks under HM stress, as well as its mechanisms, are still unclear compared with a single microorganism. Here, we investigated the effect of a bacterial consortium consisting of some HMs-resistant bacteria, including Bacillus cereus, Bacillus thuringiensis, and Herbaspirillum huttiense, on plant growth promotion and inhibition of Pb/Cd accumulation within different contaminated soil-wheat systems through pot experiments. The results showed that microbial inoculation alleviated HMs-induced growth inhibition by activating antioxidant enzymes and inhibiting lipid peroxidation, and enhanced plant growth in the bacterial consortium. Compared to a single strain (Bacillus cereus, Bacillus thuringiensis, or Herbaspirillum huttiense), the bacterial consortium was more conducive to improving root development and reducing the content of available HMs in soil (4.5-10.3%) and its transfer to shoot (4.3-8.4%). Moreover, bacterial consortium significantly increased soil enzyme activities and available nutrients, resulting in nearly twice that of a single strain on the effect of soil quality and plant growth. Correlation analysis and least square path analysis showed that the bacterial consortium could significantly reduce the HMs-enrichment/transport from soil to shoot than a single strain by regulating soil available HMs and biochemical properties, as well as the parameters for plant growth. This study emphasizes that bacterial consortium promotes the growth of the crop wheat and reduces the risk of HMs entering human food chain, further providing an effective strategy for the safe production of food crops in contaminated soils.