Qiju Dihuang pill is one of the common Traditional Chinese Medicine to treat ophthalmic diseases. In vivo studies have suggested that Qiju Dihuang pill can be used for treating glaucoma, and it can also be used clinically to treat cataract patients. However, the bioactive ingredients and the therapeutic mechanism of Qiju Dihuang pill on treating these ophthalmic diseases remained unclear. Presently, a systems pharmacology approach which combines pharmacokinetic screening, targeted fishing, biological function enrichment, network pharmacology, and molecular docking analysis, was employed. A total of 134 active ingredients with 72 corresponding targets are identified from Qiju Dihuang pill. Additionally, 3 core targets including CHRM1, ESR1, and AR are obtained from the ingredients and drug targets network analysis. Besides, gen ontology and Kyoto Encyclopedia of Genes and Genomes pathway enrichment analysis reveal 3 important biological pathways, that is, calcium signaling pathway, insulin signaling pathway and Vascular endothelial growth factor signaling pathway. In final, a molecular docking model was constructed to study the interaction mechanism between active components and drug targets at the molecular level. All the findings show that Qiju Dihuang pill achieves therapeutic effects on treating ophthalmic diseases by regulating the crucial targets of the compounds in it. This work not only provides insight into the therapeutic mechanism of herbal medicine in the treatment of ophthalmic diseases from a multiscale perspective, but also offers an effective approach for drug discovery and development of Traditional Chinese Medicine.Abbreviations: ADRA1A = alpha-1A adrenergic receptor, AR = androgen receptor, BP = biological process, CC = cellular component, CHRM1 = muscarinic acetylcholine receptor M1, DL = drug-like, ESR1 = estrogen receptor, GO = gen ontology, HTR2C = 5-hydroxytryptamine 2C receptor, KEGG = Kyoto Encyclopedia of Genes and Genomes, MF = molecular function, NR3C1 = glucocorticoid receptor, OB = oral bioavailability, OPRD1 = delta-type opioid receptor, PIK3 = phosphoinositide-3kinase, PPI = protein-protein interaction, TCM = Traditional Chinese herbal medicine, TCMSP = Traditional Chinese Medicine Systems Pharmacology Database and Analysis Platform, VEGF = vascular endothelial growth factor.