This study aimed to explore the historical research progress on benign prostatic hyperplasia from the perspective of traditional Chinese medicine theory and the treatment of benign prostatic hyperplasia (BPH) with Qian Lie Xing Fang (QLXF) via the warming and tonifying of kidney yang, promotion of blood circulation, and clearing of meridians. First, network pharmacology analysis was used to screen and identify possible pathways for BPH treatment with QLXF. Subsequently, molecular docking analysis helped explore the mechanism of action by which the components of QLXF affected androgen receptor (AR) and type 5 phosphodiesterase inhibitor (PDE-5) levels. Targets for treatment with QLXF were identified from the online Mendelian inheritance in man and DisGeNET databases. BPH-related genes were identified using GeneCards and online Mendelian inheritance in man databases, and their intersection was used to construct a protein–protein interaction network analysis graph. Subsequently, gene ontology and Kyoto encyclopedia of genes and genomes (KEGG) pathway enrichment analyses were performed. The semiflexible docking of the ingredients of QLXF acting on the 2 targets was performed via molecular docking and molecular dynamics simulation, to elucidate the mechanism of action by which the active ingredients affect AR and PDE-5 levels further. This enabled us to explore the pattern of interactions between small active ingredient molecules, the target protein, and the stability after binding at the microscopic level. Gene ontology enrichment analysis showed that QLXF affected several processes, such as DNA transcription factor binding, kinase binding, protein homodimerization activity, protein structure domain-specific binding, and protein-coupled amine receptor activity in BPH patients. KEGG results showed that chemical carcinogenic reactive oxidative species and the JAK-STAT, Pl3k-Akt, FoxO, NF-κB, and other pathways were significantly enriched. Conducting molecular docking studies to investigate the interaction of active components from QLXF with AR and PDE-5, it was found that MOL002260 may possess the potential to inhibit PDE-5 activity, while MOL010578 may exhibit the capability to inhibit AR activity. QLXF is closely associated with various biological processes and KEGG signaling pathways related to BPH. The active ingredients of QLXF were investigated for their interactions with AR and PDE-5, with a primary focus on the small molecules MOL002260 and MOL010578.