Lead (Pb) can pollute the environment and food through air, water and other means, resulting in human exposure to lead pollution, and there is no threshold level of lead toxicity, even small doses of lead will have a range of harmful effects in humans. This study demonstrates for the first time that dietary addition of soluble dietary fiber (SDF) from Prunus persica dregs reduces lead bioaccumulation in mice, and eliminates lead through feces. Compared with lead-exposed mice, SDF supplementation effectively prevented lead-induced changes in colon tissue, and increased expression of tight junction proteins (ZO-1 and occludin). We analyzed the effects of SDF on gut microbiota and metabolites by a combination of 16S rRNA high-throughput sequencing and untargeted metabolomics. The results showed that SDF altered lead-induced perturbations in the layout and structure of the gut microbiota, including increased Desulfovibrio and Alistipes abundance and decreased Bacteroidetes abundance. Meanwhile, we also provide evidence that SDF supplementation alters the levels of amino acids, bile acids, and lipids in the gut, and that these metabolites are closely associated with microbiota with good lead binding capacity. Therefore, we speculate that SDF has the potential to provide a protective effect against intestinal damage by promoting lead excretion.