The impact of cadmium (Cd) and fluorine (F) on plant and human health has provoked significant public concern; however, their combined effects on plant and soil bacterial communities have yet to be determined. Here, a pot experiment was conducted to evaluate the effects of exogenous F, Cd, and their combination (FCd) on lettuce growth and soil bacterial communities. The results revealed that F and Cd concentrations in lettuce ranged from 63.69 to 219.45 mg kg-1 and 1.85 to 33.08 mg kg-1, respectively, presenting lower values in shoots than in the roots. Moreover, low contamination levels had no discernable influence on lettuce growth, but showed a synergistic negative on plant biomass when exogenous F and Cd exceeds 300 and 1.0 mg kg-1, respectively. The results of 16S rRNA gene sequencing indicated that the most abundant bacterial community at the phylum level was Proteobacteria, with the relative abundance ranging from 33.42% to 44.10% across all the treatments. The contaminants had little effect on bacterial richness but impacted the structure of bacterial communities. The PCoA showed that compartment and contaminants were the primary contributors to the largest source of community variation, while the VPA indicated that F and Cd synergistically affected the bacterial communities. In turn, lettuce plants could enhance the resistance to the combined stress by increasing the relative abundance of Oxyphotobacteria, Subgroup 6, Thermoleophilia, and TK10 classes in the rhizosphere.