Gut microbes are closely associated with disease onset and improvement. However, the effects of gut microbes on the occurrence, prevention, and treatment of benign prostatic hyperplasia (BPH) are still unclear. We investigated the alteration of gut microbiota with implications for the diagnosis, prevention, and treatment of BPH and identified correlations among various indicators, including hormone indicators, apoptosis markers in BPH, and finasteride treatment models. BPH induction altered the abundance of Lactobacillus, Flavonifractor, Acetatifactor, Oscillibacter, Pseudoflavonifractor, Intestinimonas, and Butyricimonas genera, which are related to BPH indicators. Among these, the altered abundance of Lactobacillus and Acetatifactor was associated with the promotion and inhibition of prostate apoptosis, respectively. Finasteride treatment altered the abundance of Barnesiella, Acetatifactor, Butyricimonas, Desulfovibrio, Anaerobacterium, and Robinsoniella genera, which are related to BPH indicators. Among these, altered abundances of Desulfovibrio and Acetatifactor were associated with the promotion and inhibition of prostate apoptosis, respectively. In addition, the abundances of Lactobacillus and Acetatifactor were normalized after finasteride treatment. In conclusion, the association between apoptosis and altered abundances of Lactobacillus and Acetatifactor, among other gut microbes, suggests their potential utility in the diagnosis, prevention, and treatment of BPH.